Commit Graph

1771 Commits (d4f25d52ddd0b4df925f13fe2e7087a67cad1e8b)

Author SHA1 Message Date
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