Commit Graph
61 Commits
Author SHA1 Message Date
Spencer Woo 03353ed6dc Merge branch 'main' into ts 2022-01-26 15:42:41 +08:00
myl7 b86893fed2 clean path param earlier 2022-01-25 00:51:42 +08:00
spencerwooo b47dd88d1a useSWR instead of custom useAxiosGet hook for cache reuse 2022-01-24 20:50:43 +08:00
spencerwooo bfbe4eb042 search support for od business 2022-01-24 16:18:55 +08:00
myl7 d3d69849c9 add flags to help to decide preview type 2022-01-24 15:52:45 +08:00
spencerwooo fad501a562 error message for sharepoint search, and minor style fix 2022-01-23 15:43:36 +08:00
spencerwooo c3daf370ec layout stuff for mobile and desktop 2022-01-21 22:12:07 +08:00
spencerwooo 1b658b6a98 search with onedrive graph api 2022-01-21 21:42:21 +08:00
spencerwooo 038b4288cb search modal with mock data 2022-01-17 00:08:04 +08:00
spencerwooo 03e1772d38 match direct link with regex, close #248 #251 2022-01-10 19:21:28 +08:00
spencerwooo 02f03b41bf better error handling 2022-01-10 16:36:45 +08:00
spencerwooo 9f349602ee verify identity after oauth, closes #242 2022-01-08 16:47:33 +08:00
spencerwooo b0ebd6ca0c url file icons and file listing padding adjustments 2022-01-08 15:10:36 +08:00
Spencer Woo 312bcff515 proxied download match direct link, fix #225 and #222 2022-01-02 16:13:21 +00:00
Spencer Woo 8eb52ad3df various style issues, fix #218, #223 2022-01-02 15:32:16 +00:00
spencerwooo 329d084a79 update guided oauth process 2021-12-31 21:49:36 +08:00
spencerwooo 13f5c2c79f use ioredis instead of keyv 2021-12-31 20:30:29 +08:00
spencerwooo 115b550cb5 store tokens in redis with upstash 2021-12-31 20:03:17 +08:00
spencerwooo 49c2e57333 wait some more before redirecting home 2021-12-31 17:03:46 +08:00
spencerwooo 2e6c652ea1 lets try storing as tmp file again 2021-12-31 16:56:18 +08:00
spencerwooo 71ba7ff67c post obfuscated as application/json 2021-12-31 15:55:38 +08:00
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 53539e2cd9 native pdf viewer with mozilla pdfjs 2021-12-29 02:13:17 +08:00
spencerwooo 0e8629e935 file download proxied stream from vercel 2021-12-29 02:11:52 +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 93376e071e refactor new file download functions to new file 2021-12-17 21:21:25 +08:00
spencerwooo 1c1ae5a2c1 wider file listing on large screens 2021-12-15 17:01:31 +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 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 1dca4cabf3 use hashed password for authentication 2021-09-02 22:54:18 +01:00
spencerwooo e76c38db9d configurable font family (google fonts) 2021-08-31 17:56:20 +01:00
spencerwooo 53e10049a0 navbar logout and other custom icons 2021-08-30 15:51:19 +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 a3644b50e5 add action buttons to file listing, close #50 2021-08-29 17:14:17 +01:00
spencerwooo ae8ada58ca dark mode support, close #14 2021-08-23 16:14:08 +01:00
Shiwei Wang d8e8394147 fix path traversal attack 2021-08-21 22:56:18 +08:00
mahoo12138 60f8244663 add file icon for ebook files 2021-07-24 16:31:46 +08:00
spencerwooo 5dfc4c4d12 add permalink for copying 2021-06-29 21:00:05 +01:00
spencerwooo d09bc1c362 finish raw file redirect on server side, close #4 2021-06-25 19:22:22 +01:00