Commit graph

7323 commits

Author SHA1 Message Date
Alex Gleason
64df93f5a0
Fix status test 2023-06-26 12:41:42 -05:00
Alex Gleason
a8792f9a02
StatusActionBar: use GroupRelationship from entity store 2023-06-26 12:12:34 -05:00
Alex Gleason
e07412f872
Remove getIn calls in status and status-action-bar components 2023-06-26 11:59:01 -05:00
Alex Gleason
98cfb6fae5
Don't let status.group be a string 2023-06-26 11:50:53 -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
df4975c688
Remove unused makeGetGroup 2023-06-26 11:09:44 -05:00
Alex Gleason
a375159444
useGroupRelationships: switch to useBatchedEntities 2023-06-26 11:05:03 -05:00
Tassoman
a7e85650bf
Translated using Weblate (Italian)
Currently translated at 99.6% (1574 of 1580 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/it/
2023-06-26 06:25:19 +02:00
abidin toumi
0e95e124cc
Translated using Weblate (Arabic)
Currently translated at 99.8% (1577 of 1580 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-06-26 06:25:19 +02:00
marcin mikołajczak
ce32608de4
Translated using Weblate (Polish)
Currently translated at 95.5% (1510 of 1580 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/pl/
2023-06-26 06:25:19 +02:00
jonnysemon
4b2e74905d
Translated using Weblate (Arabic)
Currently translated at 99.5% (1573 of 1580 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-06-26 06:25:19 +02:00
Poesty Li
f332111a28
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1580 of 1580 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-06-26 06:25:18 +02:00
Poesty Li
28907ca9b8
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1577 of 1577 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-06-26 06:25:18 +02:00
marcin mikołajczak
d16a56420e
Translated using Weblate (Polish)
Currently translated at 95.9% (1513 of 1577 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/pl/
2023-06-26 06:25:18 +02:00
Milo Ivir
0caa92f022
Translated using Weblate (Croatian)
Currently translated at 83.8% (1320 of 1575 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/hr/
2023-06-26 06:25:18 +02:00
Poesty Li
6e71a3e7aa
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1575 of 1575 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-06-26 06:25:18 +02:00
marcin mikołajczak
fcfb87ec4c
Translated using Weblate (Polish)
Currently translated at 85.2% (1340 of 1572 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/pl/
2023-06-26 06:25:18 +02:00
Poesty Li
53f062a90e
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1572 of 1572 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-06-26 06:25:18 +02:00
Ahmad Dakhlallah
a9882a2daf
Translated using Weblate (Arabic)
Currently translated at 99.4% (1561 of 1570 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-06-26 06:25:18 +02:00
Poesty Li
534f6c51bb
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1570 of 1570 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-06-26 06:25:18 +02:00
Hosted Weblate
3f0ae45f8d
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/
2023-06-26 06:25:18 +02:00
Hosted Weblate
ddc98fe804
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/
2023-06-26 06:25:18 +02:00
jonnysemon
e1f9832c44
Translated using Weblate (Arabic)
Currently translated at 96.5% (1522 of 1576 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-06-26 06:25:18 +02:00
Alex Gleason
4f7512c782 Merge branch 'change-entity' into 'develop'
Add changeEntity hook, useFollow, remove accounts_counters reducer

See merge request soapbox-pub/soapbox!2568
2023-06-26 00:55:29 +00:00
oakes
03d5be2c5a Add pagination to reblogged_by dialog 2023-06-25 18:50:01 -04:00
Alex Gleason
6f7bb54b19
Add useBlocks hook, switch over blocks and mutes to hooks 2023-06-25 17:48:19 -05:00
oakes
500ac3eefe Add pagination to favourited_by dialog 2023-06-25 18:44:20 -04:00
Alex Gleason
468f763299
Favourites small refactoring 2023-06-25 17:27:02 -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
a5e213eca0
Restore Patron reducer for now 2023-06-25 12:37:37 -05:00
Alex Gleason
d4eaf1e27a
Make useOwnAccount return an object 2023-06-25 12:35:09 -05:00
Alex Gleason
a8459ced75
Remove Patron reducer 2023-06-25 12:27:26 -05:00
Alex Gleason
f46374fdac
Simplify makeGetAccount further 2023-06-25 12:26:48 -05:00
Alex Gleason
8955a56c27
Delete findAccountByUsername selector 2023-06-25 12:24:21 -05:00
Alex Gleason
5320f04e6e
Fetch relationship from profile page 2023-06-25 12:04:30 -05:00
Alex Gleason
072014e39e
Add useRelationship hook, disable fetching relationship for account by default 2023-06-25 12:01:34 -05:00
oakes
b96828ad23 Fix scrollable list in modals 2023-06-24 18:47:16 -04:00
Alex Gleason
ec8177d578
Add useAccountLookup hook, fix useRelationships 2023-06-23 21:41:36 -05:00
29c20e6361 Add hideActions to moderation confirmation modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-06-23 23:11:50 +02:00
Alex Gleason
9f53a81fa1
Add useTransaction hook 2023-06-23 14:12:12 -05:00
Alex Gleason
2657c8f946
Simplify getAccountGallery selector, also fix getGroupGallery 2023-06-23 11:45:12 -05:00
Alex Gleason
1f653b1065
Gate Nostr signing to Ditto 2023-06-23 11:44:07 -05:00
Alex Gleason
448f5c6ab9
Fix media gallery being broken 2023-06-23 11:41:10 -05:00
Alex Gleason
65f8299c1f
EntityStore: change error type from any to unknown 2023-06-23 11:35:16 -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
88692b7020
Fix Patron badge in profile info panel 2023-06-21 17:13:29 -05:00
Alex Gleason
3a369f21fa
Switch to useAccount hook in more places 2023-06-21 16:51:08 -05:00
Alex Gleason
5f61a624c6
Remove legacy useAccount hook 2023-06-21 16:28:51 -05:00
Alex Gleason
69d8817b6d
SidebarMenu: useAccount hook 2023-06-21 16:25:35 -05:00
Alex Gleason
e01ee84ee9
ProfileHoverCard: use useAccount hook, add usePatronUser hook 2023-06-21 16:20:07 -05:00
Alex Gleason
25d3925b76 Merge branch 'zod-accounts' into 'develop'
Create legacy immutable adapter for accounts reducer

See merge request soapbox-pub/soapbox!2563
2023-06-21 16:39:14 +00:00
Alex Gleason
c2c94d0577
Fix crash on aliases page 2023-06-21 11:19:09 -05:00
Alex Gleason
4fc6640c2c
Skip broken tests 2023-06-20 21:44:07 -05:00
Alex Gleason
ced600657b
Fix auth test 2023-06-20 21:36:25 -05:00
Alex Gleason
256d7825ee
Fix timelines test 2023-06-20 21:17:57 -05:00
Alex Gleason
7e83039999
Improve reducer type 2023-06-20 21:09:49 -05:00
Alex Gleason
ade9fa007d Merge branch 'remove-follow-suggestion' into 'develop'
Fix follow suggestion removal

See merge request soapbox-pub/soapbox!2565
2023-06-21 00:56:14 +00:00
oakes
fdd20981e3 Fix field name so follow suggestion is successfully removed 2023-06-20 20:25:15 -04:00
Alex Gleason
c4ad5e5d78
Fix tests that set the store wrong 2023-06-20 17:48:57 -05:00
Alex Gleason
e7217c5c58
Fix reducer in a way that works in tests 2023-06-20 17:33:20 -05:00
Alex Gleason
eb0c499d91
factory: generate account on status if not provided 2023-06-20 16:57:40 -05:00
Alex Gleason
3000f94325
Fix account relationships 2023-06-20 16:02:43 -05:00
Alex Gleason
4258d4b27f
Fix reducer and selector, import accounts into entity store 2023-06-20 15:24:35 -05:00
Alex Gleason
412fe84d13
FIX THE TYPE ERRORS 2023-06-20 14:24:39 -05:00
Alex Gleason
011f2eb298
Merge remote-tracking branch 'origin/develop' into zod-accounts 2023-06-19 20:10:25 -05:00
Alex Gleason
2796726cad
utils: pick only needed fields 2023-06-19 16:49:42 -05:00
Alex Gleason
89c9e32b59
Move legacy functions into separate utils file 2023-06-19 16:02:51 -05:00
Alex Gleason
e789b44792
Improve legacy store types 2023-06-19 13:09:51 -05:00
Alex Gleason
8a4239d153
utils/accounts: pick only needed fields from type 2023-06-19 12:10:29 -05:00
Alex Gleason
060a9b559d
Make accounts reducer an alias to entity store with immutableish methods 2023-06-19 12:07:58 -05:00
Alex Gleason
0cebcc05a5
Use any keys, fixes most errors! 2023-06-19 10:58:07 -05:00
Chewbacca
d5b3853afc Merge branch 'add-suggested-groups-to-search' into 'develop'
Add Suggested Groups panel to Search page

See merge request soapbox-pub/soapbox!2560
2023-06-19 12:17:34 +00:00
Chewbacca
5c41209a67 Merge branch 'fetch-group-data-timeline' into 'develop'
Fetch group relationships from timeline

See merge request soapbox-pub/soapbox!2549
2023-06-19 12:02:40 +00:00
Chewbacca
203b1222f5 Merge branch 'load-group-data' into 'develop'
Fetch group relationship from notifications

See merge request soapbox-pub/soapbox!2540
2023-06-19 12:02:31 +00:00
Alex Gleason
a54b6ee8a3
Create legacy immutable adapter for accounts reducer 2023-06-18 20:10:17 -05:00
Alex Gleason
138ded3904 Merge branch 'link-header' into 'develop'
Use Link header for pagination in more places

See merge request soapbox-pub/soapbox!2562
2023-06-17 12:58:59 +00:00
Chewbacca
ee76ec9bf4 Merge branch 'add-group-to-thumb-navigation' into 'develop'
Add Groups to Thumb Navigation

See merge request soapbox-pub/soapbox!2559
2023-06-16 12:51:26 +00:00
oakes
e1cacb6ee4 Optionally use Link header for pagination in various timelines 2023-06-15 21:40:32 -04:00
oakes
a985348bf1 Optionally use Link header for search pagination 2023-06-15 21:40:28 -04:00
Chewbacca
1d9130f7ac Add Suggested Groups panel to Search page 2023-06-14 08:11:39 -04:00
Chewbacca
e3f92eadac Add Groups to Thumb Navigation 2023-06-14 08:05:25 -04:00
Alex Gleason
60eaf01940
Add Resolve<T> utility type 2023-06-13 22:12:42 -05:00
Alex Gleason
db070150d9
Remove unnecessary as string 2023-06-13 20:59:38 -05:00
Alex Gleason
405dcef4a5
Merge remote-tracking branch 'origin/develop' into schema-improvements 2023-06-13 20:58:49 -05:00
Alex Gleason
0b439b79a1
Upgrade to TypeScript 5.1 2023-06-13 16:26:30 -05:00
Alex Gleason
263db3e1f0
Improve schemas for Account, EmojiReaction, Location, and Status 2023-06-13 14:33:19 -05:00
Chewbacca
ae75c9ac0d Merge branch 'group-admin-fix' into 'develop'
Allow admins to delete Group statuses

See merge request soapbox-pub/soapbox!2533
2023-06-12 12:05:59 +00:00
Alex Gleason
8d8e4f2ee8
Don't call verify_credentials twice when an account fails 2023-06-10 14:19:46 -05:00
Alex Gleason
a2846070c9
Move .invisible styles to Markup CSS 2023-06-07 11:35:41 -05:00
Chewbacca
c82ece5a19 Fetch group relationship from timeline 2023-06-06 09:19:11 -04:00
Chewbacca
c5ec755661 Remove log 2023-06-05 14:21:04 -04:00
Chewbacca
476ae0a68d Fix emoji search test 2023-06-05 13:17:48 -04:00
Chewbacca
1fed96e99e Sort the emojis 2023-06-05 12:39:32 -04:00