Commit graph

5964 commits

Author SHA1 Message Date
823cd3124e I don't think it makes sense to have SvgIcon and ForkAwesomeIcon in a single component anymore
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-10 00:11:39 +01:00
Alex Gleason
fd1c67753c
useDispatch --> useAppDispatch, fix types for react-redux v8 2023-01-09 16:13:12 -06:00
Alex Gleason
8a55f8416b
Remove 'history' dep 2023-01-09 15:43:41 -06:00
Alex Gleason
840be19ff4
Remove Dyslexic mode 2023-01-09 15:04:28 -06:00
Chewbacca
0cc684d940 Allow null 2023-01-09 12:49:22 -05:00
Chewbacca
cfc03f9a3f Remove 'file-icon' in empty link preview 2023-01-09 12:48:33 -05:00
Chewbacca
63201c4acf Merge branch 'redesign-repost' into 'develop'
Move status info to above Account

See merge request soapbox-pub/soapbox!2120
2023-01-09 17:42:52 +00:00
Chewbacca
52fbd743d1 Lint 2023-01-09 09:03:37 -05:00
marcin mikołajczak
e46fad211c Merge branch 'translations' into 'develop'
Translations: Support allow_unauthenticated and allow_remote

See merge request soapbox-pub/soapbox!2132
2023-01-08 23:10:28 +00:00
marcin mikołajczak
ad1e58c95c Merge branch 'modals-fix' into 'develop'
Fix links in modals

Closes #1240

See merge request soapbox-pub/soapbox!1974
2023-01-08 23:10:04 +00:00
9d0665b092 Translations: Support allow_unauthenticated and allow_remote
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-08 23:04:19 +01:00
Alex Gleason
df9628c1fd
ExternalLoginForm: accept ?server param to redirect the login form to the specified instance
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1313
2023-01-08 15:20:24 -06:00
519c4fb252 Fix 'View context' button
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-08 21:37:20 +01:00
e9a2b65963 Merge remote-tracking branch 'soapbox/develop' into modals-fix 2023-01-08 21:15:03 +01:00
Alex Gleason
7ac41b1bf1
Merge remote-tracking branch 'origin/develop' into renovate/major-react-monorepo 2023-01-07 14:34:06 -06:00
marcin mikołajczak
c2e2c59d96 Merge branch 'editing-timeline-insert' into 'develop'
don't insert posts to timelines when editing a post

Closes #1300

See merge request soapbox-pub/soapbox!2128
2023-01-07 16:07:20 +00:00
b43ff634e7 Truncate account names in modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-07 12:24:18 +01:00
1c91850181 don't insert posts to timelines when editing a post
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-07 12:01:15 +01:00
Alex Gleason
3bd9be9247
Fix monospace font in Markdown code blocks 2023-01-06 13:24:59 -06:00
Alex Gleason
5083096d1f
ChatPage: useLayoutEffect 2023-01-06 11:51:47 -06:00
Alex Gleason
8730a276c7
Audio/Video: fix initial size with useLayoutEffect for React 18 2023-01-06 11:46:14 -06:00
Alex Gleason
dbb745f38d
Fix loading of attachment dimensions for React 18 (useEffect --> useLayoutEffect) 2023-01-06 11:38:36 -06:00
Chewbacca
21c0a79cae Lint 2023-01-06 12:06:18 -05:00
Chewbacca
cc0c07851e Refactor to remove unneeded const 2023-01-06 12:05:13 -05:00
Chewbacca
d6c9952a8c Move timestamp back to Account 2023-01-06 12:03:57 -05:00
Chewbacca
f13ca06569 Use human-readable message from the API as the default 2023-01-06 11:08:38 -05:00
Chewbacca
024b161504 Move status info to above Account 2023-01-06 10:01:06 -05:00
Chewbacca
8ec805baad Upgrade axios to fix 'req' undefined error 2023-01-06 09:39:44 -05:00
Chewbacca
26c5214cee Merge branch 'improve-avatar-carousel' into 'develop'
Fix bug with Feed Carousel

