Commit graph

316 commits

Author SHA1 Message Date
Alex Gleason
4d35f16483
Staff promotions: fix race conditions 2021-07-13 19:38:58 -05:00
Alex Gleason
695e64cb1f
Ingest tags from AdminAPI 2021-07-13 18:41:38 -05:00
Alex Gleason
fa91defea0
Rename 'dirty' to 'should_refetch' 2021-07-13 18:35:37 -05:00
Alex Gleason
2f6cd35f38
Admin: refactor actions to use accountIds instead of nicknames 2021-07-13 18:30:46 -05:00
Alex Gleason
a89ea524a9
Refactor AwaitingApproval 2021-07-13 17:59:55 -05:00
Alex Gleason
3043924045
Refactor UserIndex to use its own state instead of Redux 2021-07-13 17:01:31 -05:00
Alex Gleason
80a682f120
Admin: add UserIndex to view a list of registered users 2021-07-13 15:16:31 -05:00
Alex Gleason
b892c6fe22
Staff promotions: change action names to more closely match AdminAPI endpoints 2021-07-13 12:34:58 -05:00
Alex Gleason
5eafa25ea9
Allow promotion/demotion of users to staff roles 2021-07-13 12:21:12 -05:00
Alex Gleason
941e101fba
Auth: test ME_FETCH_SKIP in reducer 2021-07-09 16:29:01 -05:00
Alex Gleason
8cc8a465c7
Auth: sanitize the initial state 2021-07-09 16:24:18 -05:00
Alex Gleason
d3db2e37e3
Auth: better data validation 2021-07-09 15:54:32 -05:00
Alex Gleason
7b61d319b1
Auth: clear me when ME_FETCH_SKIP is dispatched 2021-07-09 14:58:49 -05:00
Alex Gleason
5f40ae1d48
Timelines: add tests 2021-07-08 17:10:01 -05:00
Alex Gleason
628dc92775
StatusLists: big refactor with OrderedSet 2021-07-08 16:12:04 -05:00
Alex Gleason
f0fa5e6945
Timelines: truncate on dequeue if scrolled to the top 2021-07-08 15:30:18 -05:00
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