Commit graph

319 commits

Author SHA1 Message Date
Spencer Woo
601ae3ce8b
Merge pull request #405 from spencerwooo/edge-caching 2022-02-10 23:21:54 +08:00
spencerwooo
03163e9d32
reduce cache maxage 2022-02-10 23:06:11 +08:00
spencerwooo
2686197b4a
setup edge caching 2022-02-10 22:55:59 +08:00
spencerwooo
de2ccc4e65
handle languages names different from file extensions 2022-02-10 22:32:50 +08:00
spencerwooo
7494894a86
use react syntax highlighter instead of prism 2022-02-10 22:32:34 +08:00
spencerwooo
f4a6eb53bc
fix for axios parsing file content as json by default 2022-02-10 22:00:40 +08:00
Spencer Woo
9e530b97d4
Merge pull request #401 from spencerwooo/thumbnail-on-demand 2022-02-10 13:42:31 +08:00
spencerwooo
7c04ddd6bc
render audio album thumbnails and playback controls 2022-02-10 13:37:03 +08:00
spencerwooo
cf97983063
request all thumbnail on separate route instead 2022-02-10 10:47:58 +08:00
Spencer Woo
dbb5e185da
Merge pull request #398 from Android-KitKat-Fork/i18n-unavailable 2022-02-10 10:23:11 +08:00
spencerwooo
cfdef30a06
enclose prettier glob filename matches, close #393 2022-02-10 10:21:41 +08:00
Spencer Woo
52907c9753
Merge pull request #396 from myl7/fix-dl 2022-02-10 10:17:10 +08:00
Android
2c935a029f
Fix "Unavailable" not translated at Hashes 2022-02-10 02:15:14 +08:00
myl7
b68396bef8
turn DownloadingToast into component to fix hook use in it 2022-02-09 23:18:40 +08:00
Spencer Woo
fab8336d99
Merge pull request #387 from myl7/thumbnail 2022-02-09 19:50:24 +08:00
myl7
9b03d97d2c
handle thumbnails length 0 2022-02-09 16:16:13 +08:00
myl7
197336d42d
add thumbnail api and update grid view thumbnail fetching 2022-02-09 15:19:54 +08:00
spencerwooo
2959370f80
fix for not coding till midnight 2022-02-09 00:02:29 +08:00
spencerwooo
45f6158e7d
switch locale component 2022-02-08 23:30:12 +08:00
Spencer Woo
d47939059b
Merge pull request #359 from myl7/i18n 2022-02-08 22:14:53 +08:00
spencerwooo
6aca0473ae
fix some confusing zh-CN locales 2022-02-08 22:12:40 +08:00
Spencer Woo
142b737c0a
Merge branch 'main' into i18n 2022-02-08 21:58:03 +08:00
Spencer Woo
44ac483d28
Merge pull request #377 from myl7/date 2022-02-08 21:54:33 +08:00
myl7
223e7e3d6a
allow to customize datetime format via dayjs 2022-02-08 20:06:02 +08:00
myl7
b3aed1d162
translate newly added messages about flv 2022-02-08 19:29:01 +08:00
myl7
1a8f145ed7
suppress eslint to use single quote in jsx other than using string literal 2022-02-08 19:11:47 +08:00
myl7
da0fdec142
put single quote in jsx into string literal 2022-02-08 18:08:51 +08:00
myl7
09c67f4870
format code and fix i18n prop passing in oauth guide step 3 2022-02-08 17:53:15 +08:00
myl7
207a90e6e2
fix entity encoding problem in i18n
the extracter we use, i18next-parser, can not handle entity encoding in
keys while using <Trans>
2022-02-08 17:48:25 +08:00
myl7
ed6dcc926f
pass locale related info into oauth guide page props 2022-02-08 17:17:21 +08:00
Spencer Woo
920e83ef2e
Merge pull request #364 from myl7/ctrl-k 2022-02-08 16:57:28 +08:00
spencerwooo
3773a3a2cf
some housekeeping 2022-02-08 16:49:34 +08:00
Spencer Woo
2b5a91537b
Merge branch 'main' into i18n 2022-02-08 16:42:32 +08:00
Spencer Woo
bd8515401a
Merge pull request #371 from myl7/readable-path 2022-02-08 16:32:27 +08:00
spencerwooo
070394a661
some housekeeping 2022-02-08 16:31:56 +08:00
Spencer Woo
40ad85d265
Merge branch 'main' into readable-path 2022-02-08 16:29:17 +08:00
Spencer Woo
dd16074a22
Merge pull request #361 from myl7/flv 2022-02-08 16:15:43 +08:00
spencerwooo
331ee20fd6
styles and some housekeeping 2022-02-08 16:13:54 +08:00
myl7
73651e4f50
add getReadablePath util to make copied url readable 2022-02-08 02:54:48 +08:00
myl7
34fb665eb9
remove wired duplicated code line 2022-02-07 19:19:12 +08:00
myl7
343eb15dd2
fix type error by modifying useHotKeys hook directly 2022-02-07 17:15:37 +08:00
myl7
54846eecd4
prevent ctrl+k default
avoid opening browser search box in chrome when pressing ctrl+k
2022-02-07 17:01:33 +08:00
myl7
b3ffeb9635
add translations for oauth guide pages 2022-02-07 16:50:05 +08:00
myl7
9faa2849eb
add flv video support
with flv.js which is dynamicly imported
2022-02-07 01:51:28 +08:00
myl7
49a601446d
add translations for preview components
also fix ellipsis in zh-CN
2022-02-06 20:34:03 +08:00
myl7
04e333aa36
fix double plurals with context 2022-02-06 20:09:59 +08:00
myl7
c0353b5455
migrate from i18next-scanner to i18next-parser
i18next-scanner does not support i18next JSON v4 format
2022-02-06 19:47:36 +08:00
myl7
24507cbbb9
add translation json and fix some missed hooks 2022-02-06 19:26:11 +08:00
myl7
2df258f791
add trans support and hook all compnents excluding preview dir 2022-02-06 18:35:03 +08:00
myl7
aa848c92f8
add trailing slash config to fix i18n with api routes 2022-02-06 17:26:46 +08:00