Commit Graph

1929 Commits (62ab234587bebf505c41e4aa05013096bb5af15c)

Author SHA1 Message Date
Claire 619601a94b Move flavours/glitch/util/api to flavours/glitch/api 2022-10-11 11:30:52 +02:00
Claire 9c54b00c13 Refactor initial_state to isolate glitch-soc changes 2022-10-11 10:27:14 +02:00
Claire 3bf201ddaa Move flavours/glitch/util/initial_state to flavours/glitch/initial_state 2022-10-11 10:17:04 +02:00
Eugen Rochko e86db22726 [Glitch] Change font size of active users in server banner to be larger in web UI
Port 0e41d360c0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09 20:45:26 +02:00
trwnh bde98fd0a0 [Glitch] Fix crash in report modal
Port 99a43f0282 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09 20:31:46 +02:00
Eugen Rochko 7fbd7deefa [Glitch] Add server banner to web app
Port d2528b26b6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09 20:26:15 +02:00
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>
2022-10-09 18:23:15 +02:00
Eugen Rochko 4160cefccf [Glitch] Fix trying to connect to streaming API when logged out in web UI
Port d4b0aa7450 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09 18:23:15 +02:00
Eugen Rochko 790ee76c1c [Glitch] Fix various issues with logged-out web UI
Port part of e2b561e3a5 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09 18:23:15 +02:00
Yamagishi Kazutoshi e047eabd87 [Glitch] Fix missing await
Port 782154a762 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09 18:23:15 +02:00
Yamagishi Kazutoshi d177319241 [Glitch] Disable push notification when not logged in
Port c745b1caf0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09 18:23:15 +02:00
Eugen Rochko 03db25b632 [Glitch] Add dynamic document title to WebUI
Port part of babebc4e8a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09 18:23:15 +02:00
Eugen Rochko 80bc15addb [Glitch] Add sign-up button to logged-out web UI
Port cd9a0f136d to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09 18:23:15 +02:00
Eugen Rochko f9d95f82d6 [Glitch] Fix various issues with logged-out Web UI
Port fixes from cd9a0f136d to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09 18:23:15 +02:00
Claire 8f2aea6069 Fix logged-out UI not using single-column interface 2022-10-09 15:29:14 +02:00
Eugen Rochko 4af4647786 [Glitch] Add logged-out access to the web UI
Port part of babebc4e8a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09 15:29:14 +02:00
Eugen Rochko 591b8ea9a5 [Glitch] Fix wrong logo on start screen in web UI
Port ab49ef4a74 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09 13:23:36 +02:00
Eugen Rochko 6782bded91 [Glitch] Fix logo on /web/start
Partial port from babebc4e8a

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09 13:12:37 +02:00
Eugen Rochko 107105db3b [Glitch] Add empty message for “Explore” tabs
Port part of babebc4e8a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09 13:11:18 +02:00
Claire 31ec9d79ee Restore ability to discard interactions-based follow suggestions 2022-10-09 11:23:06 +02:00
Claire c1633dd228 Change “Explore” tab to only provide search when trends are disabled 2022-10-08 20:49:02 +02:00
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>
2022-10-08 20:49:02 +02:00
Eugen Rochko fad2cd35be [Glitch] Fix crash when search fails in web UI
Port 1c1c2ce0a1 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-08 20:49:02 +02:00
Eugen Rochko fc1217d6e4 [Glitch] Fix public timelines being inaccessible on one stage of responsive layout in web UI (#17760)
Port 95ea5b2f7d to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-08 20:49:02 +02:00
mayaeh d990bcae48 [Glitch] Change the "Explore" icon from fa-globe to fa-hashtag
Port 24f375d79e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-08 20:49:02 +02:00
mayaeh f1c4fd586b [Glitch] Add menu column of explore to getting-started
Port 0a9273ffb2 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-08 20:49:02 +02:00
Eugen Rochko 00b6ddc59e [Glitch, partial] Change appearance of account cards in web UI
Port remaining changes from 563964dd80 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-08 20:49:02 +02:00
Eugen Rochko 125f4b70ad [Glitch] Remove profile directory link from main navigation panel
Port 97eaac87fa to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-08 20:49:02 +02:00
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>
2022-10-08 20:49:02 +02:00
Eugen Rochko da834aa518 [Glitch] Add explore page to web UI
Port 19b4c36e40 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-08 20:49:02 +02:00
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>
2022-10-08 20:49:02 +02:00
Claire f82e28aef5 [Glitch] Add ability to select all accounts matching search for batch (#1857)
Port SCSS changes from 1206e691bd

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2022-10-08 16:24:35 +02:00
prplecake 426c456a59 Clarify language RE secondary toot button (#1851) 2022-10-05 14:10:15 +02:00
Claire 750c9cf5b3 Fix clicking bookmark column header not scrolling to top in single-column 2022-10-03 09:54:24 +02:00
Claire 1c0f550cf3 Fix clicking List timeline header not scrolling to top in single-column 2022-10-03 09:54:24 +02:00
Claire ea36d0f294 Fix “Change subscribed languages” crashing in some situations 2022-10-02 19:48:24 +02:00
Eugen Rochko 699be6d185 [Glitch] Add ability to filter followed accounts' posts by language
Port f4e91041b2 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-02 19:36:29 +02:00
Eugen Rochko f833894675 [Glitch] Change path of privacy policy page
Port c04359a63b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-02 19:36:29 +02:00
Claire 45bfc39a81 [Glitch] Add privacy icons to report modal
Port 12cb437127 to glitch-soc
2022-10-02 19:36:29 +02:00
Mélanie Chauvel 17dc4201f0 Make composers button all aligned and the same size (#1843) 2022-09-07 19:37:46 +02:00
Claire dadb98634c Fix regexp filtering in pinned community/public TLs (#1840) 2022-09-02 11:57:06 +02:00
Claire 0dfcf54d06 Fix position of “expand” icon in media modal on glitch-soc (#1838) 2022-08-31 16:23:10 +02:00
Claire 4c688d82b4 Fix local settings navigation (#1836)
The “filters” page was removed, but not from the navigation, which would offset
everything.
2022-08-30 10:57:27 +02:00
Claire 1b3977b3fb Fix WebUI error in development mode (#1835)
Caused by using JSX features without importing React

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-08-29 08:23:05 +02:00
Claire b7e297dc6c Add regexp filter field to public timeline column settings (#1834)
* Add regexp filter field to public timeline column settings

This has accidentally been removed while porting an upstream change years ago.

* Remove dead code

* Fix regexp filter not working for local and public TLs when using non-default settings
2022-08-28 22:21:55 +02:00
Yamagishi Kazutoshi a348bc9e84 [Glitch] Replace to `workbox-webpack-plugin` from `offline-plugin`
Port f922858b78 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-08-28 11:41:21 +02:00
Jeong Arm c3ee35282d Fix react warning on notifications column (#1832) 2022-08-27 15:17:27 +02:00
Claire 4769a7f569 [Glitch] Fix quickly switching notification filters resulting in empty or incorrect list
Port cd8d6a286e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-08-25 18:19:09 +02:00
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>
2022-08-25 18:18:34 +02:00
Claire 06dd2120ce Fix glitch-soc-specific timeline filtering logic 2022-08-25 11:53:16 +02:00
Claire cf0ca96ca7 Remove obsolete filter local settings 2022-08-25 09:52:13 +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
Takeshi Umeda 4116cc4e83 [Glitch] Fix case where boolean was passed to onFilter on StatusActionBar
Port ae20601c67 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
Claire 58261f2888 [Glitch] Fix quickly switching notification filters resulting in empty or incorrect list
Port ef1b55caa6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-08-25 05:16:43 +02:00
Claire e0055fdcf7 [Glitch] Fix media modal link button
Port f3bad2e26f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-08-25 05:14:00 +02:00
Takeshi Umeda 134c785426 [Glitch] Fix action type for unfollowHashtag
Port 207208fa8e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-08-25 05:11:55 +02:00
Shlee c70629b506 [Glitch] Update notifications.js
Port 7af7fa3a8e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-08-21 14:44:58 +02:00
Rens Groothuijsen 6dfb31ea0c [Glitch] Add warning for sensitive audio posts
Port aced8820dd to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-08-15 14:57:57 +02:00
prplecake cf4bed0ac0 [Glitch] Add ability to follow hashtags in web UI 2022-07-30 20:00:00 -05:00
Mélanie Chauvel c2208ef466 Use slightly more margin between post buttons (under compose box) (#1816) 2022-07-27 19:17:15 +02:00
Claire 5e628e4fd3 Add option to share CW toggle state across instances of a post 2022-07-25 11:57:09 +02:00
Claire a8b3d6f47e Regroup CW unfolding settings in their own section 2022-07-24 17:28:47 +02:00
Claire 711301519a Improve interaction between out-of-CW attachments and collapsed toots 2022-07-24 13:16:03 +02:00
Claire 42d06afe03 Add explanation for some options in the local settings dialog 2022-07-24 11:11:38 +02:00
Claire 406b7d972b Add local setting toggle to move media attachments outside CWs
Fixes #1812
2022-07-24 11:10:49 +02:00
Eugen Rochko acd3f34a31 [Glitch] Change hashtag numbers to have clearer labels in web UI
Port 436e52927a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-07-22 18:41:39 +02:00
Yamagishi Kazutoshi f6696f7d33 [Glitch] Bump react-redux-loading-bar from 4.0.8 to 5.0.4
Port a3eda85ff9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-07-22 18:39:57 +02:00
Jeong Arm 89a416c061 [Glitch] Fix badge color not affected
Port 9a42ccca53 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-07-19 16:11:40 +02:00
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>
2022-07-05 11:35:32 +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
Claire dcbedf8587 [Glitch] [SSR only] Revamp post filtering system
Port CSS and JS for Server-Side Rendered pages from 90e5a9bd98

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-06-28 11:35:28 +02:00
mayaeh 68c03ea7be [Glitch] Fixed the setting page's logo that is not displayed on the smartphone
Port 2cb4c0caed to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-06-28 11:21:58 +02:00
Eugen Rochko 0d7c0f0bf7 [Glitch] Fix contrast of some elements with new brand colors
Port 96ecbae0f7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-06-21 09:00:43 +02:00
Claire a7a44a4dff Fix checkmark on interaction buttons with larger fonts (#1799)
Fixes #1796
2022-06-16 15:37:59 +02:00
Claire bfe05eb101 [Glitch] Fix logo gradient not working on some Safari and Blink-based browsers
Port 28dc3750f6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-06-11 00:09:20 +02:00
Eugen Rochko c3c77fc5d9 [Glitch] Change brand color and logotypes
Port SCSS changes from 03d2cb5146 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-06-11 00:09:20 +02:00
Eugen Rochko 18fbdcd5f4 [Glitch] Add administrative webhooks
Port SCSS changes from 0eb2db6b52 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-06-10 17:04:02 +02:00
Claire 5618c69b2a Fix language indicator text color (#1795)
Fixes #1794
2022-06-06 12:05:57 +02:00
Eugen Rochko 2184897fba [Glitch] Change label of publish button to be "Publish" again
Port 8ec66981da to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-06-02 11:11:26 +02:00
Claire c3842a700f [Glitch] Change language to be carried over on reply
Port c5eabffe34 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-06-02 11:09:19 +02:00
Claire 705ebf794b [Glitch] Remove unnused otherAccounts property
Port 8ce9a12526 to glitch-soc + other related cleanup

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-06-02 11:08:05 +02:00
Jeong Arm 4c43ac85d6 [Glitch] Add lang html attr to each posts
Port 9adb7dde33 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-06-02 10:58:54 +02:00
Jeong Arm 15b64d2f6b Translate: Korean (#1790)
* Translate Korean: glitch frontend

* Translate Korean: backend

* Remove unused string

* Fix yaml
2022-05-31 11:41:30 +02:00
Claire 47fa6c3b91 Add language indicator icon and local settings for status icons (#1788)
* Add language indicator

* Add local settings for status icons

* Switch to text icon for language
2022-05-27 16:34:29 +02:00
Claire 801b898d31 Add checkmark on top of status icon buttons when they are active (#1783) 2022-05-25 15:09:45 +02:00
Claire ca81647961 Various code cleanup (#1782)
* Remove duplicate in_chosen_languages definition

* Use `DEFAULT_FIELDS_SIZE` instead of `MAX_FIELDS` to reduce code differences with upstream

* Remove duplicate annotation

* Fix incorrect cross-flavor imports

* Remove deprecated `hide_network` setting (replaced by account column)

* Remove unused KeywordMutesHelper

* Remove trailing spaces

* Remove commit_hash from InstancePresenter, as it has been unused since mid-2017
2022-05-25 12:27:11 +02:00
Claire b1085e2dfa Fix crash in glitch-soc search results when Elasticsearch is disabled (#1780) 2022-05-24 16:10:18 +02:00
Yamagishi Kazutoshi 1ab4abd764 [Glitch] Fix languages dropdown on light theme
Port fa12352fd3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-05-24 14:23:03 +02:00
Eugen Rochko c0a5c88364 [Glitch] Add language dropdown to compose in web UI
Port e4a9aa1ab4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-05-16 23:06:29 +02:00
Claire e6af69d56b Use upstream's settings for CW auto-expand and column swiping (#1770)
* Use Mastodon server-side settings for automatically expanding toots with CWs

* Add modal warning about settings changes

* Use Mastodon server-side settings for disabling swiping
2022-05-15 17:30:40 +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 6256a3da46 [Glitch] Remove Keybase integration
Port 4375813ea7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-05-11 11:09:20 +02:00
Claire 6545114ac7 [Glitch] Fix block/mute lists showing a follow button when unblocking a user (#18364)
Port 917567567a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-05-11 09:44:27 +02:00
Claire 3d8cef439b [Glitch] Fix streaming notifications not using quick filter logic
Port 7919b6631e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-05-08 21:05:56 +02:00
Claire c8edaaba1b [Glitch] Fix floating action button obscuring last element
Port 82dcdc12f1 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-05-08 21:05:21 +02:00
Claire 3c1979d0dc Move DM conversation/timeline tab to column settings switch 2022-05-03 11:45:23 +02:00
Claire a4c1a80a7f Fix backend terms link not being used 2022-05-03 11:10:58 +02:00