Commit Graph

31 Commits (6fb2982ec011f09ca0b86c6af4648c3e42ccb886)

Author SHA1 Message Date
Eugen Rochko 5660204731 [Glitch] Add onboarding prompt when home feed too slow in web UI
Port ad92c48d71 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-06-25 17:40:01 +02:00
Claire a7e6f3df20 Fix import order with ESLint
Port 7b5a274836 to glitch-soc
2023-05-28 16:38:10 +02:00
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
2023-05-07 18:22:25 +02:00
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>
2023-01-05 13:32:29 +01:00
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>
2022-10-28 19:24:02 +02:00
Claire 874cd0e883 Rename flavours/glitch/util into flavours/glitch/utils 2022-10-11 11:31:11 +02:00
Claire 3bf201ddaa Move flavours/glitch/util/initial_state to flavours/glitch/initial_state 2022-10-11 10:17:04 +02:00
Claire e1d3397818 [Glitch] Add ability to filter individual posts
Port 522fbf9d13 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-08-25 09:52:13 +02:00
Claire 98594fd4e4 [Glitch] Remove dead code in WebUI filtering code
Port 64588263f7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-08-25 09:52:13 +02:00
Claire 6ce8b42ff1 [Glitch] Fix reblogged statuses being erroneously shown as filtered
Port 106b27830b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-08-25 09:52:13 +02:00
Claire 60649e5665 [Glitch] Revamp post filtering system
Port front-end changes from 90e5a9bd98 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-08-25 09:40:45 +02:00
Eugen Rochko a14136558e [Glitch] Add notifications for new reports
Port e6eb0a29b9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-06-28 13:13:10 +02:00
Eugen Rochko fbef44009d [Glitch] Add `limited` attribute to accounts in REST API and a warning in web UI
Port ac3d6f9a35 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-05-11 11:59:08 +02:00
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>
2020-07-15 15:48:24 +02:00
Bèr Kessels 96b18a705f [Glitch] Code style improvements in JavaScript
Port b5d7ec71ef to glitch-soc

* JS-linter: fix trailing comma's

* Configure eslinter to ignore this onchange error.

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-08 20:43:53 +01:00
ThibG 4668a06255 [Glitch] Add “account timeline” filter category
Port JS changes from 691b14aaf8 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-24 15:27:15 +01:00
ThibG bbc1e15f39 [Glitch] Add special alert for throttled requests
Port 6fc1a84958 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
Thibaut Girka fde918bf92 Implement feature to add filtered phrases to content warnings 2019-07-15 00:48:28 +02:00
Thibaut Girka 0b23403d58 Implement option to completely hide filtered toots 2019-07-15 00:48:28 +02:00
Thibaut Girka 67d1b0c997 Add a way to know why a status has been filtered, and show it anyway 2019-07-15 00:48:28 +02:00
ThibG c49a57e989 [Glitch] Optimize makeGetStatus
Port ff65c494a6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-30 11:06:04 +02:00
ThibG 68d2d73067 [Glitch] Completely hide toots matched by “irreversible” filters even if they got to the client 2019-06-19 19:16:13 +02:00
Thibaut Girka 20689a5b5e Don't filter own toots 2018-08-19 21:36:46 +02:00
Thibaut Girka 052f5324fc [Glitch] Make whole-word filter regex consistent between Ruby and JS
Port front-end part of a94f6c800d to glitch-soc
2018-07-11 22:06:34 +02:00
Thibaut Girka b7b718df0d make sure reblogged's filter is set correctly 2018-07-10 14:06:04 +02:00
Thibaut Girka aec11a568e [Glitch] Add option to not consider word boundaries when processing keyword filtering
Port 4c70bb6d6d to glitch-soc
2018-07-10 14:06:04 +02:00
Thibaut Girka 1966652cba [Glitch] In keyword filter, account for reblogs, HTML and whole-words
Port 6084257fda to glitch-soc
2018-07-10 14:06:04 +02:00
Thibaut Girka f94afcb935 [Glitch] Fix filters not affecting notifications in web UI
Port 93bdaa0526 to glitch-soc
2018-07-10 14:06:04 +02:00
Thibaut Girka 4850a2348c Add client-side custom filter support to glitch-soc
Port d878e3e945 to glitch-soc,
but without dropping support for regexp filters yet.
2018-07-10 14:06:04 +02:00
Thibaut Girka f63450c7ec [Glitch] Profile redirect notes
Port WebUI changes from b89f614bd7
2018-03-29 14:59:20 +02:00
kibigo! 882055afd0 Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00