Commit graph

149 commits

Author SHA1 Message Date
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
spencerwooo
9c5a6e6211
add download and compression progress 2021-12-17 16:31:01 +08:00
spencerwooo
c6fba24f97
minor style changes to input and button hover effects 2021-12-17 15:28:11 +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
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
e47745c29d
show button disabled when none of the files are selected 2021-12-16 12:49:22 +08:00
spencerwooo
fd869698f5
fix a few style issues with toast and checkbox 2021-12-15 17:02:06 +08:00
Spencer Woo
8b383ee521
Merge branch 'main' into batchdl 2021-12-14 21:52:02 +08:00
cubercsl
02b71fe95d
fix(pdfpreview): Support for non-latin characters
As mentioned in
https://github.com/wojtekmaj/react-pdf#support-for-non-latin-characters,
pdf.js needs the bundled cMaps files to work.
2021-12-02 17:10:28 +08:00
myl7
1b74a378e9
add selected download notification 2021-11-28 21:27:11 +08:00
myl7
e706051238
fix duplicated click event for wrapped checkbox 2021-11-27 19:04:21 +08:00
myl7
66edd3034f
remove meaningless console log 2021-11-27 17:00:32 +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
myl7
6c63aa90be
fix code style problem 2021-11-27 16:31:02 +08:00
myl7
2071cdea32
add urlencoding for one lost c.name 2021-11-22 23:50:13 +08:00
myl7
d7dd74772e
hide selecting checkbox for .password
.password is still downloadable via per-file download button, but it is completely excluded from selecting downloading
2021-11-19 21:37:14 +08:00
myl7
c4c31e0dda
exclude .password from downloading 2021-11-19 21:31:07 +08:00
myl7
54de2651ce
exclude selecting only one file from multi file download 2021-11-19 16:38:00 +08:00
myl7
c1454db48f
add spinner when downloading selected files 2021-11-19 16:21:42 +08:00
myl7
f8777682cc
exclude folders from selection 2021-11-19 07:56:11 +08:00
myl7
61dd08c1aa
add download button style and action
Add jszip to dependencies
2021-11-19 07:28:05 +08:00
myl7
d1b7022127
add file selection checkbox behavior 2021-11-19 06:36:23 +08:00
myl7
1868d4b3dc
alloc 1 col in file listing for file selection 2021-11-19 04:13:19 +08:00
myl7
0479b7868c
add EPUB preview 2021-10-06 05:28:40 +08:00
Hans362
82721e01f1
fix office preview 2021-09-11 18:22:22 +08:00
spencerwooo
e53716eb12
fix dark mode colors, check todo in readme 2021-09-05 16:09:24 +01:00
spencerwooo
4d6b41f156
infinite loading via useSWR, close - Pagination #2 2021-09-05 16:03:27 +01:00
spencerwooo
091e97f211
use second request for paging instead of expand children 2021-09-04 18:47:31 +01:00
spencerwooo
9a3599b6c9
no customisable icons in contacts 2021-09-04 15:28:49 +01:00
spencerwooo
97a0eb91fc
format according to headwind sequence 2021-09-04 15:15:09 +01:00
spencerwooo
047508e5da
markdown render image with size params (#89) 2021-09-04 14:39:00 +01:00
spencerwooo
12c551468f
render relative path images in markdown, close #10 2021-08-31 13:59:31 +01:00
spencerwooo
0ee32fd749
customisable icon and new design 2021-08-30 20:47:25 +01:00
spencerwooo
53e10049a0
navbar logout and other custom icons 2021-08-30 15:51:19 +01:00
spencerwooo
549b9ba345
password submit on enter 2021-08-30 14:44:50 +01:00
spencerwooo
c9d5668575
password modal and logout token clear 2021-08-30 14:34:37 +01:00
spencerwooo
f8983177d4
basic auth with .password 2021-08-30 01:35:52 +01:00
spencerwooo
a488d3324e
colored toast and other minor tweaks 2021-08-29 22:31:42 +01:00
spencerwooo
a3644b50e5
add action buttons to file listing, close #50 2021-08-29 17:14:17 +01:00
spencerwooo
8a5f4482cd
use stale swr and disable revalidation 2021-08-29 15:50:38 +01:00
spencerwooo
e374d5ba61
fix markdown bg and text colors 2021-08-29 15:32:27 +01:00
spencerwooo
2b7b13a99f
hide scrollbar for breadcrumb 2021-08-29 15:13:50 +01:00
spencerwooo
4c7b27a886
revert to original useSWR 2021-08-23 16:26:04 +01:00
spencerwooo
ae8ada58ca
dark mode support, close #14 2021-08-23 16:14:08 +01:00
spencerwooo
96e9dbb2b2
clipboard implemented with react hooks, fix #58 2021-08-23 15:02:06 +01:00
spencerwooo
778666b7b4
do not encode raw url to clipboard, fix #61 2021-08-23 14:34:38 +01:00
spencerwooo
88c2f1bd9e
add iina, vlc, and potplayer direct links, close #43 2021-08-15 21:26:08 +01:00
spencerwooo
2daa086cc0
add comment, close #18 2021-08-15 20:49:48 +01:00
spencerwooo
c9af7567c7
render html in markdown 2021-08-15 20:48:29 +01:00
spencerwooo
69c2ea05a4
fix folders with # inside their names 2021-08-15 20:38:51 +01:00
spencerwooo
724fe7150c
fix datetime format, closes #45 2021-08-15 20:13:08 +01:00
spencerwooo
88e3db3572 configurable footer, baseurl from window.location 2021-07-02 15:09:07 +01:00
spencerwooo
36c4d5cf90 emoji folder icons, close #6 2021-06-30 13:09:37 +01:00
spencerwooo
7d28f91167 render readme files 2021-06-30 12:53:17 +01:00
spencerwooo
6fc114f16c fix navbar zindex, close #8 2021-06-30 12:34:08 +01:00
spencerwooo
5b33d659a2 update favicon and project icon, close #3 2021-06-29 21:26:11 +01:00
spencerwooo
5dfc4c4d12 add permalink for copying 2021-06-29 21:00:05 +01:00
spencerwooo
c7813a7614 preview ms office files 2021-06-29 16:20:35 +01:00
spencerwooo
6e78ac80ad responsive pdf preview 2021-06-29 15:31:57 +01:00
spencerwooo
d09bc1c362 finish raw file redirect on server side, close #4 2021-06-25 19:22:22 +01:00
spencerwooo
1cbb33644f add copy to clipboard and custom toolbar 2021-06-25 18:47:57 +01:00
spencerwooo
8a8ca4fbea preview code files 2021-06-25 16:13:31 +01:00
spencerwooo
1bba2587d2 code highlighting 2021-06-25 16:08:04 +01:00
spencerwooo
19b8212e1d add error page, download button 2021-06-25 15:15:00 +01:00
spencerwooo
476c522e1f audio preview add music playing and buffering icon 2021-06-25 13:44:14 +01:00
spencerwooo
370fb50420 remove navbar z index 2021-06-25 01:06:07 +01:00
spencerwooo
debef82ce0 fix mobile hidden visibility 2021-06-25 00:47:57 +01:00
spencerwooo
a2f853259f add support for pdf previews with pdf.js 2021-06-25 00:42:46 +01:00
spencerwooo
b1cced5e7e audio and video preview, mobile compatibility 2021-06-24 22:32:22 +01:00
spencerwooo
2ea2db2cee add video and audio player preview 2021-06-24 14:54:59 +01:00
spencerwooo
d437402577
image preview as gallery 2021-06-23 23:51:23 +01:00
spencerwooo
40ac051d33
add font awesome, file icons, and more 2021-06-23 21:27:51 +01:00
spencerwooo
bada403a9d
add folders and file listing api 2021-06-23 00:15:19 +01:00
spencerwooo
0d467cfa13
basic page structure, navbar and footer 2021-06-22 14:55:53 +01:00