Commit graph

485 commits

Author SHA1 Message Date
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
a59daacc04
Fix calculateStatus export 2022-03-19 17:29:46 -05:00
Alex Gleason
47653546de
Statuses reducer: refactor search_index 2022-03-19 15:04:28 -05:00
Alex Gleason
9d79b60134
Typescript: reducers/statuses.ts 2022-03-19 14:41:16 -05:00
Alex Gleason
b71a592f95
Typescript: reducers/accounts.ts 2022-03-19 14:22:52 -05:00
Alex Gleason
c8c5a6b077
Merge remote-tracking branch 'origin/develop' into ts-redux 2022-03-18 15:33:56 -05:00
Alex Gleason
3be0ddaa25
Merge remote-tracking branch 'origin/develop' into ts-redux-first 2022-03-18 13:17:19 -05:00
Alex Gleason
c413d94459 Merge branch 'normalizer-exports' into 'develop'
Normalizer exports, use fromJS in all normalizers

See merge request soapbox-pub/soapbox-fe!1105
2022-03-17 03:03:43 +00:00
Alex Gleason
f1a286f5e0
Don't call fromJS in some reducers 2022-03-16 21:52:20 -05:00
Alex Gleason
6b8e79d898
Export Record entities 2022-03-16 21:15:38 -05:00
Alex Gleason
76eeb8a219
Delete+Redraft: drop attachments with integer IDs from Pleroma 2022-03-16 20:54:41 -05:00
Alex Gleason
9fa1dc3fe5
Merge remote-tracking branch 'mkljczk/mastodon-redraft' into pleroma-redraft-quirk 2022-03-16 19:50:41 -05:00
Alex Gleason
cd19425a0d
Fix move notification crashing Notifications page 2022-03-16 19:23:07 -05:00
Alex Gleason
27564dd360
WIP: reducer typescript 2022-03-15 09:40:19 -05:00
Alex Gleason
16266f7cb4
reducers/instance: typescript conversion 2022-03-14 18:28:13 -05:00
b003ac0634 Fix: Delete end edit on Markdown post loses Markdown setting
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-13 21:09:58 +01:00
Alex Gleason
2089cb124d
Test account.moved 2022-03-12 14:52:03 -06:00
Alex Gleason
6fa973aec0
Remove importer/normalizer.js 2022-03-11 21:22:11 -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
9547a7042d
Normalize chat in reducer, not action 2022-03-10 21:09:12 -06:00
Alex Gleason
75db92719d
Normalize poll emoji 2022-03-10 19:55:14 -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
71ea3ed425 Include media attachments when redrafting on Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-10 18:47:20 +01: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
10116a312a
Normalizers: fix tests 2022-03-08 23:47:30 -06:00
Alex Gleason
7a18f8b9c8
Create Records for Account and Status 2022-03-08 23:25:30 -06:00
Alex Gleason
19ac4a54c2
normalizeAccount(): normalize Pleroma legacy fields 2022-02-27 20:25:15 -06:00
Alex Gleason
7054a5e9ac
Create account normalizer 2022-02-27 14:42:42 -06:00
Alex Gleason
07aaa427a6 Merge branch 'fedibird' into 'develop'
Fedibird birthdays

Closes #833

See merge request soapbox-pub/soapbox-fe!1054
2022-02-27 19:33:32 +00:00
2257612b12 Fedibird birthdays
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-26 22:49:42 +01:00
ccff91b072 Account notes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-26 15:57:34 +01:00
Alex Gleason
706bc08c88
Status reducer: fix search_index 2022-02-23 23:41:49 -05:00
Alex Gleason
34ba2505bd
normalizeStatus: normalize quote post 2022-02-23 18:25:38 -05:00
Alex Gleason
5e18691ab5
Fix custom emoji parsing 2022-02-23 12:37:12 -05:00
Alex Gleason
01bf8b4729
Merge remote-tracking branch 'origin/develop' into fix-self-reply 2022-02-23 12:03:04 -05:00
Alex Gleason
16da9030ac
normalizeInstance: break out instance normalization into its own module 2022-02-23 11:24:36 -05:00
Alex Gleason
5afd1ce4b3
Fix PendingStatus 2022-02-21 03:56:31 -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
Alex Gleason
f7f18fac79
Refactor status normalizer 2022-02-20 02:27:29 -05:00
Alex Gleason
d16b764de7
Create normalizers/status module 2022-02-20 00:27:40 -05:00
Alex Gleason
1130373c02
pendingStatus: fix crash when replying to self 2022-02-19 22:49:12 -05:00
Alex Gleason
85c32e3f76 Merge branch 'account-migrations' into 'develop'
Allow account migrations

