Commit graph

590 commits

Author SHA1 Message Date
Alex Gleason
9248051846 Merge branch 'favourite-import-skip' into 'develop'
Don't import status from favourite

See merge request soapbox-pub/soapbox-fe!1423
2022-05-18 19:25:04 +00:00
Alex Gleason
4866028728
Don't import status from favourite 2022-05-18 14:06:22 -05:00
Justin
54ef361bcc Allow waitlisted users to verify their SMS 2022-05-18 14:11:18 -04:00
e21ec04be6 Add 'Remove from followers'
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-17 13:07:34 +02:00
Justin
6bdc9b4d2f Fix redraft: don't set compose id 2022-05-17 06:31:19 -04:00
Alex Gleason
5b9537ca07
actions/soapbox: ensure we wait til the bitter end 2022-05-16 15:12:26 -05:00
f70d44f67c Display familiar followers on Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-16 19:32:35 +02:00
Alex Gleason
300bee0587
Fix password reset feature detection 2022-05-16 12:23:31 -05:00
88b91bce3e Mastodon admin API
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-16 17:40:47 +02:00
Alex Gleason
debfcaeb1e
Merge remote-tracking branch 'origin/develop' into mastodon-pagination 2022-05-15 13:08:12 -05:00
Justin
e57e2258f8 Merge branch 'skip-api-requests-for-guests' into 'develop'
Skip API requests if logged out

See merge request soapbox-pub/soapbox-fe!1385
2022-05-14 18:49:56 +00:00
Justin
3d76cd21e6 Skip API requests if logged out 2022-05-14 14:33:14 -04:00
Alex Gleason
165d6d197e
Rip out identity_proofs 2022-05-14 12:01:21 -05:00
Alex Gleason
9f8a74b376
Paginated context: fetch the status before ancestors/descendants 2022-05-13 17:25:58 -05:00
Alex Gleason
02726cfcc3
Fix paginated comments, improve Mastodon tombstones 2022-05-13 13:07:11 -05:00
Alex Gleason
b64be353cc
eslint: indent switch statements 2022-05-11 16:06:35 -05:00
Alex Gleason
ae01b845de
eslint: enforce spacing of imports (and infix ops) 2022-05-11 12:40:34 -05:00
Justin
c879f82b48 Remove beta page 2022-05-10 15:50:35 -04:00
marcin mikołajczak
8f09fcab2e Merge branch 'edit-posts' into 'develop'
Allow editing posts on Mastodon

See merge request soapbox-pub/soapbox-fe!1271
2022-05-04 18:57:34 +00:00
ffbb6f51de use camelCase
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-04 20:36:46 +02:00
53152d9174 Do not redirect to /messages after editing status
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-04 20:33:49 +02:00
Justin
528906fe31 Set 'system' as default theme 2022-05-04 09:35:45 -04:00
b8be588b60 Post editing: Compose improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-03 23:00:07 +02:00
f6f8ef99d9 Merge remote-tracking branch 'soapbox/develop' into edit-posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-03 21:29:38 +02:00
Alex Gleason
81938ec4d0
EditProfile: fix formdata submission 2022-05-02 22:45:58 -05:00
Alex Gleason
23fb01d32d
Set onboarding on account creation 2022-05-02 16:24:19 -05:00
Alex Gleason
35a731ffd9
Restore localStorage onboarding code 2022-05-02 15:55:52 -05:00
Alex Gleason
83a0988daa
submitReport(): don't call getState() a million times 2022-05-02 14:40:34 -05:00
Alex Gleason
9cbe98f131
Reports: submit rule_ids to API 2022-05-02 14:39:08 -05:00
Justin
ac53ed11b9 Add tests for Rules redux action/reducer 2022-05-02 13:55:08 -04:00
Justin
924b042c84 Improve reporting modal 2022-05-02 13:55:07 -04:00
Alex Gleason
0fa58be38c
Catch instance/fetch error, only set instance_fetch_failed on 404 2022-05-02 11:46:18 -05:00
Alex Gleason
39b92b96fc
Store settings in IndexedDB even on unsupported backends 2022-04-29 23:15:41 -05:00
Alex Gleason
ce73b30237
actions/me: do it with a const 2022-04-29 21:41:41 -05:00
db56d9b16a Update tests, remove unused code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-29 23:19:52 +02:00
Alex Gleason
2cbea4aa5b
Upgrade axios to v0.27, fix EditProfile uploads 2022-04-29 16:01:46 -05:00
387ebfc56c Allow editing posts on Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-28 16:26:47 +02:00
Alex Gleason
c6456a43b6
Convert actions/instance to use createAsyncThunk() 2022-04-25 14:17:05 -05:00
Alex Gleason
73f086c680
Add "Donor" badge 2022-04-24 17:27:08 -05:00
Alex Gleason
f672f46809
WIP Paginated Context API 2022-04-23 22:31:49 -05:00
Alex Gleason
ea34a7f303
DELETE INTERSECTION OBSERVER ARTICLE 2022-04-22 13:13:40 -05:00
Alex Gleason
41ab4f0a44
Onboarding: use a server setting instead of localStorage, fix steps when data is already present 2022-04-20 12:08:49 -05:00
Alex Gleason
1deb4dfd2d
Merge remote-tracking branch 'origin/next' into next-onboarding 2022-04-20 08:23:15 -05:00
Alex Gleason
b72f398bad
Use feature detection for frontendConfigurations 2022-04-19 18:33:13 -05:00
Alex Gleason
5731b9b1c7
Redirect all /auth routes 2022-04-19 14:37:48 -05:00
Alex Gleason
67b0b6a317
Add BirthdayPanel 2022-04-18 23:30:40 -05:00
Alex Gleason
35396923be
Test rendering notifications 2022-04-16 19:03:33 -05:00
Alex Gleason
2ebf4777c2
Nuke the local uuid implementation 2022-04-15 20:00:03 -05:00
Alex Gleason
72879da710
actions/security: fix parseVersion import 2022-04-15 18:32:56 -05:00
Alex Gleason
b47278582a
actions/security: conditionally use truthsocial password reset endpoint 2022-04-15 18:13:24 -05:00
Alex Gleason
05068460e0
ChatList: use Virtuoso 2022-04-15 15:19:34 -05:00
19aa4b254e Support 'status' notification type
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 22:14:54 +02:00
Justin
c8c715ee4b
Add Onboarding controls to Redux 2022-04-14 10:42:56 -05:00
Alex Gleason
93a6945b7f
Let a custom auth app be embedded in the build 2022-04-12 15:23:18 -05:00
Alex Gleason
21d7cafe26 Merge branch 'next-emoji-reacts' into 'next'
Next: Emoji reacts pt 2