See merge request soapbox-pub/soapbox!2113
2023-01-06 13:53:45 +00:00
Alex Gleason
e83914482d
Fix useFetchRelationships tests 2023-01-05 18:05:55 -06:00
Alex Gleason
edbaf60009
Fix FeedCarousel test 2023-01-05 17:58:01 -06:00
Alex Gleason
1e89efebae
Tests: wrap toast.remove() with act() 2023-01-05 17:45:48 -06:00
Alex Gleason
3fa9cbe211
Fix EmailVerification test 2023-01-05 17:36:02 -06:00
Alex Gleason
83c93a6d51
Fix Registration tests 2023-01-05 17:34:47 -06:00
Alex Gleason
b98073ee8f
Fix ReportModal test 2023-01-05 17:32:04 -06:00
Alex Gleason
fd542d1796
Fix SmsVerification tests 2023-01-05 17:30:00 -06:00
Alex Gleason
bd9bad9a4c
Fix ChatPage tests 2023-01-05 17:22:59 -06:00
Alex Gleason
273266d9ac
useDimensions: don't return null 2023-01-05 16:56:05 -06:00
Alex Gleason
3521e5698f
Switch to React 18's createRoot API
https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#updates-to-client-rendering-apis
2023-01-05 16:42:18 -06:00
Alex Gleason
7c75e8477f Merge branch 'renovate/uuid-9.x' into 'develop'
Update dependency uuid to v9

See merge request soapbox-pub/soapbox!2087
2023-01-05 22:16:51 +00:00
Alex Gleason
5297d8dde3
Remove uuid mock from Jest 2023-01-05 15:48:55 -06:00
Alex Gleason
301bf1d38b Merge branch 'renovate/stylelint-config-standard-29.x' into 'develop'
Update dependency stylelint-config-standard to v29

See merge request soapbox-pub/soapbox!2085
2023-01-05 21:25:56 +00:00
Alex Gleason
3dd1b40cc7
datepicker: fix accidentally removed icon from scss 2023-01-05 15:24:07 -06:00
Chewbacca
acb959f680 Merge branch 'fix-carousel-arrows' into 'develop'
Fix button in Carousel

See merge request soapbox-pub/soapbox!2122
2023-01-05 21:23:35 +00:00
Alex Gleason
64483d86a3
Conform scss to stylelint 2023-01-05 14:53:23 -06:00
Alex Gleason
17dbdc3e08
currentColor --> currentcolor 2023-01-05 14:18:58 -06:00
Corné Dorrestijn
b325b8933e
Added a options in settings for redirect root no login 2023-01-05 20:52:37 +01:00
Chewbacca
f15988da3c Fix button in Carousel 2023-01-05 14:16:30 -05:00
Alex Gleason
725be075d9
ServiceWorker: console.error on empty push event 2023-01-05 12:11:04 -06:00
Alex Gleason
7a14d56f9f
ServiceWorker: drop empty push events 2023-01-05 11:57:44 -06:00
Alex Gleason
35c916293e
yarn lint:js --fix 2023-01-05 11:55:08 -06:00
91cdf1eb5a Fix events location search crash
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-05 17:14:18 +01:00
c6e5f746da Update features.ts for Takahē
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-03 23:42:15 +01:00
08a47bed5d Merge remote-tracking branch 'soapbox/develop' into cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-03 21:09:43 +01:00
Chewbacca
0a4d113d50 Fix bug with Feed Carousel 2023-01-03 12:12:50 -05:00
Chewbacca
189423b415 Improve UI/UX of the Feed Carousel 2023-01-03 09:22:26 -05:00
Alex Gleason
8b2889b4af
Add missing locale strings from mediaPreview settings
Whoops https://gitlab.com/soapbox-pub/soapbox/-/merge_requests/2110
2023-01-02 12:15:45 -06:00
Alex Gleason
444754e1c8
Merge remote-tracking branch 'origin/develop' into fix/image-previews 2023-01-02 11:52:18 -06:00
Alex Gleason
02188118e7
Let media preview be configurable 2023-01-02 11:52:05 -06:00
Mark Felder
6b56e72f24 Fix images in timelines not using the preview URL which can leverage Pleroma Media Preview Proxy 2023-01-02 12:20:53 -05:00
690621e0a3 Merge remote-tracking branch 'soapbox/develop' into cleanup 2023-01-02 17:49:02 +01:00
Alex Gleason
55a240a697 Merge branch 'modal-blur' into 'develop'
Add backdrop-blur behind modals

