Commit Graph

147 Commits

Author SHA1 Message Date
glyph 112cfca67b add url comment 2022-03-21 13:26:32 +02:00
glyph 0353586705 add friends, follows and blocks route handlers and templates 2022-03-21 11:17:30 +02:00
glyph 6db5e7c169 add routes and helpers for starting, stopping and restarting the sbot 2022-03-20 16:38:32 +02:00
glyph 976fac973d add flash messages to admin settings and auth routes 2022-03-20 15:36:24 +02:00
glyph cd7c2bc230 move sbot helper functions to utils 2022-03-20 12:28:08 +02:00
glyph 40c4f8aaf2 implement flash cookies for auth change routes 2022-03-20 12:27:00 +02:00
glyph 31628a7155 remove old scuttlebutt routes file 2022-03-18 11:33:27 +02:00
glyph 3c49c067dd fix big circle background colour when sbot status is failed 2022-03-18 11:33:10 +02:00
glyph 729580729c add scuttlebutt peers menu and inactive template 2022-03-18 11:32:51 +02:00
glyph 59739cf6e5 further refinement of the sbot status page 2022-03-18 11:30:59 +02:00
glyph 7fe919d9a1 refine sbot status pattern matching 2022-03-18 11:25:53 +02:00
glyph 7cdf8c553d complete scuttlebutt status route 2022-03-17 16:30:26 +02:00
glyph fe04195030 update lockfile and remove old auth routes file 2022-03-17 11:02:04 +02:00
glyph 8455e8089c add base templates, settings routes and auth routes 2022-03-17 11:01:36 +02:00
glyph 7c98cfcd5d add admin menu and config routes; start thinking about flash msgs 2022-03-14 09:17:31 +02:00
glyph 580771ebf2 update notes and add sbot settings config route to router 2022-03-13 11:09:39 +02:00
glyph c794d398b8 add sbot settings config route 2022-03-13 11:09:00 +02:00
glyph 4d06eb167f incomplete sbot config route 2022-03-12 10:36:40 +02:00
glyph eba15605c2 add scuttlebutt settings menu 2022-03-11 15:33:04 +02:00
glyph 07c18ea64d create settings menu route and move home route 2022-03-11 14:28:31 +02:00
glyph 23d6870f77 home template is working 2022-03-10 11:09:26 +02:00
glyph 983aa0689c improve messaging for when sbot is inactive 2022-03-07 11:36:03 +02:00
glyph 1a8ac3f57f change help to guide and add text 2022-03-07 11:35:19 +02:00
glyph 6cdd6dc41b remove unnecessary serde derivations, state-based remplate rendering, styling improvements 2022-03-04 10:58:50 +02:00
glyph 7fdf88eaa8 fix and improve all login and password-related workflows 2022-03-04 10:53:49 +02:00
glyph 59ef5960a4 reduce code repetition 2022-03-03 09:33:45 +02:00
glyph 1479a65d59 rename sbot context module to match all scuttlebutt.rs files 2022-03-03 08:55:37 +02:00
glyph b1724f6eb4 update sbot status context and add latest seq num 2022-03-02 15:24:05 +02:00
glyph 9a07ab3ac0 add query param for private msgs 2022-03-02 13:51:02 +02:00
glyph 6cba477f15 add private message publishing 2022-03-02 11:57:10 +02:00
glyph 020d18731b add block list and implement (un)follow and (un)block 2022-03-02 08:58:54 +02:00
glyph a38394054d implement peer search with key validation 2022-03-01 10:53:45 +02:00
glyph 814162ce7d update friends list handler and remove followers 2022-02-28 16:25:31 +02:00
glyph e10468c337 add basic peer lookup, improve follows and profile route handlers 2022-02-28 16:08:05 +02:00
glyph 6d2502257d add profile image uploader and blob saver 2022-02-25 09:09:41 +02:00
glyph 1a3ddccbd6 add invite creation and display 2022-02-23 10:21:58 +02:00
glyph 68c926609e routes and logic for profiles and publishing name, description and post 2022-02-11 10:32:39 +02:00
glyph 0737c435a8 add theme setter and getter, update route handlers 2022-02-03 16:29:20 +02:00
glyph f6292407d0 add save and restart option for config form 2022-02-02 16:32:10 +02:00
glyph dfc173d941 add clarity about need for restart after config update 2022-02-02 16:20:30 +02:00
glyph a46b58b206 add repair fs config option 2022-02-02 14:49:36 +02:00
glyph 89b502be25 add configuration routes for the sbot 2022-02-02 14:14:12 +02:00
glyph d801c957bd introduce sbot status data 2022-02-01 10:06:45 +02:00
glyph 4470f949bd add ability to stop, start and restart go-sbot process 2022-01-27 10:56:39 +02:00
glyph 8e5c29ca6d add sbot stats to home template and set inner circle colour accordingly 2022-01-27 10:55:44 +02:00
glyph 476eaa540e add managed state for conditional template element rendering 2022-01-26 11:46:14 +02:00
glyph 6f03063f8d add managed state for conditional template element rendering 2022-01-26 11:45:59 +02:00
glyph 2bfba66dab restructure auth mode check 2022-01-18 17:12:32 +02:00
glyph 43344566de read values from managed state 2022-01-18 17:00:53 +02:00
glyph f3ddbcf07c set auth request guard from managed state 2022-01-18 16:59:03 +02:00
glyph 44b68a8b71 register scuttlebutt status routes and pass standalone var to home template 2022-01-18 12:49:47 +02:00
glyph 7346c37c86 define route and template for sbot status 2022-01-18 12:48:11 +02:00
glyph 3bb00c4eb7 add route for sbot config 2022-01-17 15:19:48 +02:00
glyph aca687974a fix url for redirect 2022-01-14 15:31:40 +02:00
glyph 6e4b8faf40 improve error msg 2022-01-14 15:31:22 +02:00
glyph 166f4d25ae move context objects and builders to dedicated directory 2022-01-13 15:49:12 +02:00
glyph a5f0d991fa fix template rendering for help 2022-01-13 15:48:55 +02:00
glyph f4ad230d58 remove unnecessary context objects 2022-01-13 13:16:38 +02:00
glyph cfd50ca359 cleanup paths and add whitespace 2022-01-12 20:21:05 +02:00
glyph fd94ba27ac replace snafu with custom error impl 2022-01-12 19:58:49 +02:00
glyph 69ba400b69 satisfy clippy nightly warnings 2022-01-12 13:15:04 +02:00
glyph 2135ab1a5b remove json routes, utils and javascript 2022-01-12 13:04:47 +02:00
glyph a5415aad99 merge direct_call_net_stats branch 2022-01-12 11:35:55 +02:00
glyph c3fbc5cd73 try operator for dyns dns domain check 2022-01-12 10:59:13 +02:00
glyph 57ed0ab66a add fullstop to docs sentence 2022-01-06 11:56:45 +02:00
glyph 49ad74595c cleanup use paths and leave network_ping note 2022-01-06 11:56:23 +02:00
glyph 567b0bbc2a replace network rpc client calls with direct calls to peach_network 2022-01-04 14:55:17 +02:00
glyph 3ab3e65eb7 replace stats rpc client calls with direct calls to peach_stats 2022-01-04 14:06:57 +02:00
glyph 220c7fd540 use tuple err source 2021-12-08 10:07:58 +02:00
glyph 35ff408365 use rocket config to (en|dis)able auth 2021-11-25 11:12:50 +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 3e0b6d908a fix auth routes 2021-11-17 11:39:09 +02:00
glyph 0f5947278e separate network settings and status; rename network templates 2021-11-16 15:50:06 +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 8baf68715d reorganise routes 2021-11-15 17:32:00 +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 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 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
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