Commit graph

206 commits

Author SHA1 Message Date
2faaa75d9c tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 00:04:41 +02:00
Alex Gleason
934055557f
Fix sidebar reducer test 2022-04-12 20:23:45 -05:00
Justin
ed47cf5f09 Convert old tests to use "react-testing-library" 2022-04-04 11:53:47 -04:00
Alex Gleason
f83119bfc9
Filter statuses by full acct with @ symbol 2022-03-26 11:17:27 -05:00
Alex Gleason
24a78f7740
Merge remote-tracking branch 'origin/develop' into next 2022-03-26 11:15:06 -05:00
Alex Gleason
f7425d80eb
Add test for search_index with mentions 2022-03-26 10:45:45 -05:00
Alex Gleason
5cd894ab02
Truth Social 2022-03-21 13:14:26 -05:00
Alex Gleason
b3de700732
Fix Soapbox Config 2022-03-20 18:41:47 -05:00
Alex Gleason
76eeb8a219
Delete+Redraft: drop attachments with integer IDs from Pleroma 2022-03-16 20:54:41 -05:00
Alex Gleason
cd19425a0d
Fix move notification crashing Notifications page 2022-03-16 19:23:07 -05:00
Alex Gleason
2089cb124d
Test account.moved 2022-03-12 14:52:03 -06:00
Alex Gleason
b5432ad8de
Refactor some reducers with Immutable.Record 2022-03-11 14:42:52 -06:00
Alex Gleason
7a7fafc8ed
Refactor applyActions() into test_helpers.js 2022-03-11 13:55:48 -06:00
Alex Gleason
7d91bb7ff9
Refactor Notifications reducer with Immutable.Record, start rewriting tests 2022-03-11 13:51:34 -06:00
Alex Gleason
9afd43a42d
Normalize Attachment entities as Immutable.Record 2022-03-10 17:15:09 -06:00
Alex Gleason
4bd1531056
More poll normalization fixes 2022-03-10 16:25:11 -06:00
Alex Gleason
2dcd05651e
Improve Poll normalization, store as Immutable.Record 2022-03-10 15:32:01 -06:00
Alex Gleason
4961433f7b
Actually, we can access state.instance.version directly now 2022-03-09 16:07:24 -06:00
Alex Gleason
a63aa16472 Merge branch 'state-record' into 'develop'
Parse the Redux state as an Immutable.Record

See merge request soapbox-pub/soapbox-fe!1085
2022-03-09 21:54:51 +00:00
Alex Gleason
90afa8aeaf
Parse the Redux state as an Immutable.Record 2022-03-09 15:24:42 -06:00
Alex Gleason
831741bea5
Test that reducers parse as Records 2022-03-08 23:59:59 -06:00
Alex Gleason
7a18f8b9c8
Create Records for Account and Status 2022-03-08 23:25:30 -06:00
Alex Gleason
706bc08c88
Status reducer: fix search_index 2022-02-23 23:41:49 -05:00
Alex Gleason
5e18691ab5
Fix custom emoji parsing 2022-02-23 12:37:12 -05:00
Alex Gleason
b1a8f6f3ab
Add back expandSpoilers 2022-02-20 12:44:10 -05:00
Alex Gleason
f1f784f751
normalizeStatus: fix tests, fixQuote fix 2022-02-20 03:38:22 -05:00
767c3dad7a Merge remote-tracking branch 'soapbox/develop' into modals-stack 2022-02-14 22:32:58 +01:00
Alex Gleason
63fa3e7154
Status: normalize media attachments 2022-02-11 17:58:18 -06:00
a041a4452b Rename modal -> modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-02 16:36:20 +01:00
e0f0370579 Merge remote-tracking branch 'soapbox/develop' into modals-stack
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-02 14:30:38 +01:00
Alex Gleason
d5ae29bfda Merge branch 'mastodon-configuration' into 'develop'
Normalize instance configuration for Mastodon

