summaryrefslogtreecommitdiff
path: root/files
AgeCommit message (Collapse)Author
2025-10-28Entitle transports to upload filesHEADmasterMatthew Fennell
This is needed as the transports are by default treated as guests by prosody, and therefore unable to upload files without explicit permission.
2025-09-27Add separators in privileged_entities listMatthew Fennell
The template worked fine for singleton lists, but it fails when adding another entry since there is no separator between the elements! Thankfully Lua has some nice syntax allowing you to use a semicolon as a separator, which doesn't by itself imply more than one element.
2025-09-21Create privileged transport componentsMatthew Fennell
This commit allows transport servers to define the relevant components on the XMPP server. Transports are configured by adding the following config to the inventory's variables: transports: - subdomain: a-example-legacy-network secret: a-long-randomly-generated-secret - subdomain: another-example-legacy-network secret: another-long-randomly-generated-secret These are iterated over and a privileged component is created for each.
2025-09-21Move section header comments inside if blocksMatthew Fennell
If a section is not enabled on a particular server, that section's header comment should not be visible.
2025-09-21Enable websocket moduleMatthew Fennell
This provides a more performant alternative to BOSH for clients wishing to access the server over HTTP.
2025-09-21Configure proxy65Matthew Fennell
This configuration allows me to remove the proxy DNS records, and keep the configuration internal to prosody.
2025-09-21Place s2s modules behind a flagMatthew Fennell
We do not need s2s modules or config for a single-user transport oriented server. Likewise, we do not need admin or abuse contacts if s2s is disabled. No messages can escape, and it would be impossible to contact them regardless!
2025-09-21Remove config restating defaultsMatthew Fennell
According to mod_tls documentation, c2s_require_encryption and s2s_require_encryption already default to true. Therefore, they can be removed. Likewise, the default for authentication is internal_hashed, and the certs are already in the "certs" subdirectory relative to the prosody config file.
2025-09-21Remove unused dialback moduleMatthew Fennell
I have s2s_secure_auth enabled, which disables dialback. Therefore, this module is not needed.
2025-09-21Reformat prosody config filesMatthew Fennell
Use consistent 4-space indentation. Do not allow new scopes to be opened and closed on the same line. This allows me to more easily add jinja if statements without having to make formatting changes at the same time.
2025-09-21Place anti-spam modules behind a flagMatthew Fennell
There will be no s2s connections on the transport server, so anti-spam modules won't provide much benefit.
2025-09-21Place invites behind a flagMatthew Fennell
Invites are not needed on a single-user transport-only server. Therefore, place this functionality behind a flag.
2025-09-21Place invites behind a flagMatthew Fennell
I am planning on deploying a new single-user server, without s2s connections or other features, specifically for transports. This necessiates splitting off some functionality behind a flag, so that it is only enabled for non-transport ("standard") servers.
2025-08-11Add some extra statistics modulesMatthew Fennell
While looking through the list of available prosody-modules, these seemed useful.
2025-08-11Add some extra antispam modulesMatthew Fennell
While looking through the list of available prosody-modules, these two seemed useful.
2025-08-11Add spam checkingMatthew Fennell
Thankfully the servers I manage have not seen any spam, nevertheless, I'd rather set up some kind of mitigation now, before it becomes a problem.
2025-08-11Do not explicitly load component moduleMatthew Fennell
Whoops! mod_component is not supposed to be loaded directly, instead it gets indirectly loaded as a result of the relevant component definitions.
2025-08-11Enable extra modules available in prosody 13Matthew Fennell
I took the opportunity to look through the module list and add some extra ones that were missing before.
2025-08-11Enable sasl2 modulesMatthew Fennell
These are newly available in Trixie. I believe Monal will start loudly warning if they are not used in the near future.
2025-08-11Remove unused mod_posixMatthew Fennell
According to prosodyctl check, this module is no longer used or needed.
2025-08-11Remove deprecated vcard_muc moduleMatthew Fennell
This is not available in prosody-modules 0.0~hg20250402.f315edc39f3d+dfsg-2.
2025-08-10Set hostname in playbookMatthew Fennell
Some services, such as munin, read the hostname from the system, and don't allow "virtual host" configuration like prosody. For such services, we want to make sure the hostname is set correctly.
2025-07-19Bump per-upload limit to 300 MiBMatthew Fennell
There's no need to jump back to 2 GiB yet, but I was finding 10 MiB too restrictive.
2025-07-06Remove debug logging optionMatthew Fennell
Debug logging was historically enabled in nonprod. This would let me test interactions between the client and the server by checking exactly what was sent and received. However, this will shortly not be needed as prosody 13 supports prosodyctl shell watch log, allowing me to "dip in" to debug logs whenver needed.
2025-07-06Remove anonymous login supportMatthew Fennell
This was originally intended for motoristic, but is no longer needed by any domain.
2025-07-06Remove roster group supportMatthew Fennell
This was only ever enabled for testing purposes, and is no longer needed.
2025-07-06Share turnserver between vhosts on same machineMatthew Fennell
I made a mistake in the original configuration - I tried to give each virtual host a separate turnserver on its own subdomain. However, since koyo.haus and fennell.dev (and likewise in nonprod) share a virtual machine, they can only have one turnserver between them (in the turnserver.conf, there can only be a single realm). Therefore, always point to koyo.haus for the turnserver in each environment.
2025-07-06Add 5GB fileshare limit to each virtual hostMatthew Fennell
2025-07-05Remove no longer used on_renew scriptMatthew Fennell
2025-07-05Remove borgmaticMatthew Fennell
Backups are now handled outside of the playbook.
2025-07-05Reset http_file_share_size_limit to defaultMatthew Fennell
This was quite generous, and if everyone used it at the same time, the host would fall over!
2025-07-05Only show clients with a good UX for new usersMatthew Fennell
2025-07-05Accept SSL connections on IPv6Matthew Fennell
2024-09-05Install custom unattended-upgrades configMatthew Fennell
The main way the config varies from Debian's default, is that we make sure to reboot after each upgrade.
2024-08-19Enable roster groupsMatthew Fennell
This is useful for two reasons: * To test clients that render roster groups provided by the server * To evaluate whether it is worth enabling this flag in production
2024-08-19Allow prosody's debug logging to be enabledMatthew Fennell
This lets us log each individual stanza from a server perspective, which can be useful when debugging client behaviour.
2024-08-19Bump max file size to 2 GBMatthew Fennell
This is to test how clients handle downloading large files.
2024-07-27Explicitly add muc plugin to conference componentMatthew Fennell
This is in order to debug an issue I was seeing with group chats previously. I don't believe it actually had an impact, but I can't remember for sure now. I should debug this at some point and remove if necessary.
2024-07-27Increase file upload limitMatthew Fennell
This is so that I can test sending a relatively large APK in order to debug an issue in Dino.
2024-05-29Add invites_api moduleMatthew Fennell
I am rolling out a Matrix bot that will auto-reply to contacts in bridged conversations, encouraging people to reach out to me on XMPP. The bot will send them an invite link, retrieved from this API.
2024-05-23Add anonymous subdomain when requestedMatthew Fennell
This will primiarly be used for motoristic.
2024-04-04Bring repo up-to-date with current prod configMatthew Fennell
2024-03-03Remove extraneous MUC configurationMatthew Fennell
We remove some extra MUC configuration here that should not be needed, as these settings should be handled by the defaults anyway.
2024-02-28Remove 10 year archival of messagesMatthew Fennell
I misunderstood how MAM works, and thought that storing messages long-term would allow new clients to retrieve long-term history. This commit moves the server's configuration back to the default of one week.
2024-02-28Add reload_modules community moduleMatthew Fennell
My ACME scripts currently reload (instead of restarting) prosody after installing new certificates. Therefore, I would like to make sure that these new certificates are picked up on such an action.
2024-02-05Bulk update with all changes currently in prodMatthew Fennell
2024-01-26Add support for file uploadMatthew Fennell
This commit adds support for XEPS 0065 and 0365 - i.e. sending files from one account to another.
2024-01-12Increase smacks hibernation time to 1 dayMatthew Fennell
This is based on the recommendation of Monal's "Considerations for XMPP server admins" document.
2024-01-12Enable mod_external_servicesMatthew Fennell
This commit adds support for XEP-0215, or the discovery of external services.
2024-01-12Enable mod_cloud_notifyMatthew Fennell
This commit adds support for XEP-0357, or cloud push notifications, and lets notifications be reliably delivered on iOS and Android.