Valentin Tolmer
|
d5cb53ae8a
|
Implement refresh tokens
|
2021-05-20 17:40:30 +02:00 |
|
Valentin Tolmer
|
312d9b7a6f
|
Mark cookies as sameSite=Strict
|
2021-05-19 18:08:26 +02:00 |
|
Valentin Tolmer
|
4d9f554fe6
|
Implement logout
Also introduce a library to handle cookies
|
2021-05-18 19:04:06 +02:00 |
|
Valentin Tolmer
|
d57cd1230c
|
Turn the login form into a regular form
|
2021-05-18 17:44:46 +02:00 |
|
Valentin Tolmer
|
29b7f4b836
|
Remove folder placeholder
|
2021-05-17 16:54:41 +02:00 |
|
Valentin Tolmer
|
04dafe1f4a
|
Remove outdated examples
|
2021-05-16 17:20:28 +02:00 |
|
Valentin Tolmer
|
e90ef2737c
|
Add tests for tcp handlers
|
2021-05-14 10:30:58 +02:00 |
|
Valentin Tolmer
|
f19a4b36de
|
Default the web server to returning index.html
|
2021-05-14 10:30:58 +02:00 |
|
Valentin Tolmer
|
da4009b0b7
|
Implement Default for User
|
2021-05-14 10:30:58 +02:00 |
|
Valentin Tolmer
|
7970decb8e
|
Replace field names by identifiers in SQL queries
|
2021-05-14 10:30:55 +02:00 |
|
Valentin Tolmer
|
2190ae3681
|
Forbid unsafe code
|
2021-05-14 10:30:55 +02:00 |
|
Valentin Tolmer
|
e524fb0f55
|
clippy: fix warnings
|
2021-05-14 10:30:55 +02:00 |
|
Valentin Tolmer
|
e0bcb58d36
|
Tidy up dependencies
|
2021-05-14 09:24:23 +02:00 |
|
Valentin Tolmer
|
2de589d05c
|
app: implement login and authorization
|
2021-05-14 09:24:23 +02:00 |
|
Valentin Tolmer
|
e431c40475
|
Remove user_id cookie
We can't read it from JS anyway
|
2021-05-14 09:24:14 +02:00 |
|
Valentin Tolmer
|
a15d970725
|
Move the JWTClaims to the model
|
2021-05-13 19:32:29 +02:00 |
|
Valentin Tolmer
|
b49a03fd87
|
Translate the LDAP DN into user IDs
|
2021-05-13 19:31:37 +02:00 |
|
Valentin Tolmer
|
7e76d3aae2
|
Implement server-side JWT generation and checks
|
2021-05-12 20:53:46 +02:00 |
|
Valentin Tolmer
|
ccaa610b3c
|
Add get_user_groups handler method
|
2021-05-12 20:53:46 +02:00 |
|
Valentin Tolmer
|
5615ef8e1f
|
Split the user table into a sub-component
|
2021-05-11 09:54:54 +02:00 |
|
Valentin Tolmer
|
e1047124fa
|
Fine-tune passing errors from the server to the client
|
2021-05-10 10:21:24 +02:00 |
|
Valentin Tolmer
|
6b8cccede0
|
Introduce custom errors
|
2021-05-10 09:34:38 +02:00 |
|
Valentin Tolmer
|
5abff453b9
|
clippy fixes
|
2021-05-10 09:34:29 +02:00 |
|
Valentin Tolmer
|
c33948ccc2
|
style
|
2021-05-09 13:29:12 +02:00 |
|
Valentin Tolmer
|
25027f7614
|
Add a method to fetch users from the client
|
2021-05-09 13:26:50 +02:00 |
|
Valentin Tolmer
|
2416eede6f
|
Add error message when receiving a faulty request
|
2021-05-09 13:26:28 +02:00 |
|
Valentin Tolmer
|
8dd55195f5
|
Add a handler for the /api/users endpoint
|
2021-05-09 12:06:58 +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
|
9dd94f12a6
|
Fix ldap handler test after field resolution
|
2021-05-09 10:10:54 +02:00 |
|
Valentin Tolmer
|
cace6eb135
|
Add sqlx as conditional dependency to the model
That way, we can use query_as
|
2021-05-09 10:10:17 +02:00 |
|
Valentin Tolmer
|
f8f642183e
|
Replace the echo server with an HTTP server
|
2021-05-08 15:52:08 +02:00 |
|
Valentin Tolmer
|
d771293a43
|
Migrate deprecated create_if_not_exists
|
2021-05-08 13:08:57 +02:00 |
|
Valentin Tolmer
|
f8951d3b82
|
Add index and main
|
2021-05-08 12:00:52 +02:00 |
|
Valentin Tolmer
|
c58459547b
|
Split the crate in 3, introduce JS frontend
|
2021-05-08 11:34:55 +02:00 |
|
Valentin Tolmer
|
9459f53a13
|
Map ldap fields to internal fields
|
2021-04-14 21:22:08 +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
|
81593c9f84
|
gitignore: add more sqlite patterns
|
2021-04-13 19:06:52 +02:00 |
|
Valentin Tolmer
|
f68c45b1c3
|
Switch the main DB to sqlite
|
2021-04-12 16:06:14 +02:00 |
|
Valentin Tolmer
|
a765d77b53
|
Centralize the definition of pool type
|
2021-04-11 22:08:25 +02:00 |
|
Valentin Tolmer
|
71045b08fe
|
Add tests for bind in the handler
|
2021-04-11 22:01:24 +02:00 |
|
Valentin Tolmer
|
49404b24d7
|
Implement user listing with filters
|
2021-04-11 21:30:52 +02:00 |
|
Valentin Tolmer
|
9f56fd02cf
|
Create SQL tables with a query builder
|
2021-04-11 16:49:06 +02:00 |
|
Valentin Tolmer
|
bfd7730d55
|
Add support for basic ldap filters
|
2021-04-07 20:55:23 +02:00 |
|
Valentin Tolmer
|
6abe94af13
|
Add support for non-admin bind
|
2021-04-07 20:14:21 +02:00 |
|
Valentin Tolmer
|
31e8998ac3
|
Add attribute list handling
Also, fix various clippy warnings
|
2021-03-22 09:59:58 +01:00 |
|
Valentin Tolmer
|
cda2bcacc3
|
Add ability to list users with an LDAP search request
|
2021-03-16 18:27:31 +01:00 |
|
Valentin Tolmer
|
5a1dfa3d65
|
Misc cleanup
|
2021-03-15 09:30:58 +01:00 |
|
Valentin Tolmer
|
a4abe86929
|
Initialize the tables in the database
|
2021-03-12 17:01:04 +01:00 |
|