Commit graph

106 commits

Author SHA1 Message Date
浅秋枫影
7df0453269
Enable raw file content proxy for files up to 4MB (#546)
Co-authored-by: spencerwooo <spencer.woo@outlook.com>
2022-03-16 16:56:32 +08:00
myl7
81d0cad71c
Preserve original ext and skip folders when extracting extensions (#448) 2022-02-15 19:27:47 +08:00
Spencer Woo
9493ce9f3d
Standalone raw file redirects (#428) 2022-02-14 19:33:19 +08:00
spencerwooo
f0990f637c
fix list layout not full width 2022-02-12 16:29:18 +08:00
spencerwooo
04a79f3920
remove unused variable declarations 2022-02-11 15:36:42 +08:00
myl7
4e490a007c
display extension still when space for filename is not enough 2022-02-10 23:22:40 +08:00
myl7
b68396bef8
turn DownloadingToast into component to fix hook use in it 2022-02-09 23:18:40 +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
myl7
04e333aa36
fix double plurals with context 2022-02-06 20:09:59 +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
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
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
d95f8d540b
return width and height for images 2022-02-02 17:07:33 +08:00
spencerwooo
89dcc1f614
import types explicitly 2022-02-02 16:41:30 +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
myl7
6df1447d33
update error inner structure 2022-01-24 23:16:10 +08:00
myl7
9bde9bdab0
report handleable error in downloading 2022-01-24 22:01:35 +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
c3daf370ec
layout stuff for mobile and desktop 2022-01-21 22:12:07 +08:00
spencerwooo
abb8ca4b7f
change unknown file preview to readable format 2022-01-16 20:17:42 +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
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
8eb52ad3df various style issues, fix #218, #223 2022-01-02 15:32:16 +00:00
spencerwooo
38d24146fa
oauth inside main project, with public client id and secret 2021-12-31 03:44:03 +08:00
spencerwooo
5bc8fc4a67
a better abstraction of download buttons 2021-12-29 15:23:47 +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
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
spencerwooo
9c5a6e6211
add download and compression progress 2021-12-17 16:31:01 +08:00
spencerwooo
a27cc18951
remove all shadows 2021-12-17 14:35:24 +08:00
spencerwooo
1339c98925
minor adjustments to style and comments 2021-12-17 13:57:56 +08:00
myl7
8dcb881917
update traversing method
change DFS to BFS with same level folders fetched concurrently.
merge helper class into traversing func.
2021-12-16 23:54:45 +08:00
myl7
f550a08e37
update function names and comments according to upstream 2021-12-16 21:57:04 +08:00
myl7
afcd6abd0e
add folder download notification 2021-12-16 21:28:37 +08:00
myl7
4a7398bf59
add loading state for folder download 2021-12-16 21:28:36 +08:00
myl7
a35a7a790b
refactor to get LoadingIcon and Downloading for later folder loading 2021-12-16 21:28:33 +08:00