Commit graph

1945 commits

Author SHA1 Message Date
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
Claire
d748d0b94a Refactor visibility icon using VisibilityIcon 2022-05-03 11:04:09 +02:00
Claire
6e8284756b [Glitch] Rename toots to posts in various places, add or reword DM warnings
Port part of 07737bb6d1 and c33a26ed38
to glitch-soc
2022-05-03 10:59:23 +02:00
Claire
e2cce242aa Remove “I don't like it” option from report modal 2022-05-01 21:58:20 +02:00
Eugen Rochko
53d5cb18f1 [Glitch] Fix being able to scroll away from the loading bar in web UI
Port c803c1a8db to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-05-01 16:57:35 +02:00
Claire
73f1650610 [Glitch] Fix empty “Server rules violation” report option
Port ff9d647aa6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-04-28 23:43:49 +02:00
Claire
7b26b12378 Swap position of media attachments and polls 2022-04-20 22:07:13 +02:00
Claire
ed1d3bc1e2 [Glitch] Auto-fill timeline gaps when getting re-connecting to Websocket/EventSource stream
Port c9a5121ae5 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-04-08 20:05:33 +02:00
Claire
3ad22b06ff [Glitch] Fix potentially missing statuses when reconnecting to websocket
Port d43028a0d3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-04-08 20:02:49 +02:00
Claire
24256816cc [Glitch] Fix older items possibly disappearing on timeline updates
Port 00d429879f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-04-07 15:05:06 +02:00
Claire
57d0a61f0c [Glitch] Fix possible duplicate statuses in timelines in some edge cases
Port 623f8717c8 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-04-06 21:16:07 +02:00
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>
2022-04-06 16:08:33 +02:00
quinn
3b3741df6f Update composer.scss 2022-04-05 17:35:50 +10:00
quinn
92d2f50065 Update status.scss 2022-04-05 17:17:00 +10:00
quinn
038d7b7be0 Update composer.scss 2022-04-05 17:16:21 +10:00
mayaeh
9e6e98856c [Glitch] Add a hashtag public link to the trending hashtag page
Port 37c1fe7de1 to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-26 19:28:48 +01:00
Eugen Rochko
375c322507 [Glitch] Fix color of show more link in report dialog in web UI
Port b80f1a76d7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-23 09:32:59 +01:00
Eugen Rochko
fa52084ce4 [Glitch] Fix wrong position of fade-out element in account card in web UI
Port 18f8c7302c

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-22 18:00:38 +01:00
Eugen Rochko
1c4374eb7d [Glitch] Add hint about missing media attachment description in web UI
Port 354415e7ce to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-22 17:55:17 +01:00
Claire
7ebf924259 Add missing locales to glitch-soc 2022-03-18 16:41:51 +01:00
Claire
3ac319b6bb [Glitch] Fix edit history dropdown and modal in light theme
Port 9d93d4bafe to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-12 12:03:57 +01:00
Claire
643177ff8a [Glitch] Fix report dialog being illegible using mastodon-light theme
Port 040961e3f8 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-10 11:42:54 +01:00
Eugen Rochko
4d1b09c62a [Glitch] Add polls and media attachments to edit comparison modal in web UI
Port f5346541fd to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-10 11:30:48 +01:00
Claire
57c69a47ab Move report modal styles to flavours/glitch/styles/components/modal.scss 2022-03-10 11:16:13 +01:00
Eugen Rochko
665ade7fae [Glitch] Fix being able to add more than 4 hashtags to hashtag column in web UI
Port 380aef66ae to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-10 10:15:36 +01:00
Eugen Rochko
99feb19348 [Glitch] Change design of federation pages in admin UI
Port front-end changes from 040961e3f8 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-10 10:14:33 +01:00
Eugen Rochko
4623292d97 [Glitch] Change appearance of account cards in web UI
Port 563964dd80 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-08 20:52:49 +01:00
Josh Soref
beb59e188e [Glitch] Spelling
Port front-end changes from 1c070bd94c to glitch-soc

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-08 20:36:31 +01:00
Claire
761df31510 [Glitch] Change visual separation of applications in authorized apps list
Port SCSS changes from d37c28f54c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-02 20:52:44 +01:00
Eugen Rochko
93ba12efd6 [Glitch] Add ability to mark statuses as sensitive from reports in admin UI
Port SCSS changes from b25b703cce to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-02 18:08:56 +01:00
Eugen Rochko
c71c6092a8 [Glitch] Change authorized applications page
Port SCSS changes from 4d0a2968d9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-02 18:07:57 +01:00
Eugen Rochko
43721775d4 [Glitch] Fix report submit button not being disabled during submission in web UI
Port c49b23819b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-03-01 10:01:06 +01:00
Claire
185977560c [Glitch] Fix remote reports with comments revealing remote reporter
Port SCSS changes from 2d5edf2090 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-26 21:17:22 +01:00
Claire
5fd343c72b [Glitch] Fix media modal footer's “external link” not being a link
Port f75cd229f3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-26 10:29:53 +01:00
Claire
5dd7d6bc07 [Glitch] Fix reply button on media modal not giving focus to compose form
Port cbf951569e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-26 09:54:48 +01:00
Eugen Rochko
0979110108 [Glitch] Add trending statuses
Port SCSS changes from e6d2b07ec1

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-26 09:50:23 +01:00
Claire
243d322e5a Fix publish buttons styling 2022-02-23 22:04:12 +01:00
Claire
b90e5add99 [Glitch] Fix reporting from profile
Port 543d13ed7a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-23 21:46:46 +01:00
Claire
b9e78f7964 Fetch relationships when opening report modal
Relationship with the reported account affect which actions are proposed in
the “thanks” part. Upstream fetches relationships when opening dropdown menus,
but we don't.
2022-02-23 21:12:03 +01:00
Eugen Rochko
c830291a72 [Glitch] Change report modal to include category selection in web UI
Port 7e91581be0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-23 20:25:55 +01:00
Eugen Rochko
67cecd6563 [Glitch] Add notifications for new sign-ups
Port eef9eec5d3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-23 19:04:09 +01:00
Eugen Rochko
15d69174c0 [Glitch] Fix link colors in report and strike details
Port SCSS changes from 8d4b0b255a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-22 18:10:08 +01:00
Eugen Rochko
41e6b61ea2 [Glitch] Fix wrong styles on strike page
Port SCSS changes from 839ad9fa53

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-22 18:09:39 +01:00
Claire
bd4fb02bfb [Glitch] Fix opening the emoji picker scrolling the single-column view to the top
Port 5b5b9deebd to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-17 11:05:47 +01:00
Claire
a564a06739 [Glitch] Fix edge case where settings/admin page sidebar would be incorrectly hidden
Port ab98d2e539 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-17 11:04:13 +01:00
Eugen Rochko
394042c91b [Glitch] Add appeals
Port SCSS changes from 82f8d19424 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-17 10:58:57 +01:00
Eugen Rochko
cdd0af5a1c [Glitch] Fix privacy policy link not being visible on small screens
Port 77529aba86 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-17 10:58:53 +01:00
Claire
3b266118a8 Fix toggling sidebar on mobile in admin pages 2022-02-16 16:33:23 +01:00
Claire
3ff513bd3b [Glitch] Fix controls for unchangeable properties on status edit not being disabled
Port d10eb06cb4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-12 22:36:39 +01:00
Holly
45309f7748 Make the settings button go to settings when opened in a new tab 2022-02-12 20:12:29 +01:00
Eugen Rochko
1c420fca57 [Glitch] Fix layout of the report page on smaller screens in admin UI
Port f53e4c250e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-12 13:15:07 +01:00
Eugen Rochko
e5e6857bd7 [Glitch] Add notifications when a reblogged status has been updated
Port front-end changes from 8ffc48ebfa to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-12 13:15:07 +01:00
Claire
6ec8ae5723 Fix missing javascript in some admin pages 2022-02-12 00:10:28 +01:00
Eugen Rochko
b8f957e5f7 [Glitch] Change actions in reports to require only one click
Port SCSS changes from 9b42aad433

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-11 21:56:27 +01:00
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>
2022-02-10 19:10:59 +01:00
Eugen Rochko
838f800808 [Glitch] Add editing for published statuses
Port cb76142d9e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-10 19:10:20 +01:00
Eugen Rochko
4ffee8156d [Glitch] Add edit history to web UI
Port 948da1a958 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-02-09 17:51:35 +01:00
Claire
e689495a81 Please Codeclimate 2022-02-09 17:15:36 +01:00
Claire
1af75ba990 Rework actions modal to bring it closer to upstream and fix modal stacking issue 2022-02-09 16:40:23 +01:00
Claire
d92bd7c906 Remove unused noModal prop 2022-02-09 16:40:23 +01:00
Claire
952342d251 Some more refactoring 2022-02-09 16:40:23 +01:00
Claire
f14193d3f4 Refactor dropdown and action modal code slightly
Simplify it a bit and make it closer to upstream
2022-02-09 13:23:12 +01:00
Claire
5c88cb1a67 Add optional hCaptcha support
Fixes #1649

