Wykres commitów

6713 Commity (develop)

Autor SHA1 Wiadomość Data
Chewbacca ad98bf45cc Add hook to delete Group 2023-03-22 11:20:03 -04:00
Alex Gleason 65070f6519
Add MyGroupsPanel, improve layout on various group pages 2023-03-21 16:34:15 -05:00
Alex Gleason ec72ac0db8
yarn i18n 2023-03-21 16:09:40 -05:00
Alex Gleason be32a0c1a0
Textarea: add a character counter 2023-03-21 15:39:08 -05:00
Alex Gleason 69d667d6c6
"Authorized" --> "Approved" 2023-03-21 11:56:48 -05:00
Alex Gleason f61e0d889a
"Blocked members" --> "Banned members" 2023-03-20 21:56:15 -05:00
Alex Gleason cc3585f319
Manage group: add headers 2023-03-20 21:52:44 -05:00
Alex Gleason f369a7c765
Use "danger" text for deleting account and group 2023-03-20 21:42:54 -05:00
Alex Gleason a8be701ea0
Fix PendingGroupsRow test 2023-03-20 21:31:07 -05:00
Alex Gleason 2196d9e3e5
yarn i18n 2023-03-20 21:23:10 -05:00
Alex Gleason fb8d543f7c
Redirect group statuses to a custom path 2023-03-20 20:57:49 -05:00
Alex Gleason b87af6a71c
AuthorizeRejectButtons: fix styles, make less fragile 2023-03-20 20:11:21 -05:00
Alex Gleason 3a12b316d9
GroupPage: add pending members counter 2023-03-20 20:02:58 -05:00
Alex Gleason 9ca384dcd7
Card: fix back button not having a rounded border 2023-03-20 19:37:46 -05:00
Alex Gleason 5774516ea0
Reorganize GroupMembershipRequests a little 2023-03-20 19:32:24 -05:00
Alex Gleason d4e9fddd02
Update usage of AuthorizeRejectButtons in group membership requests 2023-03-20 19:24:06 -05:00
Alex Gleason 7a06c7f92c
Use AuthorizeReject buttons for follow requests 2023-03-20 19:23:11 -05:00
Alex Gleason 28f5a88848
Use AuthorizeReject buttons for account approval 2023-03-20 19:22:55 -05:00
Alex Gleason 4de8926445
IAuthorizeRejectButtons: simplify component 2023-03-20 19:22:00 -05:00
Alex Gleason f9ab9a45c2
AuthorizeRejectButtons: improve style of result message 2023-03-20 18:49:41 -05:00
Alex Gleason fe64f9f84b
AuthorizeRejectButtons: improve button styles 2023-03-20 18:35:31 -05:00
Alex Gleason 7c7855e7a1
Groups: make authorize/reject use component state, update designs 2023-03-20 17:46:10 -05:00
Alex Gleason 1d9ed41fec
Add AuthorizeRejectButtons component 2023-03-20 17:45:52 -05:00
marcin mikołajczak 282afaa47f Merge branch 'use-groups-condition' into 'develop'
Do not make requests to api/v1/groups if feature not available

See merge request soapbox-pub/soapbox!2363
2023-03-20 21:57:35 +00:00
marcin mikołajczak 7329c0bf25 Do not make requests to api/v1/groups if fffeature not available
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-20 22:42:27 +01:00
Alex Gleason ca9a41f102
Use EntityStore for pending group requests 2023-03-20 16:41:12 -05:00
Chewbacca babaa979f5 Merge branch 'move-mutations-to-entities' into 'develop'
Move Group mutations to entities

See merge request soapbox-pub/soapbox!2368
2023-03-20 21:35:37 +00:00
Alex Gleason 143a9eda44
Use PendingItemsRow for pending members, pass a prop to control its size 2023-03-20 16:26:40 -05:00
Alex Gleason f6b28dd9c3
Abstract PendingItemsRow into its own component 2023-03-20 16:09:19 -05:00
Alex Gleason 3c06ba734b
Display pending counter in group member list 2023-03-20 16:03:41 -05:00
Alex Gleason d08178f5fc
Groups: use entity store for pending requests 2023-03-20 15:54:06 -05:00
Alex Gleason 28a69ad88b
Ensure group_visibility param is passed when creating group 2023-03-20 15:30:13 -05:00
Chewbacca e46a7e8f4a Merge branch 'promote-to-admin' into 'develop'
Move Promote/Demote admin into entity store