See merge request soapbox-pub/soapbox!2101
2023-01-02 14:39:07 +00:00
3491d09485 Fix test
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-02 10:35:37 +01:00
0001ea47df Set scheduled post date to 10 minutes after current time
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-01 23:50:55 +01:00
c7e140bf3f Append scheduled statuses to status list
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-01 23:46:47 +01:00
ea2bb53379 Fix scheduled statuses page crashing on delete
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-01-01 23:21:05 +01:00
Alex Gleason
1f616c0a44
Datepicker: correctly default to the current year 2023-01-01 00:27:06 -06:00
1cc0b16274 Merge remote-tracking branch 'soapbox/cleanup' into cleanup 2022-12-31 19:52:20 +01:00
03349abc37 Merge remote-tracking branch 'soapbox/develop' into cleanup 2022-12-31 19:52:03 +01:00
674ffed6a5 These params should never be null, actually
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-31 19:48:31 +01:00
cbd06926f3 Restore removed styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-31 19:40:23 +01:00
Alex Gleason
6f04097cb0
yarn manage:translations en 2022-12-31 11:32:09 -06:00
Chewbacca
2bc620016e Merge branch 'fix-responsive-form' into 'develop'
Fix responsive nature of Select component

See merge request soapbox-pub/soapbox!2048
2022-12-31 17:10:02 +00:00
Alex Gleason
58b7d7607c
Merge remote-tracking branch 'origin/develop' into cleanup 2022-12-31 11:05:21 -06:00
3cab6436e0 Remove feather-icons
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-31 16:08:23 +01:00
Alex Gleason
2808773a80
Add backdrop-blur behind modals 2022-12-30 17:29:04 -06:00
e167ec8b6e Mark some strings as translatable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-30 22:49:29 +01:00
925087024c back to use AccountContainer in Notification component
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-30 22:43:58 +01:00
b4601d13cf ok, this works
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-30 22:25:03 +01:00
Alex Gleason
2737d41019
Remove object-fit-images 2022-12-30 12:32:53 -06:00
Alex Gleason
a8f05c2bb9 Merge branch 'i18n-ci' into 'develop'
GitLab CI: fail the CI if en.json isn't updated with the codebase

See merge request soapbox-pub/soapbox!2053
2022-12-30 00:22:02 +00:00
Alex Gleason
f20a8ab6fe Revert "Merge branch 'square' into 'develop'"
This reverts merge request !2027
2022-12-29 22:23:27 +00:00
Corné Dorrestijn
41b3d409fd
Allow configuration from root URL path 2022-12-29 18:05:44 +01:00
Chewbacca
2495dd2b9e Merge branch 'fix-req-error' into 'develop'
Fix 'req not defined' error

See merge request soapbox-pub/soapbox!2067
2022-12-29 15:58:56 +00:00
Chewbacca
7b5f61503f Fix test 2022-12-29 10:39:43 -05:00
Chewbacca
970cd60c84 Merge branch 'fix-sidebar-close-button' into 'develop'
Sidebar improvements

See merge request soapbox-pub/soapbox!2047
2022-12-29 15:22:57 +00:00
Chewbacca
92e94ae4a5 Merge branch 'fix-undefined-bug' into 'develop'
Fix undefined bug with MediaModal

