Commit Graph

117 Commits

Author SHA1 Message Date
neil 860d14bcd0 tweaking CSS, adding loading ring 2020-11-04 20:04:50 +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 79eb469b20 adding csrf strings 2020-11-04 20:03:05 +01:00
neil 9fac0811a0 downgrading cookie key size from 48 to 32 2020-11-04 20:02:48 +01:00
neil e2fdf128ec bumping version, add csrf dependency 2020-11-04 20:02:21 +01:00
neil 6db862848f implementing csrf in the frontend, adding spambot protection using javascript. Fixes #16. Fixes #9. 2020-11-04 20:01:55 +01:00
neil 3b764f2ac7 adding entry for nojs translation 2020-11-03 19:06:26 +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 6bfd488036 adding cookie_key field in config.toml 2020-11-03 19:03:57 +01:00
neil d4c1979e79 Merge branch 'root' of ssh://git.42l.fr:42084/neil/sncf into root 2020-11-03 17:02:07 +01:00
neil 6760517c70 now using database pool for db. Fixes #21 2020-11-03 17:02:03 +01:00
neil 7dafaacee0 Mise à jour de 'README.md' 2020-11-01 17:43:11 +00:00
neil f07c8f960f updating deps 2020-11-01 18:28:03 +01:00
neil 06b47ed63e removing db folder 2020-11-01 18:06:17 +01:00
neil 23f1f9d1c9 Merge branch 'root' of ssh://git.42l.fr:42084/neil/sncf into root 2020-11-01 18:04:41 +01:00
neil fc079635db null'ing the database path parameter by default 2020-11-01 18:04:35 +01:00
neil 8dd5486250 implementing multiple database systems support! 2020-11-01 18:03:42 +01:00
neil cf26c8bd44 adding fmt rules 2020-11-01 18:02:41 +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 ff233aa5c9 checked compatibility for NC 20.0.1 2020-10-31 12:28:55 +00:00
neil e496e5ae9a Mise à jour de 'README.md' 2020-10-07 14:39:49 +00:00
neil 5bd21a5782 Mise à jour de 'README.md' 2020-10-07 14:39:24 +00:00
neil a69642ac11 Merge branch 'root' of ssh://git.42l.fr:42084/neil/sncf into root 2020-10-03 21:05:47 +02:00
neil e79f86ada9 adding lang_code entry in lang.json, fixes #19 2020-10-03 21:05:40 +02:00
neil c71a936f8d adding 1.0.2 in compatibility table 2020-09-16 20:32:42 +00:00
neil 0bb3584921 updating deps 2020-09-16 22:24:55 +02:00
neil fdd6b61d08 editing the source code links --> sncf, seems more appropriate (?) 2020-09-16 22:08:49 +02: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 e4cab99f9e adding padding on page-heading-text. Fixes #11 2020-09-16 19:12:10 +02:00
neil dfb8a9428b Merge branch 'root' of ssh://git.42l.fr:42084/neil/sncf into root 2020-09-16 17:03:52 +02:00
neil c3c8f7af64 translated screenshots and reworked assets directory structure. Fixes #15 2020-09-16 17:03:43 +02:00
neil 45b5cc16a2 adding compatibility for 2.0.4 2020-09-08 16:53:02 +00: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 cba8b52b32 adding a link to the source code in index 2020-08-31 16:44:19 +02:00
neil 4a1e9cca7e mentioning migration page 2020-08-31 16:02:10 +02:00
neil 3324315d8a Merge branch 'root' of ssh://git.42l.fr:42084/neil/sncf into root 2020-08-31 12:31:14 +02:00
neil ec4b587a31 adding /apps/files to forbidden routes 2020-08-31 12:31:04 +02:00
neil 6d52e01ba1 adding some details in the readme 2020-08-31 09:20:49 +00:00
neil f5fa03fdaa Fixing dead wiki link in the readme 2020-08-29 20:25:43 +00:00
neil e64bdc9cf3 Mise à jour de 'README.md' 2020-08-29 19:50:27 +00:00
neil d974ac3b8e Mise à jour de 'README.md' 2020-08-29 19:49:24 +00: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 2b6fb1baa1 Duplicate 'service in development' text in template 2020-08-22 17:59:22 +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 20400a798f fixing some typos in lang.json 2020-08-22 16:34:07 +02:00