Renaud Chaput
d0545c950c
[Glitch] Enforce stricter rules for Typescript files
...
Port 85b3823e66
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
12e8bcac9d
Fix some more Javascript linting issues and discrepancies with upstream ( #2209 )
...
* Fix typo in flavours/glitch/features/video/index.js
* Fix various linting issues and discrepancies with upstream
2 years ago
Eugen Rochko
d509c41d38
[Glitch] Change all components to use the same error page in web UI
...
Port 8b0c634a8a
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
neatchee
a73b29e8cc
[Glitch] Remove legacy decorators syntax
...
Port e272fc91e4
to glitch-soc
2 years ago
Christian Schmidt
b50a08b15b
[Glitch] Add `lang` attribute to media and poll options
...
Port 41655e16ea
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Renaud Chaput
295d193e7f
[Glitch] Rename JSX files with proper `.jsx` extension
...
Port ae3812d182
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
5d7c0b3254
[Glitch] Run eslint --fix
...
I don't like it changing files this way, but it's basically what
9a5233f107
and a few others did.
2 years ago
Bramus!
f589055664
[Glitch] Fix media markup
...
Port e6f386edf1
to glitch-soc
Co-authored-by: Effy Elden <effy@effy.space>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
James Adney
d886636767
[Glitch] fix gif autoplay on iOS
...
Port 0a302f7673
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
2caae26da9
[Glitch] Fix media, following and followers tabs in web UI
...
Port 14b27b92e2
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
bf6b66bf32
Move more modules from flavours/glitch/utils to flavours/glitch
2 years ago
Claire
874cd0e883
Rename flavours/glitch/util into flavours/glitch/utils
2 years ago
Claire
3bf201ddaa
Move flavours/glitch/util/initial_state to flavours/glitch/initial_state
2 years ago
Claire
a4562d8b00
[Glitch] Add aliases for WebUI routes that were renamed in #16171
...
Port 1de7061d5e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Eugen Rochko
e28fcc78ee
[Glitch] Change routing paths to use usernames in web UI
...
Port ce84967ee4
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Claire
3de58f0431
Refactor shouldUpdateScroll stuff
3 years ago
Claire
20fb69396f
Fix scroll handling with modals
3 years ago
Eugen Rochko
65f497cac2
Change media modals look in web UI
...
Port af1fa584e9
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
Eugen Rochko
e860bdca49
[Glitch] Change "Profile unavailable" string to "Account suspended" in web UI
...
Port 2d8ee84ed6
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
ThibG
e0b3df936f
[Glitch] Fix some account media gallery items having empty labels
...
Port 2d5f0a0002
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Eugen Rochko
c5b3c6e305
[Glitch] Change web UI to show empty profile for suspended accounts
...
Port acbb99f7e5
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Eugen Rochko
24cd580add
[Glitch] Fix audio and video items in account gallery in web UI
...
Port ece8405ebd
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Sasha Sorokin
2e73171628
[Glitch] Replace repetitive blurhash code with component ( #14267 )
...
Port 7418e0e613
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
BSKY
e02b77a1f4
[Glitch] Add noopener and/or noreferrer
...
Port 483cf4d52a
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
3134aa0097
[Glitch] Fix scroll to top in single column UI
...
Port 293f789239
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
193bdbb4b0
[Glitch] Fix audio attachments opening in video modal from media tab in web UI
...
Port 9c4f1fb4e1
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
9b0b130299
Use the `Icon` component instead of directly using `i` tag
5 years ago
Thibaut Girka
080bdf6949
Move “export” before decorators
...
As this is what upstream does.
See also https://github.com/tc39/proposal-decorators/issues/69
5 years ago
ThibG
c36ee7b85f
[Glitch] Fix handling of audio files in account media gallery
...
Port 73b23ef7be
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
167808363d
Add visibility icon back in media gallery
6 years ago
Thibaut Girka
43dc5ad0e5
Add back description on hover
6 years ago
ThibG
09d6a2920d
[Glitch] Make the cursor icon consistant across media types in account media gallery
6 years ago
Eugen Rochko
52c09770fe
[Glitch] Add button to view context to media modal
...
Port 4aabc452d0
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
3b9ff1fa34
[Glitch] Change account gallery in web UI
...
Port db73f8e585
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
771dc9235a
[Glitch] Fix glitched out "not found" message for non-existing profiles in web UI
...
Port 403338108e
to glitch-soc
6 years ago
Thibaut Girka
1e4ea4f391
Make clicking on the account and status column headers scroll to top
6 years ago
Mélanie Chauvel (ariasuni)
f01d004a1a
[Glitch] Make the column header of profile view look like the others, too
...
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Thibaut Girka
d16638a116
[Glitch] Minor scrollable list fixes
...
* Make sure loading indicator has enough vertical space
* Respect reduce_motion setting for loading indicator
Port 4ede51743e
to glitch-soc
6 years ago
Thibaut Girka
9fd8019854
[Glitch] Fix “load more” button when no data has been fetched
6 years ago
Thibaut Girka
4b2c0e4e73
[Glitch] Make account media gallery more consistent with account timeline
...
Display “load more” more consistently, add a loading indicator on first load.
6 years ago
Thibaut Girka
dda787761b
[Glitch] Fix LoadMore usage in account media gallery
...
(Even though that codepath is probably never actually used…)
6 years ago
Thibaut Girka
b4bab7eb35
Do not scroll timelines when *closing* media modals
...
Media modals push an history state so that pressing back on mobile closes them.
We made sure to not scroll when opening them, but not when *closing* them,
which caused some issues in rare cases.
6 years ago
Thibaut Girka
1476e653ec
Make hidden media clickable in account media gallery
6 years ago
Thibaut Girka
c2f963256c
Add media description (or status spoiler) in account media gallery
6 years ago
Thibaut Girka
e9f2659066
[Glitch] Honour displayMedia setting in accountMedia gallery
...
Inspired by aeca336e22
6 years ago
Thibaut Girka
f37bf7c0a3
Don't reset scroll position when opening a modal
6 years ago
Thibaut Girka
54c32199af
[Glitch] Fix LoadMore on account media gallery
...
Port 2111defbbf
to glitch-soc
7 years ago
Thibaut Girka
7a953db0b6
[Glitch] Allow clients to fetch statuses made while they were offline
...
Port 34cb1a5461
to glitch-soc
7 years ago
Thibaut Girka
ce24c3186b
[Glitch] Add "Toots/Toots with replies/Media" tab below profile header
...
Port ca9d8402c3
to glitch
7 years ago
David Yip
dfcee78446
Style fixes to make eslint happier, hopefully
7 years ago