Commit graph

861 commits

Author SHA1 Message Date
Alex Gleason
627e6c574f
Drop invalid notifications 2022-07-08 17:52:39 -05:00
Alex Gleason
da9eaf2b82
verifyCredentials: do alert on failure 2022-07-08 14:48:06 -05:00
Alex Gleason
3fbc912dae
logIn: rethrow 403 for non-waitlisted account 2022-07-08 14:38:36 -05:00
Alex Gleason
8bc8137231
actions/auth: ignore the backend error message, always display "wrong username/password" 2022-07-08 13:02:07 -05:00
b3b6a7e4bc Announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-07 23:10:09 +02:00
Alex Gleason
afe1edddf9
rootReducer(undefined, {} as any) --> rootState 2022-07-06 17:22:11 -05:00
Alex Gleason
e9112506c6
FIX ACTION TESTS TYPES 2022-07-06 17:02:44 -05:00
Justin
c664844e3c Persist suggestions when filtering feed 2022-07-06 14:30:06 -04:00
Justin
b46ccc8b3e Add tests for suggestions action 2022-07-06 14:30:06 -04:00
Justin
da98a1e137 Build Feed Suggestions 2022-07-06 14:30:06 -04:00
Alex Gleason
9ce9a3f951
patchMe(): use multipart/form-data only optionally 2022-07-05 21:04:42 -05:00
Alex Gleason
388d887583
Upgrade axios to v1.0.0-alpha.1, remove custom toFormData implementation 2022-07-04 12:53:25 -05:00
Justin
1e53c9f6d4 username -> acct 2022-06-29 11:10:00 -04:00
Justin
1f3785c920 Add FeedCarousel 2022-06-29 11:10:00 -04:00
Justin
33bebf5bba Add "carousel" redux logic 2022-06-29 11:10:00 -04:00
Alex Gleason
61968f3b84
actions/timelines: fix since_id 2022-06-27 09:55:40 -05:00
Alex Gleason
a228d87fa4 Merge branch 'alexgleason-develop-patch-30581' into 'develop'
Ignore streaming deletion events

See merge request soapbox-pub/soapbox-fe!1566
2022-06-27 14:49:03 +00:00
Alex Gleason
8e7d3d45a9 Merge branch 'sw-skipwaiting' into 'develop'
ServiceWorker: display a toast to skipWaiting and reload tabs when new ServiceWorker is ready

See merge request soapbox-pub/soapbox-fe!1480
2022-06-27 14:48:42 +00:00
Justin
1519bfa969 Fix tests from TSX conversion 2022-06-27 10:02:21 -04:00
Justin
e785fd2c63 Merge branch 'add-accounts-action-tests' into 'develop'
Add more tests for accounts action

See merge request soapbox-pub/soapbox-fe!1565
2022-06-27 12:28:50 +00:00
marcin mikołajczak
dfbe05b390 Merge branch 'ts' into 'develop'
Reducers: TypeScript

See merge request soapbox-pub/soapbox-fe!1562
2022-06-25 06:00:44 +00:00
Alex Gleason
4004163fac actions/streaming: comment out unused import 2022-06-24 20:36:06 +00:00
Alex Gleason
d5ffce844d
ServiceWorker: display loading screen while updating 2022-06-24 11:52:57 -05:00
Alex Gleason
23c37229b8
Don't dismiss ServiceWorker snackbar 2022-06-23 18:03:35 -05:00
Alex Gleason
82122ffe45
Snackbar: refactor to use opts object 2022-06-23 17:54:38 -05:00
4e545f0638 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-24 00:33:23 +02:00
Alex Gleason
8a13984be1
Alerts: convert to TSX 2022-06-23 16:07:00 -05:00
Alex Gleason
3e205a9610
ServiceWorker: click toast to install update (dirty) 2022-06-23 15:20:41 -05:00
Alex Gleason
a8d4a08e15 Ignore streaming deletion events 2022-06-23 19:58:38 +00:00
Justin
86d6c519f0 Add tests for authorizeFollowRequest() action 2022-06-23 15:37:21 -04:00
Justin
7fc43f524a Add tests for expandFollowRequests() action 2022-06-23 15:31:32 -04:00
Justin
6775beba93 Add tests for fetchFollowRequests() action 2022-06-23 15:24:31 -04:00
Justin
ba595259c1 Add tests for fetchRelationships() action 2022-06-23 15:17:36 -04:00
Justin
2cc38554fa Add tests for expandFollowing() action 2022-06-23 15:08:53 -04:00
Justin
04a2d6be99 Add tests for fetchFollowing() action 2022-06-23 15:03:48 -04:00
Justin
c2620b017b Add tests for expandFollowers() action 2022-06-23 14:59:37 -04:00
Justin
761d524fdb Add tests for fetchFollowers() action 2022-06-23 14:47:43 -04:00
Justin
931f2e16d8 Add tests for removeFromFollowers() action 2022-06-23 14:37:55 -04:00
Justin
0a9e1c808b Merge branch 'max-video-duration' into 'develop'
Implement 'video_duration_limit' from API