See merge request soapbox-pub/soapbox!2066
2022-12-29 15:17:35 +00:00
Chewbacca
e6dbb4d19f Lint 2022-12-29 09:53:55 -05:00
Chewbacca
4ea1562185 Fix 'req not defined' error 2022-12-29 09:51:48 -05:00
Chewbacca
e1e5051951 Fix undefined bug with MediaModal 2022-12-29 09:17:19 -05:00
b6bd46d417 Do not make requests to chats endpoint from profile page if chats are not supported
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-29 14:33:50 +01:00
7d3ad8ac33 remove unused styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-29 14:13:10 +01:00
Alex Gleason
a97278c5f0
Delete defaultMessages.json 2022-12-29 00:35:09 -06:00
Alex Gleason
5c449bdb16
yarn manage:translations en 2022-12-29 00:34:25 -06:00
Chewbacca
515c67d011 Add 'truncate' class to Select 2022-12-28 11:48:16 -05:00
Chewbacca
9e321ac4c4 Refactor sidebar to fix position of close (X) icon 2022-12-28 11:26:58 -05:00
Alex Gleason
85bc891dbb
Use accent color for "floating action button" (mobile compose button). 2022-12-27 21:40:39 -06:00
3f430ee5d5 use capitalized name
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-27 23:56:33 +01:00
81e1e2d6ad Support Takahē
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-27 21:43:13 +01:00
8d95a4040b Merge remote-tracking branch 'soapbox/develop' into cleanup 2022-12-27 21:13:06 +01:00
d70827d481 restore style
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-27 21:13:02 +01:00
Chewbacca
5c8cc86b9e Merge branch 'pin-avatar' into 'develop'
Add support for pinning an avatar in the Carousel

See merge request soapbox-pub/soapbox!2024
2022-12-27 15:37:38 +00:00
af2d0749a1 Remove legacy avatar component, convert AccountContainer to TS/FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-27 12:29:01 +01:00
a990b859ef Remove unused styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-26 17:50:03 +01:00
82d3e3c5f4 Remove unused styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-26 17:34:55 +01:00
6316da5332 fix auth state persistence
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-26 14:32:58 +01:00
a7653403e7 Update immutable-js, fix tests, fix reducers/auth
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-26 14:09:09 +01:00
d1071a109b Remove unused styles/components
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-26 00:52:06 +01:00
4b3f03353d WIP TypeScript convertions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-26 00:31:07 +01:00
c692265249 Convert (legacy?) IconButton to tsx, remove unused code/styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-25 13:51:11 +01:00
Alex Gleason
6ac5845deb
Gate events with features.includes('events') 2022-12-24 14:42:43 -06:00
Alex Gleason
fa1d7937a7
Fix mentions in RTL 2022-12-23 17:34:14 -06:00
Alex Gleason
f174d0e973
Merge remote-tracking branch 'origin/develop' into threads-rtl 2022-12-23 16:33:30 -06:00
Alex Gleason
c788916644
AutosuggestInput/AutosuggestTextarea: short-circuit RTL check earlier 2022-12-23 16:26:07 -06:00
Alex Gleason
8fde7f267d
Search: prevent overflow of text into icon 2022-12-23 16:24:04 -06:00
Alex Gleason
bedd181f4c
AutosuggestInput/AutosuggestTextarea: fix RTL detection with placeholder 2022-12-23 16:14:50 -06:00
Alex Gleason
c4270a0512
Revert "AutosuggestInput/AutosuggestTextarea: actually, just remove RTL checking. The browser should handle it"
This reverts commit ee9908aab2.
2022-12-23 16:11:30 -06:00
Alex Gleason
ea70f48023
Navbar: fix position of avatar in RTL on mobile 2022-12-23 16:02:39 -06:00
Alex Gleason
78a9dc519c
Status: fix reblogElement in RTL 2022-12-23 16:01:12 -06:00
Alex Gleason
59cf263960
SidebarMenu: fix RTL 2022-12-23 15:55:17 -06:00
Alex Gleason
dfe5079058
StatusActionButton: fix spacing in RTL 2022-12-23 15:48:07 -06:00
Alex Gleason
d4b5c368f8
Fix threads in RTL 2022-12-23 15:46:24 -06:00
Alex Gleason
01d7aa6307
Move FAB to the left in RTL 2022-12-23 15:37:45 -06:00
Alex Gleason
ab7ec4babd
Refactor ComposeButton, FAB, and sidebar nav spacing 2022-12-23 15:22:41 -06:00
Alex Gleason
7a6126b978
Move FloatingActionButton to its own component 2022-12-23 14:57:16 -06:00
Alex Gleason
a4615296e8
Make all timelines use "home" timeline settings
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1230
2022-12-23 12:21:28 -06:00
Alex Gleason
ee9908aab2
AutosuggestInput/AutosuggestTextarea: actually, just remove RTL checking. The browser should handle it 2022-12-23 11:38:42 -06:00
Alex Gleason
95f7761fb4
Toast: remove unnecessary outer div 2022-12-23 11:33:10 -06:00
Alex Gleason
69328ade8b
Toast: use HStack, RTL support 2022-12-23 11:31:53 -06:00
Alex Gleason
140c0b3037
AutosuggestInput/AutosuggestTextarea: determine RTL by placeholder value as well (hotfix) 2022-12-23 11:18:23 -06:00
Alex Gleason
058a75deec
useLocale(): refactor to return direction 2022-12-23 11:12:48 -06:00
Alex Gleason
87728876d3
RTL: fix "x" in birthday input 2022-12-23 10:51:50 -06:00
Alex Gleason
6dc16911f3 Merge branch 'rtl-arrows' into 'develop'
Rotate arrows for RTL