This requires setting `HCAPTCHA_SECRET_KEY` and `HCAPTCHA_SITE_KEY`, then
enabling the admin setting at
`/admin/settings/edit#form_admin_settings_captcha_enabled`

Subsequently, a hCaptcha widget will be displayed on `/about` and
`/auth/sign_up` unless:
- the user is already signed-up already
- the user has used an invite link
- the user has already solved the captcha (and registration failed for another
  reason)

The Content-Security-Policy headers are altered automatically to allow the
third-party hCaptcha scripts on `/about` and `/auth/sign_up` following the same
rules as above.
2022-01-24 21:22:13 +01:00
Claire
73eeb58f10 [Glitch] Change percent to rate in retention metrics API
Port 41d64ee271 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-01-23 18:24:40 +01:00
Claire
1800e05513 [Glitch] Fix text being incorrectly pre-selected in composer textarea on /share
Port 335049cc33 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-01-23 18:24:34 +01:00
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>
2022-01-20 00:03:41 +01:00
Eugen Rochko
a5cb48879d [Glitch] Add notifications for statuses deleted by moderators
Port front-end changes from 2fb76550a9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-01-17 11:19:44 +01:00
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>
2022-01-17 08:35:27 +01:00
Jeong Arm
923eda5cd5 [Glitch] Gradually increase retry waiting for media processing
Port 52b05dad34 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-01-16 18:14:33 +01:00
Claire
817072e9c7 [Glitch] Fix media descriptions not being used for client-side filtering
Port 651e997a98 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-01-07 19:54:58 +01:00
Rens Groothuijsen
5baeb90bd4 [Glitch] Fix tag rendering error in hashtag column settings
Port 9d43863426 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-12-27 15:22:12 +01:00
Claire
77e23e2005 [Glitch] Change title of retention chart
Port 36347cf494 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-12-18 11:47:54 +01:00
David Sterry
8962f00ec8 [Glitch] ignore hashtag suggestions if they vary only in case
Port 65ee707755 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-12-16 16:48:42 +01:00
Rens Groothuijsen
a5d9a408e3 [Glitch] Show correct error message if chosen password is too long
Port 8143d127a4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-12-16 16:26:04 +01:00
Eugen Rochko
ee4be446b6 [Glitch] Add batch suspend for accounts in admin UI
Port SCSS changes from 65ee707755 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-12-16 16:25:21 +01:00
Claire
4359fa92da Fix unneeded outline around list name edition input 2021-12-03 21:03:40 +01:00
Claire
b22b76a571 [Glitch] Fix searching for additional hashtags in hashtag column
Port 5305dada6c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-11-26 22:58:46 +01:00
Claire
9565dc366d [Glitch] Fix color of hashtag column settings inputs
Port 986391cd19 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-11-26 22:58:13 +01:00
Jeong Arm
849a007a2c [Glitch] Port upstream changes about trending links 2021-11-26 11:36:22 +01:00
Claire
595bc5edb3 [Glitch] Fix handling of recursive toots in WebUI
Port 202862753a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-11-25 23:52:22 +01:00
Claire
7b2b943141 [Glitch] Fix overflow of long profile fields in admin view
Port 199022cf9d to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-11-19 18:55:27 +01:00
Jeong Arm
1723b4f6b3 Rename, move, fix code 2021-11-12 19:51:35 +01:00
Jeong Arm
675b222ac5 Fix admin sidebar on Mobile layout 2021-11-12 19:51:35 +01:00
Claire
b5960bd1f2 Fix some glitch-soc styling issues due to different class names
Partial fix to #1629
2021-11-12 16:29:36 +01:00
Sasha Sorokin
91467b08c8 [Glitch] Split context for filter bar and unread markers
Port 7bd0eec51f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-10-25 20:37:07 +02:00
Mashiro
fa25e649f4 [Glitch] Enhance dashboard styles
Port 7aee0632b7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-10-25 20:36:31 +02:00
atsu1125
fba55e8a1a translation glitch's web interface [ja]
Squashed commit of the following:

