Commit graph

59 commits

Author SHA1 Message Date
Alex Gleason
caa05b7b7f
hooks: resolve some circular dependencies 2023-09-16 05:47:11 -05:00
f518a7e5e4 Add title to created_at label
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-08-28 19:58:11 +02:00
Alex Gleason
1011be5333
Nostr: sign events with NIP-46 2023-08-27 10:22:56 -05:00
Alex Gleason
85c8f674b4
Streaming: allow connecting if not logged in, gate certain topics 2023-07-22 14:55:21 -05:00
Alex Gleason
53c8858fa6
Add useHashtagStream hook, clean up hashtags timeline (remove unused code for fetching multiple hashtags) 2023-07-22 14:41:50 -05:00
Alex Gleason
4a4a2d1a87
Add useGroupStream hook 2023-07-22 14:06:15 -05:00
Alex Gleason
811a9af670
Add useListStream hook 2023-07-22 14:03:00 -05:00
Alex Gleason
4090d6ab51
Add useDirectStream hook 2023-07-22 14:00:00 -05:00
Alex Gleason
9b1352f0ad
Add useRemoteStream hook 2023-07-22 13:16:01 -05:00
Alex Gleason
d99e266008
Add usePublicStream hook 2023-07-22 13:09:45 -05:00
Alex Gleason
3cef200a44
Add useCommunityStream hook, refresh socket when timelineId or path changes 2023-07-22 13:05:41 -05:00
Alex Gleason
77f0f4d377
Add Streaming hooks 2023-07-22 12:49:02 -05:00
Alex Gleason
40af1d91a4
suggest and verify by account IDs, simplify hooks 2023-07-21 12:59:31 -05:00
Alex Gleason
d0a97c8c52
Export admin API hooks from an index.ts 2023-07-21 12:49:54 -05:00
Alex Gleason
99e8f6912d
Add useVerify hook 2023-07-21 12:48:47 -05:00
Alex Gleason
31e5f860d9
Add useSuggest hook
https://gitlab.com/soapbox-pub/soapbox/-/issues/1483
2023-07-21 12:36:02 -05:00
Alex Gleason
fb848f1484
useAccount: memoize the account 2023-07-20 16:23:48 -05:00
Alex Gleason
0e58f2b505
useAccountLookup, useGroupLookup: make lookup case insensitive
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1460
2023-07-06 11:56:27 -05:00
Alex Gleason
39eb76bc18
Fix useGroupLookup test 2023-07-06 11:14:34 -05:00
Alex Gleason
6f83b7748e
Merge remote-tracking branch 'origin/develop' into redirect-unauth 2023-07-06 11:10:34 -05:00
da42586ca5 Update en.json
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-07-05 21:49:56 +02:00
a9db41de89 Use AvatarPicker/HeaderPicker on Edit Profile page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-07-05 21:39:50 +02:00
Alex Gleason
bcac58b9c3
Redirect to login when groups or accounts 403 2023-06-29 15:10:45 -05:00
Chewbacca
241ef58e88 Add account check 2023-06-29 10:49:37 -04:00
Chewbacca
cadff9b4ab Add test for 'usePendingGroups' 2023-06-29 10:40:15 -04:00
Chewbacca
6f2e0749b6 Refactor 'usePendingGroups' into new api hooks 2023-06-29 10:40:15 -04:00
Chewbacca
9e27cb06cb Ban User from status action bar 2023-06-27 09:24:29 -04:00
Chewbacca
e3fa58c0da Support Group mutes 2023-06-27 09:24:03 -04:00
Alex Gleason
a8792f9a02
StatusActionBar: use GroupRelationship from entity store 2023-06-26 12:12:34 -05:00
Alex Gleason
cb4477185c
Update usages of useGroupRelationships hook 2023-06-26 11:25:03 -05:00
Alex Gleason
242c6026d5
Make account hooks DRY with useAccountList 2023-06-26 11:22:02 -05:00
Alex Gleason
a375159444
useGroupRelationships: switch to useBatchedEntities 2023-06-26 11:05:03 -05:00
Alex Gleason
6f7bb54b19
Add useBlocks hook, switch over blocks and mutes to hooks 2023-06-25 17:48:19 -05:00
Alex Gleason
45493880cd
Export useFollowing hook 2023-06-25 16:22:47 -05:00
Alex Gleason
9c9c790a5f
Update followers/following pages 2023-06-25 16:21:27 -05:00
Alex Gleason
bfe6ab3c26
Fix useRelationships hook 2023-06-25 16:11:00 -05:00
Alex Gleason
989d99f908
Add useBatchedEntities hook for relationships 2023-06-25 15:57:38 -05:00
Alex Gleason
d4eaf1e27a
Make useOwnAccount return an object 2023-06-25 12:35:09 -05:00
Alex Gleason
072014e39e
Add useRelationship hook, disable fetching relationship for account by default 2023-06-25 12:01:34 -05:00
Alex Gleason
ec8177d578
Add useAccountLookup hook, fix useRelationships 2023-06-23 21:41:36 -05:00
Alex Gleason
9f53a81fa1
Add useTransaction hook 2023-06-23 14:12:12 -05:00
Alex Gleason
ab5c4a4233
Fix useRelationships getting called while logged out 2023-06-23 11:30:10 -05:00
Alex Gleason
7bfde28b0c
useFollow: don't go below 0 2023-06-22 23:47:46 -05:00
Alex Gleason
75dbeb65b6
Remove account_counters reducer and legacy follow actions 2023-06-22 23:38:50 -05:00
Alex Gleason
ad1718b5f9
Add useFollow, useChangeEntity hooks 2023-06-22 23:17:40 -05:00
Alex Gleason
e01ee84ee9
ProfileHoverCard: use useAccount hook, add usePatronUser hook 2023-06-21 16:20:07 -05:00
Chewbacca
53988e2581 Prevent lookup if not enabled 2023-06-02 10:28:10 -04:00
Alex Gleason
0acbbc3445 Merge branch 'group-fixes' into 'develop'
Various Group fixes & improvements

See merge request soapbox-pub/soapbox!2510
2023-05-12 21:43:04 +00:00
Chewbacca
a6519c5685 Merge branch 'group-hooks-tests' into 'develop'
Add tests for Group API hooks

See merge request soapbox-pub/soapbox!2508
2023-05-12 21:02:11 +00:00
Chewbacca
90f7c71256 Hide Group context in Compose button if not Group member 2023-05-11 14:41:31 -04:00