Commit graph

55 commits

Author SHA1 Message Date
spencerwooo
b42036afb7
clamp multiple lines for long file names 2022-02-05 20:36:38 +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
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
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
b47dd88d1a
useSWR instead of custom useAxiosGet hook for cache reuse 2022-01-24 20:50:43 +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
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
e82680f2a7 add dot url file preview support, close #221 2022-01-08 15:27:39 +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
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
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
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
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
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
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
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
a488d3324e
colored toast and other minor tweaks 2021-08-29 22:31:42 +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
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
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
7d28f91167 render readme files 2021-06-30 12:53:17 +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
8a8ca4fbea preview code files 2021-06-25 16:13:31 +01:00
spencerwooo
1bba2587d2 code highlighting 2021-06-25 16:08:04 +01:00