58 Commits

Author SHA1 Message Date
Andy Hsu
daad61443c feat(local): support thumbnail cache (close #4216) 2023-05-11 19:57:24 +08:00
XZB-1248
0eab31bdf5
fix(local): filename with whitespace issue (#3928)
* fix(local): filename whitespace problem

* fix(deps): remove deprecated package io/ioutil

---------

Co-authored-by: XZB <i@1248.ink>
2023-03-23 15:18:37 +08:00
Andy Hsu
d9795ff22f feat(alias): support proxy and direct together 2023-03-14 13:46:27 +08:00
Andy Hsu
c9c4d6bc7e fix!(local): perm on mkdir (close #3626) 2023-02-26 21:25:32 +08:00
GodFinal
309d6558fb
feat(local): add thumbnail for video with ffmpeg (#3556)
* feat(local): add ffmpeg

* fix: missed `+`

---------

Co-authored-by: Andy Hsu <i@nn.ci>
2023-02-22 21:19:42 +08:00
Andy Hsu
e39299bfe2 fix(local): missed type of MkdirPerm (923937b) 2023-02-21 17:45:15 +08:00
Andy Hsu
923937b530 feat(local): custom mkdir perm (close #3196) 2023-02-20 16:20:36 +08:00
Andy Hsu
51f5d1b3c4 fix(local): set perm 0777 for folder (close #2996) 2023-02-04 12:11:13 +08:00
Noah Hsu
9d9377f65d fix(local): incorrect path of thumbnail (for 6453ae0) 2023-01-16 20:02:30 +08:00
Noah Hsu
8b523fab8b revert: add Getter interface back 2023-01-16 19:55:43 +08:00
Noah Hsu
6453ae0968 fix(search): empty parent where update (close #2810) 2023-01-16 17:33:24 +08:00
Noah Hsu
d756cf3e9f fix(local): disable copying or moving to subfolders (close #2760) 2022-12-20 16:27:04 +08:00
foxxorcat
fb64f00640
refactor: obj name mapping and internal path processing (#2733)
* refactor:Prepare to remove the get interface

* feat:add obj Unwarp interface

* refactor:obj name mapping and program internal path processing

* chore: fix typo

* feat: unwrap get

* fix: no use op.Get to get parent id

* fix: set the path uniformly

Co-authored-by: Noah Hsu <i@nn.ci>
2022-12-17 19:49:05 +08:00
foxxorcat
33bae52fa1
refactor: optimize driver initialization need to manually deserialize and assign values, and remove redundant driver registration parameters (#2691)
* refactor: optimize driver initialization need to manually deserialize and assign values, and remove redundant driver registration parameters

* fix typo

Co-authored-by: Noah Hsu <i@nn.ci>
2022-12-13 18:03:30 +08:00
Noah Hsu
446f82888c fix(local): add sign to thumbnail (close #2536 close #2650) 2022-12-09 10:08:31 +08:00
itsHenry
d94cf72da2
fix(local): webp image decode while generate thumbnail (close #2484 pr #2520)
* Fix that webp thumb  in local storage won't load

* Simplify code

Co-authored-by: Noah Hsu <i@nn.ci>
2022-11-29 09:47:40 +08:00
BoYanZh
42865486f1
fix(local): deal with relative symlink dir (#2274) 2022-11-09 18:15:42 +08:00
BoYanZh
cdcbfb24c4
fix(local): directory handle (#2262)
* fix(local): check symlink dir

* fix(local): set size of dir to 0 (close #2264)
2022-11-09 11:20:09 +08:00
Jmper
da7e17aa38
feat(local): add show hidden config (#2087) 2022-10-23 14:53:07 +08:00
Noah Hsu
d9f0603271 fix: copy folder between two storage (fix #1670) 2022-09-15 17:58:32 +08:00
Noah Hsu
cd73e34ccc chore: optional other interface 2022-09-11 18:40:19 +08:00
Noah Hsu
a1c86b3350 chore!: change root folder 2022-09-04 13:22:42 +08:00
Noah Hsu
611457c0e7 feat: add baidu_netdisk driver 2022-09-02 22:46:31 +08:00
Noah Hsu
0f2425ce53 feat: add teambition driver 2022-09-02 18:24:14 +08:00
Noah Hsu
284274b37e feat: add 123pan driver 2022-09-01 22:13:37 +08:00
Noah Hsu
755f4b83f6 feat: add progress for io copy 2022-08-31 22:41:27 +08:00
Noah Hsu
7ac1d14eeb style: shorten name operations to op 2022-08-31 21:01:15 +08:00
Noah Hsu
9ec6d5be7a chore: just use std errors in drivers 2022-08-31 20:58:57 +08:00
Noah Hsu
f551dc76d0 feat: add onedrive driver 2022-08-30 21:52:06 +08:00
Noah Hsu
e9927806d4 fix(local): return ObjectNotFound if can't find file 2022-08-19 11:02:00 +08:00
Noah Hsu
af884010d1 feat: local storage image thumbnail 2022-08-11 20:32:17 +08:00
Noah Hsu
b51e664543 chore: go fmt 2022-08-03 14:26:59 +08:00
Noah Hsu
721f18a7f4 feat: fs other api 2022-08-03 14:14:37 +08:00
Noah Hsu
638db77ca1 chore: rename local struct 2022-07-19 17:11:53 +08:00
Noah Hsu
fe94016289 chore: set default root folder in driver config 2022-07-19 17:07:12 +08:00
Noah Hsu
a16da3b45e chore: fix typo 2022-07-12 18:41:16 +08:00
Noah Hsu
fc1204c914 chore: rename account to storage 2022-07-10 14:45:39 +08:00
Noah Hsu
505b126888 chore: optional get func for driver 2022-06-28 22:13:47 +08:00
Noah Hsu
74973bc5b5 fix: local relative path 2022-06-27 20:37:05 +08:00
Noah Hsu
ee2bc99e4c feat: cancel copy for upload 2022-06-25 15:14:03 +08:00
Noah Hsu
ffdb198247 feat(local): basic function of driver 2022-06-23 17:06:07 +08:00
Noah Hsu
1b3387ca1a chore: aria2 notifier 2022-06-20 22:29:52 +08:00
Noah Hsu
fa6e918fc7 feat: add copy to task manager 2022-06-17 21:23:44 +08:00
Noah Hsu
69647f73f0 chore: rename some symbols 2022-06-15 20:41:17 +08:00
Noah Hsu
09ef7c7106 refactor: change driver interface 2022-06-15 20:31:23 +08:00
Noah Hsu
4fa7846f00 feat(local): check root folder while init 2022-06-15 18:48:30 +08:00
Noah Hsu
979f8383d8 chore: move some types to model 2022-06-15 18:06:42 +08:00
Noah Hsu
b8e4a2e7c0 test: add driver and account test 2022-06-14 19:44:25 +08:00
Noah Hsu
e3d2e6dd64 fix(local): local storage should haven't cache 2022-06-14 17:18:11 +08:00
Noah Hsu
77b0c69112 feat: extract get function 2022-06-11 14:43:03 +08:00