Quentin Gliech
baaa725fcd
Infer client IP address from the peer address and the X-Forwarded-Proxy header
2023-09-20 20:24:30 +02:00
Quentin Gliech
b783b5457e
tracing: set the parent context from the incoming request again
2023-08-29 18:50:54 +02:00
Quentin Gliech
2061cdc4d6
OpenTelemetry upgrade
2023-08-11 16:12:58 +02:00
Quentin Gliech
863cd74207
Add a 404 HTMl fallback
2023-08-09 16:56:11 +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
3cc4749979
Replace the OTEL-based tracing layer with tracing based layers
2023-04-18 14:45:43 +02:00
Quentin Gliech
b5ba81e260
Fix clippy errors
2023-03-14 10:47:35 +01:00
Quentin Gliech
cb4bfe5b6b
Log more errors and setup Sentry integration
2023-01-30 18:04:44 +01:00
Quentin Gliech
d8550778ea
Remove the ServerLayer from mas-http
2022-12-05 19:39:51 +01:00
Quentin Gliech
2fcede2788
Bump axum to 0.6.0
2022-11-29 09:37:12 +01:00
Quentin Gliech
7685fe5c9f
Migrate to axum 0.6.0-rc.5
2022-11-21 15:04:16 +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
9d97e4a0e8
Switch to camino's Utf8Path* instead of std::path::Path*
2022-11-18 19:02:26 +01:00
Quentin Gliech
c611b292f4
Bump the latest axum rc
2022-11-18 14:57:22 +01:00
Quentin Gliech
28a9d54072
Serve the SPA by the server
2022-11-18 13:43:01 +01:00
Quentin Gliech
943f048e22
Initial GraphQL API
2022-11-09 19:17:12 +01:00
Quentin Gliech
28d05658f9
Rewrite the listeners crate
...
Now with a way better graceful shutdown! With proper handshakes!
2022-10-17 11:39:45 +02:00
Quentin Gliech
7a224a5c1d
Inject connection informations in the request extension
2022-10-17 11:39:45 +02:00
Quentin Gliech
1314a11422
Refactor listeners building
2022-10-17 11:39:45 +02:00
Quentin Gliech
55670b39d3
Reorganise CLI crate
2022-02-01 18:49:55 +01:00
Quentin Gliech
70f2d1d480
Move secrets and oauth2 clients config
2022-02-01 09:34:55 +01:00
Quentin Gliech
5de0dc30d1
Allow loading private keys from files
2022-01-26 18:29:11 +01:00
Quentin Gliech
02300f9fdc
Fix traces not being created for requests
2022-01-25 11:46:14 +01:00
Quentin Gliech
02a763455b
Add AWS SES backend to send email
2022-01-24 16:31:53 +01:00
Quentin Gliech
b0b64a60c6
Actually send emails
2022-01-19 18:00:45 +01:00
Quentin Gliech
072a21663b
New JWT/JOSE crate
...
Still WIP, needs to handle time related claims
2022-01-04 22:28:00 +01:00
Quentin Gliech
8f723815b9
Split the core crate
2021-12-17 18:04:30 +01:00
Quentin Gliech
98540cc235
Move storage module to its own crate
2021-12-17 12:15:07 +01:00
Quentin Gliech
19b9965eb9
Better error context on startup
2021-12-14 11:52:19 +01:00
Quentin Gliech
adbdcfdb6c
Refactor templates loading & implement templates hot-reload
2021-12-09 14:07:09 +01:00
Quentin Gliech
180093dbcf
Graceful shutdown of the server
2021-11-22 18:30:17 +01:00
Quentin Gliech
410f25ce35
Upgrade all dependencies
2021-10-18 17:45:45 +02:00
Quentin Gliech
e1c12ce473
Move templates to their own crate
2021-10-18 17:40:25 +02:00
Quentin Gliech
49bf5287b3
Propagate parent trace context
2021-10-14 17:39:49 +02:00
Quentin Gliech
fc8e18c781
Templates config
2021-09-23 23:51:17 +02:00
Quentin Gliech
0b3fd63748
Ability to run migrations on startup
...
Also adds a bunch of logging information on startup
2021-09-17 11:27:06 +02:00
Quentin Gliech
bade8cd8bf
Embed templates in binary & add command to export them
2021-09-16 23:39:07 +02:00
Quentin Gliech
7681f5131a
Split the service in multiple crates
2021-09-16 14:43:56 +02:00