See merge request soapbox-pub/soapbox-fe!1561
2022-06-23 13:09:46 +00:00
7f8594d05e Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-22 22:54:21 +02:00
Justin
d56739727e Implement 'video_duration_limit' from API 2022-06-22 15:40:26 -04:00
Alex Gleason
18df7c0c4a
Settings: pass an opts object instead of showAlert 2022-06-22 12:54:36 -05:00
Alex Gleason
c1a0b7a6a8
Settings: optionally show alert 2022-06-22 12:17:35 -05:00
Alex Gleason
a16230780e
Merge remote-tracking branch 'origin/develop' into ts 2022-06-21 13:57:59 -05:00
Alex Gleason
04d7a161cd
Merge remote-tracking branch 'origin/develop' into hoverstatus 2022-06-20 17:39:41 -05:00
Alex Gleason
3bbc4cffe8
actions/status-hover-card: convert to TypeScript 2022-06-20 16:55:08 -05:00
7d0247bc27 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 21:48:58 +02:00
419ab93077 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 21:48:11 +02:00
Alex Gleason
01b46e249b
actions/alerts: access properties more carefully 2022-06-20 11:52:36 -05:00
Alex Gleason
6530fcf37b
actions/auth: don't call deprecated DELETE /api/sign_out 2022-06-20 11:27:40 -05:00
af695e3812 Reducers: TypeScrpt + fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 16:46:45 +02:00
877cae1bf4 Fix deleteStatus tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 11:19:09 +02:00
d8cb953955 Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 09:26:45 +02:00
f3b0230480 Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-19 22:54:20 +02:00
4719cf6b5b Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-19 21:26:57 +02:00
86511dc26b Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-19 20:54:02 +02:00
ae3277bbb3 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-19 20:39:49 +02:00
6214084890 Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-19 20:38:51 +02:00
0115f064a0 Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-18 20:58:42 +02:00
fe636bc4e4 fix tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-18 13:27:05 +02:00
ee5453c18f Merge remote-tracking branch 'soapbox/develop' into ts 2022-06-18 12:11:03 +02:00
91a828555a Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-18 12:10:50 +02:00
ee55241792 Fix type errors, use () => RootState for getState
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-18 11:51:02 +02:00
ewwwwwwww
3299d0b972 fix reply hover blocking bug 2022-06-17 12:39:17 -07:00
Alex Gleason
c35564c62b
ChatBox: convert to TSX 2022-06-17 13:45:52 -05:00
Justin
20e0692012 Merge branch 'lodash-imports' into 'develop'
Specifically import the single lodash function

See merge request soapbox-pub/soapbox-fe!1540
2022-06-17 13:47:23 +00:00
Justin
0e1302587a Improve subscription button on header 2022-06-17 07:44:34 -04:00
Justin
de7fa347df Specifically import the single lodash function 2022-06-17 07:37:53 -04:00
ewwwwwwww
cc7058349f add status reply hover 2022-06-16 21:19:53 -07:00
cfacc23f5c Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-15 22:11:36 +02:00
3a09a91dd7 Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-13 23:23:49 +02:00
7b5114a1b8 prefer TypeScript for tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 23:07:06 +02:00
5fec879148 Fix mutes test, prefer TypeScript for tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 16:30:48 +02:00
708c3a9e64 TypeScript: actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-10 19:56:22 +02:00
7d8c33625d Merge remote-tracking branch 'soapbox/develop' into ts 2022-06-10 12:37:40 +02:00
Alex Gleason
122876025d Merge branch 'lookup-relationship' into 'develop'
Account lookup: fetch relationship

