Commit graph

839 commits

Author SHA1 Message Date
Alex Gleason
b530d933a3
Merge remote-tracking branch 'origin/develop' into markup-css 2022-11-20 15:00:58 -06:00
Alex Gleason
8061c8d782
Revert "Merge branch 'mouseup' into 'develop'"
This reverts commit 39b4ee9f09, reversing
changes made to a0597a6445.
2022-11-20 12:27:45 -06:00
Alex Gleason
7e32f0d992
Add <Markup> component to style markup from the API 2022-11-19 18:15:17 -06:00
Alex Gleason
0cea66dcef
ProfileDropdown: allow clicking accounts again 2022-11-19 15:10:23 -06:00
Alex Gleason
ba8cab0513
Sensitive video refactor
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1190
2022-11-18 18:34:27 -06:00
Alex Gleason
cac650cded Merge branch 'cz-language' into 'develop'
improved Czech language localization + changed a few hard-coded strings to localized ones

See merge request soapbox-pub/soapbox!1915
2022-11-18 23:32:26 +00:00
Michal Dvorak
020b2d7319 improved Czech language localization + changed a few hard-coded strings to localized ones 2022-11-17 19:55:40 +01:00
Chewbacca
72c26bc9bc Merge remote-tracking branch 'origin/develop' into chats 2022-11-17 10:58:34 -05:00
2b8bad3cb0 Remove unused styles, also fix #1180
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-17 16:10:18 +01:00
Chewbacca
c2cedaf02c Remove 'donations.scss' 2022-11-16 12:50:38 -05:00
Chewbacca
a559ed72c9 Move Accordion into Component UI 2022-11-16 12:30:24 -05:00
Chewbacca
53feace383 Remove 'accordian.scss' 2022-11-16 12:25:47 -05:00
Chewbacca
41a08c613b Organize modals into modals/ subfolder 2022-11-16 09:34:16 -05:00
Chewbacca
774b627397 Rename files (14): cleanup misc v2 2022-11-16 08:35:35 -05:00
Chewbacca
637d78db01 Rename files (11): utils 2022-11-16 08:34:55 -05:00
Chewbacca
d99339ee6c Rename files (9): reducers 2022-11-16 08:34:50 -05:00
Chewbacca
24e7873bce Rename files (6): _ -> - 2022-11-15 14:00:40 -05:00
Chewbacca
d4f5fd4d88 Rename files (5): _ -> - 2022-11-15 12:23:36 -05:00
Chewbacca
717e61a6e0 Rename files (4): _ -> - 2022-11-15 11:13:54 -05:00
Chewbacca
a0d960dd21 Rename files (2): _ -> - 2022-11-15 11:00:49 -05:00
Chewbacca
c95423c7e7 Rename files (1): _ -> - 2022-11-15 09:11:30 -05:00
Chewbacca
e78242806f Rename files (0): _ -> - 2022-11-15 09:10:14 -05:00
Chewbacca
d5fc6fe252 Merge remote-tracking branch 'origin/develop' into chats 2022-11-14 10:14:45 -05:00
6b5e802bd0 Add 'create event' button to profile dropdown for now
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-12 23:30:46 +01:00
3c1b9c6154 lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-12 16:52:06 +01:00
7b2193d753 Merge remote-tracking branch 'soapbox/develop' into events-
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-12 16:48:27 +01:00
c76639c42e JS -> TS, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-12 15:18:24 +01:00
f2c5e138f3 Do not define translatable messages inline
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-12 00:07:02 +01:00
Chewbacca
d12ca77502 Merge remote-tracking branch 'origin/develop' into chats 2022-11-11 06:58:20 -05:00
4c37afa34f Improve click handling
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-10 17:01:41 +01:00
Chewbacca
f6290be1e2 Merge remote-tracking branch 'origin/develop' into chats 2022-11-09 07:46:51 -05:00
Chewbacca
ee05f79497 Remove log 2022-11-07 15:42:55 -05:00
Chewbacca
acede4b519 Merge remote-tracking branch 'origin/develop' into chats 2022-11-07 08:17:11 -05:00
5658ee77a4 Ask for confirmation before revoking current session
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-05 16:55:23 +01:00
marcin mikołajczak
f11ba14093 Merge branch 'muting_with_duration' into 'develop'
Support mutes duration

