Commit Graph

  • 7aab9e8cf5 app: Add a way to manage a user's group memberships Valentin Tolmer 2021-09-16 23:22:11 +02:00
  • 480f48f820 graphql: Add a method to list groups Valentin Tolmer 2021-09-16 09:26:31 +02:00
  • e4d6b122c5 graphql: Add methods to add/remove group memberships Valentin Tolmer 2021-09-15 09:45:17 +02:00
  • a54e73bded app: Add the group memberships Valentin Tolmer 2021-09-15 09:27:32 +02:00
  • 718da71d0d app: Allow admins to change passwords Valentin Tolmer 2021-09-14 09:58:04 +02:00
  • 005e18472e app: reorganize and add a page to change the password Valentin Tolmer 2021-09-12 11:54:47 +02:00
  • a184cce38f docker: fix command Valentin Tolmer 2021-09-12 11:55:30 +02:00
  • 035eb6cc3c cargo: update dependencies and add a patch to a library Valentin Tolmer 2021-09-03 11:50:49 +02:00
  • d647be793a app: Add a way for users to edit their info Valentin Tolmer 2021-09-02 18:11:28 +02:00
  • 6ef06163db schema: add a script to re-export the schema Valentin Tolmer 2021-09-01 10:01:08 +02:00
  • 2954109d96 graphql: Add a method to update a user Valentin Tolmer 2021-09-01 10:00:51 +02:00
  • 0ac9e134de schema: make user fields non-nullable Valentin Tolmer 2021-09-01 09:59:01 +02:00
  • 564c09d6ab app: Fix the user detail view Valentin Tolmer 2021-08-31 20:18:19 +02:00
  • 092cdb860c workflow: Fix typo Valentin Tolmer 2021-08-31 20:00:12 +02:00
  • d8df47b35d Move backend source to server/ subpackage Valentin Tolmer 2021-08-31 16:46:31 +02:00
  • 3eb53ba5bf model: rename to auth Valentin Tolmer 2021-08-31 16:29:49 +02:00
  • 9dd579e32e model: move User and Group definition to backend Valentin Tolmer 2021-08-31 16:20:15 +02:00
  • 641018ff56 model: remove AddUserToGroupRequest Valentin Tolmer 2021-08-31 16:16:17 +02:00
  • 54f973e349 model: remove CreateGroupRequest Valentin Tolmer 2021-08-31 15:57:01 +02:00
  • 4af60e5668 model: remove DeleteUserRequest Valentin Tolmer 2021-08-31 15:53:51 +02:00
  • 0bcabc7d0c model: remove CreateUserRequest Valentin Tolmer 2021-08-31 15:51:55 +02:00
  • 0dd05e5771 model: inline the UserDetailsRequest Valentin Tolmer 2021-08-31 15:48:45 +02:00
  • 6efafa99c8 user_table: refactor to clarify view() Valentin Tolmer 2021-08-31 15:43:51 +02:00
  • 9c4f8931a0 app: Fix local timezone not taken into account Valentin Tolmer 2021-08-31 13:54:56 +02:00
  • cd91b4d3ac api: inline the ListUsersRequest Valentin Tolmer 2021-08-30 10:18:59 +02:00
  • 08a3845cbe infra: Remove the TCP API Valentin Tolmer 2021-08-30 10:18:35 +02:00
  • 651adbe3c8 model: Inline the BindRequest in the backend Valentin Tolmer 2021-08-30 09:54:45 +02:00
  • 2aca9dbe62 app: migrate user creation to GraphQL Valentin Tolmer 2021-08-30 09:50:10 +02:00
  • 37f61ce212 app: fix registration URLs Valentin Tolmer 2021-08-30 09:49:56 +02:00
  • 40ba65dca7 app: make a graphql argument required Valentin Tolmer 2021-08-30 09:49:13 +02:00
  • 459f1eba19 graphql: add an endpoint to create a user Valentin Tolmer 2021-08-30 09:28:27 +02:00
  • dd7e9c9283 app: migrate user_details to graphql endpoint Valentin Tolmer 2021-08-30 09:08:42 +02:00
  • 267ce51973 jwt: Harden check by hardcoding accepted algorithms Valentin Tolmer 2021-08-30 08:56:28 +02:00
  • 0ecd9ed263 Migrate datetimes to UTC Valentin Tolmer 2021-08-30 08:48:06 +02:00
  • 848cc86d73 api: add the rest of the fields to User Valentin Tolmer 2021-08-27 01:10:45 +02:00
  • a1f40a32a5 app: refactor API methods with empty responses Valentin Tolmer 2021-08-27 00:12:46 +02:00
  • f860b8fe43 app: Migrate list_users to use the graphql client Valentin Tolmer 2021-08-27 00:02:11 +02:00
  • 83ed58bff2 errors: use anyhow::Context everywhere Valentin Tolmer 2021-08-26 21:56:42 +02:00
  • a08b9a556d cli: introduce the export_graphql_schema command Valentin Tolmer 2021-08-26 21:46:00 +02:00
  • d2617e08a7 Simplify get_user_groups to take a &str Valentin Tolmer 2021-08-26 10:00:49 +02:00
  • a51965a61a Implement basic GraphQL endpoint with auth Valentin Tolmer 2021-08-26 09:52:56 +02:00
  • be3e50d31a Update actix libraries Valentin Tolmer 2021-08-22 16:30:25 +02:00
  • 87516eb218 Update actix libraries Valentin Tolmer 2021-08-22 16:30:25 +02:00
  • 860ca8d41c Add the twitter handle to the README Valentin Tolmer 2021-07-05 13:47:33 +02:00
  • 04b9e97527 Implement client view for the user details Valentin Tolmer 2021-07-05 09:21:13 +02:00
  • 5e0b41998f Propagate the admin status to the top component Valentin Tolmer 2021-07-04 11:19:37 +02:00
  • 6744a89922 Implement per-user guards for the user details endpoint Valentin Tolmer 2021-06-30 22:07:23 +02:00
  • c7fb8baadb Remove useless clones Valentin Tolmer 2021-06-30 21:05:08 +02:00
  • 5a3332430f Add a route to server user details Valentin Tolmer 2021-06-30 20:47:01 +02:00
  • b0c721bb28 Add a method to get a single user's details Valentin Tolmer 2021-06-30 20:43:18 +02:00
  • 5a5db13cc2 Add a request message for user details Valentin Tolmer 2021-06-30 20:00:44 +02:00
  • a731777514 Remove outdated config sample Valentin Tolmer 2021-06-30 19:57:03 +02:00
  • ab66a36fe6 Set admin password when creating the user Valentin Tolmer 2021-07-05 09:42:54 +02:00
  • d891529da9 Add allow warnings for nonstandard macro braces Valentin Tolmer 2021-07-05 10:00:13 +02:00
  • 65f0dfed84 Fix dockerfile start command Valentin Tolmer 2021-07-01 11:43:57 +02:00
  • 8e049c9e54 Add a docker image Valentin Tolmer 2021-06-30 16:54:33 +02:00
  • e09c73efce Register clients' passwords using OPAQUE Valentin Tolmer 2021-06-24 18:23:23 +02:00
  • 8b73de0df7 Update opaque and implement it without DB Valentin Tolmer 2021-06-23 20:33:36 +02:00
  • f12abb35d3 Fix workflow to use the workspace Valentin Tolmer 2021-06-23 11:13:18 +02:00
  • 0a761ff11f Create a workspace for the packages Valentin Tolmer 2021-06-23 11:13:05 +02:00
  • 97aab86e8e Add clippy and fmt to the workflow Valentin Tolmer 2021-06-23 10:57:43 +02:00
  • 2f7019433d Fix clippy warnings Valentin Tolmer 2021-06-23 10:57:34 +02:00
  • eec0903052 Refactor API client Valentin Tolmer 2021-06-23 10:11:32 +02:00
  • 659eab3706 Implement opaque login flow in the client Valentin Tolmer 2021-06-23 09:40:04 +02:00
  • 4d68a2a015 Add TCP handlers for opaque protocol Valentin Tolmer 2021-06-21 09:24:49 +02:00
  • 7be0e420d4 Add a handler for OPAQUE messages Valentin Tolmer 2021-06-16 22:04:11 +02:00
  • f6372c7e02 Add the OPAQUE tables to the cleanup cron Valentin Tolmer 2021-06-16 19:28:42 +02:00
  • 4bc48a064d Create SQL tables for the temporary OPAQUE data Valentin Tolmer 2021-06-16 19:22:02 +02:00
  • 7e6c6eace6 Add messages for the OPAQUE protocol Valentin Tolmer 2021-06-16 19:12:41 +02:00
  • b5c7e3b0d7 clippy: fix lint warning Valentin Tolmer 2021-06-15 23:11:02 +02:00
  • c3bbcce6a3 Simplify KeyPair handling Valentin Tolmer 2021-06-15 23:07:22 +02:00
  • f918debc2e Simplify opaque types Valentin Tolmer 2021-06-15 10:12:41 +02:00
  • 973fac4bb8 Make passwords optional when registering a new user Valentin Tolmer 2021-06-14 16:32:10 +02:00
  • 3c916a2530 Implement password checking using opaque Valentin Tolmer 2021-06-14 16:02:36 +02:00
  • 86bfd37b70 Opaque: use argon2 as slow hash Valentin Tolmer 2021-06-08 23:24:33 +02:00
  • 973fa40dd1 Add OPAQUE implementation Valentin Tolmer 2021-06-08 22:23:46 +02:00
  • d5f84cd588 Add cargo.lock and fix some dependencies Valentin Tolmer 2021-06-22 17:27:43 +02:00
  • 0d8e317490 build.sh: Detect local installs of rollup and improve error messages Valentin Tolmer 2021-06-22 15:32:20 +02:00
  • 0469252277 Add Bootstrap CSS Valentin Tolmer 2021-06-08 18:48:27 +02:00
  • c48323e221 Improve the README Valentin Tolmer 2021-06-02 16:02:49 +02:00
  • 7465a6b93f Add a form to create users Valentin Tolmer 2021-06-01 17:30:57 +02:00
  • 2a6d23203c Implementation of the delete_user_request. Tests are barebones and are dependant of the list_users_request (delete_user_request_test will fail if list_users_request fails) Marcelin Dupraz 2021-05-30 21:11:13 +02:00
  • 48c4f1adbd
    Add action testing PRs nitnelave 2021-05-30 22:03:53 +02:00
  • a56fbd77e3 Force sqlx-core to be at 0.5.1 Valentin Tolmer 2021-05-30 19:27:54 +02:00
  • bb66532862 Fix sqlx dependency Valentin Tolmer 2021-05-30 19:16:34 +02:00
  • ca48de542b Add a API endpoint to create a user Valentin Tolmer 2021-05-30 18:26:14 +02:00
  • e3ff3b7b0a App: Display users in a table Valentin Tolmer 2021-05-30 17:51:28 +02:00
  • ac492f987d App: Various cleanups (clippy) Valentin Tolmer 2021-05-30 17:07:34 +02:00
  • c1cb5792fe Introduce a router for the app Valentin Tolmer 2021-05-30 17:02:09 +02:00
  • 6ebd18d1e0 Return not found when a cookie is empty Valentin Tolmer 2021-05-30 17:01:14 +02:00
  • 3f23f69fce Add the admin user to the admin group by default Valentin Tolmer 2021-05-26 19:22:41 +02:00
  • 352a7d90fc Add method to add users to groups Valentin Tolmer 2021-05-26 15:49:59 +02:00
  • b3c2f5edfc Add a method to create a group Valentin Tolmer 2021-05-26 15:42:02 +02:00
  • 8e369016da Create admin user by default Valentin Tolmer 2021-05-26 15:13:17 +02:00
  • 5a70f2ebc2 Add a method to create a user Valentin Tolmer 2021-05-26 08:43:31 +02:00
  • d1a42b178a Make display_name, first&last name optional Valentin Tolmer 2021-05-26 08:42:05 +02:00
  • e45cf1c2b5 Remove the dependency on the app Valentin Tolmer 2021-05-26 08:36:12 +02:00
  • eb5c48f030 Add a DB cleaner cron job Valentin Tolmer 2021-05-25 10:39:09 +02:00
  • 9899c6f5aa app: Refactor API calls Valentin Tolmer 2021-05-25 10:03:33 +02:00
  • e07efc9585 Implement client-side logout Valentin Tolmer 2021-05-23 17:07:02 +02:00