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
4c9d9c924c
kebab-case consistency
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
f0x52
d09ddb4769
[feature] opengraph meta tags ( #806 )
...
* f0x gitignore additions
* better meta title and descriptions
* user avatar icon for thread and profile meta tags
* use proper tag for image
* whitespace
* add noescapeAttr template function
* use ogMeta struct for opengraph
* maxOGDescriptionLength = 300
Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
2022-09-07 16:53:12 +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
tobi
58c00d9f2f
[frontend] Transition neatly from cropped photos ( #802 )
2022-09-04 15:14:15 +02:00
tobi
006c8b604b
[feature] Set default header and avatar for API accounts to GtS ones ( #799 )
...
* validate web-asset-base-dir
* move default icons into converter
* always ensure avatar + header on api accounts
* update tests
* add default header
* don't return error from web module creation anymore
* tidy a bit
* use pngs for default avatars rather than svgs
2022-09-04 14:41:42 +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
tobi
c951ba1d23
[frontend] gentle css fiddling ( #761 )
...
* gentle css fiddling
* Make grid alignment a lil more consistent too
2022-08-27 11:40:51 +02:00
f0x52
52fe681ba2
[frontend] Sensitive media spoilers ( #752 )
...
* sensitive media spoilers
* small tweaks, use pointer-events (thanks @owl!)
* allow hiding all media
* add button roles
* add tabindices
* s/Show media/Show sensitive media/
* show hovering alt-text on hidden sensitive images
Co-authored-by: tobi <31960611+tsmethurst@users.noreply.github.com>
2022-08-14 19:22:13 +02:00
tobi
bfcd80a0f2
[frontend] Style scrollbars site-wide (not just in code) ( #753 )
2022-08-12 13:11:43 +02:00