Quentin Gliech
10f7195cc0
Move the SiteConfig to the data-model crate
2024-04-30 13:33:47 +02:00
Quentin Gliech
9c22a39c0e
Introduce config to restrict user capabilities
2024-04-30 13:33:47 +02:00
Quentin Gliech
2d9157986e
Allow disabling registrations ( #2553 )
2024-04-03 09:27:14 +02:00
Quentin Gliech
8d41352a1b
Clean up the default policy config data
2024-03-22 13:33:09 +01:00
Quentin Gliech
0e7e2e7089
Flatten the passwords config section
2024-03-22 13:33:09 +01:00
Quentin Gliech
fedf41fe38
Flatten the email config
2024-03-22 13:33:09 +01:00
Quentin Gliech
8eff88e9e8
Flatten the database config
2024-03-22 13:33:09 +01:00
Quentin Gliech
b96d95792d
Add instance privacy policy, TOS and imprint, and loads of design cleanups
2023-10-30 15:55:15 +01:00
Quentin Gliech
ad8cc6be9e
templates: add translations function
2023-10-05 19:29:23 +02:00
Quentin Gliech
0cd4ef4887
Add an ActivityTracker which tracks session activity and regularly flush them to the database
2023-09-19 21:57:54 +02:00
Quentin Gliech
3c33923d2c
policies: split the email & password policies and add jsonschema validation of the input
2023-08-30 19:39:39 +02:00
Quentin Gliech
c840e3ec55
Grab a database lock when syncing the config
...
Fixes #1475
2023-08-25 15:48:47 +02:00
Quentin Gliech
a6dc094f09
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
0ad4c68268
Setup cargo-deny
...
Also try to remove a bunch of duplicate crates
2023-08-14 11:22:52 +02:00
Quentin Gliech
af46088507
Upgrade all Rust dependencies
...
This includes breaking changes of sqlx 0.7.0
2023-07-17 19:04:06 +02:00
Quentin Gliech
82afe9471c
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
5d14582686
Make password-based login optional
2023-05-23 17:02:02 +02:00
Quentin Gliech
9d8eee12f8
Better tracing spans
2023-01-04 16:30:38 +01:00
Quentin Gliech
212269d6c8
Refactor and simplify the templates hot-reload logic
2022-12-15 16:51:43 +01:00
Quentin Gliech
549f8bf952
Remove the dependency on sqlx in the config crate
2022-12-15 16:51:43 +01:00
Quentin Gliech
3c13ce1823
Remove dependency on mas-email and lettre in mas-config
2022-12-15 16:51:43 +01:00
Quentin Gliech
6c00f677a2
Use the new password manager
2022-12-14 16:04:36 +01:00