Commit graph

72 commits

Author SHA1 Message Date
myl7
ded9818e23
Fix readable URL character filtering (#465) 2022-02-18 12:13:28 +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
de2ccc4e65
handle languages names different from file extensions 2022-02-10 22:32:50 +08:00
spencerwooo
f4a6eb53bc
fix for axios parsing file content as json by default 2022-02-10 22:00:40 +08:00
myl7
223e7e3d6a
allow to customize datetime format via dayjs 2022-02-08 20:06:02 +08:00
myl7
73651e4f50
add getReadablePath util to make copied url readable 2022-02-08 02:54:48 +08:00
spencerwooo
ed17eb2a32
preview for subtitle files 2022-02-04 19:53:36 +08:00
spencerwooo
9794fb2df4
update deps including useSWR 1.0 2022-02-02 16:43:17 +08:00
spencerwooo
89dcc1f614
import types explicitly 2022-02-02 16:41:30 +08:00
spencerwooo
7d39a998e1
use .config.js for configuration files, close #301 2022-01-29 15:40:50 +08:00
spencerwooo
940eef458f
disable file listing revalidate, close #317 2022-01-29 15:11:05 +08:00
Spencer Woo
03353ed6dc
Merge branch 'main' into ts 2022-01-26 15:42:41 +08:00
spencerwooo
ab484dbf01
minor export adjustments 2022-01-26 15:40:21 +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
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
3d918fbd90
hot keys support for opening search modal 2022-01-22 19:35:23 +08:00
spencerwooo
abb8ca4b7f
change unknown file preview to readable format 2022-01-16 20:17:42 +08:00
spencerwooo
07f4a61aaa support for mov, close #256 2022-01-10 18:52:45 +08:00
spencerwooo
02f03b41bf better error handling 2022-01-10 16:36:45 +08:00
spencerwooo
9f349602ee verify identity after oauth, closes #242 2022-01-08 16:47:33 +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
c34fa086fb no more stale swr any longer 2022-01-06 21:16:20 +08:00
spencerwooo
1201bcf4e8 fix error null type 2022-01-06 16:36:21 +08:00
spencerwooo
6671986bac extract components and custom useFileContent hook 2022-01-06 16:34:16 +08:00
spencerwooo
13f5c2c79f
use ioredis instead of keyv 2021-12-31 20:30:29 +08:00
spencerwooo
115b550cb5
store tokens in redis with upstash 2021-12-31 20:03:17 +08:00
spencerwooo
2e6c652ea1
lets try storing as tmp file again 2021-12-31 16:56:18 +08:00
spencerwooo
71ba7ff67c
post obfuscated as application/json 2021-12-31 15:55:38 +08:00
spencerwooo
72153cc852
store access token and refresh token in serverless mem 2021-12-31 15:17:39 +08:00
spencerwooo
3dde6ac73c
store tokens in memory directly 2021-12-31 13:19:38 +08:00
spencerwooo
978c6d82f6
check kv store path on deployment 2021-12-31 12:36:30 +08:00
spencerwooo
689a647b80
fixed file name for serverless persistent store 2021-12-31 12:28:33 +08:00
spencerwooo
45ef22f34a
store access token and refresh token in the file system /tmp 2021-12-31 12:17:00 +08:00
spencerwooo
38d24146fa
oauth inside main project, with public client id and secret 2021-12-31 03:44:03 +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
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
5a8bb2acda
add folder meta in dfs traversing 2021-12-16 21:28:37 +08:00
myl7
fb1520c944
finish folder download 2021-12-16 21:21:52 +08:00
myl7
f6d44b7ee5
add folder download utils 2021-12-16 21:17:10 +08:00
spencerwooo
fd869698f5
fix a few style issues with toast and checkbox 2021-12-15 17:02:06 +08:00
myl7
1d6c40affe
update download function
Rename it and turn it into async other than using callback
2021-11-27 16:31:02 +08:00