Commit graph

5907 commits

Author SHA1 Message Date
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
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
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