Nick Schonning
dc9dcd0fa9
[Glitch] Enable ESLint react/no-deprecated
...
Port b0dd260a7a
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
fusagiko / takayamaki
a3c2519ba0
[Glitch] Add type annotation for DisplayName component
...
Port a150bb4f2e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
b13b71d1f5
Greatly simplify history management code ( #2230 )
...
Fixes #2220
This drops the ability to shift+click on “Back” to get back to a pinned
column, but that was inconsistent, broken, and undocumented.
This also brings us slightly closer to upstream.
2 years ago
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
62f5d29c25
[Glitch] Change media elements to use aspect-ratio rather than compute height themselves
...
Port 8c43856691
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
e390c26429
Fix some of the Javascript linting issues, as well as bugs and unneeded divergences with upstream ( #2208 )
...
* Run eslint --fix
* Fix linting issues in video player and reduce divergences with upstream
This includes a behavior change of not auto-looping videos anymore. I don't
remember loops being ever intended, and they have been removed from upstream
a while ago, but we somehow missed the change.
* Fix lint issues in `app/javascript/flavours/glitch/selectors/index.js`
Those were basically caused by dead code that isn't present upstream, so
that brings us closer to upstream as well.
* Fix linting issue and bug in streaming/index.js
* Fix linting issues in config/webpack/shared.js
* Fix unused import in flavours/glitch/features/ui/index.js
* Fix linting issues and reduce divergences from upstream in flavours/glitch/features/ui/components/video_modal.jsx
* Fix linting issues in flavours/glitch/reducers
* Fix linting issues in glitch-soc onboarding modal
* Fix linting issues in flavours/glitch/features/ui/components/navigation_panel.jsx
* Remove dead code for unused local setting navbar_under
* Fix various linting issues
* Fix linting issues in flavours/glitch/components/scrollable_list.jsx and reduce divergences with upstream
2 years ago
Christian Schmidt
ab2df6fb69
[Glitch] Use CSS to trim long card descriptions
...
Port 4613dfe97b
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
Christian Schmidt
5eaad2ae5b
[Glitch] Add `lang` attribute to preview card
...
Port e56145661c
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
Claire
e08ebf920d
[Glitch] Add dropdown menu item to open admin interface for remote domains
...
Port c78d61f21a
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
4dc050c665
[Glitch] Fix unnecessary re-rendering of various components when typing in web UI ( #2063 )
...
Port 7e7f69dfed
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2 years ago
Eugen Rochko
24583c3194
[Glitch] Add user content translations with configurable backends
...
Port a593188ded
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
3b3886e80b
[Glitch] Add option to open original page in dropdowns of remote content in web UI
...
Port 3ff5a02f65
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
358012fefd
[Glitch] Fix missing delete and redraft link in web UI
...
Port 4b0d58f0ad
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
60bd9718cf
[Glitch] Change post editing to be enabled in web UI
...
Port 85fc370638
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
812b755bcb
Move some modules from flavours/glitch/utils/ back to flavours/glitch/features/ui/util/
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
Eugen Rochko
f1599cb808
[Glitch] Add interaction modal to logged-out web UI
...
Port 7fb738c837
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Rens Groothuijsen
6dfb31ea0c
[Glitch] Add warning for sensitive audio posts
...
Port aced8820dd
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
711301519a
Improve interaction between out-of-CW attachments and collapsed toots
2 years ago
Claire
406b7d972b
Add local setting toggle to move media attachments outside CWs
...
Fixes #1812
2 years ago
Eugen Rochko
cfb73f9fc9
[Glitch] Add customizable user roles
...
Port front-end changes from e164d6a687
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
7b26b12378
Swap position of media attachments and polls
3 years ago
CommanderRoot
368f6ac07a
[Glitch] Replace deprecated String.prototype.substr()
...
Port 07f1888854
to glitch-soc
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Eugen Rochko
9e57680f64
[Glitch] Chore: Disable menu items for editing statuses in web UI ( #17497 )
...
Port 64a94a889b
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Eugen Rochko
838f800808
[Glitch] Add editing for published statuses
...
Port cb76142d9e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Eugen Rochko
4ffee8156d
[Glitch] Add edit history to web UI
...
Port 948da1a958
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Eugen Rochko
cb8ec71677
[Glitch] Add support for editing for published statuses
...
Port front-end changes from 06b698a723
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Claire
b20dafb566
[Glitch] Add support for private pinned posts
...
Port JS changes from 5aade2baac
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
def45ddc91
Fix media attachments not being displayed on polls
...
Fixes #1595
3 years ago
Eugen Rochko
49b205ad89
[Glitch] Fix not being able to open audio modal in web UI
...
Port de8c539b7b
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
Mélanie Chauvel
f419096f3b
[Glitch] Slightly reorder three dots menu on toots to make it more intuitive
...
Port e48633f3cf
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
Eugen Rochko
3a6cae746e
[Glitch] Fix hardcoded frame rate for frame by frame video navigation in web UI
...
Port bcb3a91c0c
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Eugen Rochko
f08b14ce71
[Glitch] Add pop-out player for audio/video in web UI
...
port fc497420e9
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Thibaut Girka
79f367db2e
Fix crash when opening detailed view of a status you boosted
4 years ago
Tdxdxoz
ee0ca40541
[Glitch] Fix: also use custom private boost icon for detailed status
...
Port c950a85d9e
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
proxy
efb1f3413c
[Glitch] reword "boost to original audience" as per tootsuite#14596
...
Port a455c84892
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Thibaut Girka
8ad2252c98
Fix spacing around reblog counter in detailed statuses
...
And bring the whole thing closer to upstream's code.
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
ThibG
1271de96f0
[Glitch] Fix WebUI crash on sensitive preview card with no preview thumbnail
...
Port 5a6b0ce051
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
ThibG
72aeeb2b34
[Glitch] Fix WebUI crash on sensitive preview card with no preview thumbnail
...
Port ad1b26b4bc
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Eugen Rochko
3c51c7dd3e
[Glitch] Add color extraction for audio thumbnails
...
Port 8517a5fdb4
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Eugen Rochko
e282f9b671
[Glitch] Add customizable thumbnails for audio and video attachments
...
Port a3ce01a102
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Eugen Rochko
9d737108a6
[Glitch] Fix audio/video/images/cards not reacting to window resizes in web UI
...
Port d0dc37eadb
to glitch-soc
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Eugen Rochko
27becaa9df
[Glitch] Change volume control and download buttons in web UI
...
Port ce34c13aff
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago