Commit graph

7318 commits

Author SHA1 Message Date
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
Chewbacca
27f831dce9 Improve emoji search 2023-06-05 12:19:59 -04:00
Chewbacca
1a55d926cb Merge branch 'fix-nav-bug' into 'develop'
Fix navigation bug on Group profiles

See merge request soapbox-pub/soapbox!2547
2023-06-05 15:35:43 +00:00
Chewbacca
f1f6373cd7 Merge branch 'redirect' into 'develop'
Add redirect from statuses -> posts

See merge request soapbox-pub/soapbox!2546
2023-06-05 15:18:29 +00:00
Chewbacca
53a012d9bb Fix navigation bug on Group profiles 2023-06-05 11:11:57 -04:00
Chewbacca
f718ca6d90 Add redirect from statuses -> posts 2023-06-05 10:41:21 -04:00
Chewbacca
cae9d9158d Fix typo 2023-06-05 10:25:48 -04:00
Chewbacca
35d9348edd Support Group pins 2023-06-05 09:41:36 -04:00
Chewbacca
45e0726e59 Alphabetize messages 2023-06-05 09:41:36 -04:00
Chewbacca
d75920718f Fix group factory 2023-06-05 09:41:28 -04:00
Chewbacca
60875e5dc2 Add 'owner' to Group fixture 2023-06-05 09:41:28 -04:00
Chewbacca
6cd8e50493 Allow admins to delete Group statuses 2023-06-05 09:41:28 -04:00
marcin mikołajczak
73eedea362 Merge branch 'i18n' into 'develop'
Minor strings improvements

See merge request soapbox-pub/soapbox!2542
2023-06-04 19:04:34 +00:00
2f3311a352 Minor strings improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-06-04 20:21:22 +02:00
c80633fd9f Media modal: Restore navigationHidden functionality
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-06-03 20:55:04 +02:00
a2a1bab517 Dropdown menu improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-06-02 21:40:32 +02:00
Chewbacca
8fa9854016 Merge branch 'fix-useless-call' into 'develop'
Prevent lookup if not enabled

See merge request soapbox-pub/soapbox!2539
2023-06-02 14:56:56 +00:00
Chewbacca
170743d448 Fetch group relationship from notifications 2023-06-02 10:41:07 -04:00
Chewbacca
8de2619ad1 Merge branch 'dark-mode-fixes' into 'develop'
Dark mode improvements

See merge request soapbox-pub/soapbox!2537
2023-06-02 14:28:36 +00:00
Chewbacca
53988e2581 Prevent lookup if not enabled 2023-06-02 10:28:10 -04:00
Alex Gleason
0d8317145d
MediaModal: make clicking the background close the modal
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1434
2023-06-01 12:55:58 -05:00
Alex Gleason
87b279d8ee
MediaModal: hide fullscreen button on mobile 2023-06-01 11:49:36 -05:00
Chewbacca
92f824bb2d Fix dark border color on Tombstones 2023-06-01 12:47:51 -04:00
Chewbacca
e62f292aa8 Use dark-mode badges for Group members 2023-06-01 12:44:11 -04:00
Chewbacca
b45d1ea7fa Fix dark border color 2023-06-01 12:41:23 -04:00
marcin mikołajczak
27a5c533b5 Merge branch 'search-persist-fix' into 'develop'
Fix shouldPersistSearch for Pleroma flake ids

See merge request soapbox-pub/soapbox!2535
2023-06-01 06:47:46 +00:00
Alex Gleason
8731bcee3e
Thread: remove border-radius 2023-05-31 20:04:34 -05:00
Alex Gleason
aca4322526
MediaModal: support not having a status 2023-05-31 20:01:30 -05:00
99e262ab8a Fix shouldPersistSearch for Pleroma flake ids
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-05-31 20:34:08 +02:00
Chewbacca
a136deb13e Update i18n 2023-05-31 09:22:03 -04:00
Chewbacca
5ff9c1c6ec Fix tests 2023-05-31 08:54:54 -04:00
Chewbacca
866c80d30b Improve the MediaModal with ability to like, comment, reply, etc 2023-05-31 08:50:03 -04:00
Chewbacca
3c00820382 Add 0 to HStack spacing 2023-05-31 08:44:45 -04:00
Chewbacca
d8f698242a Add justify-between to Stack options 2023-05-31 08:44:45 -04:00
Chewbacca
602eaf1ec1 Use AppDispatch 2023-05-31 08:44:45 -04:00
Chewbacca
cbf4878f7f Add 'shift' middleware to DropdownMenu 2023-05-31 08:44:45 -04:00
2829a0097a Fix search expand when searching user' posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-05-31 10:45:33 +02:00
Chewbacca
02479efc35 Merge branch 'group-improvements' into 'develop'
Group improvements

