Commit graph

350 commits

Author SHA1 Message Date
Alex Gleason
dd6746c3d7
Timelines: determine status order in expandNormalizedTimeline 2021-07-08 15:16:31 -05:00
Alex Gleason
c505cde24f
Timelines: fix dequeue, fix component propTypes 2021-07-08 14:52:07 -05:00
Alex Gleason
2978745311
Timelines: big refactor, use Immutable.OrderedSet 2021-07-08 14:28:53 -05:00
Alex Gleason
91fdec9d3c Merge branch 'lists' into 'develop'
Fix issues related to lists

See merge request soapbox-pub/soapbox-fe!567
2021-07-01 20:01:42 +00:00
edab70e2ea Fix issues related to lists
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-01 21:45:25 +02:00
Alex Gleason
9ea1df2fb1
Scheduled statuses validation 2021-06-30 14:53:29 -05:00
Alex Gleason
411ecadeda Merge branch 'move' into 'develop'
Account move notification

See merge request soapbox-pub/soapbox-fe!560
2021-06-30 16:06:57 +00:00
414fcd11ad update test
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 14:22:49 +02:00
ace220850d Account move notification
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 13:42:38 +02:00
Alex Gleason
3edf243bbe
Admin: optimistic user deletions 2021-06-30 03:02:52 -05:00
Alex Gleason
2e9ac8770e
Fix status_lists tests 2021-06-27 18:56:04 -05:00
Alex Gleason
97f89acff9
ScheduledStatuses: ability to view and cancel scheduled statuses 2021-06-27 17:04:23 -05:00
Alex Gleason
840706a500
ScheduledStatuses: import into reducer 2021-06-27 14:58:40 -05:00
Alex Gleason
5f9d95301c
ScheduledStatuses: scaffolding 2021-06-27 13:59:10 -05:00
a690f26613 Allow to subscribe to an account
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-26 19:28:31 +02:00
NEETzsche
3a209e2fea Schedule posts 2021-06-18 16:04:31 +00:00
Alex Gleason
bce54285e4
Populate emojis in autosuggest again 2021-06-16 17:39:03 -05:00
Alex Gleason
2ef977a204
Skip custom emojis when they match a Unicode emoji's shortcode 2021-06-16 16:48:23 -05:00
Alex Gleason
421069bfd1
Support blocking notifications from strangers 2021-06-06 22:43:18 -05:00
Alex Gleason
0586ec4264
Fix auth reducer tests 2021-05-07 22:43:44 -05:00
Alex Gleason
377c0fb64a
Only delete token if it 403's 2021-05-07 21:46:08 -05:00
Alex Gleason
4e7d7ac378
startsWith('tombstone-') --> endsWith('-tombstone') 2021-04-21 18:28:43 -05:00
Alex Gleason
cc6d2599cb
Wholistic context import (builds tree from anywhere in the thread) 2021-04-21 18:14:20 -05:00
Alex Gleason
cc278f7ca6
Contexts: more refactoring 2021-04-21 17:35:01 -05:00
Alex Gleason
b2fa82dcd0
Contexts: refactor importStatus 2021-04-21 16:40:32 -05:00
Alex Gleason
8cdb0581d3
Tombstone: work for descendants, too 2021-04-21 15:25:18 -05:00
Alex Gleason
217fbea7a3
Tombstone: fix context tests 2021-04-21 15:03:00 -05:00
Alex Gleason
87029e8abf
Display tombstone in place of deleted post, #138 2021-04-21 14:47:39 -05:00
Alex Gleason
4ee302b63a
Delete mismatched auth users, fixes #613 2021-04-13 12:03:46 -05:00
Alex Gleason
7a19861ac6
Stop verify_credentials infinite loop, partial fix for #613 2021-04-10 18:09:05 -05:00
Alex Gleason
070a7d410d
Handle invalid sessionUser. Don't store invalid sessionUser. 2021-04-10 17:15:52 -05:00
Alex Gleason
3bc35cf3eb
Refactor compose reducer account import 2021-03-31 13:36:15 -05:00
Alex Gleason
73a3ee296b
Rename action.reload -> action.background 2021-03-30 00:45:23 -05:00
Alex Gleason
15d61a98e7
Don't update the state when action.reload === false 2021-03-30 00:35:27 -05:00
Alex Gleason
db201707bf
Middle-click account to open it in a new tab, fixes #603 2021-03-29 23:22:54 -05:00
Alex Gleason
8e84c83fdc
Refactor persistState() 2021-03-29 20:03:27 -05:00
Alex Gleason
aa7e62e8c0
Initialize auth refactor 2021-03-29 19:51:48 -05:00
Alex Gleason
ad84e586f1 Merge branch 'follow-request-notifs' into 'develop'
Add follow request notification support, fixes #595

Closes #595