See merge request soapbox-pub/soapbox!913
2022-11-04 16:29:08 +00:00
Chewbacca
53208bd670 Improve light-mode styling on Policy Modal and Read Receipts 2022-11-04 07:36:30 -04:00
Alex Gleason
dec89cb236
Remove unused .js files, remove groups 2022-11-03 15:52:25 -05:00
Chewbacca
bfcafecfe2 Merge remote-tracking branch 'origin/develop' into chats 2022-11-03 14:16:52 -04:00
Alex Gleason
9bbffb6957
Fix video not visible in modal 2022-11-02 19:55:39 -05:00
Alex Gleason
eeb8ca37a6
Merge remote-tracking branch 'origin/develop' into chats 2022-11-02 11:27:21 -05:00
Chewbacca
650387dc77 Add Policy Modal 2022-11-01 13:22:29 -04:00
Alex Gleason
e3352b89d8
Remove "show more" CW button, display SensitiveContentOverlay instead 2022-10-31 15:18:40 -05:00
Chewbacca
d9befff3f5 Update report text to be more clear 2022-10-31 15:55:04 -04:00
Chewbacca
1d04810c5a Update ToS link to accent blue 2022-10-31 15:53:24 -04:00
Chewbacca
da1d8c7e97 Merge remote-tracking branch 'origin/develop' into chats 2022-10-27 10:25:46 -04:00
3e0b6c38cd Merge remote-tracking branch 'soapbox/develop' into events-
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-25 18:46:29 +02:00
d7727b727f Make ActionsModal items full width, minor style improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-23 20:52:45 +02:00
Chewbacca
dc6ac50c70 Merge remote-tracking branch 'origin/develop' into chats 2022-10-19 10:41:32 -04:00
Alex Gleason
ed558ba5ca
MediaModal: fix clicking Audio causes modal to close 2022-10-18 19:23:01 -05:00
Alex Gleason
fa7a517a95
Pass status to MediaModal, handle status undefined 2022-10-18 19:10:16 -05:00
Chewbacca
1ab7591b36 Merge remote-tracking branch 'origin/develop' into chats 2022-10-17 08:34:24 -04:00
Alex Gleason
a156c399a9
VideoModal: pass visible=true 2022-10-14 16:45:10 -05:00
Chewbacca
65a8bf9aa1 Merge remote-tracking branch 'origin/develop' into chats 2022-10-14 14:27:53 -04:00
Chewbacca
140cfb6e3e Change date format globally to use 12-hr format 2022-10-14 11:38:37 -04:00
Chewbacca
e0fd99f2db Merge branch 'improve-trends' into 'develop'
Improve Trends Panel

See merge request soapbox-pub/soapbox!1831
2022-10-13 18:37:40 +00:00
Alex Gleason
965fd8e479
MediaModal: fix types for Audio 2022-10-13 13:01:30 -05:00
Chewbacca
92d3bf140c Improve Trends Panel in the sidebar 2022-10-13 12:35:11 -04:00
Alex Gleason
6c279cb6c3
media_modal --> media-modal 2022-10-12 17:16:55 -05:00
Alex Gleason
80ce70e33e
MediaModal: convert to TSX+FC 2022-10-12 17:16:37 -05:00
Alex Gleason
18b177d6c9
image_loader --> image-loader 2022-10-12 16:26:19 -05:00
Alex Gleason
cdd8df473e
Merge remote-tracking branch 'origin/develop' into media-modal-tsx 2022-10-12 16:26:06 -05:00
Alex Gleason
5885c454af
ImageLoader: convert to TSX 2022-10-12 16:23:16 -05:00
Alex Gleason
f42e8520b5
zoomable_image --> zoomable-image 2022-10-12 15:27:26 -05:00
Alex Gleason
e6b0d17699
ZoomableImage: refactor, clean up unused code 2022-10-12 15:26:34 -05:00
Alex Gleason
f95168b3e4
ZoomableImage: convert to TSX 2022-10-12 15:22:50 -05:00
b7c89e502c Merge remote-tracking branch 'soapbox/develop' into events- 2022-10-12 21:58:43 +02:00
Alex Gleason
21cba06d44
Delete focal point code 2022-10-12 13:24:36 -05:00
1343928406 Make CtaBanner and ThreadLoginCta optional
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-10 00:41:47 +02:00
814dcfe2cd Merge remote-tracking branch 'soapbox/develop' into events- 2022-10-06 00:01:39 +02:00
3c8c8048e5 Minor improvements, add actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-06 00:01:26 +02:00
Alex Gleason
cdb5b505ba
Merge remote-tracking branch 'origin/develop' into chats 2022-10-04 12:40:48 -05:00
ff0b1b28ca Convert ModalRoot to TSX+FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-01 15:38:08 +02:00
803dada3e0 Merge remote-tracking branch 'soapbox/develop' into events-
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-30 20:05:02 +02:00
Justin
7fde4a0c5c Small UI improvements to chat 2022-09-30 10:22:55 -04:00
Justin
0a8fa3e635 Add ability to report a Chat Message 2022-09-29 09:45:57 -04:00
2239221856 Don't display WhoToFollow panel if empty
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-29 00:06:37 +02:00
Justin
058d0cec0b Merge remote-tracking branch 'origin/develop' into chats 2022-09-27 15:43:30 -04:00
Chewbacca
89057abc7b Merge branch 'improve-people-to-follow' into 'develop'
Improve "People to Follow" widget

