Commit graph

155 commits

Author SHA1 Message Date
spencerwooo
1c1ae5a2c1
wider file listing on large screens 2021-12-15 17:01:31 +08:00
Spencer Woo
8b383ee521
Merge branch 'main' into batchdl 2021-12-14 21:52:02 +08:00
Spencer Woo
9577a4707b
Merge pull request #186 from cubercsl/patch-1
fix(pdfpreview): Support for non-latin characters
2021-12-14 19:39:15 +08:00
spencerwooo
96e960d1c5
npm update, audit, and next@12, closes #188 2021-12-14 19:30:45 +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
Spencer Woo
c361dcc594
update readme for temporary dev-hold 2021-11-27 09:00:07 +08:00
Spencer Woo
477bbf27c6
Merge pull request #176 from myl7/fix-urlencode
Add urlencoding for one filename
2021-11-27 08:51:29 +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
Spencer Woo
356467fa10
Merge pull request #159 from myl7/public-root
Fix 500 when setting root as public root
2021-11-02 15:16:37 +00:00
myl7
9ad71b2675
fix 500 when setting root as public root
When listing root children, the path should omit a colon

Ref https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_list_children?view=odsp-graph-online#list-children-in-the-root-of-the-current-users-drive
2021-11-01 18:35:34 +08:00
Spencer Woo
6f057734d4
Merge pull request #133 from myl7/epub
Add EPUB preview
2021-10-11 22:04:49 +01:00
myl7
0479b7868c
add EPUB preview 2021-10-06 05:28:40 +08:00
Spencer Woo
7e22e2dd8e
Merge pull request #106 from hans362/fix-office-preview
Fix Office preview for SharePoint
2021-09-14 09:11:42 +01:00
Spencer Woo
3ca860d7c6
Merge pull request #105 from myl7/dev
Fix index page 500 error
2021-09-14 09:10:42 +01:00
Hans362
82721e01f1
fix office preview 2021-09-11 18:22:22 +08:00
myl7
f3d1b01ccb
fix index page 500 error
By removing trailing slash for drive api
2021-09-10 04:48:41 +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
34c3310f12
pagination token returned from api 2021-09-05 13:49:54 +01:00
spencerwooo
091e97f211
use second request for paging instead of expand children 2021-09-04 18:47:31 +01:00
spencerwooo
97f4250a57
improve raw file link query performance 2021-09-04 15:46:52 +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
526de1bd72
update deps 2021-09-02 23:02:11 +01:00
Spencer Woo
e4e4a63b3e
Merge pull request #83 from spencerwooo/protected-auth
Fix a series of issues related to protected routes
2021-09-02 22:59:07 +01:00
spencerwooo
1dca4cabf3
use hashed password for authentication 2021-09-02 22:54:18 +01:00
spencerwooo
81b0e3bf3f
fix protected route could be empty 2021-09-02 21:53:31 +01:00
spencerwooo
e76c38db9d
configurable font family (google fonts) 2021-08-31 17:56:20 +01:00
spencerwooo
12c551468f
render relative path images in markdown, close #10 2021-08-31 13:59:31 +01:00
Spencer Woo
08cd0d7191 update new design demo screenshot 2021-08-30 22:17:21 +01:00
spencerwooo
516894041e
update icon design and readme 2021-08-30 21:17:03 +01:00
spencerwooo
0ee32fd749
customisable icon and new design 2021-08-30 20:47:25 +01:00
Spencer Woo
c887844817
Merge pull request #65 from spencerwooo/protected-route
Protected routes, folders, and files support
2021-08-30 15:54:39 +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