1
0
Fork 0
mirror of https://git.42l.fr/neil/sncf.git synced 2024-04-28 04:02:47 +02:00
Commit graph

25 commits

Author SHA1 Message Date
neil e354b5b14b remove token check when clicking on the new form button on index 2021-04-15 23:43:17 +02:00
neil ade36cf053 do not check if user is logged in when registering, fix #27 2021-04-14 00:36:31 +02:00
neil 8d6a68b33c adds sncf token admin on login, fixes #28 2021-04-14 00:32:38 +02:00
neil 9612086790 now force login on /admin/<token> route, partial fix for #27 2021-04-14 00:31:18 +02:00
neil 162cdad7fe fully restrict /apps/files from src/forward 2021-04-13 23:03:09 +02:00
neil 7fbfcf485c force redirection from /apps/files to /apps/forms 2021-04-13 21:16:02 +02:00
neil c24b98bcca use cookies properly, fixes #31 2021-04-13 00:01:08 +02:00
neil 6e231a73b6 adding Secure cookie param to sncf_admin_token and sncf_csrf_cookie 2021-04-12 20:39:47 +02:00
neil c1191f3f45 cargo fmt 2021-03-24 20:17:08 +01:00
neil fa9cd82531 setting csrf token duration to 12 hours 2020-11-05 16:16:19 +01:00
neil 6b61ada515 implementing csrf token in backend. forward_register (/link endpont) is now POST 2020-11-04 20:04:29 +01:00
neil 6760517c70 now using database pool for db. Fixes #21 2020-11-03 17:02:03 +01:00
neil 8dd5486250 implementing multiple database systems support! 2020-11-01 18:03:42 +01:00
neil 6a9465d579 adding random token at the end of generated names. Fixes #14 2020-09-16 20:19:21 +02:00
neil abd6c91013 moving to forms OCSv2 API 2020-09-08 18:48:47 +02:00
neil 491ffb5537 Use await everywhere, do not declare a mutable variable if the body doesn't need to be edited, disable compression 2020-08-29 19:55:03 +02:00
neil 44286ac8c5 removing superfluous authorization header removal 2020-08-22 20:14:20 +02:00
neil 05566dde3d cargo fmt 2020-08-22 16:34:28 +02:00
neil 1c02c142c9 fixing cookie regex again 2020-08-22 16:01:23 +02:00
neil 5a6f600806 Introducing proxy timeout (15s) and attempt to remove basic-auth header from all requests 2020-08-22 15:38:42 +02:00
bleh c61cd417fd fixing the cookie token regex 2020-08-22 12:43:21 +02:00
bleh fc32720003 more verbose debug on token fail 2020-08-22 12:16:25 +02:00
bleh 5c1f80358f Using a different error message when the admin token isn't found. Fixes #6 2020-08-19 20:28:08 +02:00
bleh bdba48acf2 fixing sncf_admin_token parsing error 2020-08-19 16:44:31 +02:00
bleh 92aadbf613 initial commit and v1? 2020-08-19 01:21:42 +02:00