See merge request soapbox-pub/soapbox!1800
2022-09-27 19:27:24 +00:00
Justin
c40651150c Merge remote-tracking branch 'origin/develop' into chats 2022-09-27 10:41:20 -04:00
Justin
facd4e95f5 Add tests for new Who To Follow panel 2022-09-27 09:58:49 -04:00
Justin
1d69b66e4b Use React Query for suggestions 2022-09-26 15:22:00 -04:00
04b4a57e06 Manage event
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-25 23:18:11 +02:00
904e93bd8e Fix ReplyMentionsModal crash
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-22 22:00:32 +02:00
fe7333ddb0 Information page, improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-21 23:27:53 +02:00
Alex Gleason
d7243c0e91
Merge remote-tracking branch 'origin/develop' into chats 2022-09-19 13:01:40 -05:00
Alex Gleason
1e6993975c Merge branch 'delete-modal-fix' into 'develop'
Fix account deletion modal

See merge request soapbox-pub/soapbox!1794
2022-09-17 21:33:37 +00:00
640000c18e Merge remote-tracking branch 'soapbox/compose' into HEAD
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 20:42:30 +02:00
f6af663e09 Merge remote-tracking branch 'soapbox/develop' into HEAD
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 20:39:13 +02:00
Alex Gleason
06a0ca704c
Improve styles of ConfirmationModal, fix account deletion modal 2022-09-16 12:37:28 -05:00
Alex Gleason
2eb08aced9
Create OutlineBox component
Visual container for QuotedStatus and Accounts in some scenarios
2022-09-16 12:24:33 -05:00
cb3df8211c Merge remote-tracking branch 'soapbox/develop' into compose
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 15:40:29 +02:00
6cce0a0291 Introduce useCompose hook
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
2022-09-14 20:01:44 +02:00
Justin
45afb665b9 Add chat settings to chat main page 2022-09-13 14:11:22 -04:00
9822266561 do i really understand this?
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
2022-09-13 13:49:50 +02:00
Alex Gleason
1f0b4d01b5
Remove account.donor as a concept, use 'badge:donor' custom tag instead 2022-09-11 20:44:49 -05:00
Alex Gleason
2fc9b215a9
Display custom badges on profiles 2022-09-11 20:21:37 -05:00
Alex Gleason
2e811a1e88
Admin: allow setting custom badges on accounts 2022-09-11 20:04:41 -05:00
Alex Gleason
9610447a79
Fix permissioning of moderator modal 2022-09-11 14:46:01 -05:00
Alex Gleason
5d30a8772d
AccountModerationModal: allow deactivating and deleting accounts 2022-09-11 14:29:14 -05:00
Alex Gleason
a61cb2c7cd
AccountModerationModal: add account ID 2022-09-11 14:20:05 -05:00
Alex Gleason
c973b64781
AccountModerationModal: allow suggesting a user 2022-09-11 14:09:09 -05:00
Alex Gleason
84bbecb36e
AccountModerationModal: allow setting the user as a donor 2022-09-11 13:58:05 -05:00
Alex Gleason
a4a54a8164
AccountModerationModal: support account verification 2022-09-11 13:50:03 -05:00
Alex Gleason
a5e5df35a5
Move StaffRolePicker into its own component 2022-09-11 13:36:01 -05:00
Alex Gleason
276e7d6cfc
AccountModerationModal: move to subdirectory 2022-09-11 13:24:34 -05:00
Alex Gleason
6ecb715a71
AccountModerationModal: only show staff picker for local accounts 2022-09-11 13:23:11 -05:00
Alex Gleason
cfdace9454
AccountModerationModal: add staff role picker 2022-09-11 13:19:08 -05:00
Alex Gleason
d653c451b6
AccountModerationModal: add account preview 2022-09-11 12:33:33 -05:00
Alex Gleason
1e3a959c1c
AccountModerationModal: put AdminFE behind a feature flag 2022-09-11 11:48:37 -05:00
Alex Gleason
774894e127
AccountModerationModal: add "Open in AdminFE" button 2022-09-11 11:46:08 -05:00
Alex Gleason
3120cc8453
AccountModerationModal: boilerplate 2022-09-11 11:28:39 -05:00
a9b8371086 Allow multiple compose forms
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-10 23:52:06 +02:00
f7c09461fd Event pages?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-09 22:52:32 +02:00
Justin
6b38e37019 Merge remote-tracking branch 'origin/develop' into chats 2022-09-08 08:37:52 -04:00
3f4f820de7 Participation management
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-07 20:03:26 +02:00
df39036129 Merge remote-tracking branch 'soapbox/develop' into events-
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-05 15:07:31 +02:00
9d3206f229 Allow users to create events
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-04 23:36:13 +02:00
cd93399569 Update Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-03 17:15:21 +02:00
Alex Gleason
babac13493
Bundle: convert to TSX 2022-08-31 17:28:19 -05:00
Justin
ea5525d02c Refactor leave/report chat 2022-08-31 13:21:43 -04:00
03d6211e1c Replace classnames with clsx
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-31 11:35:06 +02:00
05d296f1ee Consistent behavior of compose modal close confirmation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-30 22:51:13 +02:00
Alex Gleason
0349a57f55 Merge branch 'embeds-improvements' into 'develop'
Embeds improvements

