Commit graph

24 commits

Author SHA1 Message Date
Alex Gleason
5548644bd6
eslint: no-extra-semi 2021-08-03 14:22:51 -05:00
Alex Gleason
b571765c33
Admin: add registration mode picker 2020-12-29 23:25:07 -06:00
Alex Gleason
488db44a85
Preload frontend config
https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3075
2020-10-15 17:07:33 -05:00
crockwave
91605d7d91 Fixed reducer error 2020-09-03 11:10:03 -05:00
Curtis ROck
181eef1edd corrected errors 2020-09-02 21:47:46 -05:00
Curtis ROck
b337a4560e Apply non-blank default BrandColor only when API and soapbox.json methods fail, and only when API and/or JSON method succeeds, but brandColor value is blank 2020-08-31 22:00:11 -05:00
Alex Gleason
0dfe22de36
Fix updateFromAdmin() broken comparison 2020-08-24 10:38:29 -05:00
Alex Gleason
48d0572403
ConfigDB: Refactor updateFromAdmin in reducers/soapbox 2020-08-24 10:08:39 -05:00
Alex Gleason
d310fb4f18
SoapboxConfig: Rudimentary deletion of rows 2020-08-23 22:41:22 -05:00
Alex Gleason
ec42888fff
Add getSoapboxConfig() like getSettings() 2020-08-23 16:04:01 -05:00
Alex Gleason
83b799a3a1
ConfigSoapbox: Update phrasing, add + icons to form 2020-08-23 15:04:32 -05:00
Alex Gleason
5a9f17ebac
Start refactoring AdminAPI actions 2020-08-23 12:48:45 -05:00
crockwave
d966107f1b Add default copyright value to reducer
Fixed checkbox processing
2020-08-14 19:03:11 -05:00
crockwave
cf260ec793 Handles virgin rendering, default soapbox object if soapbox.json missing, local state used only for UI changes, and retention of settings in both DB and store as soapbox object
Need to monitor for soapbox object dispatch events so that hitting Back causes re-render of timeline page
Need to explore refactoring update of soapbox object before being passed to API
2020-08-14 16:51:04 -05:00
crockwave
8b2c7b344b Trying to get blank customCss field to appear on virgin usage 2020-08-13 19:04:54 -05:00
crockwave
cea7723fc3 refactored to improve default soapbox object for store
refactored to render with local state if avail or with props
refactored to build soapbox object for api and store from local state if avail or with props
2020-08-12 17:24:14 -05:00
crockwave
ba18c3a643 SB settings Save works and brandcolor renders. Logo/banner paths are issues, and adding new homefooter/customCSS are issues 2020-08-01 16:38:29 -05:00
Curtis ROck
78df407e1e remarked out a case, due to that case being triggered during a Soapbox settings save event, which needs debugging. Post to AdminConfig fails with 400 Bad Request response. 2020-07-30 21:55:17 -05:00
crockwave
c6f3816f77 Drafted pushing soapbox object to Redux store on SOAPBOX_POST_SUCCESS 2020-07-30 19:39:41 -05:00
Alex Gleason
3e2b282cb8
Postpone setting the brand color until soapbox.json succeeds or fails
Fixes color flickering during load
2020-06-03 14:47:49 -05:00
Alex Gleason
8f566b70e6
Better actions names for INSTANCE_FETCH_SUCCESS etc 2020-06-03 14:26:22 -05:00
Alex Gleason
e8fcd9bf18
Actually set default brandColor in SoapboxMount 2020-06-03 14:20:45 -05:00
Alex Gleason
7d58694cce
Set Azure as default brandColor (can still be set blank with null) 2020-06-03 11:23:21 -05:00
Alex Gleason
d24dcb3e60
gabsocial --> soapbox paths 2020-05-28 17:56:55 -05:00
Renamed from app/gabsocial/reducers/soapbox.js (Browse further)