See merge request soapbox-pub/soapbox-fe!1518
2022-06-09 20:19:59 +00:00
Alex Gleason
28f0274b46
Fix actions/accounts test for accountLookup 2022-06-09 15:10:49 -05:00
Alex Gleason
f5024d6c8e
Account lookup: fetch relationship 2022-06-09 14:59:27 -05:00
7578ca2ee0 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 21:49:25 +02:00
Alex Gleason
00f6df3f37
Properly import quotes from reblogs 2022-06-09 14:29:01 -05:00
2786fa257b Use import type in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 21:08:51 +02:00
95e037f8c0 TypeScript, React.FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 20:56:14 +02:00
Alex Gleason
53cb5f723b
actions/accounts: remove n/a test 2022-06-08 16:18:51 -05:00
Alex Gleason
1aef2eaf22
Redirect to /login if viewing an account 401's 2022-06-08 16:00:12 -05:00
5fe442b684 ESLint: add no-duplicate-imports rule
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-07 22:21:18 +02:00
marcin mikołajczak
bdb958a613 Merge branch 'ts' into 'develop'
Reducers: TypeScript

See merge request soapbox-pub/soapbox-fe!1498
2022-06-06 19:03:34 +00:00
Alex Gleason
7e7dd19b02 Merge branch 'chats-fixes' into 'develop'
Small chats fixes & TSX conversions

See merge request soapbox-pub/soapbox-fe!1496
2022-06-06 18:31:27 +00:00
Justin
d0b9de6341 Merge branch 'add-accounts-action-tests' into 'develop'
Add more tests for accounts actions

See merge request soapbox-pub/soapbox-fe!1493
2022-06-06 14:09:00 +00:00
65dff4e6a1 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-05 15:05:44 +02:00
5bc8108e26 Move account migration to settings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-05 08:56:22 +02:00
Alex Gleason
e6c25a1887
AutosuggestAccountInput: convert to TSX 2022-06-04 17:47:40 -05:00
Justin
04d1879e5b Add more tests for accounts actions 2022-06-03 16:46:42 -04:00
Justin
6eb6588492 Finish 'fetchAccountByUsername' tests 2022-06-02 11:37:18 -04:00
Justin
14d614e055 Start adding 'fetchAccountByUsername' tests 2022-06-02 10:52:00 -04:00
Justin
7f7b1aded5 Merge branch 'add-accounts-action-tests' into 'develop'
Add tests for 'createAccount' and 'fetchAccount'

See merge request soapbox-pub/soapbox-fe!1483
2022-06-01 19:23:01 +00:00
Justin
6ba13239c6 Return the promise 2022-06-01 13:45:49 -04:00
Justin
190d94a438 Add tests for 'createAccount' and 'fetchAccount' 2022-06-01 12:58:01 -04:00
Justin
8847b3cc03 Decrement reply count when removing a status. 2022-06-01 09:13:07 -04:00
de2422a97e TypeScript, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-30 21:03:52 +02:00
7a35aa727b import from 'soapbox/…
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-30 20:23:55 +02:00
9b5c342a27 Merge remote-tracking branch 'soapbox/develop' into ts 2022-05-28 18:03:22 +02:00
1e74c6d3d7 TypeScript, FC, styles and fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-28 18:03:19 +02:00
Justin
3972e16e43 Add tests for alerts action 2022-05-27 15:22:20 -04:00
Justin
656f8038f6 Merge branch 'account-notes-test' into 'develop'
Add tests for account-notes action

See merge request soapbox-pub/soapbox-fe!1463
2022-05-27 18:32:36 +00:00
Justin
8433ff70b0 Add tests for account-notes action 2022-05-27 14:11:36 -04:00
Justin
4ad4414e08 Convert about action to TypeScript 2022-05-27 11:38:01 -04:00
Justin
a335c06f13 Convert blocks action to TypeScript 2022-05-26 13:37:22 -04:00
Alex Gleason
7902908504 Merge branch 'gate-imports' into 'develop'
Fix feature gating of Pleroma data imports

