Commit Graph

45 Commits

Author SHA1 Message Date
glyph 220c7fd540 use tuple err source 2021-12-08 10:07:58 +02:00
glyph d760f9f92c add init_rocket test wrapper 2021-11-25 11:33:09 +02:00
glyph 35ff408365 use rocket config to (en|dis)able auth 2021-11-25 11:12:50 +02:00
glyph bc28a84ad4 disable auth for tests 2021-11-23 12:30:09 +02:00
glyph bb34bdd653 add auth flag check 2021-11-23 12:29:58 +02:00
glyph 554997a5c0 fix context back and title 2021-11-18 13:49:10 +02:00
glyph 0b2b346bfc add test and reorder existing tests 2021-11-17 11:40:02 +02:00
glyph 3e0b6d908a fix auth routes 2021-11-17 11:39:09 +02:00
glyph 4de8ecf4a6 mount status routes 2021-11-16 15:50:42 +02:00
glyph e69c2ff855 update network status html tests 2021-11-16 15:50:22 +02:00
glyph 0f5947278e separate network settings and status; rename network templates 2021-11-16 15:50:06 +02:00
glyph f3b522c65d mount scuttlebutt and admin menu routes 2021-11-15 20:58:13 +02:00
glyph d9a7cf3622 update auth and admin routes 2021-11-15 20:56:22 +02:00
glyph 61828082fd add scuttlebutt settings routes and template 2021-11-15 20:55:46 +02:00
glyph 1506e89c5e move admin templates to settings 2021-11-15 17:53:51 +02:00
glyph 03a746431e update tests 2021-11-15 17:32:30 +02:00
glyph 0cb66c23ba set route mountpoints 2021-11-15 17:32:21 +02:00
glyph 8baf68715d reorganise routes 2021-11-15 17:32:00 +02:00
glyph 7f4b1b2b00 test scuttlebutt routes 2021-11-15 11:59:38 +02:00
glyph f225cf0dc8 mount scuttlebutt routes 2021-11-15 11:59:25 +02:00
glyph 9756a80094 add scuttlebutt routes 2021-11-15 11:59:14 +02:00
notplants a4f459e1fc Change /send_password_reset to /forgot_password 2021-11-10 12:33:37 +01:00
notplants e3640f0885 Clean up comments 2021-11-10 12:21:17 +01:00
notplants 309ec94cdb Allow large enum variant to avoid clippy warning 2021-11-08 17:03:47 +01:00
notplants 0d23307f86 Use empty struct for Authenticated 2021-11-08 17:01:38 +01:00
notplants 6605af7bed Fix clippy errors 2021-11-08 16:55:58 +01:00
notplants 18fbb7fa5f Fix typos 2021-11-08 16:54:18 +01:00
notplants 04011e4f1a Add rocket authentication to all routes 2021-11-08 16:38:10 +01:00
notplants 212c2e1545 Add request guard for password authentication 2021-11-08 15:00:27 +01:00
notplants 1b66ee8d9e Response to code review 2021-11-05 11:44:41 +01:00
notplants 4021e17bbf Comment out failing test 2021-11-04 22:59:46 +01:00
notplants 4f6fb17069 Fix clippy warnings 2021-11-04 22:39:40 +01:00
notplants 64e083f516 Fix tests 2021-11-04 22:30:29 +01:00
notplants b0cdd1ba5c Upgrade to 0.5 complete 2021-11-04 14:10:41 +01:00
notplants b654d913ad Use rocket_dyn_templates 2021-11-04 12:03:40 +01:00
notplants 346b6c30c4 Use rocket::serde::json instead of rocket_contrib::json 2021-11-03 15:08:57 +01:00
notplants 2507747f94 Find and replace build_json_response 2021-11-03 15:03:21 +01:00
glyph 5df88b81ce documentation tidy-up 2021-11-03 11:52:02 +02:00
notplants 211c923454 Update lib.rs to use rocket 0.5 2021-11-02 17:14:15 +01:00
mhfowler a48838ad1d All tests are passing 2021-10-28 14:35:00 +02:00
mhfowler f07f8be52f Reformat 2021-10-28 14:33:27 +02:00
mhfowler 727a06cbba Cleanup with cargo fix 2021-10-28 14:09:56 +02:00
mhfowler 6ceb016cdc Working on routes refactor 2021-10-28 14:08:32 +02:00
glyph 8d80be5848 fix web tests 2021-10-25 18:42:58 +02:00
mhfowler d8803e9974 First workspace commit 2021-08-06 13:58:40 -04:00