Commit Graph

6702 Commits

Author SHA1 Message Date
07726bf25c Rename static --> dist, build-production --> build, output .zip with subdir 2023-09-18 11:27:19 -05:00
967bf8f30a Merge branch 'vitest-fixes' into 'develop'
Vitest fixes

See merge request soapbox-pub/soapbox!2700
2023-09-17 01:54:27 +00:00
5c39df09de Swap out exif-js for exifr 2023-09-16 20:14:24 -05:00
ecb7a0d825 Upgrade axios-mock-adapter 2023-09-16 18:46:55 -05:00
5ab87616c1 vitest: jest --> vi 2023-09-16 15:16:59 -05:00
afaac6eed2 vitest: add setup file, use @testing-library/jest-dom 2023-09-16 15:16:35 -05:00
14e296fb90 audio: fix compat/compat eslint error 2023-09-16 12:21:37 -05:00
1640c2bc87 yarn lint:js --fix 2023-09-16 12:20:19 -05:00
a9cced80fe Merge branch 'weblate-soapbox-pub-soapbox' into 'develop'
Translations update from Hosted Weblate

See merge request soapbox-pub/soapbox!2682
2023-09-16 11:30:58 +00:00
816d48a395 entity hooks: resolve some circular dependencies 2023-09-16 06:08:46 -05:00
1a036ecee0 Card: prevent circular dependencies 2023-09-16 05:52:04 -05:00
caa05b7b7f hooks: resolve some circular dependencies 2023-09-16 05:47:11 -05:00
a4b2d83e57 Translated using Weblate (Italian)
Currently translated at 99.6% (1587 of 1592 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/it/
2023-09-16 06:16:23 +02:00
d31ed78b41 Translated using Weblate (Bulgarian)
Currently translated at 17.8% (284 of 1592 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/bg/
2023-09-16 06:16:23 +02:00
36b41e06e4 Merge branch 'vitest' into 'develop'
Switch to Vitest

See merge request soapbox-pub/soapbox!2683
2023-09-16 01:21:50 +00:00
215221f64f jest.requireActual --> vi.importActual 2023-09-15 19:51:40 -05:00
da49327b35 Remove @testing-library/jest-dom imports 2023-09-15 19:30:51 -05:00
79a764177d Remove webpackChunkName magic comments 2023-09-15 19:27:59 -05:00
fd2bad74e9 Switch to flexsearch-es 2023-09-15 19:14:05 -05:00
da2f942563 Add vitest, make some tests actually kind of work! 2023-09-15 16:24:01 -05:00
ba22fed03c entry.ts --> sw.ts 2023-09-15 14:20:51 -05:00
0088d908c0 sw: convert web-push-locales to TypeScript, load it with compileTime plugin 2023-09-15 14:11:45 -05:00
1c7b95f12a Attempt to register sw.js on pageload 2023-09-15 14:07:59 -05:00
5aa5966938 Remove offline plugin 2023-09-14 20:41:48 -05:00
0fd465af09 sw: delete unnecessary file 2023-09-14 20:40:30 -05:00
1e3b89ad13 ProfileFamiliarFollowers: use a div for the text element, fix console error 2023-09-14 13:48:21 -05:00
d628249232 ProfilePage: don't load account note panel until account is loaded
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1514
2023-09-14 13:45:09 -05:00
b787b4cca7 ProfileFamiliarFollowers: add key prop, fix console error 2023-09-14 13:45:02 -05:00
e83351f376 Temporarily disable hotkeys 2023-09-14 13:04:14 -05:00
76e8e2e999 Create a wrapper component around react-hotkeys 2023-09-14 12:59:30 -05:00
97c1dbbd79 Fix locale dynamic imports 2023-09-13 21:59:39 -05:00
19bf51165c Thread: replace call to setImmediate 2023-09-13 14:17:30 -05:00
301c5224bf clarify we mean to discard the post 2023-09-13 15:02:48 -04:00
870f2c85a2 fix scheduled post cancel button text 2023-09-13 14:54:27 -04:00
26355eb4ec tsconfig: remove webworker lib, use triple-slash directive 2023-09-13 12:19:57 -05:00
24391b5705 Merge remote-tracking branch 'origin/develop' into vite3 2023-09-13 12:13:23 -05:00
2acab99e5b Make Vite devserver work 2023-09-13 12:04:17 -05:00
9bf65353f5 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-09-12 12:09:05 +02:00
3b912ef5e7 Translated using Weblate (Persian)
Currently translated at 71.3% (1137 of 1593 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/fa/
2023-09-12 12:08:55 +02:00
c7711c3ab0 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1593 of 1593 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/zh_Hans/
2023-09-12 12:08:55 +02:00
983471b003 Translated using Weblate (Polish)
Currently translated at 99.5% (1586 of 1593 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/pl/
2023-09-12 12:08:55 +02:00
7f360a57bf Translated using Weblate (Italian)
Currently translated at 100.0% (1593 of 1593 strings)

Translation: Soapbox/Soapbox
Translate-URL: https://hosted.weblate.org/projects/soapbox-pub/soapbox/it/
2023-09-12 12:08:55 +02:00
f7b84982e3 Merge branch 'account-notes-panel' into 'develop'
Move account notes to a panel

See merge request soapbox-pub/soapbox!2661
2023-09-12 10:08:45 +00:00
beb221576d Update en.json
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-09-12 11:52:37 +02:00
c6df84b223 Fix compose form focus on home page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-09-12 11:17:30 +02:00
bc1b2fc07e Move account notes to a panel
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-09-12 01:13:31 +02:00
82c6f658e8 Allow to drag files to avatar/header pickers
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-09-12 01:11:07 +02:00
d64f49334a Merge branch 'since-date-title' into 'develop'
Add title to created_at label

See merge request soapbox-pub/soapbox!2650
2023-09-11 22:05:55 +00:00
c942a101ec Compose: Don't focus on spoiler input on first render
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-09-10 16:49:48 +02:00
b476d6441e bun: improve types so it runs with bun 2023-09-08 13:28:23 -05:00