Commit Graph

297 Commits

Author SHA1 Message Date
glyph 5fc0094146 remove tera templates 2022-03-24 09:11:26 +02:00
glyph 50afb61955 update dependencies and bump minor version 2022-03-24 09:09:08 +02:00
glyph 928afb35d3 update application configuration 2022-03-24 09:07:43 +02:00
glyph 1bdacf3632 add application configuration to replace Rocket.toml 2022-03-24 09:05:53 +02:00
glyph deaedc4428 add temporary password reset routes 2022-03-24 09:05:26 +02:00
glyph b78fafe84d update dependencies 2022-03-23 14:56:44 +02:00
glyph 5d37c12913 implement authentication with separate public and private routers 2022-03-23 14:56:31 +02:00
glyph 3a05396afb mount blobstore and add theme support for all routes 2022-03-23 11:41:47 +02:00
glyph 41bd39d422 add themes, add public and private msg publishing 2022-03-23 11:41:21 +02:00
glyph 77c1ccb1c7 add form handler and helper for sbot config updates 2022-03-23 09:14:54 +02:00
glyph 7d9bc2d7cd reduce code repetition with class splices 2022-03-22 16:13:50 +02:00
glyph b20822a644 satisfy clippy 2022-03-22 16:13:34 +02:00
glyph 65f0ac7630 update flash message class width 2022-03-22 16:12:47 +02:00
glyph 703f35d8b1 add profile_update module 2022-03-22 16:12:28 +02:00
glyph 084af1b486 add profile update template and route handler 2022-03-22 16:11:52 +02:00
glyph 3e918f66cf fix error flash value 2022-03-22 16:11:13 +02:00
glyph 98121f4922 use splices for rendering and url-encode the public key link 2022-03-21 16:43:22 +02:00
glyph e19fa0f99d import profile module 2022-03-21 16:42:16 +02:00
glyph 3a7b499742 use splices for template rendering 2022-03-21 16:41:52 +02:00
glyph 85231a20c7 add profile template and route handler 2022-03-21 16:40:54 +02:00
glyph 602c6a90f1 use class splices to reduce code repetition 2022-03-21 15:17:16 +02:00
glyph 34b4cbff32 add search and invite templates and route handlers 2022-03-21 13:27:32 +02:00
glyph 112cfca67b add url comment 2022-03-21 13:26:32 +02:00
glyph a379de179d add sbot error template 2022-03-21 11:17:42 +02:00
glyph 0353586705 add friends, follows and blocks route handlers and templates 2022-03-21 11:17:30 +02:00
glyph 4e8d93c388 move routes to the router 2022-03-20 17:17:17 +02:00
glyph 6db5e7c169 add routes and helpers for starting, stopping and restarting the sbot 2022-03-20 16:38:32 +02:00
glyph 60539adf41 add max-age and date for flash cookies 2022-03-20 16:37:53 +02:00
glyph e8b9cb2cc1 remove default rouille features 2022-03-20 15:37:02 +02:00
glyph cad3fc94c8 update theme import 2022-03-20 15:36:37 +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 70f7ad0dc6 add sbot utils, move theme utils and add flash message trait 2022-03-20 12:26:04 +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 ec288658f3 implement basic config 2022-03-11 14:27:40 +02:00
glyph 6b145d66f8 add basic application config and parser 2022-03-11 10:19:00 +02:00
glyph 23d6870f77 home template is working 2022-03-10 11:09:26 +02:00
glyph b7cf3c1aab fix a test and update guide links 2022-03-09 13:04:44 +02:00
glyph 5b70353d6f update readme 2022-03-08 10:53:06 +02:00
glyph 67c727716c fix dark theme styling and button widths 2022-03-07 12:02:03 +02:00
glyph 5ab47cf742 made select css classes wider 2022-03-07 11:36:49 +02:00
glyph b092f1e1c4 minor wording change for temporary password request 2022-03-07 11:36:24 +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 af34829cb0 add reset password option to admin menu 2022-03-07 11:34:10 +02:00
glyph 824cbdbc0c save default peachcloud config if file does not exist 2022-03-07 11:26:52 +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 3991af11c7 only render private if sbot is active, fix type in profile 2022-03-03 09:34:30 +02:00
glyph 59ef5960a4 reduce code repetition 2022-03-03 09:33:45 +02:00
glyph 69a8cc262e renamed context file 2022-03-03 08:55:58 +02:00
glyph 1479a65d59 rename sbot context module to match all scuttlebutt.rs files 2022-03-03 08:55:37 +02:00
glyph ffe190148d minor css tweaks 2022-03-02 15:24:40 +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 06a55ade06 remove blob rendering for blocked peers 2022-03-02 13:35:21 +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 03028a2278 add context builder for friends list 2022-02-28 16:25:06 +02:00
glyph e10468c337 add basic peer lookup, improve follows and profile route handlers 2022-02-28 16:08:05 +02:00
glyph 436a516c3e add conditional rendering for profile and peers list 2022-02-28 16:06:52 +02:00
glyph 786e3f41d9 add utility to check blobstore for file 2022-02-28 16:05:53 +02:00
glyph a491892bd9 assign public key id to profile context 2022-02-25 10:49:37 +02:00
glyph 02a1078ece make profile capsule border pink 2022-02-25 09:10:09 +02:00
glyph 6d2502257d add profile image uploader and blob saver 2022-02-25 09:09:41 +02:00
glyph ebbcc35fbb add deps for base64 and temp dir creation 2022-02-25 09:09:07 +02:00
glyph e3eb3be2e3 use local blobstore path util function 2022-02-25 09:08:48 +02:00
glyph 799d9de001 add io error variant and blob writer function 2022-02-25 09:08:21 +02:00
glyph e05de8284d get profile image blob path and render in template 2022-02-23 11:54:34 +02:00
glyph 9013ccb3d6 determine blobstore path and mount blob file server 2022-02-23 11:54:08 +02:00
glyph a37288225a remove decimal from memory and blobstore size 2022-02-23 10:22:52 +02:00
glyph 4665a9e6fa fix icon permissions; remove executable 2022-02-23 10:22:21 +02:00
glyph 1a3ddccbd6 add invite creation and display 2022-02-23 10:21:58 +02:00
glyph fe1da62058 add template for profile update form 2022-02-11 10:32:59 +02:00
glyph 68c926609e routes and logic for profiles and publishing name, description and post 2022-02-11 10:32:39 +02:00
glyph 17ea3e7f44 add golgi dependency and error variant 2022-02-11 10:31:31 +02:00
glyph a174027ff5 add context builders for sbot 2022-02-11 10:31:07 +02:00
glyph f459fe47d1 add display for warning flash msgs 2022-02-11 10:30:27 +02:00
glyph 4e6bb15a23 update templates to use theme variables and classes 2022-02-03 16:31:17 +02:00
glyph 62191e5509 theme icons and updated hermies icons 2022-02-03 16:30:26 +02:00
glyph da976ff4fe introduce theme attributes and variables 2022-02-03 16:29:53 +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