mirror of
1
Fork 0
Commit Graph

77 Commits

Author SHA1 Message Date
f0x e6ca9d2a89 fix fake-toot avatar 2022-09-18 19:21:26 +02:00
f0x 799878f294 fix old css variables 2022-09-18 19:21:26 +02:00
f0x cf9252b663 fix sidebar boxshadow-border 2022-09-18 19:21:26 +02:00
f0x 8cb572f8fa refactor submit functions 2022-09-18 19:21:26 +02:00
f0x cb6f40d538 sidebar styling, remove unused page 2022-09-18 19:21:26 +02:00
f0x 863f5cd4f6 delete last old panel files 2022-09-18 19:21:26 +02:00
f0x dd9a46a412 emoji uploader 2022-09-18 19:21:26 +02:00
f0x b984641108 custom emoji base 2022-09-18 19:21:26 +02:00
f0x 257360536a remove unused require 2022-09-18 19:21:26 +02:00
f0x cb1af48009 fix useEffect hooks 2022-09-18 19:21:26 +02:00
f0x 83253570af media cleanup 2022-09-18 19:21:26 +02:00
f0x 5f04829fd6 react 18 changes 2022-09-18 19:21:26 +02:00
f0x 8c1500856b upgrade dependencies 2022-09-18 19:21:26 +02:00
f0x 397165b5ed federation blocks 2022-09-18 19:21:26 +02:00
f0x 80c05825ab federation block routing 2022-09-18 19:21:26 +02:00
f0x 9fbe8f5cfd admin-status based routing 2022-09-18 19:21:26 +02:00
f0x 02ac28e832 only do API checks on logged-in state 2022-09-18 19:21:26 +02:00
f0x fac0e28afb refactor/cleanup forms 2022-09-18 19:21:26 +02:00
f0x 98b4301d52 add top-level redirect 2022-09-18 19:21:26 +02:00
f0x fed168af4c remove old/admin files 2022-09-18 19:21:26 +02:00
f0x 8c1f05159e admin settings panel 2022-09-18 19:21:26 +02:00
f0x a84971af84 admin panel settings 2022-09-18 19:21:26 +02:00
f0x 3ab2de4db2 start on admin pages 2022-09-18 19:21:26 +02:00
f0x cb137589a0 restructure form fields 2022-09-18 19:21:25 +02:00
f0x b01267de17 remove unneeded wrapper components 2022-09-18 19:21:25 +02:00
f0x 0a4b1f79de customize profile css 2022-09-18 19:21:25 +02:00
f0x ca25d4c570 support future api for removing files 2022-09-18 19:21:25 +02:00
f0x d6be0bfa84 remove debug logging 2022-09-18 19:21:25 +02:00
f0x fa5e65b640 implement password change 2022-09-18 19:21:25 +02:00
f0x 43f2e988b9 implement old/user/profile.js 2022-09-18 19:21:25 +02:00
f0x 10faf67b51 delete old/index.js, old/basic.js, fully implemented 2022-09-18 19:21:25 +02:00
f0x 2bd18790cf use redux state for profile form 2022-09-18 19:21:25 +02:00
f0x 3ce9dfe7d6 fix keeping track of the wrong instance url (for different instance/api domains) 2022-09-18 19:21:25 +02:00
f0x 8474dd434a profile overview 2022-09-18 19:21:25 +02:00
f0x 4eee86d2ed move old dir 2022-09-18 19:21:25 +02:00
f0x 87fb2307d4 basic profile change submission 2022-09-18 19:21:25 +02:00
f0x 6d719874fa oauth api revocation handling 2022-09-18 19:21:25 +02:00
f0x dc1d536c35 split oauth api functions 2022-09-18 19:21:25 +02:00
f0x 5f80099eee full redux oauth implementation, with basic error handling 2022-09-18 19:21:25 +02:00
f0x a4bb869d0f login flow up till app registration 2022-09-18 19:21:25 +02:00
f0x cc69e65a72 use .jsx extensions for components 2022-09-18 19:21:25 +02:00
f0x 2576e3b2d6 redux, whitespace changes.. 2022-09-18 19:21:25 +02:00
f0x c989cd43ac superfluous padding on applist 2022-09-18 19:21:25 +02:00
f0x d0ace4c26a basic router layout, error boundary 2022-09-18 19:21:25 +02:00
f0x 0af6789ef3 colorscheme redesign, some other small css tweaks 2022-09-18 19:21:25 +02:00
f0x 8b4a848bc8 settings panel restructuring 2022-09-18 19:21:25 +02:00
tobi b42469e4e0
[feature] Allow users to set custom css for their profiles + threads (#808)
* add custom css account property + db func to fetch

* allow account to get/set custom css

* serve custom css for an account

* go fmt

* use monospace for customcss, add link

* add custom css to account cache

* fix broken field

* add custom css docs to user guide

* add `accounts-allow-custom-css` config flag

* add allow custom css to /api/v1/instance response

* only show/set custom css if allowed to do so

* only set/serve custom account css if enabled

* update swagger docs

* chain promise

* make bool a bit clearer

* use cache for GetAccountCustomCSSByUsername
2022-09-12 13:14:29 +02:00
tobi ee01e030d4
[bugfix] Catch json syntax errors in the frontend + display a more helpful message (#804)
* catch json syntax errors

* update error msg

* re-throw error with cause

Co-authored-by: f0x52 <f0x@cthu.lu>
2022-09-05 14:24:51 +02:00
Blackle Morisanchetto 1e1cdee06a
[feature] Emojify spoiler and content in web templates (#785)
* Emojify spoiler and content in web templates

* Use more performance emojify code (thanks NyaaaWhatsUpDoc!)
2022-09-02 11:54:32 +02:00
Blackle Morisanchetto ea902bb500
[Admin panel] Make Description boxes multi-line (#781) 2022-08-30 11:44:39 +02:00