See merge request soapbox-pub/soapbox!2359
2023-03-20 20:08:51 +00:00
Chewbacca 8b478c939a Revert change 2023-03-20 16:08:29 -04:00
Alex Gleason 396f6ada1a Merge branch 'emoji-floating-ui' into 'develop'
Emoji floating ui

Closes #1390 and #1398

See merge request soapbox-pub/soapbox!2367
2023-03-20 20:03:41 +00:00
Chewbacca e42e0577f4 Move Group mutations to entities 2023-03-20 15:41:18 -04:00
Chewbacca 4a6433433f Update translations 2023-03-20 15:41:12 -04:00
Chewbacca 4985db7dea Update group roles to owner/admin/user 2023-03-20 15:41:12 -04:00
Chewbacca 89bdc9b4a1 Move Promote/Demote admin into entity store 2023-03-20 15:41:12 -04:00
Alex Gleason ea4f707413
Fix offset of chat reaction wrapper 2023-03-20 13:57:29 -05:00
Alex Gleason bc457b61d1 Merge branch 'edit-group' into 'develop'
Edit group

See merge request soapbox-pub/soapbox!2357
2023-03-20 18:41:52 +00:00
Alex Gleason f8b20858a3
Chats: fix crash in emoji autosuggest 2023-03-19 19:59:46 -05:00
Alex Gleason 67ffe9609f
ChatTextarea: pass ref to child
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1390
2023-03-19 18:03:44 -05:00
Alex Gleason 47561e5c01
Enable custom emoji reacts on custom Pleroma forks 2023-03-19 17:53:14 -05:00
Alex Gleason 5c7c0ea1dd
EmojiSelector: switch to floating-ui 2023-03-19 17:52:45 -05:00
Alex Gleason 2b75dcacd2
EmojiPickerDropdownContainer: switch to floating-ui 2023-03-19 17:24:39 -05:00
Alex Gleason 813fd7f8ee
Delete proprietary groups image 2023-03-19 15:39:58 -05:00
marcin mikołajczak 9c80a50b95 Merge branch 'pending-status-gap' into 'develop'
Add missing gap to PendingStatus

See merge request soapbox-pub/soapbox!2361
2023-03-19 19:50:27 +00:00
marcin mikołajczak 049554db84 Add missing gap to PendingStatus
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-19 20:23:36 +01:00
marcin mikołajczak 38c99dbc48 Add tests from custom reacts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-19 19:22:05 +01:00
marcin mikołajczak 09a0a36935 Update tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-18 13:27:27 +01:00
marcin mikołajczak 179eb7fc99 Fix preview in reactions modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-18 11:55:00 +01:00
marcin mikołajczak 8b81838f2f Support custom emoji reacts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-18 00:07:18 +01:00
Alex Gleason c0a22205f7
Fix GroupActionButton test 2023-03-17 16:14:23 -05:00
Alex Gleason e6621a802b
Make popular and suggested groups share the Group store 2023-03-16 13:18:36 -05:00
Alex Gleason 181bf23c34
Importer: use EntityStore enums 2023-03-16 13:15:00 -05:00
Alex Gleason c51870af6e
Update some more groups stuff to use entities 2023-03-15 19:26:37 -05:00
Alex Gleason 1518e88904
Retrofit old Group actions to EntityStore 2023-03-15 18:37:50 -05:00
Alex Gleason 5871abd786
Make "Manage Group" use the EntityStore 2023-03-15 17:59:37 -05:00
Alex Gleason 7fffe59fb9
Allow "owner" permissions on group pages 2023-03-15 17:26:07 -05:00
Alex Gleason 1ab9b1d75c
EntityStore: optimistic deletion 2023-03-15 16:52:09 -05:00
Chewbacca 709edaefad Merge branch 'block-group-members' into 'develop'
Use Entity Hooks for Blocking Group members

