Commit Graph

16 Commits

Author SHA1 Message Date
7a0920c385 spectrum: Update go-whatsapp to latest version 2022-07-14 20:54:19 +01:00
80b3a5365e spectrum: Reduce logging level to warn
The default logging output for Spectrum is quite noisy, even at `info`
level, and so we're better served by setting to the more useful `warn`
level.
2022-05-04 12:22:22 +01:00
4d26ccb8eb nginx: Add default user to shared GID=10000
Users and groups used within Podman containers are usually assigned UID
and GID 10000. Files for these containers are sometimes served by Nginx,
and may be given permissions that restrict access to those outside the
group, but which are intended to be served nonetheless.

This commit adds the pre-defined `nginx` user to a `nginx-shared` group
with GID 10000, which will then allow access to these files as needed.
2022-05-04 11:29:53 +01:00
fff2b222bb spectrum: Add support for re-hosting shared media
This enables the `web_directory` and `web_url` options for Spectrum,
which has media shared by legacy protocol buddies be re-hosted by
Spectrum, and shared by a dedicated volume.

This, in turn, is served by the `nginx-serve-volume@spectrum-media`
service, which is intended to be proxied under the same host used for
Prosody. Documentation for the integration will be added in future
commits.
2022-05-03 18:18:02 +01:00
6ca42cad7e spectrum: Handle URL-only messages as media files 2022-05-03 17:41:32 +01:00
f88b99b64a spectrum: Improve compatibility with WhatsApp
This sets the default `bridge-compatibility` value to `true`, which
helps solve several compatibility issues with Spectrum.
2022-05-03 17:32:51 +01:00
ff700c7a8a spectrum: Make builds multi-stage, add WhatsApp
Plugins will now be built in separate image stages, and copied into a
pristine image for Spectrum alone.
2022-05-03 15:48:24 +01:00
aba8fc2816 spectrum: Update to latest version 2022-04-17 12:17:53 +01:00
0fbbc39e27 base: Only copy service directories if used
We no longer copy service directories into `/etc/coreos-home-server` if
these have not had their respective `spec.bu` files included; these
directories are not needed in these cases, and would be erroneously
considered as eligible in subsequent `coreos-home-server-update`
invocations.
2022-02-05 16:05:00 +00:00
c8eed1c3db spectrum: Update to latest version of Discord 2022-02-03 21:37:40 +00:00
6e0b9904e9 spectrum: Update to version 2.1.2 2022-02-03 21:09:03 +00:00
f2f4701d2b spectrum: Revert to older version of Discord
As newer versions are problematic.
2022-01-28 00:59:04 +00:00
55d8e80e95 spectrum: Disable Discord QR Code AuthN for now
This appears to be slightly problematic at the moment, and may need to
be revisited in the future.
2022-01-28 00:25:19 +00:00
e0e93542e9 spectrum: Really enable Discord QR Code AuthN 2022-01-27 23:58:39 +00:00
acb861abdb spectrum: Update Discord protocol version 2022-01-27 23:41:13 +00:00
f877a72e83 Flatten directory structures
This commit contains a fairly large diff for a fairly small change:
moving the `config/common` directory to `host/base` to better reflect
its intended use, and promoting `config/service` to the root directory.

These changes unlock some improvements in `coreos-home-server-update`
processes, which will (assuming `/etc/coreos-home-server/base` exists)
keep host-wide systemd services in sync in addition to service-specific
ones.

Changes have been make to the `Makefile` and a few other places where
`config/common` was referenced, but most of this work is renames that
are not intended to break compatibility with new or running servers.
2022-01-15 11:43:33 +00:00