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 |
glyph
|
a46b58b206
|
add repair fs config option
|
2022-02-02 14:49:36 +02:00 |
glyph
|
33604ac0dc
|
change form width for better mobile styling
|
2022-02-02 14:49:14 +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
|
f715644e25
|
display system startup mode
|
2022-01-27 11:01:12 +02:00 |
glyph
|
c7cc310a32
|
add form element to enable / disable running go-sbot on startup
|
2022-01-27 10:57:21 +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
|
abda4373ae
|
conditional font colour rendering
|
2022-01-26 12:10:28 +02:00 |
glyph
|
e718889485
|
update sbot status page and add live data retrieval
|
2022-01-26 11:48:34 +02:00 |
glyph
|
b7ec1a42be
|
conditionally render network settings button
|
2022-01-26 11:47:44 +02:00 |
glyph
|
445c05e3ee
|
style horizontal lines
|
2022-01-26 11:46:49 +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
|
51eff6a298
|
add sbot status-related icons
|
2022-01-26 11:44:25 +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
|
bfb53747db
|
update rocket config file and related docs
|
2022-01-18 16:59:54 +02:00 |
glyph
|
d0321d17d0
|
remove lazy_static dependency
|
2022-01-18 16:59:44 +02:00 |
glyph
|
f3ddbcf07c
|
set auth request guard from managed state
|
2022-01-18 16:59:03 +02:00 |
glyph
|
680044cba8
|
read config params from figment and attach managed state
|
2022-01-18 16:58:13 +02:00 |
glyph
|
792779f60f
|
deduplicate mounting of routes
|
2022-01-18 12:50:06 +02:00 |
glyph
|
44b68a8b71
|
register scuttlebutt status routes and pass standalone var to home template
|
2022-01-18 12:49:47 +02:00 |
glyph
|
205dd145b4
|
add links to templates for sbot status page
|
2022-01-18 12:48:40 +02:00 |
glyph
|
7346c37c86
|
define route and template for sbot status
|
2022-01-18 12:48:11 +02:00 |
glyph
|
b4a930e774
|
add bottom margin for small label class
|
2022-01-17 15:21:11 +02:00 |
glyph
|
8c4cf6261e
|
add sbot config template and rename menu
|
2022-01-17 15:20:43 +02:00 |
glyph
|
8f5b257ed1
|
mount routes for sbot config
|
2022-01-17 15:20:08 +02:00 |
glyph
|
3bb00c4eb7
|
add route for sbot config
|
2022-01-17 15:19:48 +02:00 |
notplants
|
4d2a3771b8
|
remove static/js from cargo-deb assetts
|
2022-01-16 17:41:49 -05:00 |
glyph
|
ed6da528a2
|
remove noscript, update urls
|
2022-01-14 15:32:37 +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
|
552c4b419e
|
comment-out system call-invoking function
|
2022-01-14 15:30:54 +02:00 |
glyph
|
6fb4a2406b
|
add docs about standalone mode config
|
2022-01-14 15:30:33 +02:00 |
glyph
|
65dbc6bdd4
|
remove noscript template snippet
|
2022-01-14 15:30:16 +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
|
60a0d7f293
|
set global vars for iface names
|
2022-01-13 15:47:43 +02:00 |
glyph
|
d8c40e0724
|
move context builders into dedicated directory
|
2022-01-13 15:47:14 +02:00 |
glyph
|
f4ad230d58
|
remove unnecessary context objects
|
2022-01-13 13:16:38 +02:00 |
glyph
|
b0b21ad8a0
|
add standalone check before mounting routes
|
2022-01-13 13:15:42 +02:00 |
glyph
|
08ee9cd776
|
cargo fmt
|
2022-01-12 20:21:39 +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
|
bb5cd0f0d3
|
remove unneeded dependencies
|
2022-01-12 19:54:30 +02:00 |
glyph
|
72b7281587
|
remove json api tests
|
2022-01-12 19:51:08 +02:00 |
glyph
|
69ba400b69
|
satisfy clippy nightly warnings
|
2022-01-12 13:15:04 +02:00 |
glyph
|
2a7c893d94
|
bump version
|
2022-01-12 13:08:30 +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 |
notplants
|
1ea0ea2ed1
|
Fix regression of peach-dyndns-updater
|
2022-01-11 18:03:07 -05: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
|
a0e80fcda7
|
add deps for network and stats
|
2022-01-04 14:06:35 +02:00 |
notplants
|
29cc40be48
|
Fix setup of nsupdate
|
2021-12-18 11:24:43 -05:00 |
notplants
|
94bac00664
|
Fix typo in secret_key
|
2021-12-18 09:22:55 -05:00 |
notplants
|
c41dae8d04
|
Copy Rocket.toml to /usr/share/peach-web
|
2021-12-17 17:23:27 -05:00 |
notplants
|
e34df3b656
|
Remove configuration of http basic auth
|
2021-12-17 17:19:04 -05:00 |
notplants
|
f737236abc
|
Move cargo/.config to root of workspace
|
2021-12-16 12:55:14 -05:00 |
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
|
5c4ef4a529
|
update auth docs
|
2021-11-25 11:15:39 +02:00 |
glyph
|
35ff408365
|
use rocket config to (en|dis)able auth
|
2021-11-25 11:12:50 +02:00 |
glyph
|
c2b785f54b
|
remove unnecessary websocket dependency
|
2021-11-25 11:12:05 +02:00 |
glyph
|
b59e62f920
|
bump crate version
|
2021-11-23 12:30:34 +02:00 |
glyph
|
3325706dcb
|
document disable auth flag
|
2021-11-23 12:30:24 +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
|
b59eb22082
|
fix function names and remove flashMsg code duplication
|
2021-11-22 15:31:39 +02:00 |
glyph
|
ee1da0599c
|
remove status update logic
|
2021-11-22 15:30:45 +02:00 |
glyph
|
e5f9a9be83
|
remove duplicate flashMsg code
|
2021-11-22 15:30:18 +02:00 |
glyph
|
e54ff8829a
|
remove duplicate flashMsg code
|
2021-11-22 15:29:40 +02:00 |
glyph
|
554997a5c0
|
fix context back and title
|
2021-11-18 13:49:10 +02:00 |
glyph
|
da51070ccd
|
improve template styling consistency
|
2021-11-18 11:48:37 +02:00 |
glyph
|
925051a379
|
improve not_found template
|
2021-11-18 11:48:03 +02:00 |
glyph
|
380ee2683a
|
fix js
|
2021-11-18 11:47:50 +02:00 |
glyph
|
bae3b7c2ce
|
tweak styling
|
2021-11-18 11:47:33 +02:00 |
glyph
|
0b2b346bfc
|
add test and reorder existing tests
|
2021-11-17 11:40:02 +02:00 |
glyph
|
d0ae5d2966
|
update admin setting template paths
|
2021-11-17 11:39:29 +02:00 |
glyph
|
3e0b6d908a
|
fix auth routes
|
2021-11-17 11:39:09 +02:00 |
glyph
|
9f1f48bb6c
|
update styles
|
2021-11-16 15:51:26 +02:00 |
glyph
|
bbe44361af
|
remove cancel button
|
2021-11-16 15:50:56 +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
|
42ffe70ae6
|
remove admin buttons
|
2021-11-16 10:00:13 +02:00 |
glyph
|
b86575e2e4
|
update classes and base template
|
2021-11-16 09:45:14 +02:00 |
glyph
|
308aaa11f5
|
remove route tables and update readme
|
2021-11-16 08:43:04 +02:00 |
glyph
|
f3b522c65d
|
mount scuttlebutt and admin menu routes
|
2021-11-15 20:58:13 +02:00 |
glyph
|
2590314b6c
|
update admin settings templates
|
2021-11-15 20:57:49 +02:00 |
glyph
|
40890b0e58
|
update login template
|
2021-11-15 20:56:50 +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
|
c73287cc27
|
modify templates
|
2021-11-15 17:31:15 +02:00 |
glyph
|
fe30705178
|
update js files
|
2021-11-15 17:30:44 +02:00 |
glyph
|
8306239ee9
|
add admin templates
|
2021-11-15 17:30:10 +02:00 |
glyph
|
b10cfd31c0
|
add scuttlebutt templates
|
2021-11-15 17:29:42 +02:00 |
glyph
|
53cbe0f41a
|
add settings templates
|
2021-11-15 17:29:25 +02:00 |
glyph
|
8c91853eea
|
add icons
|
2021-11-15 17:28:39 +02:00 |
glyph
|
b66041fde3
|
add TODO concerning forms
|
2021-11-15 12:00:12 +02:00 |
glyph
|
0260a4a5de
|
add TODO concerning forms
|
2021-11-15 11:59:55 +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 |
glyph
|
67d86e2874
|
replace flash and noscript with snippets
|
2021-11-13 10:53:35 +02:00 |
glyph
|
06117f377d
|
improve indentation
|
2021-11-13 10:52:46 +02:00 |
glyph
|
dd189e89e0
|
improve indendation
|
2021-11-13 10:52:20 +02:00 |
glyph
|
ceabfad54f
|
add ssb settings menu template
|
2021-11-12 12:26:31 +02:00 |
glyph
|
44fd6beb98
|
add root settings menu
|
2021-11-12 12:10:53 +02:00 |
glyph
|
b8289fb000
|
remove preview
|
2021-11-12 11:56:43 +02:00 |
glyph
|
166f860050
|
add peers list template
|
2021-11-12 11:37:36 +02:00 |
glyph
|
c3b9ffef0e
|
update peers menu template
|
2021-11-12 10:54:32 +02:00 |
glyph
|
0514cb6a38
|
update classes and icons
|
2021-11-12 10:38:28 +02:00 |
glyph
|
a9f318e2e3
|
update profile template
|
2021-11-12 10:37:39 +02:00 |
notplants
|
ae9254c0c6
|
Changes to CSS
|
2021-11-10 14:53:03 +01: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 |