Commit graph

130 commits

Author SHA1 Message Date
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
spencerwooo
038b4288cb
search modal with mock data 2022-01-17 00:08:04 +08:00
spencerwooo
fd95e03795
add OdFileObject typings 2022-01-16 20:19:52 +08:00
spencerwooo
abb8ca4b7f
change unknown file preview to readable format 2022-01-16 20:17:42 +08:00
spencerwooo
0bde48af01
remove proxied download button (for now) 2022-01-15 21:37:06 +08:00
spencerwooo
02f03b41bf better error handling 2022-01-10 16:36:45 +08:00
spencerwooo
e82680f2a7 add dot url file preview support, close #221 2022-01-08 15:27:39 +08:00
spencerwooo
b0ebd6ca0c url file icons and file listing padding adjustments 2022-01-08 15:10:36 +08:00
spencerwooo
16272f519a fix minor style issues 2022-01-06 21:18:28 +08:00
spencerwooo
b451f09aeb a flat design with narrower lists 2022-01-06 21:10:16 +08:00
spencerwooo
fef6b1eee5 functioncomponent -> react.fc 2022-01-06 19:25:10 +08:00
spencerwooo
6671986bac extract components and custom useFileContent hook 2022-01-06 16:34:16 +08:00
Spencer Woo
312bcff515 proxied download match direct link, fix #225 and #222 2022-01-02 16:13:21 +00:00
Spencer Woo
8eb52ad3df various style issues, fix #218, #223 2022-01-02 15:32:16 +00:00
spencerwooo
55869b3884
fabulous illustrations for all pages 2021-12-31 21:55:41 +08:00
spencerwooo
38d24146fa
oauth inside main project, with public client id and secret 2021-12-31 03:44:03 +08:00
spencerwooo
d24608b446
fix some typos, add a few tooltips 2021-12-29 19:58:33 +08:00
spencerwooo
09575b85b6
remove unnecessary Toaster containers, fix #207 2021-12-29 17:08:10 +08:00
spencerwooo
172d0a97eb
sticky download button so long previews doesn't push buttons down, closes #205 2021-12-29 15:52:18 +08:00
spencerwooo
29df9bc9cb
load navbar icon with priority 2021-12-29 15:26:04 +08:00
spencerwooo
5bc8fc4a67
a better abstraction of download buttons 2021-12-29 15:23:47 +08:00
spencerwooo
0613e035b2
medium font size for various occurances 2021-12-29 15:23:20 +08:00
spencerwooo
59b00f2343
rename pdf preview component 2021-12-29 02:13:47 +08:00
spencerwooo
53539e2cd9
native pdf viewer with mozilla pdfjs 2021-12-29 02:13:17 +08:00
spencerwooo
6d02a81a70
fix password onclick not stored 2021-12-20 22:33:49 +08:00
spencerwooo
de81f79c4a
fix an issue where entering password triggers reload 2021-12-20 20:55:12 +08:00
spencerwooo
ae3c8144b8
load all icons with tree-shaking 2021-12-20 17:10:29 +08:00
spencerwooo
c778c6d94a
add nprogress and custom google fonts for sans/mono 2021-12-18 12:59:40 +08:00
spencerwooo
5889a5d9dc
link accent color and 404 page 2021-12-18 11:00:08 +08:00
spencerwooo
51b05631c3
use aspect ratios in tailwind 3.0 and remove css hacks 2021-12-18 09:43:24 +08:00
spencerwooo
e20a2f52a5
multiple file download with progress bar and percentage 2021-12-17 23:16:18 +08:00
spencerwooo
93376e071e
refactor new file download functions to new file 2021-12-17 21:21:25 +08:00