See merge request soapbox-pub/soapbox-fe!1022
2022-02-01 15:23:50 +00:00
Alex Gleason
e04e75f831
Set attachment limit from instance 2022-01-31 17:52:12 -06:00
Alex Gleason
04979486e8
Normalize instance configuration for Mastodon 2022-01-31 16:51:11 -06:00
807b3c7e5b Use stack for modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-30 18:53:47 +01:00
7da12b1526 Merge remote-tracking branch 'soapbox/develop' into birthdays
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 23:12:07 +01:00
Alex Gleason
bd3c74f566
Prevent a quoted status overriding the quote of its parent 2022-01-24 15:08:22 -06:00
97d09317ae Modal improvements, profile information
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-22 13:08:20 +01:00
7aef1d923b Merge remote-tracking branch 'origin/develop' into account-endorsements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-13 22:29:32 +01:00
0a160f4422 User endorsements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-12 18:20:27 +01:00
Alex Gleason
6323c7d70e
eslint: enforce gaps between groups with import/order 2022-01-10 16:25:06 -06:00
Alex Gleason
966ca91e1a
eslint: alphabetize imports with import/order 2022-01-10 16:17:52 -06:00
Alex Gleason
2a0e2001d6
eslint: enforce import/order 2022-01-10 16:01:24 -06:00
Alex Gleason
93ee2a6ab7
Replying-to: fix order of mentions 2022-01-07 17:09:43 -06:00
b0477ac1e1 fix broken modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-07 00:50:32 +01:00
Alex Gleason
0e6fac9286
Web Push fixes 2021-11-18 16:21:52 -05:00
Alex Gleason
59db8fb442
Notifications: drop status notifications if status is null 2021-11-12 15:06:37 -06:00
Alex Gleason
a354fd325d
Statuses: optimistic reply counter 2021-11-12 12:18:11 -06:00
Alex Gleason
2946a7432b
Compose: pull accept content types from backend if available, fallback to all types 2021-10-31 16:14:09 -05:00
Alex Gleason
6b54e88b62
Search: refactor search reducer, add tests 2021-10-28 14:23:54 -04:00
Alex Gleason
c789fba629
Notifications: use Markers for unread count
This works consistently across all backends
2021-10-04 13:27:05 -05:00
Alex Gleason
1be73d13a1
Suggestions: fix optimistic dismissal 2021-10-02 15:18:27 -05:00
Alex Gleason
65a3ab982c
Preload: import auth credentials from Mastodon's initial-state 2021-09-15 13:34:22 -05:00
c80f87efaa Add emoji reacts page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-06 21:54:48 +02:00
Alex Gleason
463b3ba085
Auth: store users by their ActivityPub ID instead of their primary key 2021-08-21 17:38:19 -05:00
d36ec10c6a Auto select search tab that has results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-07 20:57:22 +02:00
403d6ae48c Search results improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-07 20:42:39 +02:00
Alex Gleason
dcd964dba9 Merge branch 'eslint-recommended' into 'develop'
eslint: extend 'eslint:recommended'

See merge request soapbox-pub/soapbox-fe!661
2021-08-03 19:57:41 +00:00
Alex Gleason
594cf088ed
eslint: extend 'eslint:recommended' 2021-08-03 14:29:36 -05:00
f8dcafae98 update tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-02 21:10:41 +02:00
0e59139902 Use Mastodon defaults for initial state
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-19 23:15:42 +02:00
Alex Gleason
b2ebdbcf80
Admin: display latest accounts in dashboard 2021-07-14 12:27:51 -05:00
Alex Gleason
941e101fba
Auth: test ME_FETCH_SKIP in reducer 2021-07-09 16:29:01 -05:00
Alex Gleason
5f40ae1d48
Timelines: add tests 2021-07-08 17:10:01 -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
Alex Gleason
2e9ac8770e
Fix status_lists tests 2021-06-27 18:56:04 -05:00
Alex Gleason
0586ec4264
Fix auth reducer tests 2021-05-07 22:43:44 -05:00
Alex Gleason
4e7d7ac378
startsWith('tombstone-') --> endsWith('-tombstone') 2021-04-21 18:28:43 -05:00
Alex Gleason
cc278f7ca6
Contexts: more refactoring 2021-04-21 17:35:01 -05:00
Alex Gleason
217fbea7a3
Tombstone: fix context tests 2021-04-21 15:03:00 -05:00
Alex Gleason
4ee302b63a
Delete mismatched auth users, fixes #613 2021-04-13 12:03:46 -05:00
Alex Gleason
aa7e62e8c0
Initialize auth refactor 2021-03-29 19:51:48 -05:00
Alex Gleason
f21502a1c6
Fix push_notifications-test.js 2021-03-29 13:44:39 -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
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
47ed1e42c9
Run rootReducer in tests 2021-01-18 14:14:08 -06:00
Alex Gleason
dccc384f0d
Reports: fix admin reducer test 2020-12-31 18:33:45 -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
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
958aa8c18e
Make Markdown posting configurable, use text/plain by default 2020-12-24 14:26:48 -06:00
Alex Gleason
ce1e04c224
Obliterate hydrateStore() 2020-09-27 19:49:55 -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
64a68c650e
Notifications: refactor with OrderedSet instead of List 2020-09-22 13:42:08 -05:00
Alex Gleason
b51236a6b0
Threading test #422 2020-09-18 17:03:00 -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
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
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
ec42888fff
Add getSoapboxConfig() like getSettings() 2020-08-23 16:04:01 -05:00
Alex Gleason
5a9f17ebac
Start refactoring AdminAPI actions 2020-08-23 12:48:45 -05:00
Alex Gleason
c3be47fca6
Merge remote-tracking branch 'origin/develop' into admin_cfg 2020-08-03 01:43:54 -05:00