See merge request soapbox-pub/soapbox!1977
2022-12-23 16:31:17 +00:00
Alex Gleason
0356b014b0
Letterbox images taller than 1:1 2022-12-22 21:06:27 -06:00
Alex Gleason
622df27e41
Timelines: prevent max_id=undefined in home timeline requests 2022-12-22 16:38:20 -06:00
c792cc2549 Do not include link to profile in ReplyMentionsModal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-22 19:58:20 +01:00
bcf82e4312 Merge remote-tracking branch 'soapbox/develop' into modals-fix 2022-12-22 19:52:40 +01:00
Chewbacca
51146574d4 Fix tests 2022-12-22 12:02:17 -05:00
Chewbacca
b6afb8ae01 Add support for pinning an avatar in the Carousel 2022-12-22 11:23:18 -05:00
Chewbacca
a9e05859d1 Merge branch 'improve-toasts' into 'develop'
Introduce Toast module as Snackbar replacement

See merge request soapbox-pub/soapbox!2023
2022-12-21 19:47:35 +00:00
Chewbacca
8d28c37a7f Merge branch 'tab-continuation' into 'develop'
Allow tab continuation on Email confirmation

See merge request soapbox-pub/soapbox!1847
2022-12-21 19:26:52 +00:00
Chewbacca
a3c7164147 Move Toast to components/ui 2022-12-21 14:14:31 -05:00
Chewbacca
90fcc8ad05 Fix tests 2022-12-20 17:45:29 -05:00
Chewbacca
3dceaacc16 Improve UI of toast 2022-12-20 17:12:17 -05:00
Chewbacca
bffe5318a9 Fix tests 2022-12-20 13:14:38 -05:00
Chewbacca
f504d17abe Remove usage of 'snackbar' 2022-12-20 12:46:06 -05:00
Chewbacca
3c38a57560 Convert 'show' usage to Toast 2022-12-20 12:46:06 -05:00
Chewbacca
642d1d8b3e Convert 'info' usage to Toast 2022-12-20 12:46:06 -05:00
Chewbacca
b348ca71b9 Convert 'error' usage to Toast 2022-12-20 12:46:06 -05:00
Chewbacca
b7d0b4abe8 Convert 'success' usage to Toast 2022-12-20 12:46:06 -05:00