Commit Graph
99 Commits
Author SHA1 Message Date
spencerwooo 049be5d841 fix onedrive international version failing raw redirect 2022-02-14 23:35:32 +08:00
spencerwooo 918724e05c remove prismjs, close #432 2022-02-14 21:01:22 +08:00
Spencer Woo 9493ce9f3d Standalone raw file redirects (#428) 2022-02-14 19:33:19 +08:00
spencerwooo aea8a4d029 Merge branch 'main' of github.com:spencerwooo/onedrive-vercel-index into stale-while-revalidate-59 2022-02-13 19:17:04 +08:00
spencerwooo 3254bfad35 stop serving cache for protected routes, close #425 2022-02-13 19:09:47 +08:00
spencerwooo c6abeeb8aa customise embed link menu, close #314 2022-02-12 22:09:54 +08:00
spencerwooo a8ea73c564 change cache control header (stale-while-revalidate) 2022-02-12 19:37:00 +08:00
spencerwooo 03163e9d32 reduce cache maxage 2022-02-10 23:06:11 +08:00
spencerwooo 2686197b4a setup edge caching 2022-02-10 22:55:59 +08:00
spencerwooo cf97983063 request all thumbnail on separate route instead 2022-02-10 10:47:58 +08:00
myl7 197336d42d add thumbnail api and update grid view thumbnail fetching 2022-02-09 15:19:54 +08:00
spencerwooo 45f6158e7d switch locale component 2022-02-08 23:30:12 +08:00
spencerwooo 6aca0473ae fix some confusing zh-CN locales 2022-02-08 22:12:40 +08:00
myl7 1a8f145ed7 suppress eslint to use single quote in jsx other than using string literal 2022-02-08 19:11:47 +08:00
myl7 da0fdec142 put single quote in jsx into string literal 2022-02-08 18:08:51 +08:00
myl7 09c67f4870 format code and fix i18n prop passing in oauth guide step 3 2022-02-08 17:53:15 +08:00
myl7 207a90e6e2 fix entity encoding problem in i18n
the extracter we use, i18next-parser, can not handle entity encoding in
keys while using <Trans>
2022-02-08 17:48:25 +08:00
myl7 ed6dcc926f pass locale related info into oauth guide page props 2022-02-08 17:17:21 +08:00
spencerwooo 3773a3a2cf some housekeeping 2022-02-08 16:49:34 +08:00
Spencer Woo 2b5a91537b Merge branch 'main' into i18n 2022-02-08 16:42:32 +08:00
myl7 b3ffeb9635 add translations for oauth guide pages 2022-02-07 16:50:05 +08:00
spencerwooo 96b3c92df9 some housekeeping 2022-02-06 16:01:21 +08:00
Ovler d4998466de Update search.ts 2022-02-06 15:27:06 +08:00
myl7 5bd04045b1 fix pages get props 2022-02-06 06:54:52 +08:00
myl7 e28ce30987 add next-i18next as i18n framework 2022-02-06 06:18:26 +08:00
Ovler 234d826d3a fix typo 2022-02-05 23:36:49 +08:00
Ovler 20990fcf08 Try to fix CJK search 2022-02-05 23:07:08 +08:00
spencerwooo 2c22c17ddd grid layout with thumbnails 2022-02-05 17:25:46 +08:00
spencerwooo c66c61bfee switch layout dropdown and layout store 2022-02-04 22:20:53 +08:00
spencerwooo c16d0ab2db new breadcrumb that scrolls to the end automatically 2022-02-04 17:22:40 +08:00
spencerwooo e4f3ea7b05 formatting tailwind classes with prettier 2022-02-04 16:05:28 +08:00
spencerwooo 91236a123f drop react player, use dplayer and react-audio-player 2022-02-02 21:36:12 +08:00
spencerwooo d95f8d540b return width and height for images 2022-02-02 17:07:33 +08:00
spencerwooo 7d39a998e1 use .config.js for configuration files, close #301 2022-01-29 15:40:50 +08:00
spencerwooo 46844c30ed extract cors middleware outside function scope 2022-01-29 14:47:04 +08:00
myl7 39022be478 add cors for raw file link 2022-01-26 20:42:57 +08:00
Spencer Woo 7e3c073c98 Merge pull request #306 from myl7/notion 2022-01-26 15:54:12 +08:00
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
myl7 b63b374666 catch any name to index api for notion 2022-01-24 17:18:21 +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