Commit Graph

  • da4009b0b7 Implement Default for User Valentin Tolmer 2021-05-14 10:22:50 +0200
  • 7970decb8e Replace field names by identifiers in SQL queries Valentin Tolmer 2021-05-14 10:22:26 +0200
  • 2190ae3681 Forbid unsafe code Valentin Tolmer 2021-05-14 09:38:36 +0200
  • e524fb0f55 clippy: fix warnings Valentin Tolmer 2021-05-14 09:28:15 +0200
  • e0bcb58d36 Tidy up dependencies Valentin Tolmer 2021-05-14 09:15:37 +0200
  • 2de589d05c app: implement login and authorization Valentin Tolmer 2021-05-13 19:33:57 +0200
  • e431c40475 Remove user_id cookie Valentin Tolmer 2021-05-13 19:32:46 +0200
  • a15d970725 Move the JWTClaims to the model Valentin Tolmer 2021-05-13 19:32:29 +0200
  • b49a03fd87 Translate the LDAP DN into user IDs Valentin Tolmer 2021-05-13 19:31:37 +0200
  • 7e76d3aae2 Implement server-side JWT generation and checks Valentin Tolmer 2021-05-12 20:42:15 +0200
  • ccaa610b3c Add get_user_groups handler method Valentin Tolmer 2021-05-12 20:41:51 +0200
  • 5615ef8e1f Split the user table into a sub-component Valentin Tolmer 2021-05-11 09:54:54 +0200
  • e1047124fa Fine-tune passing errors from the server to the client Valentin Tolmer 2021-05-10 10:21:24 +0200
  • 6b8cccede0 Introduce custom errors Valentin Tolmer 2021-05-10 09:34:38 +0200
  • 5abff453b9 clippy fixes Valentin Tolmer 2021-05-10 09:33:33 +0200
  • c33948ccc2 style Valentin Tolmer 2021-05-09 13:28:53 +0200
  • 25027f7614 Add a method to fetch users from the client Valentin Tolmer 2021-05-09 13:26:50 +0200
  • 2416eede6f Add error message when receiving a faulty request Valentin Tolmer 2021-05-09 13:26:28 +0200
  • 8dd55195f5 Add a handler for the /api/users endpoint Valentin Tolmer 2021-05-09 12:06:58 +0200
  • 4ae94839f2 Setup a basic API route Valentin Tolmer 2021-05-09 11:52:53 +0200
  • 4091d21277 Setup the routes for the static files Valentin Tolmer 2021-05-09 11:06:23 +0200
  • 9dd94f12a6 Fix ldap handler test after field resolution Valentin Tolmer 2021-05-09 10:10:54 +0200
  • cace6eb135 Add sqlx as conditional dependency to the model Valentin Tolmer 2021-05-09 10:10:17 +0200
  • f8f642183e Replace the echo server with an HTTP server Valentin Tolmer 2021-05-08 13:27:48 +0200
  • d771293a43 Migrate deprecated create_if_not_exists Valentin Tolmer 2021-05-08 13:08:57 +0200
  • f8951d3b82 Add index and main Valentin Tolmer 2021-05-08 12:00:52 +0200
  • c58459547b Split the crate in 3, introduce JS frontend Valentin Tolmer 2021-05-08 11:34:55 +0200
  • 9459f53a13 Map ldap fields to internal fields Valentin Tolmer 2021-04-14 21:22:08 +0200
  • c48da8b758 Add ability to list groups and their users Valentin Tolmer 2021-04-14 20:52:38 +0200
  • f198638f99 Add tests to the handler Valentin Tolmer 2021-04-13 19:07:51 +0200
  • 81593c9f84 gitignore: add more sqlite patterns Valentin Tolmer 2021-04-13 19:06:52 +0200
  • f68c45b1c3 Switch the main DB to sqlite Valentin Tolmer 2021-04-11 23:01:24 +0200
  • a765d77b53 Centralize the definition of pool type Valentin Tolmer 2021-04-11 22:07:28 +0200
  • 71045b08fe Add tests for bind in the handler Valentin Tolmer 2021-04-11 22:01:24 +0200
  • 49404b24d7 Implement user listing with filters Valentin Tolmer 2021-04-11 21:30:52 +0200
  • 9f56fd02cf Create SQL tables with a query builder Valentin Tolmer 2021-04-09 10:47:26 +0200
  • bfd7730d55 Add support for basic ldap filters Valentin Tolmer 2021-04-07 20:55:23 +0200
  • 6abe94af13 Add support for non-admin bind Valentin Tolmer 2021-04-07 20:14:21 +0200
  • 31e8998ac3 Add attribute list handling Valentin Tolmer 2021-03-22 09:59:58 +0100
  • cda2bcacc3 Add ability to list users with an LDAP search request Valentin Tolmer 2021-03-16 18:27:31 +0100
  • 5a1dfa3d65 Misc cleanup Valentin Tolmer 2021-03-15 09:30:58 +0100
  • a4abe86929 Initialize the tables in the database Valentin Tolmer 2021-03-12 17:01:04 +0100
  • 03e6afda69 Misc cleanup Valentin Tolmer 2021-03-12 09:33:43 +0100
  • 86b89a00cc Separate ldap_handler, add tests Valentin Tolmer 2021-03-11 10:50:15 +0100
  • ff4e986a0d Introduce BackendHandler trait and impl Valentin Tolmer 2021-03-11 10:14:15 +0100
  • 1a947358fa Simplify DB handling with sqlx::Any Valentin Tolmer 2021-03-10 12:06:32 +0100
  • 285a51db6e Ignore created databases Valentin Tolmer 2021-03-08 10:53:21 +0100
  • dc6e8c8808 Implement SQL connection Valentin Tolmer 2021-03-07 16:13:50 +0100
  • c63c7105aa Fix the pipeline_factory Valentin Tolmer 2021-03-07 12:36:12 +0100
  • 6eaf859ba9 WIP: sorry this does not compiles Thomas Wickham 2021-03-06 23:39:34 +0100
  • ad445ac7b7 REMOVE USELESSNESS Thomas Wickham 2021-03-06 21:40:24 +0100
  • 4cefa1ecc4 Add basic LDAP structs Valentin Tolmer 2021-03-06 21:23:39 +0100
  • bbecb47c59 add tcp server Thomas Wickham 2021-03-02 23:07:01 +0100
  • ffce735b79 Fix bug in config from cli flags Thomas Wickham 2021-03-02 22:03:58 +0100
  • 009ffd793b Fix cli arg precedence and finish config wiring Thomas Wickham 2021-03-02 21:43:26 +0100
  • 0b6f482e51 Add logging + start wiring config Thomas Wickham 2021-03-02 20:51:33 +0100
  • acc80d21e5 Add complex configuration Thomas Wickham 2021-03-02 20:30:43 +0100
  • 845073c29d Add Clap and base config Thomas Wickham 2021-03-02 20:13:58 +0100
  • 6519b5c894 Initialize new Cargo repository Valentin Tolmer 2021-03-02 12:45:30 +0100
  • 65e3e2f070
    Initial commit nitnelave 2021-03-02 12:39:53 +0100