Commit Graph
171 Commits
Author SHA1 Message Date
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
spencerwooo 4803850e99 fix erroneous path encodings in search results 2022-02-01 22:19:00 +08:00
spencerwooo 7d39a998e1 use .config.js for configuration files, close #301 2022-01-29 15:40:50 +08:00
spencerwooo 79fd82b71e fix default preview file name too long on desktop, close #297 2022-01-26 16:14:45 +08:00
Spencer Woo 03353ed6dc Merge branch 'main' into ts 2022-01-26 15:42:41 +08:00
spencerwooo 8201cb2701 defining all available types (files and folders) 2022-01-26 15:32:20 +08:00
Spencer Woo ce6d3ef69a Merge pull request #231 from myl7/tree-error-handle 2022-01-25 09:29:45 +08:00
myl7 6df1447d33 update error inner structure 2022-01-24 23:16:10 +08:00
spencerwooo 10b2b178cf escape pound signs in path component 2022-01-24 22:31:11 +08:00
myl7 9bde9bdab0 report handleable error in downloading 2022-01-24 22:01:35 +08:00
myl7 007e412630 handle errors when traversing 2022-01-24 22:01:35 +08:00
spencerwooo 3476c652a3 clear input box on search modal close 2022-01-24 20:56:02 +08:00