Commit graph

867 commits

Author SHA1 Message Date
Chewbacca
e8c72c8e11 Handle message deletions via websockets 2022-10-27 10:25:37 -04:00
3e0b6c38cd Merge remote-tracking branch 'soapbox/develop' into events-
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-25 18:46:29 +02:00
Chewbacca
65a8bf9aa1 Merge remote-tracking branch 'origin/develop' into chats 2022-10-14 14:27:53 -04:00
Alex Gleason
e86e9d93b2
Delete "mobile" pages 2022-10-14 10:53:05 -05:00
Justin
c41b71c76c Invalidate query cache when new chats come in 2022-10-05 15:15:16 -04:00
9b43ed7015 fixes, improvements, cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-30 23:20:58 +02:00
803dada3e0 Merge remote-tracking branch 'soapbox/develop' into events-
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-30 20:05:02 +02:00
Justin
4c936fe6e0 Merge remote-tracking branch 'origin/chats' into chats 2022-09-29 12:04:28 -04:00
Alex Gleason
7722ce5e68
Chats: don't update own messages from streaming (for now) 2022-09-29 10:58:58 -05:00
Justin
b0ea57b9b9 Merge remote-tracking branch 'origin/chats' into chats 2022-09-29 09:46:39 -04:00
Justin
0a8fa3e635 Add ability to report a Chat Message 2022-09-29 09:45:57 -04:00
Alex Gleason
2791d3453a
Chats: update chat cache in streaming 2022-09-28 15:55:56 -05:00
1aa2f83f1e wip event editing
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-28 22:22:45 +02:00
04b4a57e06 Manage event
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-25 23:18:11 +02:00
Alex Gleason
075cb15940
Add utils/queries, refactor streaming 2022-09-22 16:28:05 -05:00
Alex Gleason
624d139a5a
Chats: MAKE WEBSOCKET STREAMING WORK!!! 2022-09-21 18:26:18 -05:00
Alex Gleason
c3edd71bf3
Chats: WIP streaming mutations 2022-09-21 17:52:20 -05:00
fe7333ddb0 Information page, improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-21 23:27:53 +02:00
Alex Gleason
d7243c0e91
Merge remote-tracking branch 'origin/develop' into chats 2022-09-19 13:01:40 -05:00
Alex Gleason
1e6993975c Merge branch 'delete-modal-fix' into 'develop'
Fix account deletion modal

See merge request soapbox-pub/soapbox!1794
2022-09-17 21:33:37 +00:00
marcin mikołajczak
4d74158eb7 Merge branch 'compose' into 'develop'
Allow multiple compose forms

