Thibaut Girka
947645c355
When submitting markers, use last displayed notification, not last received one
2020-02-01 19:53:01 +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
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
2b7a2e2b7a
[Glitch] Fix spurious error and incorrect state change when adding a reaction twice
...
Port 1c85e84b4e
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-25 19:53:04 +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
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
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
Thibaut Girka
bd1fc2f989
Fix notification filters not applying to poll options
2019-10-17 11:43:58 +02:00
Thibaut Girka
a96bc45649
Refactor timeline filtering code
2019-10-17 11:43:58 +02:00
Thibaut Girka
1c99164bcb
Drop filtered messages if the filter is “irreversible”
...
… instead of adding them to the timelines and then not showing them.
This fixes timelines showing new items when the only new items are
“irreversibly” filtered toots. This may be an edge case in Mastodon/glitch-soc,
but it is not in Pleroma, which does no filtering server-side whatsoever.
2019-10-17 11:43:58 +02:00
Eugen Rochko
bee8c9112f
[Glitch] Fix performance of home feed regeneration
...
Port front-end changes from c453888616
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-10 21:00:13 +02:00
Eugen Rochko
779423204a
[Glitch] Change conversations UI
...
Port 5d5af651f1
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 17:01:16 +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
c77eb90fa6
[Glitch] Use blob URL for Tesseract to avoid CORS issues
...
Port d6b6267c27
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
ThibG
404dbc5e96
[Glitch] Show user what options they have voted
...
Port front-end changes from c596206f8c
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
ThibG
bbb3e8fe9b
[Glitch] Fix “load more” adding older toots/notifications to pending items
...
Port 266f26f23b
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-18 17:27:51 +02:00
Eugen Rochko
caa2fc89b3
[Glitch] Add timeline read markers API
...
Port 89989b6255
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-13 20:28:22 +02:00
ThibG
7d388731dc
[Glitch] Restore hashtag suggestions from local tag history
...
Port d94a4763f6
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-02 10:57:44 +02:00
Eugen Rochko
157d78dd44
[Glitch] Add trends UI with admin and user settings
...
Port 191392e5c3
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-02 10:57:44 +02:00
Eugen Rochko
f0c559250c
[Glitch] Fix emoji autosuggestions
...
Port 32d2260a8c
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-02 10:57:44 +02:00
Eugen Rochko
cc3ca37cda
[Glitch] Add autosuggestions for hashtags
...
Port 450b8a70a5
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-02 10:57:44 +02:00
Thibaut Girka
2743b33722
Fix imports importing modules from vanilla flavour instead of glitch
2019-08-31 18:23:24 +02:00
Eugen Rochko
2cdbfb39e8
[Glitch] Add profile directory to web UI
...
Port 79922ae20f
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-31 18:23:23 +02:00
ThibG
bbc1e15f39
[Glitch] Add special alert for throttled requests
...
Port 6fc1a84958
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
ThibG
5df5ab88f5
[Glitch] Improve dropdown menu keyboard navigation
...
Port 61f7ff6522
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-06 15:09:30 +02:00
Eugen Rochko
a71d66ab0e
[Glitch] Add search results pagination to web UI ( #11409 )
...
Port 5119a0608d
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-28 17:10:52 +02:00
Eugen Rochko
16b5fe3ac3
[Glitch] Change account domain block to clear out notifications and follows
...
Port 93a6ab5a32
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-28 16:45:36 +02:00
Thibaut Girka
4eb0c50699
[Glitch] Display custom emoji in bio field names
...
Port 2582701b72
to glitch-soc
2019-07-23 10:51:12 +02:00
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
6b21ce2daa
[Glitch] When sending a toot, ensure a CW is only set if the CW field is visible
...
Partial port of fa7866c9c8
to glitch-soc
It doesn't ensure the field isn't changed, just that it isn't submitted if
the field isn't visible. Ensuring the field isn't changed would require
reworking the “always show CW field” feature.
2019-06-30 14:35:03 +02:00
ThibG
c49a57e989
[Glitch] Optimize makeGetStatus
...
Port ff65c494a6
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-30 11:06:04 +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
ThibG
105d248fea
[Glitch] Apply filters to poll options in WebUI
...
Port 42c803fe61
to glitch-soc
2019-06-26 23:19:26 +02:00
ThibG
68d2d73067
[Glitch] Completely hide toots matched by “irreversible” filters even if they got to the client
2019-06-19 19:16:13 +02:00
Eugen Rochko
9cdb0fd8c5
[Glitch] Improvements to the single column layout
...
Port 6d4af23a69
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
9e868158a5
[Glitch] Fix list not being automatically unpinned when it returns 404 in web UI
...
Port cbaff2bf53
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-11 21:57:32 +02:00
Thibaut Girka
7dd32100c3
Add DM conversations mode similar to upstream
2019-06-10 16:23:42 +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
Eugen Rochko
6138cad296
[Glitch] Fix alignment of items in the account gallery in web UI and load more per page
...
Port 78f5b96bf6
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 18:59:11 +02:00
Thibaut Girka
0541e4ad21
Refactor selectComposeSuggestion so that different paths can be updated
2019-04-26 22:38:03 +02:00
Thibaut Girka
b43cfd3eb3
Fix upload progressbar when image resizing is involved
2019-04-24 20:19:23 +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
Eugen Rochko
771dc9235a
[Glitch] Fix glitched out "not found" message for non-existing profiles in web UI
...
Port 403338108e
to glitch-soc
2019-04-10 09:33:47 +02:00
Eugen Rochko
2393504c23
[Glitch] Fix search in web UI not setting a limit, restore limit of 10
...
Port 20769a332a
to glitch-soc, but changing
the 5 limit to 10, since that's what we had previously
2019-03-30 12:56:34 +01: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
5c8d15326f
[Glitch] Add support for custom emojis in poll options
...
Fixes #956
Port 2a211ff18c
to glitch-soc
2019-03-20 17:34:32 +01:00
ThibG
91419e3b68
[Glitch] Save quick filter settings when selecting a different filter
...
Port 14901400f3
to glitch-soc
2019-03-18 18:06:26 +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
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
81a92465f2
Disable file upload when there is a poll
2019-03-06 23:56:53 +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
3ce4d88e6c
Render unicode emoji in polls using emoji pack
...
Port 73d3bb4a2c
to glitch-soc
2019-03-06 11:42:25 +01:00
ThibG
e31450e8ad
Insert polls in redux stores before statuses so it avoids crashes
...
Port 6d08fd5170
to glitch-soc
2019-03-05 21:35:03 +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
Thibaut Girka
07f0cf8573
[Glitch] Allow multiple files upload through web UI, including drag & drop
...
Port 640966f3fc
to glitch-soc
2019-02-10 21:44:14 +01:00
Thibaut Girka
5946d76d0a
[Glitch] Add missing rejection handling for Promises
...
Port missing parts from d88504ec84
to glitch-soc
2019-02-10 21:44:14 +01:00
Thibaut Girka
b0e7af725a
Do not mark toots as sensitive if they don't have any media attached
2019-02-01 15:55:28 +01:00
Thibaut Girka
57791a2044
Immediately go back in browser history upon successfully sending toot
2018-12-30 14:07:57 +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
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
0a87d07f97
[Glitch] Add media timeline
...
Port ccc240b59c
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
4760c6e767
On mobile, go back in browser history upon posting, unless threaded mode is enabled
2018-12-14 23:56:53 +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
606f0df712
Fix since_id
2018-12-01 18:59:24 +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
f21f359653
Add basic UI to set list replies setting in glitch-soc
2018-11-28 14:46:07 +01:00
Thibaut Girka
07e0f1023d
[Glitch] Fix loading indicator inconsistency
...
Port 0562e258b3
to glitch-soc
2018-11-13 15:54:04 +01:00
Thibaut Girka
f40a7b2616
[Glitch] Use local instead of global loading indicator for timelines, account timelines
...
Port 9a32abcbac
to glitch-soc
2018-11-13 15:54:04 +01:00
Thibaut Girka
de57627588
[Glitch] Remove unused computation of reblog references from updateTimeline
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
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
8c2027ebe2
Force sensitive content flag when posting a toot with a CW
...
Indeed, when the “Always enable the Content Warning field” setting is enabled,
sending a content-less toot with a CW would move the CW to the toot's content
and leave the toot not marked as sensitive.
2018-10-20 17:06:21 +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
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
a3afd0791d
[Glitch] Show compose form on delete & redraft when in mobile layout
...
Port 97a2958ba1
to glitch-soc
2018-08-31 18:33:46 +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
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
64449831c8
[Glitch] Skip pagination logic entirely for pinned toots
2018-08-20 20:09:19 +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
a69426ba4e
Do not cause an error if domain_lists.blocks.next is undefined ( fixes #572 )
...
Port 3aaa8f1a95
to glitch-soc
2018-07-17 21:54:54 +02:00
Thibaut Girka
f94afcb935
[Glitch] Fix filters not affecting notifications in web UI
...
Port 93bdaa0526
to glitch-soc
2018-07-10 14:06:04 +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
d8c35a6b85
[Glitch] Add redraft function
...
Port 16173535d9
to glitch-soc
2018-06-16 15:09:28 +02:00
Thibaut Girka
14961cc8ee
[Glitch] Use randomized setTimeout when fallback-polling and re-add since_id
...
Port 4b5cde3f2d
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