Commit graph

52 commits

Author SHA1 Message Date
Alex Gleason
90664dd5c6
Remove legacy accounts reducer 2023-07-20 15:03:23 -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
Chewbacca
8d05747537 Fix test 2023-05-11 08:30:13 -04:00
Chewbacca
afec0edc1c Add tests for Group API hooks 2023-05-08 13:29:11 -04:00
Alex Gleason
c5c2378542 Merge branch 'zod-notification' into 'develop'
zod: Notification, Attachment, ChatMessage, Status

See merge request soapbox-pub/soapbox!2500
2023-05-08 15:49:08 +00:00
Chewbacca
390855b6d9 Merge branch 'allow-owner-status-deletion' into 'develop'
Add ability for owners to delete statuses from Group

See merge request soapbox-pub/soapbox!2490
2023-05-05 17:15:08 +00:00
Alex Gleason
9a64375681
useGroupMedia: don't use statusSchema directly yet so we can change it 2023-05-04 11:51:50 -05:00
Chewbacca
ebaff75e38 Improve Group UX 2023-05-03 14:03:13 -04:00
Chewbacca
4bc92f3c27 Add ability for owners to delete statuses from Group 2023-05-03 08:31:43 -04:00
Chewbacca
238c30acf8 Split out hooks from 'useGroups' 2023-05-02 13:48:55 -04:00
Chewbacca
e0af6c4b2e Move Group hooks to api folder 2023-05-02 13:26:30 -04:00
Chewbacca
82da9ceeeb Fix mock in tests 2023-03-13 10:07:23 -04:00
Alex Gleason
c492af7042
Merge remote-tracking branch 'origin/develop' into entity-store 2023-03-09 10:43:58 -06:00
03349abc37 Merge remote-tracking branch 'soapbox/develop' into cleanup 2022-12-31 19:52:03 +01:00
Chewbacca
4ea1562185 Fix 'req not defined' error 2022-12-29 09:51:48 -05:00
4b3f03353d WIP TypeScript convertions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-26 00:31:07 +01:00
Alex Gleason
f7bfc40b70
EntityStore: proper pagination support 2022-12-04 17:53:56 -06:00
Chewbacca
72c26bc9bc Merge remote-tracking branch 'origin/develop' into chats 2022-11-17 10:58:34 -05:00