See merge request soapbox-pub/soapbox!1786
2022-09-17 21:00:29 +00:00
5e7b78bbac Fix media upload with uninitialized compose forms
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-17 21:13:02 +02:00
706e303547 Show compose form on event discussion page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 21:06:09 +02:00
640000c18e Merge remote-tracking branch 'soapbox/compose' into HEAD
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 20:42:30 +02:00
f6af663e09 Merge remote-tracking branch 'soapbox/develop' into HEAD
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 20:39:13 +02:00
Alex Gleason
5297227501
My god is the everlasting sky! Your god lives beneath him. 2022-09-16 13:30:55 -05:00
Alex Gleason
06a0ca704c
Improve styles of ConfirmationModal, fix account deletion modal 2022-09-16 12:37:28 -05:00
Alex Gleason
c19fe9f167
Strip leading @ from password reset input 2022-09-16 10:42:05 -05:00
cb3df8211c Merge remote-tracking branch 'soapbox/develop' into compose
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 15:40:29 +02:00
b38e5ec8e3 tests i can't run locally for now
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 10:40:19 +02:00
6cce0a0291 Introduce useCompose hook
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
2022-09-14 20:01:44 +02:00
Alex Gleason
f472e0cca6
setTags: call endpoints synchronously 2022-09-11 21:59:16 -05:00
Alex Gleason
25f0ff9d86
Allow removing legacy 'donor' tag 2022-09-11 20:47:53 -05:00
Alex Gleason
1f0b4d01b5
Remove account.donor as a concept, use 'badge:donor' custom tag instead 2022-09-11 20:44:49 -05:00
Alex Gleason
2e811a1e88
Admin: allow setting custom badges on accounts 2022-09-11 20:04:41 -05:00
Alex Gleason
cfdace9454
AccountModerationModal: add staff role picker 2022-09-11 13:19:08 -05:00
87877a3f96 TS/functional: Emoji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-11 19:28:12 +02:00
a9b8371086 Allow multiple compose forms
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-10 23:52:06 +02:00
ac52071e2f Do not reset tab/searched account when clearing search input
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-09 23:20:26 +02:00
f7c09461fd Event pages?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-09 22:52:32 +02:00
Justin
6b38e37019 Merge remote-tracking branch 'origin/develop' into chats 2022-09-08 08:37:52 -04:00
b97518d600 Join state optimistic responses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-07 21:24:10 +02:00
3f4f820de7 Participation management
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-07 20:03:26 +02:00
df39036129 Merge remote-tracking branch 'soapbox/develop' into events-
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-05 15:07:31 +02:00
9d3206f229 Allow users to create events
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-04 23:36:13 +02:00
Alex Gleason
d9d9c4521f
soapbox-pub/soapbox-fe --> soapbox-pub/soapbox 2022-09-04 15:15:54 -05:00
591aba83d9 Use content_type from backend when editing a status
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-03 16:13:41 +02:00
Justin
e384d1f40d Setup websockets 2022-08-31 13:21:43 -04:00
Justin
f16da850fd Add React Query 2022-08-31 13:20:53 -04:00
Justin
edce9d0876 Fetch relationships when opening favourites/reblogs modal 2022-08-25 09:16:47 -04:00
Justin
8fbe8a90e0 Use current trends for hashtag searching in composer 2022-08-22 10:16:25 -04:00
Alex Gleason
9cd19c2003
Merge remote-tracking branch 'origin/develop' into oauth-consumer-strategies 2022-08-12 10:10:36 -05:00
Alex Gleason
0466c97863
Merge remote-tracking branch 'origin/develop' into account-refactoring 2022-08-12 10:01:23 -05:00
Alex Gleason
d54b3b1ec6 Merge branch 'status-fc' into 'develop'
Status refactoring

See merge request soapbox-pub/soapbox-fe!1717
2022-08-12 14:55:38 +00:00
Alex Gleason
d6e809083b
Make consumer strategy buttons work 2022-08-11 21:50:08 -05:00
Alex Gleason
f3f230aece
Simplify profile Header components 2022-08-11 11:57:09 -05:00
Alex Gleason
d668bb370f
Fix Like button 2022-08-09 18:51:01 -05:00
Alex Gleason
4c7491d81d
Strip down StatusContainer, offload actions into Status component itself 2022-08-09 17:45:01 -05:00
Alex Gleason
522eba4b25
StatusActionBar: create toggle actions for status interactions 2022-08-09 17:05:55 -05:00
Justin
1d5428be2c Merge branch 'react-query' into 'develop'
Introduce React Query

See merge request soapbox-pub/soapbox-fe!1666
2022-08-09 18:02:22 +00:00
marcin mikołajczak
0f4a755693 Merge branch 'search-from-account' into 'develop'
Fix debounce in search, clear accountId on submit from navbar

See merge request soapbox-pub/soapbox-fe!1712
2022-08-09 10:40:47 +00:00
052547dc6b Fix debounce in search, clear accountId on submit from navbar
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-08 17:36:11 +02:00
Justin
15f536e949 Use redux auth for now 2022-08-08 11:15:47 -04:00
Alex Gleason
3866b104db Merge branch 'marker-fix' into 'develop'
Fix notification markers on Mastodon

Closes #1061

See merge request soapbox-pub/soapbox-fe!1706
2022-08-08 14:44:19 +00:00
Justin
7836698dc2 Add React Query 2022-08-08 10:29:02 -04:00
c59f3947cb Allow to search for posts from given account
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-08 13:40:41 +02:00
74735eeedd Don't increase replies count when editing a post
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-06 14:39:05 +02:00
Alex Gleason
19ce510233
Notifications: fix markers string ID comparison 2022-08-05 10:56:03 -05:00
51190a9943 Refetch birthday reminders on midnight
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-05 14:49:21 +02:00
marcin mikołajczak
e4919f0be5 Merge branch 'notifications-types' into 'develop'
Use `types` param in /api/v1/notifications

