Commit Graph

290 Commits (57e9fc7e5afe8ac0e114ed976f63de9dc458c565)

Author SHA1 Message Date
Eugen Rochko f1de5093fb [Glitch] Add option to disable real-time updates in web UI
Port c56e6fd7a1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-16 16:51:08 +02:00
Thibaut Girka 6476b7dabe Add options to configure filtering behavior 2019-07-15 00:48:28 +02:00
Thibaut Girka 79e97d71d4 Do not keep polls pre-filled in thread mode 2019-07-15 00:41:09 +02:00
Thibaut Girka 8184a7407d Fix report dialog crashing when a toot gets deleted
Fixes #1155
2019-07-10 19:53:31 +02:00
ThibG b8d7f860ca [Glitch] When deleting & redrafting a poll, fill in closest expires_in
Port a55fd40802 to glitch-soc
2019-07-04 16:24:48 +02:00
ThibG a393529547 [Glitch] Add message telling FTS is disabled when no toot can be found because of this
Port 0943e994dd to glitch-soc
2019-06-28 18:54:56 +02:00
abcang a5709d8b76 [Glitch] Display notifications count on a new single column
Port 4c9d8f8ef9 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko 04edd3fbdb [Glitch] Add responsive panels to the single-column layout
Port a1bceb2cb6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko aa9377f77a [Glitch] Add single-column mode
Port f9ca3d62b6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Thibaut Girka 6819b3333e Add option to display a warning before boosting toots lacking media descriptions 2019-06-10 16:24:09 +02:00
Thibaut Girka 7dd32100c3 Add DM conversations mode similar to upstream 2019-06-10 16:23:42 +02:00
ThibG c15ff07c69 [Glitch] Fix “mark as sensitive” not being used in delete & redraft
Port 024ec0759c to glitch-soc
2019-06-07 17:39:46 +02:00
Thibaut Girka 2c240378b2 [Glitch] Fix refreshing featured toots when the new collection is empty
Port 1fee4b0fe2 to glitch-soc
2019-06-07 17:05:32 +02:00
りんすき c65b14059a [Glitch] Fix composer route opening when not needed
Port 9ff2739fb5 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-26 13:50:15 +02:00
Thibaut Girka b83cdc9b02 Export fallback content type and use it as default in WebUI 2019-05-17 23:51:14 +02:00
Thibaut Girka dfeda8857f Hide content-type dropdown by default 2019-05-17 23:51:14 +02:00
Thibaut Girka 8a49df8ede Support proper content-type in Delete & Redraft 2019-05-17 23:51:14 +02:00
KokaKiwi 08a981dd25 Add status content type dropdown to compose box.
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-17 23:51:14 +02:00
ThibG c8195e2da1 [Glitch] Use raw content if available on Delete & Redraft
Port front-end changes from 2a917031c9 to glitch-soc
2019-05-11 21:46:23 +02:00
Thibaut Girka e53b2a9c37 Make hi-color privacy icons opt-in instead of opt-out 2019-05-01 20:23:25 +02:00
Thibaut Girka f5f0bd6c0a Add high color privacy icons
Fixes #1015
2019-05-01 16:38:01 +02:00
Thibaut Girka 5a8b820767 Fix regression with textarea's caret position when selecting a suggestion 2019-04-27 21:40:42 +02:00
Thibaut Girka 0541e4ad21 Refactor selectComposeSuggestion so that different paths can be updated 2019-04-26 22:38:03 +02:00
Eugen Rochko 7acc035cbe [Glitch] Show suggested follows on search screen in mobile layout
Port 541fda5fc8 to glitch-soc
2019-04-22 20:15:47 +02:00
Alex Gessner d1b617374c [Glitch] squashed identity proof updates
Port JS from be7c92061c to glitch-soc
2019-03-29 10:13:44 +01:00
ThibG a1cc930335 [Glitch] Do not empty timeline of blocked users on block
Port 248de99443 to glitch-soc
2019-03-26 16:07:47 +01:00
ThibG 0381a07606 [Glitch] Add UI for enabling/disabling poll notifications 2019-03-13 22:21:52 +01:00
ThibG 91045bef61 Merge pull request #953 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2019-03-11 13:23:54 +01:00
Thibaut Girka 3a7fb657f3 [Glitch] Add support for poll ending notifications
Port front-end parts of 11ce444b8b to glitch-soc
2019-03-11 13:08:21 +01:00
ash lea 00bc35891b add local setting to auto reveal media behind cw 2019-03-11 12:14:45 +01:00
Eugen Rochko 7565b8afa3 [Glitch] Fix public timelines being broken by new toots when they are not mounted
Port 8e9db67a6a to glitch-soc
2019-03-08 01:00:14 +01:00
Thibaut Girka e2d56cc90d [Glitch] Port polls creation UI from upstream 2019-03-06 23:56:53 +01:00
Eugen Rochko 9844b44e99 Fix poll options not rendering text after vote/refresh
Port 9cae3a3b48 to glitch-soc
2019-03-06 11:44:27 +01:00
Eugen Rochko 342d9d25bb Add polls
Port front-end parts of 4a3acdc916 to glitch-soc
2019-03-05 21:35:03 +01:00
Thibaut Girka 69fd801c8e Port upstream refactoring of reducers and actions
Also includes 4923646361
2019-03-05 21:35:03 +01:00
Eugen Rochko 0dc5c2a4a5 Fix home timeline perpetually reloading when empty
Port 0c8d1435c5 to glitch-soc
2019-03-05 19:30:11 +01:00
Eugen Rochko df01d5181e Fix web UI not removing notifications after block (#10108)
Regression from #7311
2019-02-26 19:33:59 +01:00
abcang 6f471916f5 Keep notification when muting_notifications is true (#7311)
* Keep notification when muting_notifications is true

* Retrun mute object

* Fix test
2019-02-26 19:33:42 +01:00
ash lea b22f9c8792 add list title editing 2019-01-06 13:03:57 +01:00
Thibaut Girka 07592234ac Add local setting to disable swipe-to-change-columns 2019-01-05 21:47:48 +01:00
Thibaut Girka c1b47fe774 Fix crash when clearing uninitialized timeline
Fixes #875
2018-12-30 16:56:55 +01:00
Thibaut Girka 89e7274a7f Remove file added by error 2018-12-23 11:43:25 +01:00
Thibaut Girka 423c953518 [Glitch] Allow joining several hashtags in a single column
Port d2a9ea58da to glitch-soc

This introduces new requirements in the API:

  `/api/v1/timelines/tag/:tag` now accepts new params: `any`, `all` and `none`
  It now returns status matching tag :tag or any of the :any, provided that
  they also include all tags in `all` and none of `none`.
2018-12-21 19:54:54 +01:00
Thibaut Girka 3ba1aa8d2b Hide negative follower counts from glitch flavour 2018-12-20 14:51:12 +01:00
Thibaut Girka ba8d23c7cb Allow disabling the reply confirmation dialog 2018-12-18 21:54:34 +01:00
Thibaut Girka 2bf78186aa [Glitch] Put "Media Only" option in column settings instead of content area headline
Port 9c2fc4d684 to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka 0ea5823484 [Glitch] Change column params on pinned timeline
Port f5421e5309 to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka cdc9dca649 [Glitch] Add notification quick-filter bar in the frontend app
Port df7186e93a to glitch-soc
2018-12-18 17:22:01 +01:00
Thibaut Girka b19e5cf48d Split out is_changing_upload from is_submitting
Fixes #855
2018-12-17 13:01:07 +01:00
Thibaut Girka 656e2d3121 [Glitch] Fix timeline pagination in the WebUI
The `hasMore` property of timelines in redux store was set whenever an API
request returned only one page of results, *even* if the query only requested
newer statuses (using `since_id`), causing `hasMore` to be incorrectly set to
false whenever fetching new toots in a timeline, which happens each time
an account's timeline or media gallery is visited.
2018-12-13 21:59:46 +01:00
Thibaut Girka 61cf3bf52a [Glitch] Fix hasMore in notifications 2018-12-13 21:58:48 +01:00
Thibaut Girka 45ba4e83e0 [Glitch] Fix context building in the reducer
Port a5c740ba41 to glitch-soc
2018-11-30 22:37:38 +01:00
Thibaut Girka 05d7c498ba [Glitch] Introduce flat layout to contexts reducer
Port 4e718bbb25 to glitch-soc
2018-11-30 22:37:38 +01:00
Thibaut Girka a1848008a9 [Glitch] Fix race condition when interacting with deleted toots
Port 7083838a54 to glitch-soc
2018-11-13 16:30:07 +01:00
Thibaut Girka d457964527 [Glitch] Don't remove originals of boosted toots from timeline
Port 019c39bf1d to glitch-soc
2018-11-09 21:57:56 +01:00
Thibaut Girka e48b428ef3 [Glitch] Implement adding a user to a list from their profile
Port bb5558de62 to glitch-soc
2018-11-09 14:50:08 +01:00
Thibaut Girka 5ad4bcbece [Glitch] Fix empty display name precedence over username in web UI
Port 4084814d8a to glitch-soc
2018-10-30 17:54:50 +01:00
Thibaut Girka 8bef422043 Add a local setting for inline preview cards 2018-10-30 17:51:06 +01:00
Thibaut Girka 7f023b3b98 [Glitch] Fix dimensions of preview cards, fix crash in web UI, fix warning
Port 766a808de4 to glitch-soc
2018-10-30 17:51:06 +01:00
Thibaut Girka 18870c45f1 [Glitch] Include preview cards in status entity in REST API
Port cf2ab9c394 to glitch-soc
2018-10-30 17:51:06 +01:00
Spencer Alves 981a41ca2c Add option to hide action bar in collapsed toots 2018-09-30 08:31:50 +02:00
Thibaut Girka e7ddcf50ab Make pre-selection of usernames optional when replying to a toot
Fixes #751
2018-09-28 21:01:09 +02:00
Igor Galić e02703bb91 prepend re: to replies to spoiler-text
if spoiler-text doesn't already start with re:, we prepend `re: `
ourselves in replies.

This implements https://github.com/tootsuite/mastodon/issues/8667
Following Plemora's example: https://git.pleroma.social/pleroma/pleroma-fe/merge_requests/318
2018-09-13 22:32:03 +02:00
Thibaut Girka 44192cb9d2 Only focus first item of dropdown if it was opened via keyboard 2018-09-13 20:32:08 +02:00
Thibaut Girka 3dc5051f03 Add preferences for notification badges 2018-09-07 20:37:17 +02:00
Thibaut Girka 44b647abe7 Count unread notifications when window loses focus 2018-09-07 20:37:17 +02:00
Thibaut Girka 3fd407b859 Keep track of unread notifications when the notification column isn't mounted 2018-09-07 20:37:17 +02:00
Thibaut Girka a89a5127c4 Accurately count deleted unread notifications 2018-09-07 20:37:17 +02:00
Thibaut Girka ff18ba0d2b Add option to not automatically unfold content warnings matching a regexp
Fixes #678
2018-08-31 18:35:03 +02:00
Thibaut Girka 02c32ad7af Add a setting to automatically unfold all content warnings 2018-08-31 18:35:03 +02:00
Thibaut Girka fa5f416270 Add confirmation dialog when posting media without description
Fixes #211
2018-08-30 13:20:37 +02:00
Thibaut Girka 8f33f0f087 Add opt-in feature to have the spoilers field always on (fixes #634) 2018-08-29 14:29:36 +02:00
Thibaut Girka e8e32f8265 [Glitch] Preserve hashtag casing in web UI hashtag history
Port 81df5716b9 to glitch-soc
2018-08-28 19:52:28 +02:00
Thibaut Girka acdb5b43da [Glitch] Implement tag auto-completion by history
Port bada0436b3 to glitch-soc
2018-08-28 19:52:28 +02:00
Thibaut Girka 2bd0a71b0c Preserve hashtag casing in threaded mode
Inspired by 81df5716b9
2018-08-28 19:52:28 +02:00
Thibaut Girka 8db23dd477 Add glitch-soc local setting to display reply counters
Defaults to false.
2018-08-22 20:29:55 +02:00
Thibaut Girka 30d88cee78 Add hashtag trendline support to glitch-soc flavour
Port Mastodon's hashtag stats thing to glitch-soc.
This doesn't change how hashtags are ordered, and doesn't add a trending
hashtags section, but it does change how hashtag searches are rendered,
displaying a trend line alongside each hashtag.
2018-08-22 19:27:06 +02:00
Thibaut Girka dcb7f34684 Add pinned accounts editor 2018-08-22 16:18:23 +02:00
Thibaut Girka 02adce1ad8 Add focal points support in the composer 2018-08-18 17:53:20 +02:00
Thibaut Girka ca4fa96a99 Implement public profile endorsements in glitch-soc
Port WebUI changes from 6e3cb11f3c to glitch-soc
2018-08-10 16:25:46 +02:00
Thibaut Girka a3d318ec76 [Glitch] Fix accounts' display name/bio not being set from initial state
Port 6e72faaa78 to glitch-soc
2018-07-30 14:24:24 +02:00
Thibaut Girka 9507ab6493 Preserve hashtags in threaded mode (fixes #584) 2018-07-28 23:25:57 +02:00
Thibaut Girka 95a752365a Disable threaded mode when canceling a reply (fixes #583) 2018-07-18 16:42:00 +02:00
Thibaut Girka 7cc4e6b2b2 Process statuses on COMPOSE_SUBMIT_SUCCESS (fixes #579) 2018-07-17 21:54:36 +02:00
Thibaut Girka 694b9c5b54 Move privacyPreference to utils 2018-07-12 15:31:42 +02:00
Thibaut Girka 78811a547c [Glitch] Refactor privacyPrefence() to use priority list
Port 2b44b7a9f6 to glitch-soc
2018-07-12 15:31:42 +02:00
Thibaut Girka 1a3e119ef7 Use options rather than a boolean
This prepares for a third option that would restrict privacy to
privacyPreference(replyPrivacy, sideArmBasePrivacy)
2018-07-12 11:22:34 +02:00
Thibaut Girka b169f2df3b Do not store duplicate reply_privacy 2018-07-12 11:22:34 +02:00
Ash Levy 2d4c33a89c add option to enable auto visibility on secondary toot button 2018-07-12 11:22:34 +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 c60f97f116 [Glitch] Preserve newlines in delete & redraft and desktop notifications
Port 5d419119de to glitch-soc
2018-06-16 15:09:28 +02:00
Thibaut Girka d8c35a6b85 [Glitch] Add redraft function
Port 16173535d9 to glitch-soc
2018-06-16 15:09:28 +02:00
Thibaut Girka 5af047df32 Delete references to removed constants (fixes #537) 2018-06-09 18:14:23 +02:00
Thibaut Girka d73c0e14b0 [Glitch] Fix gap insertion for timeline disconnection
Port 575c5753e4 to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka d7aac92316 [Glitch] Fix ID duplication in timelines
Port 33a8c3ab6c to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka 27cf820859 [Glitch] Fix comparing id
Port 9dff61a5ba to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka f4a929a74a [Glitch] Add missing null handling in notification reducer
Port 9487e8a4c0 to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka 7096611df6 [Glitch] Allow clients to fetch notifications made while they were offline
Port 9eaa47845c to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka 7a953db0b6 [Glitch] Allow clients to fetch statuses made while they were offline
Port 34cb1a5461 to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka 6a0f32b359 Fix error when unmuting a domain without listing muted domains first 2018-05-29 16:26:39 +02:00
Thibaut Girka f9a8240394 Fix caret position after inserting suggestions (fixes #281) 2018-05-26 12:17:03 +02:00
Thibaut Girka f4a64b8091 [Glitch] Enable custom emojis in profiles
Port 4055ce490c to glitch-soc
2018-05-17 15:57:16 +02:00
Thibaut Girka c77a4d8c51 [Glitch] Feature: Direct message from Statuses
Port 7a06bd7085 to glitch-soc
2018-05-16 19:45:30 +02:00
Thibaut Girka a8d5a4a74e [Glitch] Fix issues with sending direct messages from user profile
Port 4be5383b91 to glitch-soc
2018-05-16 19:45:30 +02:00
Thibaut Girka c5d2dcb562 [Glitch] Feature: Direct message from menu
Port df62fc20bf to glitch-soc
2018-05-16 19:45:30 +02:00
Thibaut Girka 3c7d7ec228 [Glitch] Use plaintext value for field value tooltips in web UI
Port 8b63d39427 to glitch-soc

This doesn't change anything for glitch-style fields, but those will go
away eventually
2018-05-10 14:11:23 +02:00
Thibaut Girka 2df57af401 Implement tootsuite-style account fields
glitch-soc-style still in backup, both sharing the same SCSS style
2018-04-29 18:48:45 +02:00
Thibaut Girka deb6517638 [Glitch] Do not overwrite some status attributes in reducer
Backport 59b769ff06
2018-04-22 19:19:01 +02:00
beatrix 4f6a459984 Merge pull request #421 from ThibG/glitch-soc/features/custom-emoji-api
[Glitch] retrieve custom emoji list via API instead of before page load
2018-04-22 12:10:48 -04:00
Thibaut Girka f15ee5fdb9 [Glitch] Fix status filtering in contexts reducer
Port 899cca061b to glitch-soc
2018-04-19 16:43:02 +02:00
Thibaut Girka f7ec78e220 [Glitch] Do not filter the status collection after muting and blocking
Port ce0d30feb7 to glitch-soc
2018-04-19 16:42:27 +02:00
Thibaut Girka 5cd64fd6c6 [Glitch] retrieve custom emoji list via API instead of before page load
Port f3db0d6ecc to glitch-soc
2018-04-19 11:12:52 +02:00
Thibaut Girka 8b3d03067b Add glitch-soc front-end support for bookmarks
Unlike boosts and like, there is no confirmation dialog as misclicking
can be recovered without another user seeing it.
2018-04-11 21:05:34 +02:00
beatrix 766a008931 Merge pull request #380 from ThibG/glitch-soc/features/domain-block-ui
Port #6628 to glitch-soc flavour
2018-03-30 14:50:02 -04:00
Thibaut Girka 769c536db4 [Glitch] Remove pointer events on the entire UI when a dropdown menu is open
Port 95fce1bca0 to glitch-soc
2018-03-30 12:45:23 +02:00
Thibaut Girka 38feef43ad Keep list of blocked domains
Might be overkill, but I'm trying to follow the same logic as for blocked users
2018-03-30 10:07:33 +02:00
Thibaut Girka e47593cac8 Update all known users' domain_blocking relationship instead of just one's 2018-03-30 10:07:33 +02:00
Thibaut Girka f63450c7ec [Glitch] Profile redirect notes
Port WebUI changes from b89f614bd7
2018-03-29 14:59:20 +02:00
Thibaut Girka 15563f8421 Port federated reports UI to glitchsoc
Port 0ebd2a1718 to glitch-soc
2018-03-16 15:27:13 +01:00
Thibaut Girka cb3a0bf3ed Remove text requirement when media attached from statuses (fixes #381)
Ports 0c2a08adeb to glitchsoc
2018-03-12 18:39:07 +01:00
Thibaut Girka 12edfead8e Do not discard statuses obtained via websocket when API request finishes
This backports 0b888acfd4
2018-01-19 21:59:12 +01:00
David Yip 2a201c2ec6 Port 9cfbbbce1f to glitch frontend 2018-01-18 10:25:37 -06:00
beatrix 093cc02c84 Merge pull request #328 from glitch-soc/feature/glitchy-elephant-friend
Add glitchy elephant friend
2018-01-14 17:40:27 -05:00
David Yip 7ccde6b46b Introduce a bit of luck into the elefriend selection. #294. 2018-01-14 04:46:21 -06:00
David Yip e018b6c44c Set glitchy elephant friend variant in initial state. #294.
Also lay some groundwork needed to interactively change the
glitchfriend.

The codebase uses "elefriend" because it's shorter and didn't require me
to realign the actions in actions/compose.js.  Same idea, though.
2018-01-14 03:06:11 -06:00
cwm cf027c74db Rename key to path in actions and reducers for settings (tootsuite pr #6105) 2018-01-09 09:48:14 -06:00
cwm 783f65dd72 Prevent duplicate load of favourites (tootsuite pr #5931) 2018-01-09 08:46:35 -06:00
kibigo! 62a33d5ae0 Threads now inherit privacy directly (#309) 2018-01-08 16:35:01 -08:00
Ondřej Hruška 568c9272ff Fix the always-threaded bug 2018-01-06 19:55:53 +01:00
kibigo! e5a10a1fd3 Threaded mode~ 2018-01-05 21:16:43 -08:00
beatrix 5500346b79 Merge pull request #290 from chriswmartin/web-push-updates
Web push updates
2018-01-05 18:29:57 -05:00
kibigo! 55ead6a4b2 WIP <Compose> Refactor; Fin~ 2018-01-04 21:17:30 -08:00
kibigo! 7a9aaf28c4 WIP <Compose> Refactor; 1000 tiny edits 2018-01-04 18:33:13 -08:00
kibigo! c560373d5e WIP <Compose> Refactor; SCSS ed. 2018-01-04 18:23:46 -08:00
kibigo! f87cce9e28 WIPgit status <Compose> Refactor; <Composer> ed. 2018-01-04 18:21:59 -08:00
cwm 093c27fe46 web push updates (tootsuite PRs #5879, #5941, #6047) 2017-12-30 11:45:01 -06:00
cwm 0fbf7f2838 merged tootsuite pr #5811 into glitch flavour 2017-12-08 20:13:08 -06:00
cwm f6634f4fdc merged tootsuite pr #5750 into glitch flavour 2017-12-08 19:40:49 -06:00
kibigo! 8dc8ea2c0a Add option to remove DMs from home (#126) 2017-12-06 17:50:27 -08:00
kibigo! 882055afd0 Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00