See merge request soapbox-pub/soapbox-fe!1204
2022-04-12 17:22:55 +00:00
2943b91034 Typescript, convert some components to functional
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-11 21:58:48 +02:00
Alex Gleason
0912700d15
Create preliminary EmojiButtonWrapper component 2022-04-10 20:31:24 -05:00
Alex Gleason
ae48c6e619
Fix action bar emoji labels 2022-04-10 16:07:23 -05:00
Alex Gleason
1466a08193
Perform better normalization of allowedEmoji 2022-04-10 15:44:51 -05:00
8be889734c well, fix confirmation modal after fixing a typo
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-07 21:23:00 +02:00
Justin
ed47cf5f09 Convert old tests to use "react-testing-library" 2022-04-04 11:53:47 -04:00
Justin
08a56082a9 Use intl to format messages 2022-03-30 10:40:09 -04:00
Justin
1ce5b5b34f Handle max file size before we process with server 2022-03-30 10:40:09 -04:00
Justin
c38ed64308 Add fallback for missing errors 2022-03-30 10:40:09 -04:00
Justin
fbd8fa87ae Improve error handling 2022-03-30 10:40:09 -04:00
36c0fb5882 Support trending statuses from Mastodon 3.5
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-29 21:15:06 +02:00
Alex Gleason
483b28988f
Normalize SoapboxConfig 2022-03-28 14:58:50 -05:00
Alex Gleason
84d7d2ee38
Add @ts-ignore lines for strictFunctionTypes 2022-03-24 12:26:27 -05:00
Alex Gleason
161cd3d1fc
Revert lazy type changes to actions/instance.ts 2022-03-24 11:09:30 -05:00
Alex Gleason
14ec40ee95
Typescript: start fixing 'strict' mode errors 2022-03-23 21:43:36 -05:00
Alex Gleason
fff580f053
Normalize Tailwind colors from SoapboxConfig 2022-03-23 15:31:19 -05:00
Alex Gleason
0938612678
Use colors from soapbox.json at runtime 2022-03-21 18:43:31 -05:00
Alex Gleason
4ccbce71e0
Fetch frontend_configurations once again, reenable /soapbox/config route 2022-03-21 15:13:33 -05:00
Alex Gleason
83137498d9
Generalize some language 2022-03-21 13:33:10 -05:00
Alex Gleason
5cd894ab02
Truth Social 2022-03-21 13:14:26 -05:00
Alex Gleason
ed692c8bef
Fix build >:( 2022-03-18 16:23:14 -05:00
Alex Gleason
12c57e02a5
Fix Instance types 2022-03-18 16:04:08 -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
1fe7a72790
Fix API mock 2022-03-18 12:20:03 -05:00
Alex Gleason
8587bd4bf6 Revert "Merge branch 'msw' into 'develop'"
This reverts merge request !1100
2022-03-18 16:08:42 +00:00
Alex Gleason
9c0a304926
External auth: normalize instance 2022-03-16 22:44:30 -05:00
Alex Gleason
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
Alex Gleason
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
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
c0ea0a948d
Suggestions: limit to 50 results 2022-03-16 16:01:36 -05:00
Alex Gleason
d07d9b5bed
Mock API with MSW 2022-03-16 13:55:18 -05:00
Alex Gleason
27564dd360
WIP: reducer typescript 2022-03-15 09:40:19 -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
6fa973aec0
Remove importer/normalizer.js 2022-03-11 21:22:11 -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
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
067e3a26f5
Allow setting a custom verified icon 2022-03-05 13:55:41 -06:00
Alex Gleason
d72ef7b423
Typescript, Compose: use forEach 2022-02-28 14:13:40 -06:00
Alex Gleason
92ac0e6a0d Merge branch 'account-notes' into 'develop'
Account notes

See merge request soapbox-pub/soapbox-fe!1053
2022-02-26 21:30:05 +00:00
ccff91b072 Account notes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-26 15:57:34 +01:00
06d33de47f Single user mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-25 16:35:48 +01:00
5b3f7c1cdc Let accent color be configurable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-24 18:28:52 +01:00