Renaud Chaput
e11d884c53
[Glitch] Add stricter ESLint rules for Typescript files
...
Port 6a3211876c
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Renaud Chaput
487715a3e3
[Glitch] Type Redux store and middleware
...
Port d67de22458
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
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
fusagiko / takayamaki
31e4da41ee
[Glitch] Rewrite actions/app.ts and reducers/missed_updates.ts with createAction
...
Port 9ed91c444e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
db240323f6
Fix some more JS linting issues ( #2211 )
...
* Minor refactor and linting fixup in `flavours/glitch/actions/accounts.js`
This is some added boilerplate but it's much more consistent with the remaining
of the code, and avoids the linting issue.
* Fix missing /privacy-policy link in DM warning because of wrongly-named import
* Fix unnecessary import
* Fix regexp in flavours/glitch/utils/hashtag.js
2 years ago
Plastikmensch
ef5df7fc66
Reset language to default when cancelling a reply ( #2114 )
...
When cancelling a reply, the language was still set to the language of the replied to toot.
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.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
bb60db4471
[Glitch] Replace `Status#translatable?` with language matrix in separate endpoint
...
Port 7583523bf0
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Dean Bassett
6c64af449c
[Glitch] Fix case-sensitive check for previously used hashtags
...
Port 28bc6265bf
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
b525ce4bf9
[Glitch] Fix attached media uploads not being cleared when replying to a post
...
Port 3c1e48d304
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Dean Bassett
ab546780eb
fix hashtag ordering ( #2107 )
...
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2 years ago
Claire
2862f0d94a
Further JS code style changes
2 years ago
Akira Ouchi
84e332a9a1
[Glitch] autofocus the compose form again on /share
...
Port bbcbb2dd7f
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
Nick Schonning
43c2509789
[Glitch] Remove extra semicolons with ESLint autofix
...
Port 3874a3067d
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
neatchee
c5af6caf05
Allow users to set the trigger height for lengthy toot auto-collapse ( #2070 )
...
* Allow users to set the trigger height for lengthy toot autocollapse
Add a field in the glitch-soc preferences to set the exact height in pixels of a "lengthy toot" where auto-collapse is triggered
Originally authored by Dean Bassett (github.com/deanveloper)
Squashed 3 commits from neatchee/mastodon and returned some values to project defaults:
* ef665c1df5821e684c8da3392049f33243fafa74
* 0fce108d210efe55027a3af061bfc57aaaa83843
* 998f701a2b2e37edbda7dffb11a61f67f5559b18
* Remove bad escape characters
* Apply feedback from glitch-soc code review
- move input width specification to CSS
- adjust language for clarity
* Update comments re: lengthy toot height
* Fix inconsistent indentation
* Use a calculated width that scales better with browser font instead of static 45px width
2 years ago
Connor Shea
d4932b3073
[Glitch] Add listing of followed hashtags
...
Port be280f10c5
to glitch-soc
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
c0a441d90f
[Glitch] Add support for editing media description and focus point of already-posted statuses
...
Port 42aa864c84
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Peter Simonsson
37cd05b115
[Glitch] Fix dropdown menu positions when scrolling
...
Port 9d20c31f9c
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
7fa8938ebb
[Glitch] Add follow request banner on account header
...
Port cfeb01b17f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
17161bd243
[Glitch] Fix being stuck in edit mode when deleting the edited status
...
Port f5d8ba958f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
9af13fa961
[Glitch] Change default reply language to be default language when replying to a translated reply
...
Port 0e7709efce
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
b0bee20726
[Glitch] Fix potential duplicate statuses in Explore tab
...
Port 7fe4f2c715
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
ad613b56cf
Fix content-type being reset when editing toots ( #1993 )
...
Fixes #1990
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
Claire
5fcaaa66f0
[Glitch] Fix infinite loading instead of soft 404 for non-existing remote accounts
...
Port e668be4cac
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
kedama
b2f452000b
[Glitch] Fix status mismatch of sensitive check
...
Port 691b827c87
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
56234c7110
[Glitch] Fix media metadata being only editable once
...
Port 088c365559
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
06c5841fbd
[Glitch] Add the ability to edit media attachment metadata for any unattached media
...
Port d55054b166
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
e9aa9c43ec
[Glitch] Fix redrafting a currently-editing post not leaving edit mode
...
Port 793cc2096d
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
5b9b797f64
[Glitch] Fix handling of duplicate and out-of-order notifications in WebUI
...
Port 7e4afba7c6
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
b12ffe1fbf
[Glitch] Fix upload progress not communicating processing phase in web UI
...
Port 89ef2cf044
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Takeshi Umeda
87d3b61bb6
[Glitch] Add featured tags selector for WebUI
...
Port 3e88e7ba20
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
a916c471d1
[Glitch] Fix case-sensitive look-up for profiles in web UI
...
Port e700e95246
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
104af53947
[Glitch] Change public accounts pages to mount the web UI
...
Port 0fdfbe555e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
5f44aae001
[Glitch] Change about page to be mounted in the web UI
...
Port e376f33207
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
001e6a8d57
Fix notification cleaning mode causing notifications to get stuck ( #1868 )
2 years ago
Claire
96a738e51f
Fix issues with notification cleaning mode when there is a disconnection gap ( #1867 )
2 years ago
Claire
1ce75c18e0
Fix accidentally importing vanilla code in glitch-soc flavor ( #1863 )
2 years ago
Claire
d540cfc73f
Move flavours/glitch/utils/emoji back to flavours/glitch/features/emoji
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
Eugen Rochko
7fbd7deefa
[Glitch] Add server banner to web app
...
Port d2528b26b6
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
9f4e9f4f5b
[Glitch] Add pagination for trending statuses in web UI
...
Port cea2cd9a56
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
f80c249684
[Glitch] Fix not showing loading indicator when searching in web UI
...
Port 45341c5287
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
da834aa518
[Glitch] Add explore page to web UI
...
Port 19b4c36e40
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
440676c84a
[Glitch] Fix pop-out player appearing on mobile screens in web UI
...
Port d416f3f662
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
76e2074e47
[Glitch] Fix “Filter this post” potentially listing deleted filters
...
Port 1d3d86fa53
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
cf0ca96ca7
Remove obsolete filter local settings
2 years ago