See merge request soapbox-pub/soapbox-fe!453
2021-03-29 18:55:25 +00:00
Alex Gleason
f21502a1c6
Fix push_notifications-test.js 2021-03-29 13:44:39 -05:00
Alex Gleason
f236b4f3e6
Add follow request notification support 2021-03-29 13:35:30 -05:00
Alex Gleason
a1f4fdcbd8
Persist current user across reloads, fixes #600 2021-03-29 13:02:11 -05:00
Alex Gleason
706e0ea6ac
Always redirect home when switching between accounts 2021-03-27 14:37:17 -05:00
Alex Gleason
41c7612b47
Don't refresh when '_legacy' changes 2021-03-25 23:03:58 -05:00
Alex Gleason
c7c0c41ce6
Use our own INIT_STORE action instead of relying on Redux's internal actions 2021-03-25 22:37:10 -05:00
Alex Gleason
ad3362e3cd
auth: persist the state only if changed 2021-03-25 20:35:19 -05:00
Alex Gleason
1e2b0c9eee
Fix tests 2021-03-25 17:12:31 -05:00
Alex Gleason
659cee1c49
Refresh the page under more general conditions 2021-03-25 15:59:09 -05:00
Alex Gleason
6ead42b06d
Handle logout 2021-03-25 15:15:37 -05:00
Alex Gleason
7a5fb6abb5
Add new account from login page 2021-03-25 14:42:09 -05:00
Alex Gleason
94da1f6722
Reload the page conditionally 2021-03-24 16:49:24 -05:00
Alex Gleason
b4cab46553
Only reload with SWITCH_ACCOUNT (for now) 2021-03-24 16:24:46 -05:00
Alex Gleason
ee9b4cb969
Upgrade user localStorage auth to the new format 2021-03-24 16:18:14 -05:00
Alex Gleason
a00a1bbc30
Test VERIFY_CREDENTIALS_SUCCESS interactions with me 2021-03-24 15:17:05 -05:00
Alex Gleason
4682cecd33
Add test for SWITCH_ACCOUNT 2021-03-24 15:14:20 -05:00
Alex Gleason
431e41a711
Add tests for VERIFY_CREDENTIALS_SUCCESS 2021-03-24 15:11:18 -05:00
Alex Gleason
886ab93c70
Refactor auth reducer tests, add tests for VERIFY_CREDENTIALS_FAIL 2021-03-24 15:01:10 -05:00
Alex Gleason
79c9c46a9a
Nuke tokens on VERIFY_CREDENTIALS_FAIL 2021-03-24 14:15:36 -05:00
Alex Gleason
47dd4287d0
Don't import frontend settings on VERIFY_CREDENTIALS_SUCCESS 2021-03-24 12:02:12 -05:00
Alex Gleason
a731ac88cf
Make login work again 2021-03-24 00:05:06 -05:00
Alex Gleason
0daa95646e
Refactor auth reducer localStorage 2021-03-23 22:19:24 -05:00
Alex Gleason
60a3a5b403
Move session tokens list into security reducer 2021-03-23 21:15:47 -05:00
Alex Gleason
6b8fbbff47
Remove dead code 2021-03-23 21:04:12 -05:00
Alex Gleason
0162eac662
Refactor auth to support multiple accounts 2021-03-23 19:06:55 -05:00
Alex Gleason
8a0fa1b285
Display loading animation during search 2021-03-21 16:09:50 -05:00
Alex Gleason
62d5a97939
Add button verify/unverify a user 2021-03-15 21:52:42 -05:00
Alex Gleason
c6b7a7ca8a
Store admin log in reducer 2021-03-15 17:29:48 -05:00
Alex Gleason
6c18050636
Fix jumpy follow relationship in Pleroma 2021-01-28 16:34:52 -06:00
Alex Gleason
36f6f12856
Stream following relationships 2021-01-28 16:22:31 -06:00
Alex Gleason
d97f9d7472 Merge branch 'rgi-reacts' into 'develop'
Support RGI emoji reacts conditionally

