Commit graph

561 commits

Author SHA1 Message Date
Alex Gleason
fd19fa9e5b
FocusPlugin: refactor the useEffect for sanity 2023-11-27 14:56:42 -06:00
Alex Gleason
889c2658ba
ComposeForm: refactor canSubmit so it works correctly in more scenarios 2023-11-27 14:32:41 -06:00
Alex Gleason
b95bd0e533
Gameboy: fix button styles in light mode 2023-11-25 00:39:29 -06:00
Alex Gleason
c754a52d88
Gameboy: add download button 2023-11-25 00:25:22 -06:00
Alex Gleason
dd1e1aca82
MediaGallery: fix cursor over Gameboy component 2023-11-24 23:39:17 -06:00
Alex Gleason
5aa69c917f
Gameboy: make mute button work properly 2023-11-24 23:18:15 -06:00
Alex Gleason
c17b193ca1
Gameboy: focus the div after entering fullscreen 2023-11-24 22:42:25 -06:00
Alex Gleason
a317152e3f
Gameboy: tap the canvas to show/hide controls 2023-11-24 22:28:29 -06:00
Alex Gleason
4d840e0290
Gameboy: add a fullscreen button 2023-11-24 22:21:46 -06:00
Alex Gleason
48db472af5
Gameboy: add audio control, but it doesn't work correctly 2023-11-24 21:58:04 -06:00
Alex Gleason
2696364710
Gameboy: add controls and a pause buttom 2023-11-24 21:39:59 -06:00
Alex Gleason
5ee2c8a23c
Gameboy: render the canvas inside a container div 2023-11-24 20:54:24 -06:00
Alex Gleason
3b17bef9e5
Switch to my fork of wasmboy 2023-11-24 18:36:27 -06:00
Alex Gleason
0bb50f492e
Lazy-load the Gameboy component 2023-11-22 22:49:27 -06:00
Alex Gleason
f7c624483e
Gameboy: improve remounting 2023-11-22 22:44:23 -06:00
Alex Gleason
2e7b773bb5
Gameboy: release keyboard when canvas isn't focused 2023-11-22 22:39:45 -06:00
Alex Gleason
2e1282bc2d
Render a Game Boy player for GB/GBC attachments 2023-11-22 22:20:19 -06:00
Alex Gleason
c138e2ee09
NIP-46: fix parsing request message for sign_event 2023-11-22 13:21:02 -06:00
Alex Gleason
016198c301
Sign NIP-46 events with proof-of-work 2023-11-20 17:52:37 -06:00
Alex Gleason
d293c9d900
Add PowWorker to mine Nostr events off the main thread 2023-11-20 15:38:05 -06:00
Alex Gleason
df020e4253
ServiceWorker: don't wait for window.onload before registering the worker 2023-11-20 14:22:48 -06:00
Alex Gleason
8ba328d96b
Prevent a new ServiceWorker from being installed after the page loads 2023-11-20 13:45:52 -06:00
Ryan He
898c2700f7
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hant/
2023-11-15 01:12:09 +01:00
Ryan He
a3155f345c
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hant/
2023-11-15 01:12:09 +01:00
Ryan He
b82c8625fb
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hant/
2023-11-15 01:12:09 +01:00
Ryan He
cf23fd0876
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hant/
2023-11-15 01:12:09 +01:00
Ahmad Dakhlallah
5a408f0ea9
Translated using Weblate (Arabic)
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-11-15 01:12:09 +01:00
Ryan He
dd8370a78b
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hant/
2023-11-15 01:12:09 +01:00
Ahmad Dakhlallah
125412dd02
Translated using Weblate (Arabic)
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-11-15 01:12:09 +01:00
Ryan He
67a708b01e
Translated using Weblate (Chinese (Traditional))
Currently translated at 74.6% (1137 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hant/
2023-11-15 01:12:09 +01:00
marcin mikołajczak
3b744d84d6
Translated using Weblate (Polish)
Currently translated at 99.4% (1515 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/pl/
2023-11-15 01:12:09 +01:00
Ahmad Dakhlallah
8a55456c48
Translated using Weblate (Arabic)
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-11-15 01:12:09 +01:00
Ahmad Dakhlallah
2b7467a8bb
Translated using Weblate (Arabic)
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-11-15 01:12:09 +01:00
Hassen Basdouri
a742b2ea19
Translated using Weblate (Arabic)
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-11-15 01:12:09 +01:00
Ahmad Dakhlallah
e41ddc4e1b
Translated using Weblate (Arabic)
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-11-15 01:12:09 +01:00
Hassen Basdouri
a57725c18e
Translated using Weblate (Arabic)
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-11-15 01:12:09 +01:00
Ahmad Dakhlallah
45bbb43425
Translated using Weblate (Arabic)
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-11-15 01:12:09 +01:00
Ahmad Dakhlallah
d923e107b3
Translated using Weblate (Arabic)
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-11-15 01:12:09 +01:00
Weblate Translation Memory
a5e986668e
Translated using Weblate (Polish)
Currently translated at 99.4% (1515 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/pl/
2023-11-15 01:12:09 +01:00
Eryk Michalak
c691b82cab
Translated using Weblate (Polish)
Currently translated at 99.4% (1515 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/pl/
2023-11-15 01:12:09 +01:00
Eryk Michalak
b5bc20869d
Translated using Weblate (Polish)
Currently translated at 99.2% (1512 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/pl/
2023-11-15 01:12:09 +01:00
Weblate Translation Memory
c45d219273
Translated using Weblate (Polish)
Currently translated at 99.2% (1512 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/pl/
2023-11-15 01:12:09 +01:00
Poesty Li
53b11ec175
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-11-15 01:12:09 +01:00
Alex Gleason
04e68ebc94
Timeline: always insert new status IDs at the end 2023-11-14 17:57:08 -06:00
Alex Gleason
948dbcaa49
GdprBanner: fix inverted shown logic 2023-11-14 16:51:33 -06:00
Alex Gleason
4162808ce0
Don't load GdprBanner unless configured 2023-11-14 15:53:57 -06:00
Alex Gleason
5c16747b0c
yarn i18n 2023-11-14 15:27:48 -06:00
Alex Gleason
1a32dc178b
WrappedRoute: allow navigating between pages to reset the ErrorBoundary 2023-11-14 15:17:33 -06:00
Alex Gleason
54aa09c6b1
Developers: fix /error/network route 2023-11-14 14:47:04 -06:00
Alex Gleason
cdb89ae8fd
Bring back NetworkError column 2023-11-14 14:41:35 -06:00
Alex Gleason
c7f9a9eb56
ComposeForm: get text from the editorRef instead of component state
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1563
2023-11-14 11:08:32 -06:00
Alex Gleason
9154b63892
Fix emoji unreact
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1616
2023-11-14 01:41:45 -06:00
Alex Gleason
f77aa7b411
Fix parsing custom emoji reactions
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1602
2023-11-13 16:11:40 -06:00
0db0aeb440 Fix federation modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-11-01 23:30:32 +01:00
af41877a4e Always display poll option title
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-31 20:13:55 +01:00
1d3424e648 Display emoji reactions on glitch-soc and Iceshrimp
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-29 23:00:48 +01:00
marcin mikołajczak
3000ed6f9d Merge branch 'follow-hashtags' into 'main'
Hide hashtag follow toggle when unauthenticated

See merge request soapbox-pub/soapbox!2845
2023-10-29 10:34:45 +00:00
b31df6dcfb Support Iceshrimp
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-29 00:21:28 +02:00
4a6a76ddd9 Use preprocess for instance v1 to v2 conversion, add test for instance schema
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-28 20:51:55 +02:00
144e13e674 Remove params not being part of instancev2
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-28 16:36:44 +02:00
54e1b3d4e8 Remove poll_limits as they're not part of instancev2
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-28 16:29:29 +02:00
b5668f1f70 Remove poll_limits as they're not part of instancev2
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-28 16:28:53 +02:00
1b31a0558e Fix registration status
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-28 16:20:54 +02:00
d462e6df8f Add missing await
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-28 12:13:31 +02:00
7c752f088c instance v1 to v2 convesion
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-27 23:48:54 +02:00
59115c8dc5 Remove instance normalizer
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-27 17:48:21 +02:00
68f66075f2 Hide hashtag follow toggle when unauthenticated
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-27 17:27:49 +02:00
Ryan He
8a21058698
Translated using Weblate (Chinese (Traditional))
Currently translated at 67.2% (1024 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hant/
2023-10-24 16:01:45 +00:00
Alex Gleason
86e0245de3
Remove unneeded AxiosError usages 2023-10-23 17:24:09 -05:00
jonnysemon
79df37de7a
Translated using Weblate (Arabic)
Currently translated at 100.0% (1523 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-10-23 17:01:29 +00:00
Ryan He
e8ec660280
Translated using Weblate (Chinese (Traditional))
Currently translated at 64.2% (978 of 1523 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hant/
2023-10-23 09:01:43 +02:00
marcin mikołajczak
5eeeecae46
Translated using Weblate (Polish)
Currently translated at 99.2% (1509 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/pl/
2023-10-22 01:49:11 +02:00
Alex Gleason
b25408a79f Merge branch 'account-local' into 'main'
Add 'local' to account schema

See merge request soapbox-pub/soapbox!2835
2023-10-21 23:49:06 +00:00
Alex Gleason
166a7f27d3 Merge branch 'error-refactor' into 'main'
Rewrite ErrorBoundary as a functional component using `react-error-boundary`

Closes #1555

See merge request soapbox-pub/soapbox!2836
2023-10-21 23:48:45 +00:00
Alex Gleason
450c377f80
yarn i18n 2023-10-21 18:40:35 -05:00
Alex Gleason
c518d82359
Enable SentryFeedbackForm, it works! 2023-10-21 18:36:01 -05:00
Alex Gleason
365cd70c9b
IntentionalError: throw an actual error instance 2023-10-21 18:27:55 -05:00
Alex Gleason
23efda1590
SiteErrorBoundary: disable SentryFeedbackForm for now 2023-10-21 18:00:28 -05:00
Alex Gleason
d4a03f14d7
Remove @sentry/tracing 2023-10-21 17:51:23 -05:00
Alex Gleason
cbc14604c9
Move SentryFeedbackForm into a separate component 2023-10-21 17:46:57 -05:00
Alex Gleason
fb190398c6
Add a Sentry feedback form which does not work 2023-10-21 17:39:39 -05:00
b1daf3ef13 Remove type assertion when not needed
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-22 00:20:41 +02:00
ba5e018e3c Add 'local' to account schema
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-22 00:14:23 +02:00
4752feb1b8 Update Takahē compatibility, add fixVersion to instanceSchema
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-10-21 23:45:54 +02:00
Alex Gleason
882f7c38c5
Fix rows prop in Textarea, use Textarea in SiteErrorBoundary 2023-10-21 16:11:52 -05:00
Alex Gleason
c33ff771da
SiteErrorBoundary: rework conditionals for Sentry and production 2023-10-21 15:52:37 -05:00
Alex Gleason
5bbce463e7
SiteErrorBoundary: refactor links, optimize for production 2023-10-21 15:43:25 -05:00
Alex Gleason
45c1d252ba
error-boundary.ts -> site-error-boundary.ts 2023-10-21 15:33:31 -05:00
Alex Gleason
d7ea38cf22
Rewrite ErrorBoundary as a functional component using react-error-boundary 2023-10-21 15:32:37 -05:00
Alex Gleason
c5d527a667
Sentry: add return types, return eventId from captureSentryException 2023-10-21 14:21:21 -05:00
Alex Gleason
a7d78d0935
Delete monitoring.ts, add captureSentryException to sentry.ts 2023-10-21 14:18:56 -05:00
Alex Gleason
0658530447 Merge branch 'ui-suspense' into 'main'
SoapboxMount: fix Suspense boundary for UI

Closes #1589

See merge request soapbox-pub/soapbox!2833
2023-10-21 18:16:33 +00:00
Ahmad Dakhlallah
b2bab5d4f7
Translated using Weblate (Arabic)
Currently translated at 100.0% (1521 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-10-21 18:12:18 +00:00
Ahmad Dakhlallah
06bd22e4a9
Translated using Weblate (Arabic)
Currently translated at 100.0% (1521 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-10-21 18:12:17 +00:00
Ahmad Dakhlallah
121ede745e
Translated using Weblate (Arabic)
Currently translated at 100.0% (1521 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-10-21 18:12:17 +00:00
Ahmad Dakhlallah
5c1f202bc7
Translated using Weblate (Hebrew)
Currently translated at 87.0% (1324 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-21 18:12:16 +00:00
LibreTranslate
680c828f1c
Translated using Weblate (Hebrew)
Currently translated at 87.0% (1324 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-21 18:12:15 +00:00
Weblate Translation Memory
84f88fbb2a
Translated using Weblate (Hebrew)
Currently translated at 85.6% (1303 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-21 18:12:15 +00:00
LibreTranslate
dce3f9b2ce
Translated using Weblate (Hebrew)
Currently translated at 85.6% (1303 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-21 18:12:14 +00:00
Ahmad Dakhlallah
55659cded6
Translated using Weblate (Hebrew)
Currently translated at 85.6% (1303 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-21 18:12:13 +00:00
Alex Gleason
272e1fde2d Merge branch 'sentry-prod' into 'main'
Enable Sentry in production only

See merge request soapbox-pub/soapbox!2832
2023-10-21 18:04:59 +00:00
Alex Gleason
f844f147b0
SoapboxMount: fix Suspense boundary for UI
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1589
2023-10-21 13:02:39 -05:00
Alex Gleason
b865996175
Enable Sentry in production only 2023-10-21 12:43:32 -05:00
Alex Gleason
37f9bafd13
AccountGallery: fix crash when account isn't loaded yet 2023-10-21 12:38:21 -05:00
Alex Gleason
19ab202737
Update code to new react-query API 2023-10-17 15:19:05 -05:00
Tassoman
f7a61f8a4c adding rtl languages support to announcements 2023-10-16 19:26:39 +00:00
Alex Gleason
1f7effc97d
Refactor sounds, oga -> ogg, remove proprietary avatar from boop.mp3 2023-10-15 17:43:53 -05:00
Alex Gleason
1bfe5908a9
sounds: suppress error when user has disabled autoplay 2023-10-15 17:23:35 -05:00
Alex Gleason
1604e5061b
Sentry: ignore ResizeObserver errors from Virtuoso 2023-10-15 17:12:48 -05:00
Alex Gleason
eed328552f Merge branch 'latn' into 'main'
Force use of latn numberingSystem throughout the UI

Closes #1580

See merge request soapbox-pub/soapbox!2821
2023-10-15 18:31:51 +00:00
Alex Gleason
20a63d2915
Force use of latn numberingSystem throughout the UI
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1580
2023-10-15 13:11:37 -05:00
Alex Gleason
8ea10e4433 Merge branch 'autosuggest-snapped-scroll' into 'main'
adding tailwind snap effect to scrolled autosuggested items

See merge request soapbox-pub/soapbox!2819
2023-10-15 03:17:12 +00:00
Hosted Weblate
6ba37ba2dd
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/
2023-10-15 03:02:11 +00:00
Ahmad Dakhlallah
136194eae6
Translated using Weblate (Hebrew)
Currently translated at 85.0% (1294 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-15 03:02:07 +00:00
Ahmad Dakhlallah
cd25e6d6ca
Translated using Weblate (Arabic)
Currently translated at 100.0% (1521 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-10-15 03:02:05 +00:00
tassoman
fba42b531b adding tailwind snap effect to scrolled autosuggested items 2023-10-15 02:16:27 +02:00
Weblate Translation Memory
c2c959ef9f
Translated using Weblate (Hebrew)
Currently translated at 73.3% (1116 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-14 20:37:02 +02:00
LibreTranslate
5d727d3ce8
Translated using Weblate (Hebrew)
Currently translated at 73.3% (1116 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-14 20:37:02 +02:00
Ahmad Dakhlallah
872ee272b0
Translated using Weblate (Hebrew)
Currently translated at 73.3% (1116 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-14 20:37:02 +02:00
Alex Gleason
374f99405e Merge branch 'scrolltop-fix' into 'main'
Fix ScrollTopButton not loading new posts when scrolled to the top

Closes #871

See merge request soapbox-pub/soapbox!2816
2023-10-14 18:34:42 +00:00
Alex Gleason
2959dc5bae
Fix ScrollTopButton not loading new posts when scrolled to the top 2023-10-14 13:18:30 -05:00
Ahmad Dakhlallah
18d4c89099
Translated using Weblate (Arabic)
Currently translated at 100.0% (1521 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-10-14 15:01:01 +00:00
Alex Gleason
0206316acd Merge branch 'html-parse' into 'main'
StatusContent: parse links into components

See merge request soapbox-pub/soapbox!2812
2023-10-14 04:05:22 +00:00
Ahmad Dakhlallah
34df1e3118
Translated using Weblate (Hebrew)
Currently translated at 70.3% (1070 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/he/
2023-10-14 06:00:36 +02:00
Ahmad Dakhlallah
da84b0a4ee
Translated using Weblate (Arabic)
Currently translated at 100.0% (1521 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-10-14 06:00:35 +02:00
Alex Gleason
f5a6b85ed9
Move HashtagLink to separate component 2023-10-13 22:23:18 -05:00
Alex Gleason
e0c11fbfd1
Rework MentionNode to take a whole Mention entity 2023-10-13 22:14:55 -05:00
Alex Gleason
70dc4caeb9
StatusContent: render links with html-react-parser 2023-10-13 22:07:57 -05:00
Alex Gleason
a37fa8bb85
Mention: allow it to link to the profile. disabled for MentionNode 2023-10-13 22:07:43 -05:00
Alex Gleason
dde8322c7d
MentionNode: move Mention into a separate component 2023-10-13 21:09:52 -05:00
Alex Gleason
622692fe4d
MentionNode: truncate Nostr usernames 2023-10-13 17:37:11 -05:00
Alex Gleason
f6d60c243a
MentionNode: add Tooltip 2023-10-13 17:29:52 -05:00
Alex Gleason
5aacfe299a
MentionNode: show the username, not the full acct 2023-10-13 17:22:45 -05:00
Alex Gleason
964ba8c758
Make MentionNode a DecoratorNode instead of a TextNode 2023-10-13 17:19:55 -05:00
Alex Gleason
1ba1584da8 Merge branch 'unchunk' into 'main'
Unchunk init

Closes #1570

See merge request soapbox-pub/soapbox!2810
2023-10-13 20:59:41 +00:00
Alex Gleason
dfe8f84ae1 Merge branch 'compose-clear' into 'main'
Compose clear

See merge request soapbox-pub/soapbox!2809
2023-10-13 20:29:28 +00:00
Alex Gleason
c3cfd5764d
Unchunk init 2023-10-13 15:25:59 -05:00
Alex Gleason
8f55b6d5c2
Split SubmitPlugin out of StatePlugin 2023-10-13 15:16:39 -05:00
Alex Gleason
8edd1a830d
submitCompose: make it an async function 2023-10-13 13:31:39 -05:00
Tassoman
2876252ac0 adding case insensitive match during status composition 2023-10-13 17:20:00 +00:00
Alex Gleason
181df09039
submitCompose: accept an options object 2023-10-13 11:47:24 -05:00
Alex Gleason
d71bb8a673
ComposeForm: pass onSubmit through UploadForm to ComposeUpload 2023-10-13 11:16:43 -05:00
Alex Gleason
629258613e
Upload: swap out deprecated Icon for UI Icon 2023-10-13 11:12:49 -05:00
Alex Gleason
39de868383
Upload: switch requires to imports 2023-10-13 11:09:04 -05:00
Poesty Li
18595f8254
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1521 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-10-13 04:14:06 +00:00
Ahmad Dakhlallah
0659ebfd20
Translated using Weblate (Arabic)
Currently translated at 99.0% (1507 of 1521 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-10-13 04:14:05 +00:00
Alex Gleason
b2c766c8ce
Sentry: unset the Sentry account when appropriate 2023-10-12 21:56:14 -05:00
Alex Gleason
e2b8a74e91
Sentry: add Soapbox context 2023-10-12 21:51:06 -05:00
Alex Gleason
626b377371
Fix type in compose.test.ts 2023-10-12 20:09:58 -05:00
Alex Gleason
a98dfd8c11
Send username/id to Sentry 2023-10-12 20:07:48 -05:00
Alex Gleason
2cdfaf4871
Remove useSentry hook, reorganize in SoapboxHead 2023-10-12 19:52:28 -05:00
Alex Gleason
c3673638d7 Merge branch 'site-banner-rtl' into 'main'
SiteBanner: support RTL

Closes #1560

See merge request soapbox-pub/soapbox!2802
2023-10-12 21:58:07 +00:00
Alex Gleason
95ec398268
LogoText: fix text getting cut-off vertically 2023-10-12 16:46:06 -05:00
Alex Gleason
301ba68842
SiteBanner: support RTL 2023-10-12 16:22:47 -05:00
Hosted Weblate
20088bd6fb
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-10-12 07:38:13 +02:00
Alex Gleason
645aa494f5
UI: wrap SidebarMenu with Suspense
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1562
2023-10-12 00:29:02 -05:00
Alex Gleason
d0170dc449 Merge branch 'upgrade-react-intl' into 'main'
Upgrade react-intl, remove translationRunner, fix `yarn i18n`

Closes #1553

See merge request soapbox-pub/soapbox!2799
2023-10-11 20:27:32 +00:00
Alex Gleason
f6251a221a
Run yarn i18n, copy some messages from en.json back into source files 2023-10-11 15:15:50 -05:00
Alex Gleason
b5f92b10f9
i18n: resolve duplicate message identifiers in code 2023-10-11 14:57:53 -05:00
Alex Gleason
04214c5075 Merge branch 'input-rtl' into 'main'
Add RTL support to Input and Textarea, delete AutosuggestTextarea

Closes #1558

See merge request soapbox-pub/soapbox!2798
2023-10-11 19:50:11 +00:00
Alex Gleason
3c2fef5a80
Textarea: autodetect RTL 2023-10-11 13:51:36 -05:00
Alex Gleason
5bd1eab607
AccountNotePanel: use our native Textarea component 2023-10-11 13:48:39 -05:00
Alex Gleason
ad329c33fa
Remove AutosuggestTextarea 2023-10-11 13:38:58 -05:00
Alex Gleason
9036d8a9a0
Input: support RTL detection on all Inputs, remove from AutosuggestInput 2023-10-11 13:33:45 -05:00
Alex Gleason
39786aa5f2
Chat search: ensure acct is LTR 2023-10-11 13:23:39 -05:00
Alex Gleason
5796ecaad0
AccountSearch: fix icon position in RTL
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1557
2023-10-11 13:15:58 -05:00
Alex Gleason
923d0fea20 Merge branch 'mentions-ltr' into 'main'
StatusContent: ensure inline mentions are always LTR

See merge request soapbox-pub/soapbox!2794
2023-10-11 18:03:08 +00:00
Alex Gleason
821fb17617 Merge branch 'chat-search-icon-rtl' into 'main'
Input: fix RTL with append

See merge request soapbox-pub/soapbox!2795
2023-10-11 17:27:15 +00:00
Alex Gleason
e12c15845d
Input: fix RTL with append 2023-10-11 12:17:17 -05:00
Alex Gleason
4a81ff55f3
StatusContent: ensure inline mentions are always LTR 2023-10-11 12:06:35 -05:00
marcin mikołajczak
5d338771e7
Translated using Weblate (Polish)
Currently translated at 99.5% (1592 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/pl/
2023-10-11 17:02:09 +00:00
marcin mikołajczak
3f7cd366a7 Merge branch 'mkljczk-main-patch-70579' into 'main'
Reducers: Preserve translation if an existing status already has it

See merge request soapbox-pub/soapbox!2784
2023-10-11 08:42:24 +00:00
Alex Gleason
cad377c910
ErrorBoundary: ensure error text is LTR 2023-10-10 20:31:45 -05:00
Alex Gleason
fd592460a4
ErrorBoundary: we do a little refactoring 2023-10-10 20:29:31 -05:00
Alex Gleason
10f4ea3079
ErrorBoundary: fix RTL arrow 2023-10-10 20:28:00 -05:00
Alex Gleason
e0f43986a7
Chats: flip arrow icons in RTL 2023-10-10 20:19:10 -05:00
Alex Gleason
ae63d37d78
rtl.ts -> utils/rtl.ts 2023-10-10 20:02:22 -05:00
Alex Gleason
207e93b6a8
LinkPreview: check RTL of text 2023-10-10 19:58:57 -05:00
Alex Gleason
f583e7eeb5
Card --> PreviewCard 2023-10-10 19:03:03 -05:00
Alex Gleason
971bcb41e4 Merge branch 'userpanel-rtl' into 'main'
UserPanel: fix RTL support for @

See merge request soapbox-pub/soapbox!2791
2023-10-10 22:49:01 +00:00
Alex Gleason
4a56995385
UserPanel: fix RTL support for @ 2023-10-10 17:48:21 -05:00
Alex Gleason
714746ceef Merge branch 'rtl-chat-widget' into 'main'
ChatPane: clean up, switch to the other side in RTL

See merge request soapbox-pub/soapbox!2789
2023-10-10 22:33:00 +00:00
Alex Gleason
a2e4167da4
i18n.css --> i18n/arabic.css 2023-10-10 17:30:50 -05:00
Alex Gleason
679c0feb54
ChatPane: clean up, switch to the other side in RTL 2023-10-10 17:12:10 -05:00
Alex Gleason
fd818a8eba
Use Tajawal font for Arabic
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1361
2023-10-10 16:54:57 -05:00
Alex Gleason
6f10a68046
Fix RTL Toggle
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1462
2023-10-10 15:34:02 -05:00
Alex Gleason
1b2d6f1516
Wrap EmojiPicker with a Suspense boundary 2023-10-10 11:07:15 -05:00
Alex Gleason
596ea21976
Chunk ScheduleForm differently, fix screen blinking when compose is focused 2023-10-09 22:29:57 -05:00
Alex Gleason
e1982804b6
ComposeForm: wrap ComposeEditor with Suspense 2023-10-09 22:19:27 -05:00
marcin mikołajczak
dc0b68f995 Reducers: Preserve translation if an existing status already has it 2023-10-09 19:49:45 +00:00
Alex Gleason
34131cdfcc
Convert all tests to ESM 2023-10-08 22:31:36 -05:00
Alex Gleason
78884a4248
UI: wrap StatusHoverCard with Suspense boundary 2023-10-07 22:57:43 -05:00
Alex Gleason
5c3cebfd3c
Layout.Aside: add Suspense boundary for the whole component 2023-10-07 22:51:48 -05:00
Alex Gleason
82ea3e60a7
SoapboxMount: add Suspense boundaries 2023-10-07 22:48:42 -05:00
Alex Gleason
85f6c0293e
Fix ProfileHoverCard page crash
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1550
2023-10-07 21:28:19 -05:00
Alex Gleason
c2098c3361
Fix lodash imports to get rid of unnecessary extra chunk 2023-10-07 18:53:23 -05:00
Alex Gleason
fe859593f7
Move soapbox.tsx and friends into src/init/ 2023-10-07 18:51:25 -05:00
Alex Gleason
69d2911ee4
CHUNK ALL THE THINGS!!! 2023-10-07 18:48:54 -05:00
Alex Gleason
ed11c2bc2d
Move some top-level code from soapbox-load back into soapbox.tsx where it belongs 2023-10-07 18:45:32 -05:00
Alex Gleason
76578c64c5
Move SoapboxHead into a separate file 2023-10-07 18:41:39 -05:00
Alex Gleason
111428f46d
Move SoapboxMount into a separate file 2023-10-07 18:39:58 -05:00
Alex Gleason
e37b24ffe3
Move SoapboxLoad into a separate file 2023-10-07 18:37:19 -05:00
Alex Gleason
e229c4e2f1
Make entrypoint extremely small! 2023-10-07 18:22:33 -05:00
Alex Gleason
63b98bff4d
soapbox.tsx: load some components async, reduce bundle size 2023-10-07 18:18:50 -05:00
Alex Gleason
643d362103
ComposeEventModal: fix ComposeForm ref 2023-10-07 17:18:03 -05:00
Alex Gleason
b02c39da2d
Delete Bundle component, use Suspense and React.lazy 2023-10-07 17:14:45 -05:00
Alex Gleason
1b213452b7
Fix Bundle type errors, remove bundle error components, remove group slug support 2023-10-07 16:00:42 -05:00
Alex Gleason
0f10922c3d
ProfilePage: fix types of async components 2023-10-07 15:43:34 -05:00
Alex Gleason
5b539416d9
ProfileHoverCard/StatusHoverCard: make visible an optional prop 2023-10-07 15:38:41 -05:00
Alex Gleason
3a221e8c86
Bundle: just wrap it with React.Suspense 2023-10-07 15:37:54 -05:00
Alex Gleason
6b173f44be
AsyncComponents: use React.lazy 2023-10-07 15:04:37 -05:00
Tassoman
5ed8c78c88 added vertical scroll feature to the autosuggest component 2023-10-07 13:26:14 +00:00
Alex Gleason
e07fa23e0d
Let Sentry DSN be configurable in SoapboxConfig 2023-10-05 16:48:20 -05:00
Alex Gleason
73f407455e
Sentry: use DSN from SoapboxConfig 2023-10-05 16:33:59 -05:00
Alex Gleason
f02255ff6a Merge branch 'nostr-machina' into 'main'
Implement Nostr Machina

See merge request soapbox-pub/soapbox!2775
2023-10-04 23:33:33 +00:00
Alex Gleason
ebed7cee0b Merge branch 'conversation-verbose' into 'main'
Poor's man verbose conversations

See merge request soapbox-pub/soapbox!2768
2023-10-04 23:32:27 +00:00
Alex Gleason
eceb082874
Fix kindSchema 2023-10-04 18:12:18 -05:00
Alex Gleason
3e6af89a9b
Enable Nostr registration 2023-10-04 18:07:49 -05:00
Alex Gleason
28731f6087
Nostr: enable Nostr login 2023-10-04 18:03:26 -05:00
Alex Gleason
3cebd961ca
useSignerStream: rework with nostr-machina 2023-10-04 17:27:39 -05:00
Alex Gleason
84ca2a269d
nostr: add Nostr sign module 2023-10-04 17:07:02 -05:00
Сергей Ворон
54ed6790f1
Translated using Weblate (Russian)
Currently translated at 100.0% (1599 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ru/
2023-10-02 19:36:44 +00:00
Сергей Ворон
61a3ac8fa5
Translated using Weblate (Russian)
Currently translated at 100.0% (1599 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ru/
2023-10-02 19:36:43 +00:00
Alex Gleason
47008f39a6
toast: fix toast test (use ESM imports) 2023-10-02 14:35:15 -05:00
Alex Gleason
3f640e9797
Untuck tests out of __tests__ directories, colocate with program files 2023-10-02 14:27:40 -05:00
Alex Gleason
645ce60a5f
eslint: use semicolon TypeScript delimeter 2023-10-02 13:54:02 -05:00
Alex Gleason
7d0c699fe3
ScrollTopButton: delay adding the scroll listener so the feed doesn't jump when navigating back 2023-10-02 13:25:59 -05:00
Alex Gleason
74c231b59b
Stop re-rendering the ScrollTopButton so much 2023-10-02 12:22:09 -05:00
Alex Gleason
460a6e14c3
ScrollTopButton: make better use of callbacks, keep scrolledTop state 2023-10-02 11:50:20 -05:00
Alex Gleason
2380a0b667
ScrollTopButton: render null when not visible 2023-10-02 11:24:07 -05:00
Alex Gleason
4e26adb789
ScrollTopButton: swap out legacy Icon for UI Icon 2023-10-02 11:23:04 -05:00
Alex Gleason
264082b434
ScrollTopButton: a11y, <a> to <button> 2023-10-02 11:22:04 -05:00
Alex Gleason
9cb677363d
Notifications: render ScrollTopButton in a Portal 2023-10-02 11:14:36 -05:00
Alex Gleason
ff55272d59
Timeline: put ScrollTopButton into a Portal 2023-10-02 10:56:45 -05:00
tassoman
e8eefda486 updated: reply-indicator overflows verbose communications, during reply 2023-09-28 08:03:40 +02:00
jonnysemon
8945d4d27f
Translated using Weblate (Arabic)
Currently translated at 100.0% (1599 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ar/
2023-09-27 23:01:03 +02:00
tassoman
12118e1435 autosuggest css should be relative, not fixed 2023-09-27 14:40:11 +02:00
Alex Gleason
136b513878 Merge branch 'max-toot-chars' into 'main'
instanceSchema: support max_toot_chars again

See merge request soapbox-pub/soapbox!2760
2023-09-26 18:07:49 +00:00
Alex Gleason
814b220da0
instanceSchema: support legacy Pleroma configuration 2023-09-26 12:58:51 -05:00
Alex Gleason
0986055222
instanceSchema: get rid of any() fields 2023-09-26 12:29:35 -05:00
Alex Gleason
4b52f20776
instanceSchema: support max_toot_chars again 2023-09-26 12:16:53 -05:00
Tassoman
e950c13858
Translated using Weblate (Slovenian)
Currently translated at 71.5% (1144 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/sl/
2023-09-26 05:59:21 +02:00
Tassoman
ec35811623
Translated using Weblate (Spanish (Argentina))
Currently translated at 74.6% (1194 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/es_AR/
2023-09-26 05:59:21 +02:00
Tassoman
c0e3179dad
Translated using Weblate (Swedish)
Currently translated at 71.5% (1144 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/sv/
2023-09-26 05:59:21 +02:00
Tassoman
6df4ef76ec
Translated using Weblate (Tamil)
Currently translated at 71.5% (1144 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/ta/
2023-09-26 05:59:21 +02:00
Tassoman
9c64bd8d61
Translated using Weblate (Telugu)
Currently translated at 71.5% (1144 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/te/
2023-09-26 05:59:21 +02:00
Tassoman
b4049d0a26
Translated using Weblate (Thai)
Currently translated at 71.5% (1144 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/th/
2023-09-26 05:59:21 +02:00
Tassoman
5ed05e3aeb
Translated using Weblate (Ukrainian)
Currently translated at 71.5% (1144 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/uk/
2023-09-26 05:59:21 +02:00
Tassoman
369753b86b
Translated using Weblate (Welsh)
Currently translated at 71.5% (1144 of 1599 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/cy/
2023-09-26 05:59:21 +02:00
Alex Gleason
2d7ce9b684
lexical: pass compose text from the reducer on mount
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1531
2023-09-25 22:47:55 -05:00