Commit Graph

51 Commits

Author SHA1 Message Date
Valentin Tolmer 99ed6eface server: Update tracing-forest and take advantage of the span fields 2023-09-10 22:29:32 +02:00
Valentin Tolmer b4d7ada317 lldap_set_password: create the new tool
Fixes #473.
2023-03-21 00:03:09 +01:00
Valentin Tolmer 9e479d38fe app: get rid of rollup, gzip the wasm 2023-03-05 16:31:56 +01:00
Valentin Tolmer dce73f91ef server: update actix, inline juniper-actix 2023-03-02 10:51:38 +01:00
Valentin Tolmer 21e51c3d38 server: Add support for LdapCompare op 2023-02-13 12:59:53 +01:00
Valentin Tolmer e89b1538af server,app: migrate to sea-orm 2022-11-25 15:35:48 +01:00
Valentin Tolmer 697a64991d server: Change attribute values to bytes 2022-08-09 13:03:28 +02:00
Valentin Tolmer 0e3c5120da app: Switch yew_form dependency back to main repo 2022-08-09 13:03:28 +02:00
Valentin Tolmer 49f4e48aae cargo: update various dependencies 2022-07-01 14:57:22 +02:00
Valentin Tolmer 5e2eea0d97 sqlx: update dependency and protect against injections 2022-06-26 11:55:37 +02:00
Valentin Tolmer 31cf9b8e2c migration: Implement import from LDAP 2021-12-08 12:01:56 +01:00
Valentin Tolmer 14be1170f2 app: Extract the form component from the user details page 2021-09-20 11:23:57 +02:00
Valentin Tolmer 035eb6cc3c cargo: update dependencies and add a patch to a library 2021-09-03 14:32:33 +02:00
Valentin Tolmer d8df47b35d Move backend source to server/ subpackage
To clarify the organization.
2021-08-31 20:32:55 +02:00
Valentin Tolmer 3eb53ba5bf model: rename to auth
Since the "model" doesn't contain any message from the API anymore, and
instead contains only the structures needed for authentication, it was
renamed as such.
2021-08-31 20:32:55 +02:00
Valentin Tolmer a51965a61a Implement basic GraphQL endpoint with auth 2021-08-30 09:27:00 +02:00
Valentin Tolmer 87516eb218 Update actix libraries 2021-08-22 16:58:33 +02:00
Valentin Tolmer 8b73de0df7 Update opaque and implement it without DB 2021-06-23 20:46:55 +02:00
Valentin Tolmer 0a761ff11f Create a workspace for the packages 2021-06-23 11:13:05 +02:00
Valentin Tolmer c3bbcce6a3 Simplify KeyPair handling 2021-06-23 10:27:59 +02:00
Valentin Tolmer f918debc2e Simplify opaque types 2021-06-23 10:27:59 +02:00
Valentin Tolmer 3c916a2530 Implement password checking using opaque 2021-06-23 10:27:59 +02:00
Valentin Tolmer d5f84cd588 Add cargo.lock and fix some dependencies
Note that the auth_service handler has become less generic, but it's
enough for our purposes.
2021-06-22 17:27:43 +02:00
Valentin Tolmer a56fbd77e3 Force sqlx-core to be at 0.5.1 2021-05-30 19:27:54 +02:00
Valentin Tolmer bb66532862 Fix sqlx dependency
0.5.5 seems to be broken
2021-05-30 19:16:34 +02:00
Valentin Tolmer 5a70f2ebc2 Add a method to create a user 2021-05-26 08:43:31 +02:00
Valentin Tolmer e45cf1c2b5 Remove the dependency on the app 2021-05-26 08:36:12 +02:00
Valentin Tolmer eb5c48f030 Add a DB cleaner cron job 2021-05-25 10:39:09 +02:00
Valentin Tolmer d5cb53ae8a Implement refresh tokens 2021-05-20 17:40:30 +02:00
Valentin Tolmer e0bcb58d36 Tidy up dependencies 2021-05-14 09:24:23 +02:00
Valentin Tolmer 7e76d3aae2 Implement server-side JWT generation and checks 2021-05-12 20:53:46 +02:00
Valentin Tolmer 4ae94839f2 Setup a basic API route 2021-05-09 11:52:53 +02:00
Valentin Tolmer 4091d21277 Setup the routes for the static files 2021-05-09 11:06:23 +02:00
Valentin Tolmer f8f642183e Replace the echo server with an HTTP server 2021-05-08 15:52:08 +02:00
Valentin Tolmer c58459547b Split the crate in 3, introduce JS frontend 2021-05-08 11:34:55 +02:00
Valentin Tolmer c48da8b758 Add ability to list groups and their users 2021-04-14 20:52:38 +02:00
Valentin Tolmer f198638f99 Add tests to the handler 2021-04-13 19:07:51 +02:00
Valentin Tolmer f68c45b1c3 Switch the main DB to sqlite 2021-04-12 16:06:14 +02:00
Valentin Tolmer 9f56fd02cf Create SQL tables with a query builder 2021-04-11 16:49:06 +02:00
Valentin Tolmer 6abe94af13 Add support for non-admin bind 2021-04-07 20:14:21 +02:00
Valentin Tolmer cda2bcacc3 Add ability to list users with an LDAP search request 2021-03-16 18:27:31 +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 0b6f482e51 Add logging + start wiring config 2021-03-02 20:51:33 +01:00
Thomas Wickham acc80d21e5 Add complex configuration 2021-03-02 20:30:43 +01:00
Thomas Wickham 845073c29d Add Clap and base config 2021-03-02 20:13:58 +01:00