Commit Graph

32 Commits

Author SHA1 Message Date
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
439e51ca80 Allow setting a different issuer from the public base URL 2023-06-27 12:53:15 +02:00
Quentin Gliech
086c2c8a8e CLI tool to sync the upstream IDPs with the config 2023-06-26 17:24:56 +02:00
Quentin Gliech
cef7efca8c 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
f767130e1b Update the JSON schema 2023-06-14 12:53:48 +02:00
Quentin Gliech
5d14582686 Make password-based login optional 2023-05-23 17:02:02 +02:00
Quentin Gliech
cef2064e99 Lint 2023-04-14 10:22:22 +02:00
Quentin Gliech
9675b64313 Fix the default listener configuration 2023-03-14 12:14:06 +01:00
Quentin Gliech
3e2dd767d2 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
cb4bfe5b6b Log more errors and setup Sentry integration 2023-01-30 18:04:44 +01:00
Quentin Gliech
3b015b4419 docs: fix links to other docs 2023-01-27 15:54:19 +01:00
Quentin Gliech
bcea592c04 ci: Build Storybook docs in CI 2023-01-27 15:46:13 +01:00
Quentin Gliech
8b1f64d793 docs: link to rustdoc pages from the mdbook 2023-01-27 11:40:19 +01:00
Quentin Gliech
3081140f34 storage{,-pg}: better documentation of both crates 2023-01-26 18:13:14 +01:00
Quentin Gliech
bd7f949300 storage: user and user email repository 2023-01-02 15:28:44 +01:00
Quentin Gliech
549f8bf952 Remove the dependency on sqlx in the config crate 2022-12-15 16:51:43 +01:00
Quentin Gliech
f3a9fd8bc0 Password schemes configuration 2022-12-14 16:04:36 +01:00
Hugh Nimmo-Smith
54f0be397d Reverse ULID for exampels 2022-12-09 23:27:13 +01:00
Hugh Nimmo-Smith
a55985ce6d Update configuration docs to reference ULID 2022-12-09 23:27:13 +01:00
Hugh Nimmo-Smith
004824849c Config schema is auto-generated 2022-12-09 23:27:13 +01:00
Hugh Nimmo-Smith
c4d4bbc40f client_ids are required to be ULIDs 2022-12-09 23:27:13 +01:00
Quentin Gliech
c1aad59e18 Do not embed the templates and static files in the binary 2022-11-18 22:37:55 +01:00
Quentin Gliech
44d397b54c Do not embed the WASM-compiled policies in the binary 2022-11-18 22:37:55 +01:00
Quentin Gliech
28a9d54072 Serve the SPA by the server 2022-11-18 13:43:01 +01:00
Quentin Gliech
8f4fba544e Update schemas 2022-11-09 19:17:12 +01:00
Quentin Gliech
6f4de9636c Update the config schema 2022-10-17 12:09:33 +02:00
Quentin Gliech
e3e376f577 Drop the config schema generation subcommand & include it in the docs 2022-10-17 10:43:07 +02:00
Hugh Nimmo-Smith
c9f03490aa Document client registration policy config and improve error messages (#299) 2022-07-09 12:47:40 +00:00
Hugh Nimmo-Smith
0328ab3ee0 Core page wording and flow
Remove redundant buttons/links
Make wording more directive
Describe scope of access
2022-05-09 17:22:32 +02:00
Quentin Gliech
7b5798776e Get rid of warp 2022-04-06 17:35:29 +02:00
Quentin Gliech
213f5fe1b2 Update documentation 2022-02-07 16:10:44 +01:00
Quentin Gliech
29378581a3 Add some documentation as an mdBook 2021-09-24 19:10:17 +02:00