Commit Graph

63 Commits

Author SHA1 Message Date
Quentin Gliech 6ded397977 Use minijinja templates to map OIDC claims to user attributes 2023-11-08 12:05:58 +01:00
Quentin Gliech 8984cc703b Add instance privacy policy, TOS and imprint, and loads of design cleanups 2023-10-30 15:55:15 +01:00
Quentin Gliech 3bcf4b2500 Add placeholders in the documentation to make browsing the documentation source less confusing
Fixes #1078
2023-10-11 17:34:06 +02:00
Quentin Gliech 883af8217a Expand the documentation about the pre-built binaries (#1944) 2023-10-11 15:07:32 +00:00
Hugh Nimmo-Smith f8b4c5b987 Fix README link again 2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith 27b8698417 Try fixing internal docs link to README.md 2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith e225d7e6a3 Docs fixes 2023-10-09 15:53:13 +02:00
Hugh Nimmo-Smith e6e98444f3 Migration mode + docs 2023-10-09 15:53:13 +02:00
Quentin Gliech 9b5c8fb44b Allow running the authentication service on a different base path 2023-10-06 14:07:55 +02:00
Quentin Gliech 15ad89aa82 templates: add translations function 2023-10-05 19:29:23 +02:00
Quentin Gliech f20c8d8ef3 Infer client IP address from the peer address and the X-Forwarded-Proxy header 2023-09-20 20:24:30 +02:00
Hugh Nimmo-Smith a7a790700b Typo 2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith 49d4fae16f Migration guide 2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith f9393020b6 Draft scope and goals 2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith c35a7c7252 Learn about MAS 2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith 6ae5aee794 Sections 2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith 3d5feef99d Move getting started to contributing guide 2023-09-13 14:57:01 +02:00
Hugh Nimmo-Smith 6901a42b3e Contributing placeholder 2023-09-13 14:57:01 +02:00
Quentin Gliech 21d3d3a5d4 Rename the 'hack' configuration section to 'experimental' 2023-08-31 18:05:00 +02:00
Quentin Gliech bc04860afb Make the access tokens TTL configurable 2023-08-31 18:05:00 +02:00
Quentin Gliech ae3213fe87 Make the email verification state more configurable on upstream OAuth 2.0 registration
This also marks the email as primary
2023-08-31 14:20:06 +02:00
Quentin Gliech 7fcd022eea Make sure we validate passwords & emails by the policy at all stages
Also refactors the way we get the policy engines in requests
2023-08-30 19:39:39 +02:00
David Robertson 454ffc0f12 Tweak phrasing 2023-08-23 17:31:31 +02:00
David Robertson 73a97afa0e Explain how to run mas-cli with docker image 2023-08-23 17:31:31 +02:00
Quentin Gliech 7c83dce66e Move some common dependencies on the workspace level
Also deprecates the AWS SESv2 transport for emails
2023-08-14 13:00:01 +02:00
Quentin Gliech 1d2ebe3dac docs: expand the setup documentation and configuration file reference 2023-07-28 17:13:07 +02:00
Quentin Gliech 9c7bb69914 docs: greatly improve the setup documentation (WIP) 2023-07-28 17:13:07 +02:00
Dirk Klimpel 960c288d87 Apply suggestions from code review
Co-authored-by: Quentin Gliech <quenting@element.io>
2023-07-24 15:03:28 +02:00
Dirk Klimpel 509768b7a9 make database migrations clearer 2023-07-24 15:03:28 +02:00
Dirk Klimpel 5e4cccd63a require postgres 13+ 2023-07-24 15:03:28 +02:00
dklimpel 47b2bdbbc0 update installation documentation 2023-07-24 15:03:28 +02:00
Quentin Gliech 76653f9638 Better frontend assets handling and move the react app to /account/ (#1324)
This makes the Vite assets handling better, namely:

 - make it possible to include any vite assets in the templates
 - include the right `<link rel="preload">` tags for assets
 - include Subresource Integrity hashes
 - pre-compress assets and remove on-the-fly compression by the Rust server
 - build the CSS used by templates through Vite

It also moves the React app from /app/ to /account/, and remove some of the old SSR account screens.
2023-07-06 15:30:26 +02:00
Quentin Gliech 125a6bdf11 Allow setting a different issuer from the public base URL 2023-06-27 12:53:15 +02:00
Quentin Gliech de13d3ef19 CLI tool to sync the upstream IDPs with the config 2023-06-26 17:24:56 +02:00
Quentin Gliech 4f1b201c74 Define upstream OAuth providers in the config
And adds CLI tool to sync them with the database (WIP)
2023-06-26 17:24:56 +02:00
Quentin Gliech 08d9b0b886 Update the JSON schema 2023-06-14 12:53:48 +02:00
Quentin Gliech d2d68e9a27 Make password-based login optional 2023-05-23 17:02:02 +02:00
Quentin Gliech 2c937bda26 Lint 2023-04-14 10:22:22 +02:00
Quentin Gliech c602b29ffd Fix the default listener configuration 2023-03-14 12:14:06 +01:00
Quentin Gliech 311cad47c2 iana: manually implement JsonSchema/Display/FromStr/Serialize/Deserialize
This removes the dependency on serde_with and parse-display, and makes
the serde & schemars dependencies optional
2023-02-01 15:11:45 +01:00
Quentin Gliech 875025467e Log more errors and setup Sentry integration 2023-01-30 18:04:44 +01:00
Quentin Gliech 09cf0dfccd docs: fix links to other docs 2023-01-27 15:54:19 +01:00
Quentin Gliech 8f56d8efad ci: Build Storybook docs in CI 2023-01-27 15:46:13 +01:00
Quentin Gliech e8537473a4 docs: link to rustdoc pages from the mdbook 2023-01-27 11:40:19 +01:00
Quentin Gliech 6ad8b82a35 storage{,-pg}: better documentation of both crates 2023-01-26 18:13:14 +01:00
Quentin Gliech 13a9d03647 storage: user and user email repository 2023-01-02 15:28:44 +01:00
Quentin Gliech ee42250660 Remove the dependency on sqlx in the config crate 2022-12-15 16:51:43 +01:00
Quentin Gliech ff2f009b0e Password schemes configuration 2022-12-14 16:04:36 +01:00
Hugh Nimmo-Smith ba486a4773 Reverse ULID for exampels 2022-12-09 23:27:13 +01:00
Hugh Nimmo-Smith 015b8b6d89 Update configuration docs to reference ULID 2022-12-09 23:27:13 +01:00