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
|
0d38e2f2d4
|
add admin token in server-side templates
|
2021-04-13 00:02:09 +02:00 |
|
neil
|
112ea773a2
|
create sncf_cookies actix session
|
2021-04-13 00:01:33 +02:00 |
|
neil
|
c24b98bcca
|
use cookies properly, fixes #31
|
2021-04-13 00:01:08 +02:00 |
|
neil
|
5a521b0497
|
deprecate old get/set cookie functions
|
2021-04-12 23:59:22 +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
|
8276b35a01
|
cargo clippy
|
2021-03-24 20:29:24 +01:00 |
|
neil
|
c1191f3f45
|
cargo fmt
|
2021-03-24 20:17:08 +01:00 |
|
neil
|
255cf8ba9e
|
updating isAnonymous interception process with new OCS API
|
2021-03-24 19:50:28 +01:00 |
|
neil
|
31bf380e12
|
fixing the login forgery process to work around nextcloud issue
|
2021-03-24 19:49:27 +01:00 |
|
neil
|
3b82283cfd
|
setting user_agent back to actix-web
|
2021-03-24 19:48:59 +01:00 |
|
neil
|
329fe20553
|
moving user_agent to constants
|
2021-03-24 19:48:17 +01:00 |
|
neil
|
e012505247
|
updating deps
|
2021-03-21 23:52:17 +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
|
151ad7b5aa
|
adding cookie_key field, better error message on outdated config. bump cfg version
|
2020-11-03 19:05:08 +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
|
50f3ed4e90
|
do not disclose database path in stdout unless debug_mode is enabled
|
2020-11-01 18:02:26 +01:00 |
|
neil
|
cab8136e1e
|
adding feature flags
|
2020-11-01 18:00:55 +01:00 |
|
neil
|
5bf70566ac
|
adding comments in config.rs
|
2020-09-16 22:08:19 +02: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
|
9f304c4069
|
adding ALLOWED_ROUTES
|
2020-09-08 18:36:27 +02:00 |
|
neil
|
4a1e9cca7e
|
mentioning migration page
|
2020-08-31 16:02:10 +02:00 |
|
neil
|
ec4b587a31
|
adding /apps/files to forbidden routes
|
2020-08-31 12:31:04 +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
|
dd7463fc6e
|
cargo clippy
|
2020-08-22 16:38:24 +02:00 |
|
neil
|
05566dde3d
|
cargo fmt
|
2020-08-22 16:34:28 +02:00 |
|
neil
|
fe3759d941
|
Implementing appropriate error codes for each error. Fixes #7
|
2020-08-22 16:33:44 +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
|
be19e37cb7
|
more debug info when NC returns bad status code
|
2020-08-22 12:05:23 +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
|
c76d3e5a68
|
fixing crash with missing translations (#3)
|
2020-08-19 19:14:45 +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 |
|