Commit Graph

309 Commits (6fb2982ec011f09ca0b86c6af4648c3e42ccb886)

Author SHA1 Message Date
Claire 1ce75c18e0 Fix accidentally importing vanilla code in glitch-soc flavor (#1863) 2022-10-11 19:35:37 +02:00
Claire d540cfc73f Move flavours/glitch/utils/emoji back to flavours/glitch/features/emoji 2022-10-11 12:43:19 +02:00
Claire bf6b66bf32 Move more modules from flavours/glitch/utils to flavours/glitch 2022-10-11 12:25:45 +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
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 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 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 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 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
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
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
prplecake cf4bed0ac0 [Glitch] Add ability to follow hashtags in web UI 2022-07-30 20:00:00 -05:00
Claire 5e628e4fd3 Add option to share CW toggle state across instances of a post 2022-07-25 11:57:09 +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 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 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 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
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 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
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
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
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 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
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
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
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 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 4a4125a88a Add modal stack to allow better boost modal and media modal interaction. 2021-07-12 17:00:14 +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 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
Claire 41f58c2c32 Fix local-only toggle being buggy when replying to remote toot 2021-05-12 12:38:21 +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 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
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 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
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
ThibG 7cc36a1f2b [Glitch] Change notification permission handling
Port 5a4d40dcfa to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2020-12-19 01:02:32 +01:00
Eugen Rochko 657c544d6f [Glitch] Add button to dismiss desktop notifications permissions banner
Port 640005d33a to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-11-12 22:23:06 +01:00
Thibaut Girka 0b5d0e5318 Add option to hide notification markers 2020-10-27 11:20:11 +01:00
Thibaut Girka a984e2c4cb Add local setting for pop-in player position 2020-10-26 20:51:28 +01:00
Thibaut Girka 1b724e0738 Add setting to disable the pop-in player 2020-10-26 20:31:54 +01:00
Eugen Rochko f08b14ce71 [Glitch] Add pop-out player for audio/video in web UI
port fc497420e9 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-10-26 19:51:09 +01:00
ThibG 006201214e [Glitch] Fix follow request notifications
Port df120d667c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-10-26 15:50:48 +01:00
Eugen Rochko f4524cbfcd [Glitch] Change how missing desktop notifications permission is displayed
Port 10ff8b1205 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-10-21 21:49:46 +02:00
ThibG 8fb1cbf6fe [Glitch] Fix browser notification permission request logic
Port 592fa427e3 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-10-21 21:28:47 +02:00
OSAMU SATO 8fb24fc735 [Glitch] Add duration parameter to muting.
Port ba9252b32d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-10-21 21:28:47 +02:00
ThibG 5901c4141c [Glitch] Fix unread notification marker not updating when mounting column
Port 199107aa25 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-10-21 19:36:41 +02:00
ThibG 004728ce96 [Glitch] Fix bell button causing a brief “Cancel follow request” on locked accounts
Port f53281dedb to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-10-21 19:24:32 +02:00
Thibaut Girka edd6bb6e6d Fix issue checking for last unread notification when there are gaps 2020-10-08 22:44:30 +02:00
Eugen Rochko ab12ab75ca [Glitch] Optimize the process of following someone
Port front-end changes from 5f613d55e6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-09-28 17:49:55 +02:00
Thibaut Girka b376f9f547 Fix minor bugs 2020-09-19 15:01:46 +02:00
Thibaut Girka 4e59bb5f9f Minor refactoring and fixups 2020-09-19 14:15:28 +02:00
Thibaut Girka c9cfed112a Fix crashes when connection drops 2020-09-17 15:22:56 +02:00
Thibaut Girka 386f83b4b2 Add button to manually mark all notifications as read 2020-09-17 15:22:56 +02:00
Thibaut Girka 1db1fc18e9 Only update read marker when giving focus/mounting column 2020-09-17 15:22:56 +02:00
Thibaut Girka ad62740f66 Refactor and change logic to only update marker if we reached the last
read notification.
2020-09-17 15:22:56 +02:00
Thibaut Girka 31a9c14a5a Fix threaded mode
Fixes #1414
2020-09-01 09:37:17 +02:00
Thibaut Girka 4b8097e67c Fix replying to some remote toots switching to local-only 2020-08-29 19:57:32 +02:00
Thibaut Girka 43bceb4337 Fix local-only flag not necessarily being preserved on delete & redraft 2020-08-12 00:02:44 +02:00
ThibG ed69b4909d [Glitch] Fix block/mute pagination in WebUI
Port e793d71486 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-10 18:49:33 +02:00
ThibG 1681c7c028 [Glitch] Freeze scroll position when a dropdown menu is open in the TL
Port bf40d331e6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-10 17:05:44 +02:00
Eugen Rochko 409d00d256 [Glitch] Add ability to choose media thumbnail in web UI
Port 825f73c3f9 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-07 15:58:49 +02:00
ThibG 50f439db96 [Glitch] Add user notes on accounts
Port 3afc7977b1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-30 23:32:02 +02:00
ThibG a11fac77f3 [Glitch] Fix read marker state not being udpated internally
Port 8b7066dc61 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-30 23:09:39 +02:00
ThibG 948f988a04 [Glitch] Fix timeline markers not working on Chrome
Port bf68cd3bf0 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-29 20:02:30 +02:00
ThibG f261370e7c [Glitch] Refactor/cleanup TIMELINE_DELETE-related code
Port df5867f072 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-03 21:42:13 +02:00
ThibG 9e12c3f3a7 [Glitch] Fix WebUI pagination of following, followers, follow requests, blocks and mutes lists
Port 9d57af78d2 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-12 17:01:41 +02:00
ThibG 0a02eade54 [Glitch] Fix content warning being unnecessarily cleared when enabling/disabling CW
Port 41ca3cdb37 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-02 20:45:46 +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 e571f7005e [Glitch] Change how unread announcements are handled
Port 99cf92a3cf to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-02-03 09:31:32 +01:00
Eugen Rochko 77e5732816 [Glitch] Fix mascot being too large, and a code style issue
Port 7774ac36e5 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-02-03 09:27:51 +01:00
Thibaut Girka 8c5689775f Fetch last read notification id to update unread notification count on load 2020-02-01 19:53:01 +01:00
Eugen Rochko 3ecc114ec6 [Glitch] Change announcements to be collapsed on page load in web UI
Port 5bc109eeb7 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-28 19:17:06 +01:00
Eugen Rochko a20b14b6b4 [Glitch] Add streaming API updates for announcements being modified or deleted
Port dd68e44cfa to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-27 16:01:06 +01:00
ThibG 17b9f1efb7 [Glitch] Improve announcements design
Port ab01849287 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-25 16:57:03 +01:00
Eugen Rochko 30470b53d6 [Glitch] Add announcements
Port front-end changes from f95fd62bac to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-24 16:45:29 +01:00
Thibaut Girka 40e87be793 Make prepending “re: ” to CWs on reply optional 2020-01-07 19:05:31 +01:00
Thibaut Girka 42c357d6bb Fix various issues caused by wrong `unread` key being updated 2019-12-17 15:55:10 +01:00
ThibG 8bc0822716 [Glitch] Add follow_request notification type
Port 60d26cabf0 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-12-07 15:48:26 +01:00
ThibG d9f15fb6ed [Glitch] Fix pending upload count not being decremented on error
Port 9b3ebf9166 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-30 17:37:16 +01:00
ThibG c98e2faa41 [Glitch] Fix WebUI allowing to upload more items than the limit
Port 83a88426ca to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-07 14:31:53 +01:00
Nima Boscarino 8ef3379c6d [Glitch] Unliking a post updates like count on front end
Port 092103cf4e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-27 14:44:27 +01:00
Thibaut Girka 05499cd36b Change filter logic to keep filtered toots, but not mark them as unread
Keeping them in the TL fixes the front-end not being able to properly keep
track of pagination. Furthermore, filtered toots are not counted as unread
content, whether they are dropped or not.
2019-10-24 22:09:55 +02:00
Eugen Rochko 93ad0adf82 [Glitch] Fix delete conversation action not being reflected in web UI
Port 6bf6f5e06c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-03 13:19:03 +02:00
ThibG 56ca0d8b1c [Glitch] Add explanation to mute dialog, refactor and clean up mute/block UI
Port fdd1848c7c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
ThibG 82548d9403 [Glitch] Avoid storing audio and video file data in memory
Port f3d4db653c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00