See merge request soapbox-pub/soapbox-fe!1446
2022-05-24 18:47:30 +00:00
Alex Gleason
2c69cc5de4 Merge branch 'loading' into 'develop'
Pageload improvements

Closes #976

See merge request soapbox-pub/soapbox-fe!1441
2022-05-24 18:17:39 +00:00
Alex Gleason
8c00f58162
Export: fix Mastodon fqn 2022-05-24 14:14:22 -04:00
682d2a3647 Avoid inline message definitions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-24 12:24:26 +02:00
Alex Gleason
4992862943
fetchMe: don't await verify_credentials if cached 2022-05-22 13:02:40 -05:00
marcin mikołajczak
7c3d0c821b Merge branch 'mastodon-admin-api' into 'develop'
Mastodon admin API

See merge request soapbox-pub/soapbox-fe!1387
2022-05-21 18:23:45 +00:00
10bdd664b0 split functions for admin api actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-21 08:35:33 +02:00
2ec9cacb27 Merge remote-tracking branch 'soapbox/develop' into familiar-followers
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-20 21:06:10 +02:00
marcin mikołajczak
21be58ecb4 Merge branch 'remove-from-followers' into 'develop'
Add 'Remove from followers'

See merge request soapbox-pub/soapbox-fe!1408
2022-05-20 18:58:36 +00:00
960dd0ed89 Merge remote-tracking branch 'soapbox/develop' into familiar-followers
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-20 20:57:14 +02:00
Alex Gleason
bd6ce38e5d
checkEmailAvailability: fail silently 2022-05-20 09:58:59 -05:00
Alex Gleason
c3ef55613d Merge branch 'infinite-scroll-suggestions' into 'develop'
Add infinite scroll to suggestions onboarding

See merge request soapbox-pub/soapbox-fe!1430
2022-05-19 21:18:49 +00:00
Justin
c6c65a0d48 Add infinite scroll to suggestions onboarding 2022-05-19 12:29:28 -04:00
48290ab540 Convert import/export data to TypeScript, use FileInput component
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-19 15:24:17 +02:00
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
Alex Gleason
b1a8f6f3ab
Add back expandSpoilers 2022-02-20 12:44:10 -05:00
Alex Gleason
c99415a868
Fix status importing 2022-02-20 12:16:53 -05:00
Alex Gleason
f7f18fac79
Refactor status normalizer 2022-02-20 02:27:29 -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
Alex Gleason
5bb2d97166
Push notifications: catch error 2022-02-17 18:43:57 -05:00
767c3dad7a Merge remote-tracking branch 'soapbox/develop' into modals-stack 2022-02-14 22:32:58 +01:00
48a57cc998 Fix aliases
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-14 21:38:44 +01:00
f75ffeadd8 Account migrations
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-14 21:35:35 +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
abcd55752d
Support only external Ethereum auth for now 2022-02-10 19:34:23 -06:00
Alex Gleason
01dd53328b
Cleanup unused code 2022-02-10 16:36:36 -06:00
Alex Gleason
f051b70b10
Support Ethereum external login 2022-02-10 16:34:46 -06:00
Alex Gleason
012a7f8d89
Mitra: support Ethereum login 2022-02-09 19:47:13 -06:00
Alex Gleason
d260cc2e2c
Add fallback avatar 2022-02-07 13:14:15 -06:00
Alex Gleason
c084a7a232
Mitra: handle status context endpoint as a list of statuses 2022-02-07 12:19:28 -06:00
Alex Gleason
69712baa02
Normalizer: normalize required account & status fields 2022-02-07 11:50:05 -06:00
Alex Gleason
fb7c642dc7
GoToSocial support 2022-02-06 20:46:06 -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
67399473d0 Merge branch 'account-subscriptions-mastodon' into 'develop'
Support account subscriptions on Mastodon

See merge request soapbox-pub/soapbox-fe!940
2022-02-01 00:59:14 +00:00
Alex Gleason
e04e75f831
Set attachment limit from instance 2022-01-31 17:52:12 -06:00
Alex Gleason
6e889c7a4f
Mastodon: fall back to account lookup API 2022-01-31 11:18:44 -06:00
807b3c7e5b Use stack for modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-30 18:53:47 +01:00
f25c9298ca Merge remote-tracking branch 'soapbox/develop' into account-subscriptions-mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-28 23:47:27 +01:00