See merge request soapbox-pub/soapbox-fe!421
2021-01-18 20:27:35 +00:00
Alex Gleason
47ed1e42c9
Run rootReducer in tests 2021-01-18 14:14:08 -06:00
Alex Gleason
f24e1c9929
Normalize Pleroma user fields, fixes #549 2021-01-18 13:59:24 -06:00
Alex Gleason
fb99d36494
Support RGI emoji reacts conditionally 2021-01-18 13:31:16 -06:00
Alex Gleason
ddac13d308
Account backups 2021-01-07 14:17:06 -06:00
Alex Gleason
a8893907d4
Reports: import statuses, add getReport selector 2020-12-31 20:11:08 -06:00
Alex Gleason
dccc384f0d
Reports: fix admin reducer test 2020-12-31 18:33:45 -06:00
Alex Gleason
35a148d9c9
Reports: allow closing a report 2020-12-31 18:24:52 -06:00
Alex Gleason
51faa660ca
Admin: refactor Reports reducer 2020-12-31 14:29:31 -06:00
Alex Gleason
e9b70c0648
Admin: fix soapbox reducer test 2020-12-30 00:32:12 -06:00
Alex Gleason
acdc282cfd
Admin: optimistic RegistrationModePicker 2020-12-29 23:29:06 -06:00
Alex Gleason
b571765c33
Admin: add registration mode picker 2020-12-29 23:25:07 -06:00
Alex Gleason
bfd01d0316
Admin: fetch ConfigDB config, start RegistrationModePicker 2020-12-29 22:17:03 -06:00
Alex Gleason
19e1e15263
Admin: fix reducer tests 2020-12-29 18:59:31 -06:00
Alex Gleason
23a4a605a1
Admin: fix optimistic approve 2020-12-29 18:53:06 -06:00
Alex Gleason
299c14adc8
Admin: optimistic awaiting-approval actions 2020-12-29 18:38:58 -06:00
Alex Gleason
a3f208c1be
Admin: make awaiting approval actions work 2020-12-29 18:22:31 -06:00
Alex Gleason
1ad3ea4437
Admin: awaiting approval basics 2020-12-29 15:55:45 -06:00
Alex Gleason
958aa8c18e
Make Markdown posting configurable, use text/plain by default 2020-12-24 14:26:48 -06:00
Alex Gleason
83bebe38bc
Clear user's localStorage when verify_credentials fails 2020-12-11 09:04:34 -06:00
Alex Gleason
488db44a85
Preload frontend config
https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3075
2020-10-15 17:07:33 -05:00
Alex Gleason
0bbdaa4191
eslint: trailing comma fixes, unused var 2020-10-07 13:08:36 -05:00
Alex Gleason
d022978078 Merge branch 'snackbar' into 'develop'
Snackbars

See merge request soapbox-pub/soapbox-fe!243
2020-09-30 00:43:11 +00:00
Alex Gleason
1b56fff6cb
Chats: fix #451 duplicated message 2020-09-29 16:52:20 -05:00
Alex Gleason
81c31f5d92
Merge remote-tracking branch 'origin/develop' into snackbar 2020-09-28 16:20:28 -05:00
Alex Gleason
fb94664c08
Composer: fix #449 hydrate tagHistory 2020-09-28 15:25:56 -05:00
Alex Gleason
7d44e84111
Timelines: fix existingQueuedStatus bug 2020-09-28 14:58:12 -05:00
Alex Gleason
ce1e04c224
Obliterate hydrateStore() 2020-09-27 19:49:55 -05:00
Alex Gleason
c05eb0120a
Purge state on logout, fixes #264 2020-09-27 19:09:35 -05:00
Alex Gleason
d5d8c4877e
Interactions: optimistic Favourite and EmojiReact actions, fixes #104 2020-09-27 17:24:55 -05:00
Alex Gleason
a67ab78c36
Timelines: refactor timelineQueue to use IDs instead of full objects, fixes #156 2020-09-27 16:17:21 -05:00
Alex Gleason
83f31b8a00
Notifications: parseInt ID when sorting 2020-09-27 14:33:21 -05:00
Alex Gleason
f183094f82
Refactor notifications again, this time with OrderedMap, fixes #433 2020-09-23 18:57:10 -05:00
Alex Gleason
9c0793d1f3
Comment TIMELINE_DISCONNECT test 2020-09-23 10:26:01 -05:00
Alex Gleason
3b94700311
Lint: fix import 2020-09-23 10:15:49 -05:00
Alex Gleason
4851ec24f9
Don't just put "null" in the notifications list, fixes #432 2020-09-23 10:14:27 -05:00
Alex Gleason
ed4abfdce3
Chats: allow deleting a message, fixes #358 2020-09-22 16:20:10 -05:00
Alex Gleason
64a68c650e
Notifications: refactor with OrderedSet instead of List 2020-09-22 13:42:08 -05:00
Alex Gleason
9d2da836b3
Snackbar: allow severity levels 2020-09-21 22:56:15 -05:00
Alex Gleason
b51236a6b0
Threading test #422 2020-09-18 17:03:00 -05:00
Alex Gleason
b29ed6b18a
Refactor threading, fixes #422 2020-09-18 16:16:56 -05:00
Alex Gleason
556e11a9cb
Skip importing empty accounts, fixes #424 2020-09-15 10:33:12 -05:00
Alex Gleason
9692c7539a
Hovercard: appear and disappear properly 2020-09-11 10:05:52 -05:00
Alex Gleason
4630a5cd04
Hovercard: mouseout clears the card 2020-09-10 20:18:04 -05:00
Alex Gleason
0c4eae5f10
Hovercard: basic Redux+Popper prototype 2020-09-10 19:09:27 -05:00
Alex Gleason
adc98b7ad2
UserLists: use OrderedSets instead of Lists, fixes #230 2020-09-09 18:06:01 -05:00
Alex Gleason
9247f37e75
Chats: fix #399 scrolling in FireFox 2020-09-07 16:07:05 -05:00
Alex Gleason
9da87405f8
Chats: improve the way messageIds are sorted 2020-09-04 18:03:38 -05:00
crockwave
91605d7d91 Fixed reducer error 2020-09-03 11:10:03 -05:00
Curtis ROck
181eef1edd corrected errors 2020-09-02 21:47:46 -05:00
Curtis ROck
b337a4560e Apply non-blank default BrandColor only when API and soapbox.json methods fail, and only when API and/or JSON method succeeds, but brandColor value is blank 2020-08-31 22:00:11 -05:00
Alex Gleason
a419c5da34 Merge branch 'chats' into 'develop'
ChatMessages MVP

