Commit Graph

2965 Commits

Author SHA1 Message Date
9c0a304926 External auth: normalize instance 2022-03-16 22:44:30 -05:00
58466ce79c Normalize Mastodon RC version 2022-03-16 22:41:25 -05:00
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
10b2e10a97 Merge branch 'pleroma-redraft-quirk' into 'develop'
Delete+Redraft: drop attachments with integer IDs from Pleroma

See merge request soapbox-pub/soapbox-fe!1104
2022-03-17 02:59:45 +00:00
b0623597ea Fix comment 2022-03-16 21:58:30 -05:00
f1a286f5e0 Don't call fromJS in some reducers 2022-03-16 21:52:20 -05:00
8167b72762 Call fromJS in all normalizers 2022-03-16 21:47:58 -05:00
6b8e79d898 Export Record entities 2022-03-16 21:15:38 -05:00
db38d3cd59 Merge branch 'msw' into 'develop'
Mock API with MSW

See merge request soapbox-pub/soapbox-fe!1100
2022-03-17 02:02:34 +00:00
76eeb8a219 Delete+Redraft: drop attachments with integer IDs from Pleroma 2022-03-16 20:54:41 -05:00
9fa1dc3fe5 Merge remote-tracking branch 'mkljczk/mastodon-redraft' into pleroma-redraft-quirk 2022-03-16 19:50:41 -05:00
cd19425a0d Fix move notification crashing Notifications page 2022-03-16 19:23:07 -05:00
ed88dbcdde Merge branch 'chat-message-preview' into 'develop'
Set max-height to chat preview message

Closes #426

See merge request soapbox-pub/soapbox-fe!1088
2022-03-16 21:43:11 +00:00
1d4daee53b Merge branch 'datepicker-async' into 'develop'
Load react-datepicker asynchronously

Closes #855

See merge request soapbox-pub/soapbox-fe!1086
2022-03-16 21:42:13 +00:00
c0ea0a948d Suggestions: limit to 50 results 2022-03-16 16:01:36 -05:00
d07d9b5bed Mock API with MSW 2022-03-16 13:55:18 -05:00
40b5761460 Normalize Pleroma account location
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-14 22:55:55 +01: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
28ecb9d912 Normalize Card entity 2022-03-12 15:54:28 -06:00
5c8e8d9f99 Break Attachment normalizer into its own module 2022-03-12 15:33:53 -06:00
6812e7bfd4 Move Poll normalizer into its own module 2022-03-12 15:22:18 -06:00
08f219ab64 Break Mention normalizer into its own module (with tests) 2022-03-12 15:12:16 -06:00
b100068b95 Normalizers: add jsdoc heading 2022-03-12 15:01:00 -06:00
2089cb124d Test account.moved 2022-03-12 14:52:03 -06:00
66e51fa5ef Status normalizer: revert update() refactor 2022-03-12 14:29:02 -06:00
b46f31e9f4 Account normalizer emojification tests 2022-03-12 14:19:34 -06:00
049d726ff5 Merge remote-tracking branch 'origin/develop' into normal-account-refactor 2022-03-11 21:22:19 -06:00
6fa973aec0 Remove importer/normalizer.js 2022-03-11 21:22:11 -06:00
2cd6499454 Attachment: add missing internal fields 2022-03-11 21:05:42 -06:00
b5432ad8de Refactor some reducers with Immutable.Record 2022-03-11 14:42:52 -06:00
7a7fafc8ed Refactor applyActions() into test_helpers.js 2022-03-11 13:55:48 -06:00
7d91bb7ff9 Refactor Notifications reducer with Immutable.Record, start rewriting tests 2022-03-11 13:51:34 -06:00
4c2cdc4ac2 StatusRecord: let account be null by default 2022-03-11 12:15:49 -06:00
d48a9586e5 Convert Instance normalizer into TypeScript 2022-03-11 12:14:32 -06:00
37827c34d9 Create Notification normalizer 2022-03-11 12:13:36 -06:00
9547a7042d Normalize chat in reducer, not action 2022-03-10 21:09:12 -06:00
ecaf726a19 Rename map --> entity 2022-03-10 20:40:04 -06:00
75db92719d Normalize poll emoji 2022-03-10 19:55:14 -06:00
d600a74410 Revert "PollContainer: don't pass me as a prop"
This reverts commit dc2d3b1b09.
2022-03-10 19:36:58 -06:00
f91344366d Instance normalizer: remove unneeded line 2022-03-10 18:08:41 -06:00
8decaa2d9f Parse Mentions as Immutable.Record 2022-03-10 17:57:12 -06:00
9afd43a42d Normalize Attachment entities as Immutable.Record 2022-03-10 17:15:09 -06:00
dc2d3b1b09 PollContainer: don't pass me as a prop 2022-03-10 16:30:42 -06:00
4bd1531056 More poll normalization fixes 2022-03-10 16:25:11 -06:00
2dcd05651e Improve Poll normalization, store as Immutable.Record 2022-03-10 15:32:01 -06:00
2489438ff4 Set max-height to chat preview message
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-10 19:03:18 +01: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
4961433f7b Actually, we can access state.instance.version directly now 2022-03-09 16:07:24 -06:00
f75c0738a7 Instance normalizer: add default stats, remove default media_attachments 2022-03-09 16:02:50 -06:00
9537c87909 Record --> ImmutableRecord 2022-03-09 16:00:43 -06:00