See merge request soapbox-pub/soapbox-fe!1038
2022-02-19 03:03:57 +00:00
Alex Gleason
635f88f5e8
Rewrite code with optional chaining (?.) 2022-02-18 21:04:18 -05:00
767c3dad7a Merge remote-tracking branch 'soapbox/develop' into modals-stack 2022-02-14 22:32:58 +01:00
23aa11dfe3 Use new API for account aliases
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-14 21:00:41 +01:00
Alex Gleason
63fa3e7154
Status: normalize media attachments 2022-02-11 17:58:18 -06:00
Alex Gleason
abcd55752d
Support only external Ethereum auth for now 2022-02-10 19:34:23 -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
marcin mikołajczak
8fed920bb7 Merge branch 'develop' into 'snackbar-action-link'
# Conflicts:
#   app/soapbox/features/edit_profile/index.js
2022-02-01 08:27:38 +00:00
Alex Gleason
3708c0128c Merge branch 'birthdays' into 'develop'
Birth dates

See merge request soapbox-pub/soapbox-fe!1000
2022-02-01 01:00:52 +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
Alex Gleason
e5e4105a03
Fix quote_visible for nested quote 2022-01-28 10:17:38 -06:00
bf7cd98c03 Add 'View' action link to some notifications
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-27 16:00:05 +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
c5e34de79a Do not use reblogIcon before initialization
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 00:18:20 +01:00
b0363607c8 Quote posts: do not mention anyone
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 00:07:26 +01:00
15d4910db5 wip quote post composing
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23 18:44:17 +01:00
97d09317ae Modal improvements, profile information
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-22 13:08:20 +01:00
d6f0023cc9 Add birthday reminder notification
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-20 22:39:58 +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
Alex Gleason
e94acbc44f
MFA: setupMfa/confirmMfa, throw errors to component, don't be optimistic 2022-01-12 11:22:46 -06: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
marcin mikołajczak
e1475e0ba5 Merge branch 'scheduled' into 'develop'
Scheduled statuses improvements

Closes #797

See merge request soapbox-pub/soapbox-fe!974
2022-01-08 12:45:11 +00:00
8114f7ed95 Do not insert pending statuses for scheduled statuses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-08 13:28:33 +01:00
Alex Gleason
93ee2a6ab7
Replying-to: fix order of mentions 2022-01-07 17:09:43 -06:00
Alex Gleason
d270e92927
Developers: add ability to edit raw settings JSON 2022-01-07 15:59:50 -06:00
Alex Gleason
2fd5e5cd35
Refactor MFA setup, fixes #792 2022-01-07 14:26:19 -06:00
b0477ac1e1 fix broken modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-07 00:50:32 +01:00
marcin mikołajczak
3dffc46fc1 Support explicit addressing 2022-01-04 20:06:08 +00:00
c36a47fd17 Interactions: optimistic unreblogs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-04 16:57:01 +01:00
Alex Gleason
a6dc420b70 Merge branch 'profile-directory' into 'develop'
Profile directory

See merge request soapbox-pub/soapbox-fe!927
2021-12-26 22:23:56 +00:00
marcin mikołajczak
955687d719 Merge branch 'search-race-condition' into 'develop'
Fix another race condition in search results

See merge request soapbox-pub/soapbox-fe!929
2021-12-26 10:54:47 +00:00
b79e760b65 Fix another race condition in search results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-26 11:39:05 +01:00
10f7339e5c Profile directories, adapted from Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-22 21:22:29 +01:00
Alex Gleason
ff26336f3a Merge branch 'chats-pagination' into 'develop'
use `/api/v2/pleroma/chats`

See merge request soapbox-pub/soapbox-fe!911
2021-12-14 15:13:11 +00:00
Alex Gleason
ef17a483ab
Suggestions: don't show suggestions if Home timeline failed 2021-12-13 14:25:06 -05:00
12e4c6c083 wip chat pagination
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-13 18:06:47 +01:00
d66b2e10f2 Fix: Race condition in search
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-12 20:35:45 +01:00
Alex Gleason
92439137c1
v2 Suggestions: add AdminAPI, rearrange sidebars, check instance feature flag 2021-11-26 23:36:17 -06:00
Alex Gleason
b528c4aa63
Contexts: check for cyclical in_reply_tos and prevent stitching them with tombstones 2021-11-23 15:17:12 -06:00
Alex Gleason
0e6fac9286
Web Push fixes 2021-11-18 16:21:52 -05:00
Alex Gleason
7259ed58fb
Offline: persist Soapbox config (eg frontend_configurations or soapbox.json) 2021-11-15 16:56:33 -06:00
Alex Gleason
e46e217d57
Search: don't infer filter from results, leave it alone 2021-11-15 15:20:17 -06:00