Commit graph

161 commits

Author SHA1 Message Date
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
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
spencerwooo
b47dd88d1a
useSWR instead of custom useAxiosGet hook for cache reuse 2022-01-24 20:50:43 +08:00
spencerwooo
17263feea9
load item path on result mount 2022-01-24 20:31:17 +08:00
spencerwooo
0b55fe5fc7
rename useAxiosFetch hook for universal fetch usage 2022-01-24 19:16:32 +08:00
spencerwooo
bfbe4eb042
search support for od business 2022-01-24 16:18:55 +08:00
myl7
a53c0ab985
add flags to help to decide file icon 2022-01-24 16:03:35 +08:00
myl7
d3d69849c9
add flags to help to decide preview type 2022-01-24 15:52:45 +08:00
spencerwooo
fad501a562
error message for sharepoint search, and minor style fix 2022-01-23 15:43:36 +08:00
spencerwooo
3d918fbd90
hot keys support for opening search modal 2022-01-22 19:35:23 +08:00
spencerwooo
c3daf370ec
layout stuff for mobile and desktop 2022-01-21 22:12:07 +08:00
spencerwooo
1b658b6a98
search with onedrive graph api 2022-01-21 21:42:21 +08:00