Commit Graph

26 Commits

Author SHA1 Message Date
Valentin Tolmer
83ed58bff2 errors: use anyhow::Context everywhere 2021-08-30 09:27:00 +02:00
Valentin Tolmer
a08b9a556d cli: introduce the export_graphql_schema command
Split the command line into subcommands `run` and
`export_graphql_schema`.
2021-08-30 09:27:00 +02:00
Valentin Tolmer
ab66a36fe6 Set admin password when creating the user 2021-07-05 10:24:23 +02:00
Valentin Tolmer
d891529da9 Add allow warnings for nonstandard macro braces
The warnings come from the macros of libraries that we use, so we can't
change them.
2021-07-05 10:10:27 +02:00
Valentin Tolmer
e09c73efce Register clients' passwords using OPAQUE 2021-06-25 10:10:55 +02:00
Valentin Tolmer
973fac4bb8 Make passwords optional when registering a new user 2021-06-23 10:27:59 +02:00
Valentin Tolmer
3f23f69fce Add the admin user to the admin group by default 2021-05-26 19:22:41 +02:00
Valentin Tolmer
8e369016da Create admin user by default 2021-05-26 15:13:17 +02:00
Valentin Tolmer
eb5c48f030 Add a DB cleaner cron job 2021-05-25 10:39:09 +02:00
Valentin Tolmer
28a941924e Split big files into little ones 2021-05-20 19:18:15 +02:00
Valentin Tolmer
d5cb53ae8a Implement refresh tokens 2021-05-20 17:40:30 +02:00
Valentin Tolmer
2190ae3681 Forbid unsafe code 2021-05-14 10:30:55 +02:00
Valentin Tolmer
f198638f99 Add tests to the handler 2021-04-13 19:07:51 +02:00
Valentin Tolmer
a765d77b53 Centralize the definition of pool type 2021-04-11 22:08:25 +02:00
Valentin Tolmer
a4abe86929 Initialize the tables in the database 2021-03-12 17:01:04 +01:00
Valentin Tolmer
03e6afda69 Misc cleanup 2021-03-12 17:00:51 +01:00
Valentin Tolmer
ff4e986a0d Introduce BackendHandler trait and impl 2021-03-11 10:19:36 +01:00
Valentin Tolmer
1a947358fa Simplify DB handling with sqlx::Any 2021-03-10 12:06:32 +01:00
Valentin Tolmer
dc6e8c8808 Implement SQL connection 2021-03-08 10:51:37 +01:00
Valentin Tolmer
c63c7105aa Fix the pipeline_factory
We can now bring up the two servers
2021-03-07 12:36:12 +01:00
Thomas Wickham
6eaf859ba9 WIP: sorry this does not compiles 2021-03-06 23:39:34 +01:00
Thomas Wickham
bbecb47c59 add tcp server 2021-03-02 23:07:01 +01:00
Thomas Wickham
ffce735b79 Fix bug in config from cli flags
The flag value (true/false) was always provided to the configuration, which means that the cli was overriding everything else.
2021-03-02 22:03:58 +01:00
Thomas Wickham
0b6f482e51 Add logging + start wiring config 2021-03-02 20:51:33 +01:00
Thomas Wickham
845073c29d Add Clap and base config 2021-03-02 20:13:58 +01:00
Valentin Tolmer
6519b5c894 Initialize new Cargo repository 2021-03-02 12:45:30 +01:00