Commit Graph
182 Commits
Author SHA1 Message Date
spencerwooo 03163e9d32 reduce cache maxage 2022-02-10 23:06:11 +08:00
spencerwooo 7494894a86 use react syntax highlighter instead of prism 2022-02-10 22:32:34 +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
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
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 142b737c0a Merge branch 'main' into i18n 2022-02-08 21:58:03 +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 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
Spencer Woo 920e83ef2e Merge pull request #364 from myl7/ctrl-k 2022-02-08 16:57:28 +08:00
Spencer Woo 2b5a91537b Merge branch 'main' into i18n 2022-02-08 16:42:32 +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
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 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 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 85b51fe5c1 add some zh-CN translations 2022-02-06 06:55:38 +08:00
spencerwooo 53470ff61e extract and cleanup some functions 2022-02-05 21:16:57 +08:00
spencerwooo b42036afb7 clamp multiple lines for long file names 2022-02-05 20:36:38 +08:00
spencerwooo 443d42b16c fallback component for broken thumbnails 2022-02-05 19:12:20 +08:00
spencerwooo 06e9e80d4b fix onclick events get passed to a tags 2022-02-05 19:05:13 +08:00
spencerwooo 4afa6f8c33 handle file and folder downloads 2022-02-05 19:00:25 +08:00
spencerwooo 2c22c17ddd grid layout with thumbnails 2022-02-05 17:25:46 +08:00
spencerwooo c96dd18e1d remove image gallery component 2022-02-05 15:46:11 +08:00
spencerwooo b1234407b8 smaller padding and vertical height 2022-02-05 15:22:46 +08:00
spencerwooo c66c61bfee switch layout dropdown and layout store 2022-02-04 22:20:53 +08:00
spencerwooo f916cd74c2 add width and height to icons 2022-02-04 19:53:25 +08:00
spencerwooo c16d0ab2db new breadcrumb that scrolls to the end automatically 2022-02-04 17:22:40 +08:00
spencerwooo e4f3ea7b05 formatting tailwind classes with prettier 2022-02-04 16:05:28 +08:00
spencerwooo 7558fb93c5 attach subtitles with the same name as the video file 2022-02-02 22:08:14 +08:00
spencerwooo 91236a123f drop react player, use dplayer and react-audio-player 2022-02-02 21:36:12 +08:00
spencerwooo d95f8d540b return width and height for images 2022-02-02 17:07:33 +08:00
spencerwooo 0343328cf1 remove epubjs type 2022-02-02 16:49:59 +08:00
spencerwooo 89dcc1f614 import types explicitly 2022-02-02 16:41:30 +08:00