See merge request soapbox-pub/soapbox!2525
2023-05-30 13:12:21 +00:00
Alex Gleason
d14cad38af
Fix soapbox config page crash 2023-05-28 14:53:23 -05:00
Alex Gleason
27ba796852
Remove greentext support
It uses Pleroma FE's vulnerable HTML parser
2023-05-28 14:45:22 -05:00
5f1bbfb194 Fix open media hotkey
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-05-27 01:12:20 +02:00
marcin mikołajczak
0a397c1cfe Merge branch 'mfa-form-page' into 'develop'
Proper spacing on MFA page

See merge request soapbox-pub/soapbox!2519
2023-05-23 16:57:45 +00:00
Chewbacca
c8ff9db879 Truncate group name in panels 2023-05-23 12:32:55 -04:00
Chewbacca
5c069b8b93 Make # members clickable to Group Members page 2023-05-23 12:32:44 -04:00
Alex Gleason
917b45bdc5 Merge branch 'status-schema' into 'develop'
Status schema improvements

See merge request soapbox-pub/soapbox!2521
2023-05-23 14:22:44 +00:00
Chewbacca
d18bc015f7 Merge branch 'add-group-context-to-reply-modal' into 'develop'
Add group context to reply modal

See merge request soapbox-pub/soapbox!2524
2023-05-23 14:08:22 +00:00
Chewbacca
092dee0592 Merge branch 'group-fixes' into 'develop'
Multiple Group improvements

See merge request soapbox-pub/soapbox!2523
2023-05-23 13:39:57 +00:00
Chewbacca
d564728117 Add Group context to reply modal 2023-05-23 09:39:37 -04:00
Chewbacca
5d1f168325 Enable groups 2023-05-23 09:39:17 -04:00
Chewbacca
cb6b688efe Normalize 'group_mention' notification into 'mention' 2023-05-23 08:57:36 -04:00
Alex Gleason
36bbef2293
Support quoted tombstone 2023-05-22 11:47:49 -05:00
Alex Gleason
6062a06746
Improve schemas for statuses 2023-05-22 10:30:22 -05:00
Alex Gleason
fa0bf8f5df
Improve statusSchema 2023-05-22 10:30:14 -05:00
Alex Gleason
752f06b925
actions: improve types 2023-05-22 10:30:03 -05:00
Alex Gleason
3341b46dda
statusSchema: add HTML fields 2023-05-22 10:29:54 -05:00
Alex Gleason
bf7c08d4d1
DetailedStatus: remove unused props 2023-05-22 10:29:52 -05:00
Chewbacca
e0056d4931 Reduce size of Ad icon 2023-05-22 09:49:00 -04:00
Chewbacca
bfdd3a3d50 Fix header copy 2023-05-22 09:47:31 -04:00
15186bada3 Proper spacing on MFA page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-05-21 23:53:44 +02:00
2605f72cb8 Change key for 'copy link to profile' message
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-05-21 23:33:28 +02:00
Alex Gleason
cdd0fd63b2 Merge branch 'nip07' into 'develop'
Implement NIP-07

See merge request soapbox-pub/soapbox!2513
2023-05-21 02:34:42 +00:00
Alex Gleason
f318c35544
Simplify event signing 2023-05-20 21:15:53 -05:00
marcin mikołajczak
73ec6a92bb Merge branch 'search-hotkey' into 'develop'
Add `/` as a hotkey for search

