Commit graph

76 commits

Author SHA1 Message Date
Spencer Woo
905f8f2f43
use Plyr instead of DPlayer (#452) 2022-02-16 22:47:36 +08:00
spencerwooo
e24a602d46 encode url for office previews 2022-02-15 19:20:11 +08:00
spencerwooo
50f28f7372
style fix and minor adjustments 2022-02-14 21:01:49 +08:00
Spencer Woo
9493ce9f3d
Standalone raw file redirects (#428) 2022-02-14 19:33:19 +08:00
spencerwooo
c6abeeb8aa
customise embed link menu, close #314 2022-02-12 22:09:54 +08:00
spencerwooo
52e4b20494
change flvjs to mpegts 2022-02-12 19:53:20 +08:00
Android
d3aca51130
Fix relative path of readme image 2022-02-11 12:33:09 +08:00
spencerwooo
319af6ed77
replacing video ext with subtitle ext, close #408 2022-02-11 00:13:03 +08:00
spencerwooo
7494894a86
use react syntax highlighter instead of prism 2022-02-10 22:32:34 +08:00
spencerwooo
7c04ddd6bc
render audio album thumbnails and playback controls 2022-02-10 13:37:03 +08:00
spencerwooo
cf97983063
request all thumbnail on separate route instead 2022-02-10 10:47:58 +08:00
Android
2c935a029f
Fix "Unavailable" not translated at Hashes 2022-02-10 02:15:14 +08:00
Spencer Woo
142b737c0a
Merge branch 'main' into i18n 2022-02-08 21:58:03 +08:00
myl7
223e7e3d6a
allow to customize datetime format via dayjs 2022-02-08 20:06:02 +08:00
myl7
b3aed1d162
translate newly added messages about flv 2022-02-08 19:29:01 +08:00
Spencer Woo
2b5a91537b
Merge branch 'main' into i18n 2022-02-08 16:42:32 +08:00
Spencer Woo
40ad85d265
Merge branch 'main' into readable-path 2022-02-08 16:29:17 +08:00
spencerwooo
331ee20fd6
styles and some housekeeping 2022-02-08 16:13:54 +08:00
myl7
73651e4f50
add getReadablePath util to make copied url readable 2022-02-08 02:54:48 +08:00
myl7
9faa2849eb
add flv video support
with flv.js which is dynamicly imported
2022-02-07 01:51:28 +08:00
myl7
49a601446d
add translations for preview components
also fix ellipsis in zh-CN
2022-02-06 20:34:03 +08:00
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