Commit Graph
21 Commits
Author SHA1 Message Date
spencerwooo 72153cc852 store access token and refresh token in serverless mem 2021-12-31 15:17:39 +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
Spencer Woo 8658b480ed remove unused console logs 2021-12-29 23:31:43 +08:00
spencerwooo 0e8629e935 file download proxied stream from vercel 2021-12-29 02:11:52 +08:00
spencerwooo 93376e071e refactor new file download functions to new file 2021-12-17 21:21:25 +08: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
myl7 f3d1b01ccb fix index page 500 error
By removing trailing slash for drive api
2021-09-10 04:48:41 +08: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 1dca4cabf3 use hashed password for authentication 2021-09-02 22:54:18 +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
Shiwei Wang d8e8394147 fix path traversal attack 2021-08-21 22:56:18 +08:00
spencerwooo d09bc1c362 finish raw file redirect on server side, close #4 2021-06-25 19:22:22 +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 03c05b4d66 Initial commit from Create Next App 2021-06-22 12:58:37 +01:00