See merge request soapbox-pub/soapbox!2517
2023-05-20 05:36:28 +00:00
NEETzsche
2709153c20 api/pleroma/admin --> api/v1/pleroma/admin 2023-05-19 16:18:26 -07:00
7efc5e2fbd Add '/' as a hotkey for search
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-05-20 00:22:10 +02:00
oakes
98f5450a9e Add missing import 2023-05-18 12:53:32 -04:00
oakes
f4da2006ef Pass baseURL when revoking oauth token 2023-05-18 12:39:59 -04:00
9c5acc09f0 Slightly reorder account header menu items, add 'Copy link to profile'
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-05-14 22:35:53 +02:00
Alex Gleason
e5837ebefb
nip07: catch signEvent error 2023-05-13 21:25:59 -05:00
Alex Gleason
85f526d1d4
Sign Nostr event with ditto 2023-05-13 21:07:36 -05:00
Alex Gleason
a5c616312f
Merge remote-tracking branch 'origin/develop' into nostr-ws 2023-05-13 19:27:52 -05:00
Alex Gleason
829d207cea
Fix type 2023-05-12 21:46:36 -05:00
Alex Gleason
275d456693
Fix groups test 2023-05-12 20:50:39 -05: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
cfaa3ea669 Invalidate group tags after updating Group 2023-05-12 12:50:32 -04:00
Chewbacca
682a86049e Linkify urls inside Group note 2023-05-12 11:51:44 -04:00
Chewbacca
f27933965f Allow non-owners to see pinned tags 2023-05-12 11:51:00 -04:00
41e969616d Forgot to commit some files
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-05-11 22:10:58 +02:00
Chewbacca
d2eca144fa Make sure GroupLinkPreview covers entire header 2023-05-11 15:13:36 -04:00
Chewbacca
e84a4a6c45 Fix full-width of Group Header 2023-05-11 15:13:07 -04:00
Chewbacca
2c59933cd0 Handle API errors when failing to join group 2023-05-11 15:00:28 -04:00
Chewbacca
90f7c71256 Hide Group context in Compose button if not Group member 2023-05-11 14:41:31 -04:00
Chewbacca
93c67c863a Format tag input with # 2023-05-11 14:28:44 -04:00
Chewbacca
6ab41eb899 Add ability to share Group 2023-05-11 14:20:33 -04:00
da6be7ba4c Merge remote-tracking branch 'soapbox/develop' into follow-hashtags 2023-05-11 19:31:25 +02:00
Chewbacca
8d05747537 Fix test 2023-05-11 08:30:13 -04:00
Chewbacca
4a2b7faa59 Support soft-deleted statuses via tombstones 2023-05-09 15:16:13 -04:00
Chewbacca
afec0edc1c Add tests for Group API hooks 2023-05-08 13:29:11 -04:00
Chewbacca
e9fee8aad3 Merge branch 'search-ux' into 'develop'
Remove search term after navigating away from Search page

See merge request soapbox-pub/soapbox!2498
2023-05-08 16:11:15 +00:00
Chewbacca
da10423020 Merge branch 'login-ux' into 'develop'
Prevent focus on 'Trouble logging in?' link

See merge request soapbox-pub/soapbox!2505
2023-05-08 16:11:03 +00:00
Alex Gleason
f4c7ab5dd6 Merge branch 'thread-line' into 'develop'
Thread fixes

See merge request soapbox-pub/soapbox!2507
2023-05-08 16:09:16 +00: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
Alex Gleason
f47b5f0a20
Thread: fix display of initial loading indicator 2023-05-08 10:44:07 -05:00
Alex Gleason
f290ca85e3
Thread: scroll up a little more on focus so the thread connector is visible 2023-05-08 10:39:25 -05:00
Alex Gleason
0f65c7bd7e
Auth: fix otherAccounts throwing a fullscreen error in local dev 2023-05-08 10:35:12 -05:00
Alex Gleason
185ef4e3c6
StatusReplyMentions: enforce a 200px max width 2023-05-06 22:55:36 -05:00
marcin mikołajczak
5e16d0875e Merge branch 'birthday-panel' into 'develop'
Hide relationship in BirthdayPanel

See merge request soapbox-pub/soapbox!2501
2023-05-06 06:29:41 +00:00
Chewbacca
a491c6acb8 Prevent focus on 'Trouble logging in?' link 2023-05-05 15:15:59 -04:00
Chewbacca
a35d95e9e3 Merge branch 'group-tests' into 'develop'
Group tests

See merge request soapbox-pub/soapbox!2502
2023-05-05 17:16:01 +00:00
Chewbacca
670b3cff02 Merge branch 'remove-groups-search' into 'develop'
Remove group search inside global search

See merge request soapbox-pub/soapbox!2499
2023-05-05 17:15:27 +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
7a0ce1aab4 Sound better now! 2023-05-05 16:26:58 +00:00
Ahmad Dakhlallah
06d8370fe6 Enhance RTL detection by ignoring links in post 2023-05-05 17:51:33 +03:00
Chewbacca
de3ff58f95 Merge branch 'group-improvements' into 'develop'
Improve Group UX

See merge request soapbox-pub/soapbox!2494
2023-05-05 13:13:37 +00:00
Chewbacca
2e7e6b3df6 I18n 2023-05-05 08:44:23 -04:00