Commit graph

716 commits

Author SHA1 Message Date
Alex Gleason
cb26a515a2
Fix suggestions test types 2022-07-09 15:08:01 -05:00
Alex Gleason
3874d1d9ef
Merge remote-tracking branch 'origin/develop' into feed-suggestions 2022-07-09 15:02:45 -05:00
Alex Gleason
ef6510f03b
Merge remote-tracking branch 'origin/develop' into subscription-fixes 2022-07-09 14:46:47 -05:00
f5c3497ece Merge remote-tracking branch 'soapbox/develop' into announcements 2022-07-09 19:35:03 +02:00
Alex Gleason
6ddb44f626
Upgrade Tabler to v1.73.0, use new import paths, remove Webpack hack 2022-07-09 11:20:02 -05:00
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