See merge request soapbox-pub/soapbox-fe!1752
2022-08-26 12:54:24 +00:00
Alex Gleason
3909c74c00
Add new CopyableInput component, use in EmbedModal 2022-08-25 21:21:03 -05:00
Justin
d4bcdd821c Lint 2022-08-25 09:19:09 -04:00
Justin
edce9d0876 Fetch relationships when opening favourites/reblogs modal 2022-08-25 09:16:47 -04:00
Justin
2fded6daa9 Improve dark mode 2022-08-24 09:28:56 -04:00
Alex Gleason
6ea4129cb7
EmbedModal: use Divider component 2022-08-23 10:40:39 -05:00
Alex Gleason
2e6b826c46
EmbedModal: improve dark mode styles 2022-08-22 12:12:18 -05:00
Alex Gleason
75b015d608
embed_modal.tsx --> embed-modal.tsx 2022-08-22 12:09:01 -05:00
Alex Gleason
393f6a9b60
EmbedModal: improve styling 2022-08-22 12:08:30 -05:00
Alex Gleason
cddf70f0ab
Fix status style regressions 2022-08-22 12:11:01 -04:00
Alex Gleason
6e5689e3a3
EmbedModal: allow-scripts 2022-08-21 15:08:05 -04:00
Alex Gleason
491c0e9152
EmbedModal: react-query, add useEmbed 2022-08-21 12:37:14 -04:00
Alex Gleason
0dd0742752
EmbedModal: abstract embed code to new SafeEmbed component 2022-08-21 12:22:06 -04:00
Alex Gleason
6f38b19b5b
Restore using embeds from the API 2022-08-21 11:21:25 -04:00
Alex Gleason
c4849ad38d
Merge remote-tracking branch 'origin/develop' into embedded-status 2022-08-21 11:20:19 -04:00
Alex Gleason
32b6c646cf Merge branch 'icon-button-themes' into 'develop'
IconButton: add themes

See merge request soapbox-pub/soapbox-fe!1729
2022-08-13 14:09:21 +00:00
Alex Gleason
5f8a22b452
Native status embeds from Soapbox 2022-08-12 12:58:35 -05:00
Alex Gleason
7615111eb0
IconButton: add themes 2022-08-12 10:42:26 -05:00
66216bd5b6 Use Array.includes instead of indexOf
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 13:47:32 +02:00
Justin
22294b8a6e Fix test 2022-08-10 14:45:58 -04:00
Justin
06d1ad2efe Remove sort 2022-08-10 11:33:23 -04:00
Justin
cbe9f47a59 Fix Trends Panel test 2022-08-10 10:31:09 -04:00
Justin
b2530dadd5 Convert trends to React Query 2022-08-10 09:35:07 -04:00
Justin
bec42a3633 Visual tweaks for new branding 2022-08-09 11:50:10 -04:00
2ea76f74cf fix test
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-05 00:38:00 +02:00
81af0e64f1 Use different confirmation modal/snackbar text for post editing
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-03 23:55:14 +02:00
Justin
20209c81ab Improve visuals with branding
Co-authored-by: Alex Gleason <alex@alexgleason.me>
2022-08-01 14:40:07 -04:00
ac83c9c18c Support mutes duration
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-31 11:57:31 +02:00