pdate the gateway how-to to follow changes in configuration:
- configure the component with the simplifiedi configuration (`[component.email_gateway]`)
- remove the "supported features" section (redundant with email gateway documentation in
`components.rst`)
- Move the `ComponentSettings` autodoc from "Simplified Component Configuration" to a new
"Common Component Settings" section. This was confusing when most of time only `jid` and
`secret` are needed.
- Document the config section naming (dashes replaced by underscores) and how to run a
component in an isolated instance (systemd, `li -i`).
- Fix the `[components.X]` section names (`[component.X]`).
- We are now using `uv`, so documentation has been updated accordingly.
- Commented out instruction on unmaintained things (AUR packages, TUI).
- Add instructions on using systemd services.
- Configuration is now made with TOML, and the documentation was outdated. It has been
rewritten for TOML, and autodoc is used to show configuration options available in code
(and keep it up-to-date).
- New isolation mode is documentated.
- (core/constants): fix the `tmp` isolation mode to inherits the parent configuration like
`normal`.
Index is reorganised to have separated `content`, `developer` and `how-tos` sections.
The TUI documentation is temporarily disabled (as TUI is currently broken).
Plugin for pubsub encryption and signing were named using prototype name as the
specifications where not yet published at the time. Since, those specifications have been
accepted, so we can rename those plugins using the corresponding XEP numbers.
Doc has been updated to remove old mention saying that the XEP was still being evaluated.
rel 475
- Add `autodoc_pydantic` dependency for `docs`, it renders nicely Pydantic models,
including the settings.
- Add documentation for `li info tor`
- Add a dedicated section on Tor
fix 473
This is a huge configuration refactoring.
The configuration system now uses Pydantic settings, with better validation, better
support for environment variables and other goodies.
The main config files now use TOML instead of INI, this allow for better handling of
complex types, notably dict.
Plugins, components and frontends can declare their config settings in a class which will
be imported dynamically.
- Instructions have been checked and updated. OS packages dependencies have been added for
Arch Linux.
- Added missing package.
- Reordered/refreshed instructions.
- Old/not relevant content has been removed.
- Tested on latest docker images of Debian/Arch/Unbutu.
rel 466