See merge request soapbox-pub/soapbox-fe!1696
2022-08-05 05:30:52 +00:00
81af0e64f1 Use different confirmation modal/snackbar text for post editing
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-03 23:55:14 +02:00
a9aae8fbe8 Use types param in /api/v1/notifications
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-01 18:56:11 +02:00
560f4592e7 Stream marker updates
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-01 18:31:49 +02:00
ac83c9c18c Support mutes duration
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-31 11:57:31 +02:00
Alex Gleason
7d134fcca3 Merge branch 'to-test' into 'develop'
Compose: add mentions from text test

See merge request soapbox-pub/soapbox-fe!1684
2022-07-27 12:44:50 +00:00
Alex Gleason
50d60b7bb4 Merge branch 'gdpr' into 'develop'
GDPR banner

See merge request soapbox-pub/soapbox-fe!1678
2022-07-26 18:34:23 +00:00
Alex Gleason
33f20564c7
Compose: add mentions from text test 2022-07-26 12:53:08 -05:00
Alex Gleason
83329d0887
Copy react-notification's source code directly into the project 2022-07-25 22:58:09 -05:00
Alex Gleason
8cce389568
Use a perfect regex 2022-07-25 17:41:28 -05:00
Alex Gleason
46de5efc69
Always send the "to" field 2022-07-25 12:24:03 -05:00
3c835cf724 Restore featured accounts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-21 23:14:23 +02:00
Alex Gleason
8a392c187f
Add eslint-plugin-compat 2022-07-21 12:19:36 -05:00
Justin
c53b7a984f Refetch timeline if user stops following someone 2022-07-20 14:23:11 -04:00
Alex Gleason
fb45d62d70
Login: strip whitespace around username, strip leading @ 2022-07-18 21:50:02 -05:00
Justin
d807aae502 Add test for 'patchMe' action 2022-07-18 12:53:57 -04:00
Justin
781639bde8 Add test for 'fetchMe' action 2022-07-18 12:50:18 -04:00
Justin
a6122d0527 refactor 2022-07-18 10:26:51 -04:00
Justin
6b2027cba5 Fix test 2022-07-18 10:16:56 -04:00
Justin
d8a1545ee8 Query account on hover for follow stats 2022-07-18 09:54:56 -04:00
marcin mikołajczak
c5b751a68d Merge branch 'announcements' into 'develop'
Announcements

See merge request soapbox-pub/soapbox-fe!1614
2022-07-16 19:02:10 +00:00
86579abd45 Workaround for filtering on latest Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-16 19:59:00 +02:00
Justin
7482d37f5c Merge branch 'add-loading-state-to-carousel' into 'develop'
Add disabled state when changing feed filter

See merge request soapbox-pub/soapbox-fe!1636
2022-07-14 20:58:00 +00:00
Justin
6f727ae139 Add disabled state when changing feed filter 2022-07-14 15:46:04 -04:00
Alex Gleason
3377f1dcd1 Merge branch 'developers-stuff' into 'develop'
Add advanced settings under Developers section, refactor

See merge request soapbox-pub/soapbox-fe!1625
2022-07-14 18:18:22 +00:00
583e4171f1 Add some tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-13 19:57:22 +02:00
37d97eb857 Notifications: TS
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-11 23:27:43 +02:00
Alex Gleason
104c2305fb
CreateApp: convert to TSX+FC 2022-07-11 11:34:14 -05:00
Justin
1254f8a3f3 Merge branch 'feed-suggestions' into 'develop'
Feed suggestions

See merge request soapbox-pub/soapbox-fe!1595
2022-07-11 13:00:41 +00:00
f6a0d31b54 Disable announcements reactions on Pleroma
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-10 23:35:22 +02:00
724fe8b765 statuses links
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-10 00:15:14 +02:00
ec040ff253 Merge remote-tracking branch 'soapbox/develop' into announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-09 23:54:04 +02:00
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