Commit graph

239 commits

Author SHA1 Message Date
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
Curtis ROck
f23e3f60cb debugged soapbox-test 2020-08-02 22:06:37 -05:00
Curtis ROck
f205ff5334 Added tests to reducers/soapbox 2020-08-02 18:45:39 -05:00
marykatefain
ee97e94779 Bookmark posts 2020-07-29 21:08:36 +00:00
Alex Gleason
5333680a32
Linter fixes 2020-07-28 14:13:29 -05:00
Alex Gleason
ac6b4033dd
Merge remote-tracking branch 'origin/develop' into add-markdown-posts 2020-07-28 14:00:25 -05:00
Alex Gleason
eda4c7d629
Add markdown reducer tests 2020-07-28 13:53:01 -05:00
Alex Gleason
665a27d4c9
Update compose CW tests 2020-07-28 10:57:20 -05:00
Alex Gleason
9b66611540
Revert "Merge branch 'patch-1' into 'develop'"
This reverts commit 20bfeb1db6, reversing
changes made to 475881e80b.
2020-07-28 10:50:51 -05:00
Curtis
d15f8d4a4e Update compose-test.js to accommodate decoupling of CW toggle from sensitive (NSFW) assignment 2020-07-20 19:28:06 +00:00
Alex Gleason
475881e80b Merge branch 'reducers_tests' into 'develop'
Reducers tests

See merge request soapbox-pub/soapbox-fe!103
2020-07-20 19:10:33 +00:00
crockwave
7023471abe edited auth-test 2020-07-15 17:36:34 -05:00
crockwave
e5937b42e4 fix linter error 2020-07-14 18:21:49 -05:00
crockwave
599129897a edited accounts and alerts reducer tests 2020-07-14 17:11:05 -05:00
crockwave
67d94fb226 edited accounts_counters-test 2020-07-14 14:05:05 -05:00
Curtis ROck
26a37382de edited accounts_counters-test 2020-07-14 07:43:56 -05:00
Curtis ROck
3d547f2038 fix linter issue 2020-07-13 22:04:29 -05:00
Curtis ROck
8177a48a9b edit notifications-test 2020-07-13 21:49:42 -05:00
crockwave
40f688a6be edited notifications_test 2020-07-13 20:00:55 -05:00
Curtis ROck
3fe51e4885 edit notifications-test 2020-07-12 17:52:58 -05:00
Curtis ROck
1acdea14b1 fix lint issues 2020-07-11 22:50:02 -05:00
Curtis ROck
81a8231af4 edited notifications-test 2020-07-11 22:37:52 -05:00
crockwave
88b0ed440b edited notifications-test 2020-07-11 17:34:14 -05:00
Curtis ROck
49d69178ae notifications-test edit 2020-07-11 08:34:20 -05:00
Curtis ROck
d2e2d52a0d edit notifications-test 2020-07-10 21:59:19 -05:00
crockwave
d415a432d2 test edits 2020-07-10 18:45:10 -05:00
Curtis ROck
c216833222 linter fixes 2020-07-09 19:37:04 -05:00
crockwave
2018e5238b test editing 2020-07-09 18:44:23 -05:00
Curtis ROck
78d0955db2 fix lint error 2020-07-08 22:19:55 -05:00
Curtis ROck
1402b12e3a debugged tests 2020-07-08 22:05:22 -05:00
crockwave
41ed27751e debugged reducer tests 2020-07-08 19:22:49 -05:00
Curtis ROck
3635d669f4 linter fix 2020-07-07 22:27:41 -05:00
Curtis ROck
e01b7d8d70 fix linter errors 2020-07-07 21:52:56 -05:00
crockwave
3481b4c728 edited height_cache-test, identity_proofs-test, and list_adder-test 2020-07-07 19:38:16 -05:00
Curtis ROck
acfd8fe2ac edit conversations-test 2020-07-07 08:55:44 -05:00
crockwave
c55e937dcc linter fix 2020-07-06 15:08:13 -05:00
crockwave
8ad0b96600 fix linter 2020-07-06 14:52:01 -05:00
crockwave
ff63b6f6c5 edit auth-test 2020-07-06 14:42:11 -05:00
crockwave
ca2ccb8a3c started editing additional reducer tests 2020-07-05 19:38:32 -05:00
Alex Gleason
44e882d7fc
Show donor badge 2020-07-04 21:25:43 -05:00
Alex Gleason
4c6589637d
Tests: relationships reducers 2020-07-04 20:48:31 -05:00
crockwave
f7f2b500b5 edit reducers/compose-test 2020-07-04 14:43:50 -05:00
crockwave
a3df58e260 edited reducers/compose-test.js 2020-07-04 13:13:23 -05:00
crockwave
7da412d8e5 fixed linter errors 2020-07-04 11:38:50 -05:00
crockwave
cb98e71748 edit reducers/compose.js 2020-07-03 18:44:25 -05:00
crockwave
ed9c9800ae further compose reducer tests 2020-07-02 20:18:19 -05:00
Sean King
bf8b875b96
Jest test failure fix. Let's make sure we don't have the roof collapse. 2020-07-02 16:31:51 -05:00
crockwave
1144ff3ddf Merge branch 'reducers_tests' of https://gitlab.com/soapbox-pub/soapbox-fe into reducers_tests
further edit to compose-test.js
2020-07-01 16:48:07 -05:00
crockwave
a9d9c44a72 further edit of compose-test.js 2020-07-01 16:40:15 -05:00
Curtis
e88bf30d7a Update compose-test.js 2020-07-01 01:51:21 +00:00
crockwave
0641b29e2a started editing reducers/__tests__/compose-test 2020-06-30 19:18:26 -05:00
Alex Gleason
7fbcf3ca57
Composer: Don't force scope change after settings save, fixes #122 2020-06-16 18:00:27 -05:00
Alex Gleason
f01a8b5b8f
Composer: Test scope on reply 2020-06-16 17:30:19 -05:00
Alex Gleason
5e60fe1954
Support Pleroma legacy notification counter, fixes #172 2020-06-10 08:45:48 -05:00
Alex Gleason
0e86d03c97
Tests: Notification reducer NOTIFICATIONS_EXPAND_SUCCESS 2020-06-10 00:52:58 -05:00
Alex Gleason
f4c12c6986
Tests: Boilerplate all reducers 2020-06-09 20:08:07 -05:00
Alex Gleason
0c1eeb9efa
Tests: start reducers/auth tests 2020-06-09 19:31:52 -05:00