See merge request soapbox-pub/soapbox-fe!185
2020-08-28 22:03:34 +00:00
Alex Gleason
2c551130e6
Rip out markers, don't rely on them for unread count 2020-08-28 16:49:27 -05:00
Alex Gleason
572a1db9f7
Chats: mobile styling 2020-08-28 14:42:58 -05:00
Alex Gleason
e7c6862fd0
Chats: refactor ChatBox into its own component 2020-08-28 13:17:19 -05:00
Sean King
6872568d9e Add .wav audio as supported file type 2020-08-27 20:31:07 -06:00
Alex Gleason
a3585305f7
Fix notification reducer tests 2020-08-27 16:20:45 -05:00
Alex Gleason
f80f18d376
Chats: mark chats as read 2020-08-27 16:09:03 -05:00
Alex Gleason
020e21adcd
Oh right, maps can't be sorted... 2020-08-27 15:07:15 -05:00
Alex Gleason
859f340716
Chats: rudimentary display of chat message notifications 2020-08-27 14:33:03 -05:00
Alex Gleason
44f7ad5e1c
Chats: sort chats in reducer instead of component 2020-08-27 13:45:37 -05:00
Alex Gleason
10257f324d
Chats: clicking "message" launches a new chat 2020-08-27 13:01:06 -05:00
Alex Gleason
8b621d30fc
Chats: fix flickering during update 2020-08-27 00:24:11 -05:00
Alex Gleason
9af664bda8
Start making the chat faster, but it flickers 2020-08-27 00:06:27 -05:00
Alex Gleason
c4aae14148
Chats: handle null last_message 2020-08-26 20:20:14 -05:00
Alex Gleason
02b3b08999
Chats: use semantic names for action properties 2020-08-26 19:53:54 -05:00
Alex Gleason
da6239c4fc
Chats: move out of importer pipeline, entirely through reducers 2020-08-26 18:17:47 -05:00
Alex Gleason
b9d7f927a6
Chats: get streaming working again 2020-08-26 17:29:22 -05:00
Alex Gleason
4b173f0580
Chats: sort messages properly 2020-08-26 17:02:25 -05:00
Alex Gleason
759c4ae4d0
Fix chat submission 2020-08-26 16:54:44 -05:00
Alex Gleason
b66e28d8bb
Chats: store chat_message_lists in Redux 2020-08-26 15:54:14 -05:00
Alex Gleason
dbafbbc065
Chats: make streaming mostly work 2020-08-26 13:40:42 -05:00
Alex Gleason
f52186bc01
Don't write settings back to Redux after PATCH, prevents race conditions 2020-08-26 00:37:55 -05:00
Alex Gleason
5a7cc14812
Chats: rudimentary sending a message 2020-08-25 21:31:34 -05:00
Alex Gleason
cab490e1d3
Chats: display chat message content 2020-08-25 20:33:49 -05:00
Alex Gleason
b98f06e3d3
Chats: Import and normalize chats 2020-08-25 12:38:21 -05:00
Alex Gleason
f1cff927c0
Display Chat list 2020-08-24 21:26:42 -05:00
Alex Gleason
fa9421a7c1
Reports counter: Only count open reports 2020-08-24 18:00:09 -05:00
Alex Gleason
c3c77c1795
Show reports counter icon for staff members, fixes #273 2020-08-24 17:18:53 -05:00
Alex Gleason
20f64079e0
Preload /api/v1/instance 2020-08-24 15:53:38 -05:00
Alex Gleason
0dfe22de36
Fix updateFromAdmin() broken comparison 2020-08-24 10:38:29 -05:00
Alex Gleason
48d0572403
ConfigDB: Refactor updateFromAdmin in reducers/soapbox 2020-08-24 10:08:39 -05:00