commit f8c339b4dafd7347c5e824191dbf28d770d6583d
Author: atsuchan <83960488+atsu1125@users.noreply.github.com>
Date:   Sat Oct 23 20:24:28 2021 +0900

    translation glitch's web interface [ja]

commit a9520d5c5fb21490fa66c51bf1063f1edb9150ff
Author: atsu1125 <mastodon@atsuchan.page>
Date:   Sat Oct 23 15:21:55 2021 +0900

    translation glitch's web interface [ja]

commit 699848f2abff24be149c4a1c623df8b920ef2ed9
Author: atsu1125 <mastodon@atsuchan.page>
Date:   Sat Oct 23 13:23:39 2021 +0900

    translation glitch's web interface [ja]
2021-10-24 00:05:33 +09:00
atsu1125
a9fa4c4eec translation glitch's client setting interface [ja] 2021-10-20 13:00:51 +09:00
Eugen Rochko
2bd9f2c0e8 [Glitch] Add graphs and retention metrics to admin dashboard (#16829)
Port cad446611c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-10-14 21:45:01 +02:00
Sasha Sorokin
1ddec1df0e [Glitch] Add single option votes tooltip in polls
Port 0f50a97175 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-10-13 15:53:33 +02:00
Jeong Arm
b1c526b1ed Fix status open hotkey 2021-10-07 23:40:35 +02:00
Julianne420
fa3b53c396 Add zh-CN translations 2021-10-07 23:40:18 +02:00
Mélanie Chauvel
f808214a8f [Glitch] Improve hover and focus style in columns settings
Port 6f00276f06 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-10-06 16:51:42 +02:00
Claire
9fcd06c289 Fix clicking on account name in “[xxx] boosted” text leading to broken path 2021-09-30 12:31:08 +02:00
Claire
e8a7f34442 Fixup style issue 2021-09-28 13:24:34 +02:00
Claire
02e245bd88 [Glitch] Fix incorrect use of old WebUI paths
Port 8cfa8908eb to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-09-28 13:07:27 +02:00
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>
2021-09-28 13:07:27 +02:00
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>
2021-09-26 21:35:57 +02:00
Claire
05f1a6fec3 Fix media icons not being added in CWs 2021-09-09 17:14:09 +02:00
Claire
599aa0c9e3 Fix glitch-soc front-end not linking to the provided SOURCE_URL 2021-09-08 16:36:45 +02:00
Claire
def45ddc91 Fix media attachments not being displayed on polls
Fixes #1595
2021-09-08 16:36:30 +02:00
matildepark
694295f171 [Glitch] Fix follow request count to dynamically update
Port 28796d1342 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-08-27 11:31:09 +02:00
Claire
a47b6d409c [Glitch] Fix crash if a notification contains an unprocessed media attachment
Port 35a4765381 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-08-20 13:14:59 +02:00
Claire
fbf7974e1c [Glitch] Fix download button color in audio player
Port 52e891ceaf to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-08-20 13:14:03 +02:00
Takeshi Umeda
f2cdc96537 [Glitch] Fix logout link not working in safari
Port 810945c95b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-08-09 23:45:58 +02:00
Jeong Arm
d8f4461c49 [Glitch] Fix trends layout
Port 0963f86e89 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-08-09 23:40:31 +02:00
Jeong Arm
24fc31470d Add missing Korean translations 2021-08-06 20:06:05 +02:00
Jeong Arm
f86e361999 Add Korean translations 2021-08-06 20:06:05 +02:00
Claire
8e1c822dc0 [Glitch] Fix crashes with Microsoft Translate on Microsoft Edge
Port 572ae686f0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-07-25 13:04:59 +02:00
Claire
c58ad61ffc [Glitch] Add confirmation modal when closing media edit modal with unsaved changes
Port 4166ecfedb to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-07-25 12:59:03 +02:00
Claire
7531593afa [Glitch] Fix “open” link of media modal not closing modal
Port d65262ae8b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-07-25 12:51:33 +02:00
Claire
c23c585c0d Please CodeClimate 2021-07-13 13:49:40 +02:00
Claire
f2cdced939 Small scroll/history behavior fixup to take weird browser patterns into account 2021-07-13 13:21:00 +02:00
Claire
3de58f0431 Refactor shouldUpdateScroll stuff 2021-07-13 12:51:06 +02:00
Claire
20fb69396f Fix scroll handling with modals 2021-07-13 11:07:16 +02:00
Claire
a57b3f5f4b Fix and simplify browser history handling in relation to modals
This simplifies the logic to:
- when the last modal gets closed and we're in our history buffer state, go back
- whenever a modal is open, ensure we're in a history buffer state by
  potentially pushing one
2021-07-12 20:13:02 +02:00
Claire
4a4125a88a Add modal stack to allow better boost modal and media modal interaction. 2021-07-12 17:00:14 +02:00
Claire
d5672b56e5 Fix clicking on the pop-up player placeholder expanding the clicked toot 2021-07-12 16:24:53 +02:00
Claire
9ed876972a Fix follow suggestions scrolling on mobile view
Also simplify the CSS a bit and bring it closer to upstream.
2021-07-12 10:22:57 +02:00
Claire
3cb0a5f5e0 [Glitch] Fix pop-in player display when poster has long username or handle
Port fa8a9fe200 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-07-08 16:23:09 +02:00
David Sterry
a8f9ff7973 [Glitch] Hide /about/more footer link in limited federation mode
Port b4d598b554 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-06-30 00:45:00 +02:00
Claire
c4e561186c Merge pull request #1555 from ClearlyClaire/glitch-soc/fixes/video-player-crash
[Glitch] Fix WebUI crash when a toot with a playing video gets deleted
2021-06-24 16:00:26 +02:00
Claire
af19c445ca [Glitch] Fix styling of boost button in media modal not reflecting ability to boost
Port tootsuite#16387 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-06-24 15:43:04 +02:00
Claire
b1af97fcb3 Fix pop-up player not closing the moment a status is deleted
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-06-24 15:19:18 +02:00
Claire
8082b6c3d8 Fix WebUI crash when a toot with a playing video gets deleted
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-06-24 15:19:12 +02:00
Eugen Rochko
5deff6483a [Glitch] Add authentication history
Port SCSS changes from 2067b0bf34 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-06-23 11:40:18 +02:00
Claire
aed9054222 [Glitch] Fix OCR failure when erroneous lang data is in cache
Port f530f2bb2a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-06-16 11:29:07 +02:00
Claire
1c866f0057 [Glitch] Update emoji codepoint mappings to v13.1
Port 36031e5e5c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-06-03 21:07:35 +02:00
Claire
a99e30fe41 [Glitch] Fix deprecated slash as division in SASS files
Port 5137b5aa8f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-06-03 21:06:16 +02:00
Eugen Rochko
db1ff32c3c [Glitch] Add assets from Twemoji 13.1.0
Port a8e442884c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-06-03 21:05:24 +02:00
Zero King
3043454535 [Glitch] Remove duplicate CSS properties
Port 46b4c07baa to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-22 13:22:26 +02:00
Claire
f1762e85ae [Glitch] Fix unread notification count when polling
Port 2ccc2071f3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-22 13:20:07 +02:00
Zero King
5e9eb7d101 [Glitch] Remove duplicate CSS property of margin
Port 5c735db1b1 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-22 13:18:32 +02:00
Claire
41f58c2c32 Fix local-only toggle being buggy when replying to remote toot 2021-05-12 12:38:21 +02:00
Claire
a9fad6fe11 [Glitch] Fix follow recommendations UI in advanced layout
Port 068e12d8bd to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-12 11:08:37 +02:00
Mélanie Chauvel
e2772a9895 [Glitch] Fix dialog close button
Port 96b09bb418 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-12 11:07:40 +02:00
Mélanie Chauvel
dbca2ad3a5 [Glitch] Make media_gallery.toggle_visible less confusing to translate
Port 978d92a628 to glitch-soc

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-09 10:50:39 +02:00
Marcin Mikołajczak
d5ac90299b [Glitch] Add transition to media modal background
Port af28865116 to glitch-soc

Signed-off-by: marcin mikołajczak <me@mkljczk.pl>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:47:09 +02:00
Takeshi Umeda
6ea8c347ab [Glitch] Fix expand video on public page
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:47:09 +02:00
ThibG
d3c602f349 [Glitch] Fix media modal buttons not showing up on mobile
Port ca5b51153a to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:47:09 +02:00
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>
2021-05-07 22:47:09 +02:00
Eugen Rochko
f1c5ce7cea [Glitch] Fix too low contrast on new media modal background in web UI
Port 9d12bbf0e2 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:47:09 +02:00
Eugen Rochko
54803a7866 [Glitch] Fix media modal crashing when media has no blurhash
Port c3d62dcf8a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:47:09 +02:00
Eugen Rochko
e2e02e3a6b [Glitch] Fix media modal regression on public pages
Port 841c0c9a28 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:47:09 +02:00
Eugen Rochko
65f497cac2 Change media modals look in web UI
Port af1fa584e9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:47:09 +02:00
Eugen Rochko
1002532f00 [Glitch] Change home timeline to reload after follow recommendations in web UI
Port 16faf69c7e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:00:11 +02:00
Eugen Rochko
096deaad7a [Glitch] Fix "You might be interested in" flashing while searching in web UI
Port f932cc9b26 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:00:11 +02:00
Eugen Rochko
e4e80bf363 [Glitch] Add empty state message for follow recommendations in web UI
Port 1371a2cfa7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:00:11 +02:00
Claire
06e7204181 [Glitch] Hide floating action button on onboarding page
Port 24c66f14c9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:00:11 +02:00
Eugen Rochko
4740a69cc5 [Glitch] Change follow recommendations to be limited to 20 instead of 40 in web UI
Port 0fb004cf1f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:00:11 +02:00
Eugen Rochko
8df28df755 [Glitch] Fix newlines not being considered sentence separators in account note
Port 4bffe10987 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:00:11 +02:00
Eugen Rochko
c1eeb8603a [Glitch] Change onboarding by replacing tutorial with follow recommendations in web UI
Port 052fb31256 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:00:11 +02:00
Claire
f47c6f1041 Disable onboarding modal (keep it in “Show me around” from getting started menu) 2021-05-07 22:00:11 +02:00
Eugen Rochko
60e401894a [Glitch] Add joined date to profiles in web UI
Port 50113e065f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 18:39:07 +02:00
fusagiko / takayamaki
4ec7d8e629 [Glitch] fix component name
Port 3e3c54d56d to glitch-soc

Co-authored-by: fusagiko / takayamaki <takayamaki@users.noreply.github.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 18:34:54 +02:00
Takeshi Umeda
bac5e8202a [Glitch] Fix not to show follow button in global suggestion
Port ecb285afb8 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-04-21 13:50:51 +02:00
Takeshi Umeda
596855eded [Glitch] Fix to update suggestion list after dismiss
Port 86458297ac to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-04-21 13:50:51 +02:00
Claire
872d5d508d [Glitch] Add border to 🚲 emoji
Port front-end changes from 89ef33df51 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-04-21 13:50:51 +02:00
Eugen Rochko
bd9429d89b [Glitch] Add cold-start follow recommendations
Port front-end changes from 92b2d926bf to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-04-21 13:50:51 +02:00
Eugen Rochko
63fab052e0 [Glitch] Add system checks to dashboard in admin UI
Port SCSS changes from 19df881320

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-04-05 14:34:36 +02:00
Claire
d5f59d7155 [Glitch] Fix crash in old browsers
Port fb35c11084 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-04-05 14:33:42 +02:00
Noiob
137a3f6648 Remove superfluous toot length check 2021-04-05 14:30:43 +02:00
Claire
6542281066 [Glitch] Fix compose form behavior in mobile view
Port c9a92dd35a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-03-24 11:21:21 +01:00
dependabot[bot]
72e78a9d65 [Glitch] Bump react-select from 3.2.0 to 4.0.2
Add cacheKey to NonceProvider for react-select

Port changes from c8908a35b7 to glitch-soc

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-03-24 11:01:57 +01:00
Claire
8e29925236 Messing around with box-shadow
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-03-19 14:47:57 +01:00
Claire
e2fe3d1552 Add more button states?
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-03-19 14:47:54 +01:00
Claire
80820535fa Change notification settings UI to be more compact
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-03-19 14:47:06 +01:00
Claire
860b7f9653 Migrate glitch-soc local notification settings to upstream system 2021-03-19 13:57:36 +01:00
Claire
d1d9646bfc Add option to opt out of unread notification markers
Port ac03531bec to glitch-soc
2021-03-19 13:57:32 +01:00
Claire
4ed3024b36 Fix various CodeClimate warnings 2021-03-06 14:51:53 +01:00
Claire
bdb6aa1a7f [Glitch] Update twitter-text from 1.14 to 3.1.0 and fix toot character counting
Port a33f8f787a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-03-02 12:37:23 +01:00
Claire
37561d6bea [Glitch] Add borders to 📱 and 📲 emojis
Port 9208810829 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-03-02 12:27:29 +01:00
Claire
847bc13838 [Glitch] Fix WebUI crashing when SVG support is disabled
Port 7f203d6a7b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-03-02 12:26:12 +01:00
abcang
20efc1b816 [Glitch] Fix default searchTokens
Port 6faf654c43 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-02-22 15:47:17 +01:00
Eugen Rochko
dc7c948820 [Glitch] Add server rules
Port SCSS changes from 4930e71ae7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-02-22 15:45:28 +01:00
Claire
12d91755f5 [Glitch] Add dropdown for boost privacy in boost confirmation modal
Port c848e85068 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-02-12 12:31:49 +01:00
Claire
cc5b429545 Refactor privacy dropdown to have an interface closer to upstream's 2021-02-12 12:04:04 +01:00
kaias1jp
5f403bb57a [Glitch] Fixed WebUI crash when a status opened in the media modal is deleted
Port 7004e88738 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-02-12 10:58:34 +01:00
Jeong Arm
77f7de53e1 [Glitch] Use custom mascot on static share page
Port b2572f0b29 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-02-12 10:57:09 +01:00
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>
2021-02-12 10:55:37 +01:00
Eugen Rochko
d66867d1c2 [Glitch] Change max. image dimensions to 1920x1080px (1080p)
Port 826a5cc624 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-02-12 10:46:00 +01:00
Claire
c1c469be88 Fix background color for favourite modal on DMs 2021-02-10 19:27:18 +01:00
ThibG
2b877cad16 [Glitch] Change custom emoji to be animated when hovering container
Port e57047f213 to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-02-03 17:16:22 +01:00
ThibG
07408600f3 [Glitch] Add “translate” class to other user strings
Port 603ce7e1f5 to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-01-26 14:05:24 +01:00
ThibG
8d9092600a [Glitch] Fix Google Translate breaking web interface
Port c9d9e96e75 to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-01-21 16:59:47 +01:00