See merge request soapbox-pub/soapbox!2353
2023-03-15 20:42:40 +00:00
Alex Gleason a83cfe7ddd Merge branch 'entity-actions-delete' into 'develop'
useEntityActions: ensure the delete gets dispatched

See merge request soapbox-pub/soapbox!2354
2023-03-15 20:08:51 +00:00
Chewbacca 0fe48840e1 Merge branch 'popovers' into 'develop'
Add Popovers component

See merge request soapbox-pub/soapbox!2352
2023-03-15 20:06:50 +00:00
Alex Gleason 74ebd560e6
Revert useEntity array changes, do that in the schema parser 2023-03-15 14:19:13 -05:00
Alex Gleason 602a670b2e
useEntityActions: ensure the delete gets dispatched 2023-03-15 14:04:29 -05:00
Chewbacca 6b30671875 Add Account entity and improve Block/Ban support for Groups 2023-03-15 14:55:43 -04:00
Chewbacca a99a7b2af5 Improve focus design for Danger buttons 2023-03-15 14:55:43 -04:00
Chewbacca 9dde71716f Improve DropdownMenu API 2023-03-15 14:55:43 -04:00
Chewbacca 20ccd26a6e Update Entity Store with bug fixes 2023-03-15 14:55:43 -04:00
Chewbacca 283935e837 Add popover component 2023-03-15 14:55:26 -04:00
gallegonovato bbda49a31c
Translated using Weblate (Spanish)
Currently translated at 100.0% (1520 of 1520 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/es/
2023-03-15 19:55:03 +01:00
Poesty Li 471f275dcb
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1520 of 1520 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-03-15 19:55:03 +01:00
Hosted Weblate c5a548fa83
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-03-15 19:55:03 +01:00
Poesty Li e28e12cd60
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1520 of 1520 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-03-15 19:55:03 +01:00
gallegonovato c9bd4291bb
Translated using Weblate (Spanish)
Currently translated at 100.0% (1520 of 1520 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/es/
2023-03-15 19:55:03 +01:00
Chewbacca af69c7564e Merge branch 'group-avatar-ring' into 'develop'
Add GroupAvatar component

See merge request soapbox-pub/soapbox!2349
2023-03-15 18:54:47 +00:00
Alex Gleason 463dcd2c1e
Merge remote-tracking branch 'origin/develop' into create-group-hook 2023-03-14 14:56:46 -05:00
Alex Gleason ac76af41b2
Add preliminary useEntityActions hook 2023-03-14 14:24:11 -05:00
Chewbacca c8a4d63fc8 Add GroupAvatar component 2023-03-14 15:17:05 -04:00
Chewbacca 7070630eaf useVersion -> useBackend 2023-03-14 15:16:01 -04:00
Chewbacca 821b90c372 Add pages for Popular / Suggested Groups 2023-03-14 15:16:01 -04:00
Chewbacca 1b542c3ed7 Use Entities enum 2023-03-14 15:16:01 -04:00
Chewbacca f4d2f42c01 Use new schema arg 2023-03-14 15:16:01 -04:00
Chewbacca 7be8218f0c Convert popular/suggested Groups to use Entities 2023-03-14 15:16:01 -04:00
Alex Gleason 50dadeb1b8 useEntities: support multiple list keys 2023-03-14 15:16:01 -04:00
Chewbacca 99b7a1bdd7 Fix i18n 2023-03-14 15:16:01 -04:00
Chewbacca 1d53f48904 Fix parser 2023-03-14 15:16:01 -04:00
Chewbacca 9d1c2df1a2 Use ZOD for group-members 2023-03-14 15:16:00 -04:00
Chewbacca 08f97a133e Update blankslate for Group Timeline 2023-03-14 15:15:26 -04:00
Chewbacca 8a36561ec8 Use entities with Group Members 2023-03-14 15:15:26 -04:00
Alex Gleason 11d06e6b6e useEntities: support multiple list keys 2023-03-14 15:15:26 -04:00
Alex Gleason 8f8807eb76
EntityStore: allow deleting entities 2023-03-14 14:14:48 -05:00
Chewbacca 3ca168dc8c Fix exporting of types 2023-03-14 13:10:00 -04:00
Alex Gleason 6ac57910bf Merge branch 'groupschema-tests' into 'develop'
Add group factory functions for tests, add a groupSchema test

See merge request soapbox-pub/soapbox!2344
2023-03-14 14:16:05 +00:00
Chewbacca e173418041 Merge branch 'update-group-comps' into 'develop'
Update Group component with Join buttons

See merge request soapbox-pub/soapbox!2330
2023-03-14 14:13:46 +00:00
Chewbacca 39d61eabda Merge branch 'entity-store-refactoring' into 'develop'
Entity store refactoring (improve performance, etc)

See merge request soapbox-pub/soapbox!2346
2023-03-14 14:12:14 +00:00
Alex Gleason 9df2bb4a86
EntityStore: add tests for reducer, improve types, ensure error gets added to state 2023-03-13 18:42:46 -05:00
Alex Gleason b93a299009
useEntities(): refactor into smaller performant selectors and hooks 2023-03-13 17:53:54 -05:00
Alex Gleason 8547aeb517
Add useGetState hook 2023-03-13 17:45:35 -05:00
marcin mikołajczak 8c6ce74c46 Merge branch 'fix-locale-parser' into 'develop'
Fix locale parser

Closes #1393

See merge request soapbox-pub/soapbox!2343
2023-03-13 22:27:22 +00:00
Alex Gleason a19b1e83a9
EntityStore: parse entities after fetch, not during render (performance) 2023-03-13 16:39:23 -05:00
Alex Gleason e9ae8d2c45
Fix filteredArray logic 2023-03-13 16:37:40 -05:00
Alex Gleason d0ceac9987
Pass zodSchema directly to entity hooks for safeParse validation 2023-03-13 16:23:11 -05:00
Alex Gleason d12078a687
Use group factory functions in tests instead of normalizers 2023-03-13 14:55:59 -05:00
marcin mikołajczak 61ece4d271 Merge remote-tracking branch 'takver/fix-locale-parser' into fix-locale-parser
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-13 20:44:09 +01:00
Chewbacca bced3d6632 Merge branch 'pending-groups' into 'develop'
Add support for pending Group Requests

See merge request soapbox-pub/soapbox!2327
2023-03-13 19:20:16 +00:00
Chewbacca 879ac883aa Merge branch 'my-groups-blankslate' into 'develop'
Update blankslate to allow Group Creation

See merge request soapbox-pub/soapbox!2326
2023-03-13 19:10:14 +00:00
Alex Gleason d747e323c6
Add basic groupSchema test 2023-03-13 14:03:50 -05:00
Alex Gleason c3728dbddd Merge branch 'weblate-soapbox-pub-soapbox' into 'develop'
Translations update from Hosted Weblate

See merge request soapbox-pub/soapbox!2336
2023-03-13 18:29:09 +00:00
Alex Gleason 1922e889f7 Merge branch 'create-group' into 'develop'
Create group

See merge request soapbox-pub/soapbox!2325
2023-03-13 18:28:43 +00:00
Chewbacca 58527b0656 Update Group component with Join buttons 2023-03-13 14:27:35 -04:00
Chewbacca 737c43d847 Fix i18n 2023-03-13 14:27:21 -04:00
Chewbacca f21f72461a Add support for pending Group Requests 2023-03-13 14:27:21 -04:00
Chewbacca 83532aedba Update blankslate to allow Group Creation 2023-03-13 14:27:21 -04:00
Chewbacca cced90a780 Update blankslate to allow Group Creation 2023-03-13 14:26:42 -04:00
Poesty Li 466cf91b31
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1508 of 1508 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-03-13 19:08:29 +01:00
Hosted Weblate c3dd9515bf
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-03-13 19:08:29 +01:00
Poesty Li bd7710677f
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1502 of 1502 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-03-13 19:08:28 +01:00
gallegonovato 8baecde992
Translated using Weblate (Spanish)
Currently translated at 100.0% (1502 of 1502 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/es/
2023-03-13 19:08:28 +01:00
Hosted Weblate 43a204db50
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-03-13 19:08:28 +01:00
Alex Gleason 607e6b1808
groupsSchema: refine --> transform 2023-03-13 12:05:56 -05:00
Chewbacca a9b79f72b4 Revert "Fix useGroupsPath test"
This reverts commit 487604b15a.
2023-03-13 13:02:41 -04:00
Chewbacca a0c67c9b6f Fix Zod parsing error 2023-03-13 13:02:37 -04:00
Alex Gleason 487604b15a
Fix useGroupsPath test 2023-03-13 11:54:22 -05:00
Alex Gleason 5278c8eb0f
Merge remote-tracking branch 'origin/develop' into groups-zod 2023-03-13 11:05:21 -05:00
Chewbacca a71aaca719 Fix translations 2023-03-13 11:36:08 -04:00
Chewbacca bd4c99b697 Fix tests 2023-03-13 11:36:08 -04:00
Chewbacca 7ad2696f85 Move Join / Leave / Cancel group/request to mutations 2023-03-13 11:36:08 -04:00
Chewbacca 287fda6d6c Improve error handling for Groups Discover page 2023-03-13 11:36:08 -04:00
Chewbacca 82da9ceeeb Fix mock in tests 2023-03-13 10:07:23 -04:00
marcin mikołajczak ea6be269bb Fix: Long handles don't get truncated in Follow Requests menu
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-13 00:00:07 +01:00
Alex Gleason ccec7f43e5
DurationSelector: actually, don't even do weird date stuff at all, LOL 2023-03-10 15:07:25 -06:00
Alex Gleason bd49417210
Also, fix the variable names in DurationSelector 2023-03-10 15:04:44 -06:00
Alex Gleason 2b137c12cf
Comment out failing tests ¯\_(ツ)_/¯ 2023-03-10 15:00:53 -06:00
Alex Gleason de89a438cc
Make DurationSelector test work locally 2023-03-10 15:00:29 -06:00
Alex Gleason 1af67c3a25
members_count will never be null 2023-03-10 13:46:20 -06:00
Alex Gleason 6a2c64ae45
groupSchema: catch emojis 2023-03-10 13:41:47 -06:00
Alex Gleason 3d2331d20b
Make useGroups hooks use zod parser, update group types 2023-03-10 13:36:00 -06:00
Alex Gleason 5e8c92ed4d
groupSchema: refine --> transform, fix type of members_count 2023-03-10 13:13:54 -06:00
Alex Gleason 6be8d4d46e
Add groups schemas with zod 2023-03-10 12:42:49 -06:00
Alex Gleason a0c1bd84c9 Merge branch 'group-entities' into 'develop'
EntityStore: Groups

See merge request soapbox-pub/soapbox!2333
2023-03-10 17:22:55 +00:00
Alex Gleason cf541e83b3
Fix useGroupsPath test 2023-03-10 10:56:00 -06:00
marcin mikołajczak b1471be142 Merge branch 'filters-v2' into 'develop'
filters v2

See merge request soapbox-pub/soapbox!2321
2023-03-10 11:03:46 +00:00
marcin mikołajczak 51524118d4 Merge branch 'gallery-load-more' into 'develop'
Fix load more button height on account gallery page

See merge request soapbox-pub/soapbox!2318
2023-03-10 10:52:00 +00:00
Alex Gleason 00c00b31fc Merge branch 'compareDate' into 'develop'
Sort conversations by last status date rather than id

See merge request soapbox-pub/soapbox!2319
2023-03-10 01:45:18 +00:00
rurai10 29b75a29f0 Update file features.ts 2023-03-10 00:15:45 +00:00
Alex Gleason be9d922047
Actually, do put relationships in their own list. And fix parsers not doing the right thing. 2023-03-09 15:35:50 -06:00
Alex Gleason 14a84e557c
Update useGroups queries with EntityStore improvements 2023-03-09 15:05:54 -06:00
Alex Gleason fa2884c11b
EntityStore: fetch with useEntity automatically, accept refetch opt 2023-03-09 15:05:27 -06:00