Noah Hsu
f777a2fab4
fix: version doesn't update
2022-12-30 01:24:37 +08:00
renovate[bot]
dad3012ec3
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.169 ( #2816 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-29 21:22:50 +08:00
Noah Hsu
d45209edb2
fix: /entrypoint.sh permission denied
2022-12-29 17:16:30 +08:00
Noah Hsu
e89489453d
fix: cache nil value for meta
2022-12-28 17:44:34 +08:00
DDS-Tomo
ed6c8194a7
feat: add PUID, PGID, Umask settings to docker image ( close #2525 pr #2818 )
...
Co-authored-by: DDSRem <1448139087@qq.com >
2022-12-28 17:18:27 +08:00
itsHenry
83fe17c6ec
feat: support github login ( #2639 )
...
* Support Github Login
* improve according to codefactor
* fix due to last updates
* optimization
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-27 22:11:22 +08:00
renovate[bot]
c00dcc8f39
fix(deps): update module github.com/gin-gonic/gin to v1.8.2 ( #2785 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-25 18:20:24 +08:00
Noah Hsu
e118f4a3b9
feat: update index by req.Paths
2022-12-24 20:23:04 +08:00
renovate[bot]
5e28d0f96a
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.167 ( #2781 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-24 16:14:20 +08:00
BoYanZh
3af23f6792
feat: batch reload all storages ( close #2762 pr #2775 )
2022-12-21 19:21:18 +08:00
BoYanZh
3a41b929c9
fix: pgsql search [skip ci] ( close #2761 pr #2774 )
2022-12-21 19:19:37 +08:00
Noah Hsu
105f22969c
feat: support cancel for some drivers ( close #2717 )
2022-12-21 15:03:09 +08:00
renovate[bot]
e4a88a7c13
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.164 ( #2773 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 12:04:32 +08:00
Noah Hsu
b0255040c6
chore: fix typo
2022-12-20 20:07:19 +08:00
Noah Hsu
f1e842e12a
feat: customize settings layout ( close #2765 )
2022-12-20 20:04:37 +08:00
Noah Hsu
d756cf3e9f
fix(local): disable copying or moving to subfolders ( close #2760 )
2022-12-20 16:27:04 +08:00
EzraRT
146619134d
feat: customize proxy ignore headers ( close #2763 pr #2766 )
...
* clean referer when use proxy
* feat: customize proxy ignore headers
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-20 16:08:32 +08:00
renovate[bot]
372030071e
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.163 [skip ci] ( #2738 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-20 15:13:14 +08:00
foxxorcat
62a06fa0f9
feat: optimize file operation interface ( #2757 )
...
* feat: optimize file operation interface
* chore: fix typo
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-20 15:02:40 +08:00
BoYanZh
e2bcca2fbd
feat: static files for embed viewers ( #2739 )
2022-12-19 13:34:06 +08:00
BoYanZh
4568af9542
feat: better static file Cache-Control ( #2751 )
2022-12-19 13:32:00 +08:00
Noah Hsu
b50d486a63
fix: sub path check if subPath = /
2022-12-18 21:28:38 +08:00
BoYanZh
0ae3fc608b
feat: export all cmd ( #2746 )
2022-12-18 19:53:39 +08:00
foxxorcat
6024e8d832
refactor: split the db package hook and cache to the op package ( #2747 )
...
* refactor:separate the setting method from the db package to the op package and add the cache
* refactor:separate the meta method from the db package to the op package
* fix:setting not load database data
* refactor:separate the user method from the db package to the op package
* refactor:remove user JoinPath error
* fix:op package user cache
* refactor:fs package list method
* fix:tile virtual paths (close #2743 )
* Revert "refactor:remove user JoinPath error"
This reverts commit 4e20daaf9e700da047000d4fd4900abbe05c3848.
* clean path directly may lead to unknown behavior
* fix: The path of the meta passed in must be prefix of reqPath
* chore: rename all virtualPath to mountPath
* fix: `getStoragesByPath` and `GetStorageVirtualFilesByPath`
is_sub_path:
/a/b isn't subpath of /a/bc
* fix: don't save setting if hook error
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-18 19:51:20 +08:00
EthanZhu
f38f4f401b
fix(139): modify chunk size to avoid large file upload failure ( close #2744 close #2682 pr #2745 )
2022-12-18 17:48:09 +08:00
BoYanZh
3b2ae85009
chore: only ignore root dirs ( #2741 )
2022-12-18 16:48:32 +08:00
baysonfox
faf4150d1e
docs: fix badges on README.md and README_cn.md [skip ci] ( #2749 )
2022-12-18 16:48:03 +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
AkashiCoin
3d336b328a
feat: add pikpak share driver ( close #2728 pr #2731 )
2022-12-16 19:10:19 +08:00
renovate[bot]
f9cf29e0b6
fix(deps): update module golang.org/x/crypto to v0.4.0 ( #2638 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 19:08:52 +08:00
renovate[bot]
cbd038f30f
fix(deps): update module golang.org/x/net to v0.4.0 ( #2608 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 19:05:20 +08:00
renovate[bot]
2aeb75a779
fix(deps): update module github.com/blevesearch/bleve/v2 to v2.3.6 ( #2727 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 19:05:06 +08:00
renovate[bot]
2f8eaf6bea
fix(deps): update module github.com/pquerna/otp to v1.4.0 ( #2708 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 18:15:59 +08:00
renovate[bot]
fb7a5dec1b
fix(deps): update module golang.org/x/image to v0.2.0 ( #2601 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 18:15:19 +08:00
renovate[bot]
e61bac039a
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.161 ( #2595 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 18:14:56 +08:00
BoYanZh
b3be9ef428
feat(search): use FULLTEXT index ( close #2716 pr #2726 )
2022-12-16 16:51:36 +08:00
BoYanZh
5a6b600ace
feat: show gorm log on debug/dev mode ( #2720 )
2022-12-15 17:48:52 +08:00
BoYanZh
e58ca686e3
feat: cache static files ( #2715 )
2022-12-15 17:48:29 +08:00
BoYanZh
6f4b1ba4b3
feat: log to stdout & file ( #2709 )
2022-12-14 13:19:08 +08:00
BoYanZh
cdc45630ae
fix: whereInParent when parent = "/" ( #2706 )
2022-12-14 10:37:09 +08:00
BoYanZh
7947ff1ae4
feat: limit max connection count ( #2701 )
2022-12-14 10:33:58 +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
3ee45c69a7
fix(baidu_netdisk): encode path for create ( close #2690 )
2022-12-13 17:57:41 +08:00
BoYanZh
179d285564
feat: optimize database search ( #2687 )
...
* feat: remove index on `SearchNode.Name`
As we do not use s% on name column, index there does not work
* fix: init index after init data
Or on the first run, it will log 'init index error: readObjectStart: expect { or n, but found , error found in #0 byte of ...||..., bigger context ...||...'
* fix: match parent more precisely
It will match `/a/bc` if we search in `/a/b` originally.
But it is not backward compatible by adding a suffix `/`
to all the data in parent field
2022-12-12 20:20:01 +08:00
BoYanZh
a2e8e96c71
feat: respond static file on loading storages ( #2686 )
2022-12-12 20:17:58 +08:00
Noah Hsu
5043815d48
fix(search): don't delete virtual folder while update indexes ( close #2677 )
2022-12-11 14:59:58 +08:00
BoYanZh
1640f06e13
feat(search): multiple keywords split by space ( #2669 )
2022-12-10 19:28:34 +08:00
BoYanZh
62ea93837c
feat: alist v3 index permission ( #2653 )
...
* feat: alist v3 index permission
* fix allowIndexed check
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-10 19:03:09 +08:00
Noah Hsu
446f82888c
fix(local): add sign to thumbnail ( close #2536 close #2650 )
2022-12-09 10:08:31 +08:00
BoYanZh
6f1aeb47fd
feat: index enhancement ( close #2632 pr #2636 )
...
* feat: index paths as setting
* feat: clear index (#2632 )
* feat: check indexMQ more frequently
2022-12-09 10:02:13 +08:00
Noah Hsu
1f7c1b4f43
fix(cors): allow all methods ( close #2640 )
2022-12-08 11:35:21 +08:00
BoYanZh
3fa0217c4b
feat(alist-v3): support write ( close #2626 pr #2635 )
2022-12-07 19:02:28 +08:00
Noah Hsu
2dd30f2b77
feat(search): support with password
2022-12-07 10:45:02 +08:00
BoYanZh
6e23c8b4c0
feat: partial update index ( close #2593 close #2621 pr #2624 )
2022-12-07 10:41:52 +08:00
BoYanZh
72aa63adce
fix: skip virtual driver on building index ( close #2604 pr #2617 )
2022-12-06 20:43:32 +08:00
Noah Hsu
e65e8be59e
fix(search): missed base_path of user for parent ( close #2611 )
2022-12-06 17:28:39 +08:00
BoYanZh
7aa4dfb240
feat: use natural sort in SortFiles ( #2612 )
2022-12-06 17:28:18 +08:00
CN-traveler
bd324233a0
fix: can't paste image while report bug ( #2597 ) [skip ci]
2022-12-06 09:19:49 +08:00
Noah Hsu
f1a9b68022
fix(index): update indexes in database
2022-12-05 20:23:37 +08:00
Noah Hsu
dda1da4576
fix(index): nil pointer call
2022-12-05 20:22:35 +08:00
Noah Hsu
5b7aa9c1cf
feat: allow all cors headers ( close #2571 )
2022-12-05 20:05:20 +08:00
Noah Hsu
a28aaceaad
chore(ci): only build on main branch
2022-12-05 19:52:02 +08:00
renovate[bot]
2bb200af87
fix(deps): update modules by renovate[bot]
...
fix(deps): update module github.com/sheltonzhu/115driver to v1.0.13 (#2413 ) [skip ci]
fix(deps): update module github.com/golang-jwt/jwt/v4 to v4.4.3 (#2526 ) [skip ci]
fix(deps): update module golang.org/x/image to v0.1.0 (#2587 ) [skip ci]
chore: go mod tidy
Co-Authored-By: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-05 19:50:49 +08:00
Noah Hsu
97f1efbb72
feat!: disable --force-bin-dir if --data is abs
...
related issues: #2580 #2542
after this commit, the `--force-bin-dir` would take no effect if `--data` is absolute path
2022-12-05 18:32:48 +08:00
Noah Hsu
bf8b6f4c2c
feat: customize ignore paths of indexes
2022-12-05 16:45:11 +08:00
Noah Hsu
bd33c200dc
feat: optimize index build
2022-12-05 16:07:36 +08:00
Noah Hsu
bc6baf1be0
fix(ci): sort lang json file
2022-12-05 14:40:46 +08:00
BoYanZh
dc8d5106f9
feat: auto fix address in alist & smb storages ( #2582 )
2022-12-05 13:31:34 +08:00
BoYanZh
8c0dfe2f3d
feat: Search enhancement ( #2562 )
...
* feat: ignore AList storage on indexing
* fix: remove unused err in `walkFn`
* chore(ci): fix auto_lang trigger and run it
* feat: batch index
* feat: quit index & init index
* feat: set DocType for bleve data
* fix: build index cleanup check origin err
2022-12-05 13:28:39 +08:00
Noah Hsu
4e1be9bee6
fix: async init aria2 to optimize start duration
2022-12-04 00:00:40 +08:00
BoYanZh
4c5285e094
chore(ci): format lang file ( #2558 )
2022-12-03 12:19:10 +08:00
Ovear
0838feeb82
fix:introduce buffered response writer for webdav, fix status/error return failed. ( #2544 )
...
* fix: introduce buffered response writer for webdav, fix webdav status/error return failed.
* fix: bypass buffered writer for GET/HEAD/POST requests
2022-12-02 17:59:59 +08:00
浅秋枫影
ae791c8634
fix: hide check in canAccess ( #2556 )
...
修复 meta.Password 和 meta.Hide 都为空的情况下,会导致无权限访问
2022-12-02 17:44:29 +08:00
BoYanZh
09f480318c
fix: unify settings string ( #2555 )
2022-12-02 17:42:42 +08:00
BoYanZh
4c5be5f07f
feat: only show CanAccess search results ( #2548 )
...
* feat: only show `CanAccess` search results
* have done in frontend
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-02 10:09:39 +08:00
Ovear
9c1ffdbb82
fix(aliyundrive): return error if got wrong http code ( #2543 )
2022-12-01 21:48:19 +08:00
Noah Hsu
18a63e34dd
fix(task): memory alignment for curID ( close #2541 )
2022-12-01 13:16:31 +08:00
Noah Hsu
ff0bcfef8a
feat: optional sign all files
2022-11-30 22:10:07 +08:00
Noah Hsu
4980b71ba3
fix: add hide check to canAccess ( close #2532 )
2022-11-30 22:01:33 +08:00
Noah Hsu
b5bf5f4325
fix: check if the req path is relative path ( close #2531 )
2022-11-30 21:38:00 +08:00
SiHuaN
f9788ea7cf
feat(webdav): delete privacy header and optimize 302 ( #2534 )
...
* fix: delete set-cookie from sharepoint webdav response header
* fix: avoid two redirects when using webdav
* fix: return the correct Content-Type instead of just `application/octet-stream`
* feat: webdav backend localOnly -> proxyOnly
2022-11-30 20:52:33 +08:00
Noah Hsu
83644dab85
fix: mapping filename in GetName
...
some missed filename mapping
2022-11-30 20:46:54 +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
Noah Hsu
e98561ceb1
fix: filename char mapping while build index
2022-11-28 21:08:11 +08:00
Noah Hsu
76f37373e0
fix: settings map read and write concurrently
2022-11-28 16:54:03 +08:00
Simon
61a06992c3
fix(aria2): directory missing ( close #1856 pr #2504 )
2022-11-28 14:05:28 +08:00
Noah Hsu
ddcba93eea
feat: multiple search indexes ( #2514 )
...
* refactor: abstract search interface
* wip: ~
* fix cycle import
* objs update hook
* wip: ~
* Delete search/none
* auto update index while cache changed
* db searcher
TODO: bleve init issue
cannot open index, metadata missing
* fix size type
why float64??
* fix typo
* fix nil pointer using
* api adapt ui
* bleve: fix clear & change struct
2022-11-28 13:45:25 +08:00
Noah Hsu
bb969d8dc6
fix(aliyundrive_share): get share link download url directly ( close #2472 )
2022-11-24 18:50:04 +08:00
BoYanZh
2383e851e2
fix: reset index before build new one ( #2471 )
2022-11-24 14:47:49 +08:00
BoYanZh
330a767fd7
feat: build index & search with bleve ( close #1740 pr #2386 )
...
* feat: build index & search with bleve (#1740 )
* delete unused struct
Co-authored-by: Noah Hsu <i@nn.ci >
2022-11-24 11:46:47 +08:00
Noah Hsu
2b902de6fd
fix(build): switch to crazymax/xgo
2022-11-22 21:08:27 +08:00
Noah Hsu
85e1350af8
fix: check password while upload ( close #2444 )
2022-11-22 16:14:01 +08:00
Noah Hsu
c09800790b
feat: custom filename char mapping
...
fixes #2447 #2446 #2440 #2409 #2006 #1979 #1507 #324 #691 #518 #430
2022-11-22 15:54:18 +08:00
renovate[bot]
25fd343069
chore(deps): update module gorm and aws-sdk
...
fix(deps): update module gorm.io/gorm to v1.24.2 (#2436 )
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.142 (#2407 )
Co-Authored-By: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 17:37:03 +08:00
Noah Hsu
518487e3df
fix(123): optimize error messages ( #2415 )
2022-11-19 21:48:03 +08:00
BoYanZh
a02d9c8463
fix: check error type on file not found ( #2383 )
2022-11-18 01:30:37 +08:00
Noah Hsu
8beeba7c0c
fix(google_drive): check token before return link ( close #2392 )
2022-11-17 09:08:31 +08:00
renovate[bot]
50fb49f0c3
fix(deps): update dependencies by renovate[bot] ( #2344 )
...
chore(deps): add renovate.json (#2344 )
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.137 (#2345 )
chore(deps): update actions-cool/issues-helper action to v2.5.0 (#2346 )
fix(deps): update module github.com/caarlos0/env/v6 to v6.10.1 (#2348 )
fix(deps): update module github.com/gin-contrib/cors to v1.4.0 (#2349 )
fix(deps): update module github.com/sirupsen/logrus to v1.9.0 (#2354 ) [skip ci]
fix(deps): update module gorm.io/driver/postgres to v1.4.5 (#2361 ) [skip ci]
fix(deps): update module golang.org/x/crypto to v0.2.0 (#2357 ) [skip ci]
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.138 (#2358 ) [skip ci]
fix(deps): update module gorm.io/gorm to v1.24.1 (#2366 ) [skip ci]
fix(deps): update module gorm.io/driver/mysql to v1.4.4 (#2360 ) [skip ci]
fix(deps): update module github.com/spf13/cobra to v1.6.1 (#2356 ) [skip ci]
chore(deps): update actions-cool/issues-helper action to v3 (#2367 ) [skip ci]
fix(deps): update module gorm.io/driver/sqlite to v1.4.3 (#2365 ) [skip ci]
chore(deps): update actions/checkout action to v3 (#2368 ) [skip ci]
chore(deps): update actions/setup-go action to v3 (#2374 ) [skip ci]
chore(deps): update actions/upload-artifact action to v3 (#2375 ) [skip ci]
chore(deps): update docker/build-push-action action to v3 (#2377 ) [skip ci]
chore(deps): update docker/login-action action to v2 (#2378 ) [skip ci]
chore(deps): update docker/metadata-action action to v4 (#2381 ) [skip ci]
chore(deps): update docker/setup-buildx-action action to v2 (#2382 ) [skip ci]
chore(deps): update docker/setup-qemu-action action to v2 (#2387 ) [skip ci]
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.139 (#2394 ) [skip ci]
fix(deps): update module golang.org/x/crypto to v0.3.0 (#2395 ) [skip ci]
Co-Authored-By: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-17 08:49:15 +08:00
Noah Hsu
4dcaa24758
fix: cache is modified while sorting ( close #2340 )
2022-11-15 14:38:23 +08:00
BoYanZh
3fbdf6f022
fix: resolve import cycle in alist v3 driver ( close #2337 pr #2338 )
2022-11-15 10:51:32 +08:00
Noah Hsu
aa9ba289bb
fix(123): overwrite upload if file has no change ( close #2324 )
2022-11-14 17:58:49 +08:00
Noah Hsu
3b6d8987db
chore: add id to resp of create storage
2022-11-13 20:17:10 +08:00
Noah Hsu
6e3df9f847
fix(google_drive): type of chunk_size ( close #2303 )
2022-11-12 18:46:38 +08:00
Noah Hsu
efe0e6af22
feat: silent start, stop and restart
2022-11-11 18:42:06 +08:00
Gerhard Tan
00de9bf16d
fix!: sign with the raw path instead of filename ( #2258 )
2022-11-11 16:24:25 +08:00
Noah Hsu
1743110a70
fix(123): incorrect order_by ( close #2285 )
2022-11-10 21:47:13 +08:00
BoYanZh
0352a8e028
feat: add alist v2 driver ( #2281 )
2022-11-10 17:42:12 +08:00
Code2qing
c601bb794b
feat(123): support mail login ( close #2218 pr #2276 )
2022-11-10 09:34:48 +08:00
BoYanZh
42865486f1
fix(local): deal with relative symlink dir ( #2274 )
2022-11-09 18:15:42 +08:00
sheltonzhu
44f5cf40ef
fix(115): update 115 driver lib to fix some bugs ( #2275 )
...
* fix duplicate cookies in client.List func
* rm useless cookie when init
2022-11-09 18:15:06 +08:00
Noah Hsu
c3ab378ac5
feat(google_drive): support shortcut ( close #2268 )
2022-11-09 16:19:33 +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
Noah Hsu
e05e2fd663
chore: change default timeout ( close #2252 )
2022-11-08 20:37:42 +08:00
Noah Hsu
6639cab1ae
feat(google_drive): chunk upload ( close #2241 )
2022-11-07 20:58:52 +08:00
Noah Hsu
8241f0999a
feat(google_drive): override upload ( close #1880 )
2022-11-07 20:35:35 +08:00
Noah Hsu
f3a5e3702d
fix(189): force use CN time zone ( close #2240 )
2022-11-07 16:37:47 +08:00
小傅Fox
46701a176d
feat(aria2): mark aria2 seeding as complete ( #2223 )
...
Currently if using aria2 to download a torrent file, it does not
consider seeding + active as completed, so the torrent download task
only completes as aria2 stops seeding.
This commit uses seeder property of TaskInfo, and mark tasks with active
status and true seeder as complete.
2022-11-06 16:20:09 +08:00
Noah Hsu
26a29f20c3
fix: missed encode path while use down proxy ( close #2208 )
2022-11-06 14:46:47 +08:00
Noah Hsu
18cd45d257
fix: disable cache for 302 redirect ( close #2216 )
2022-11-05 15:54:51 +08:00
联盟少侠
f0a533a77a
feat(115): put UA as a variable ( #2217 )
...
In special cases, developers can pass in custom UA to solve the speed limit problem
Mainly for developers calling from outside
2022-11-05 15:50:57 +08:00
sheltonzhu
619a9aeb6c
feat(115): add qrcode login ( #2206 )
2022-11-04 21:16:52 +08:00
Noah Hsu
7bfa5876ed
fix(189pc): fix typo
2022-11-01 19:32:40 +08:00
Noah Hsu
f95ab6ee57
docs: add 115 to readme [skip ci]
2022-11-01 19:28:24 +08:00
Noah Hsu
e75f19e9c0
feat: add Referrer-Policy while redirect (pr #2160 )
2022-11-01 19:19:08 +08:00
Noah Hsu
1c212f6c30
feat!: force to use the bin dir as the data dir ( close #2108 )
...
- move default log path to `data/log/log.log`
- replace `--conf` with `--data`
2022-11-01 19:16:23 +08:00
sheltonzhu
141419056d
feat(115): add cloud 115 driver ( #2164 )
...
close #2112
close #1598
close #894
2022-11-01 15:31:31 +08:00
Noah Hsu
aabfe49cb9
docs: change contributors show [skip ci]
2022-10-30 15:26:31 +08:00
BoYanZh
a3b631f9e9
fix(smb): remount smb before each operation ( close #2123 pr #2140 )
2022-10-30 15:05:07 +08:00
浅秋枫影
18165eb50d
fix(123): get real url ( #2135 )
...
123 今天更新多加了一层跳转`https://web-pro.cjjd18.com/download/?params=base64encode(rawurl) `,导致ip如果不符则可能下载返回403,在服务器端处理获取rawurl
2022-10-27 17:02:35 +08:00
浅秋枫影
061c462f0b
feat(mediatrack): get real url ( #2132 )
...
* feat:get real url for mediatrack
redirect token 一次有效,点击第二次就抛出了`400`错误。本次提交直接获取302后的真实链接返回前端
* add cache
cache 60 Second
2022-10-27 15:26:08 +08:00
BoYanZh
5f79d665d9
feat: add alist v3 driver ( close #1833 pr #2129 )
...
* feat: add alist v3 driver (close #1833 )
* chore: use generics
Co-authored-by: Noah Hsu <i@nn.ci >
2022-10-27 10:54:49 +08:00
BoYanZh
f0cc0a76a9
chore: fix typos ( #2122 )
...
* refactor: fix typos
* Update help.go
Co-authored-by: Noah Hsu <i@nn.ci >
2022-10-26 14:05:56 +08:00
BoYanZh
dd4674e486
feat: add smb driver ( close #1746 ) ( #2114 )
...
* feat: add smb driver (close #1746 )
* Update driver.go
2022-10-25 23:00:23 +08:00
Noah Hsu
0019959eec
fix: delete cache if files is empty
2022-10-25 16:42:06 +08:00
BoYanZh
3e9c38697d
fix: use utils.Log during static file router init ( #2100 )
...
formerly the log is not in stderr
2022-10-24 23:33:57 +08:00
Noah Hsu
e3b7c41199
docs: update demo url & sponsor content [skip ci]
2022-10-24 22:48:36 +08:00
Noah Hsu
a2c808c8ce
fix: incorrect root path of initial storage for dev mode
2022-10-23 16:26:14 +08:00
Jmper
da7e17aa38
feat(local): add show hidden config ( #2087 )
2022-10-23 14:53:07 +08:00
Noah Hsu
02df3759df
docs: fix typo [skip ci]
2022-10-20 14:29:28 +08:00
缘生
4fef500795
feat(user): set default password of init user from env ( #2058 )
...
add init user default password
Signed-off-by: ysicing <i@ysicing.me >
Signed-off-by: ysicing <i@ysicing.me >
2022-10-19 20:06:06 +08:00
Noah Hsu
07ece452b3
docs: fix docker link [skip ci]
2022-10-19 17:08:01 +08:00
Noah Hsu
b8cf02ca68
fix(aria2): retry 5 times for get status ( close #1857 )
2022-10-18 15:27:19 +08:00
Jake Liu
3db798a82a
feat(google_photo): Add categories in root, add album support. ( #2046 )
...
* feat(google_photo): Add categories in root, add album support.
* fix(google_photo): Remove else block in `drive/google_photo/types.go:60`
2022-10-18 15:19:05 +08:00
Noah Hsu
45cc0cedbd
fix(s3): mkdir and delete ( close #2029 )
2022-10-18 15:10:47 +08:00
foxxorcat
2efade123e
fix(189pc):slice bounds out of range close #2045
2022-10-17 22:39:51 +08:00
foxxorcat
fc393f743f
fix(thunder):no additional processing when the deviceID is correct
2022-10-17 22:37:17 +08:00
foxxorcat
0e99e7e9b9
fix(thunder,189pc): some known problems
2022-10-17 00:54:39 +08:00
Noah Hsu
7a95850c1b
fix(google_drive): incorrect ModifiedTime ( close #2002 )
2022-10-14 14:17:33 +08:00
Noah Hsu
549355bb29
build: change golang version
2022-10-12 17:35:44 +08:00
Noah Hsu
55aa8ee3b1
fix: version print of build script [skip ci]
2022-10-12 17:24:04 +08:00
Noah Hsu
1c22fc367e
docs: change badges in readme
2022-10-12 17:08:40 +08:00
Noah Hsu
5ea8d62aa4
fix(onedrive): unable to operate if path contains % ( close #1965 )
2022-10-11 14:21:58 +08:00
Noah Hsu
baebc2fbe9
fix: can't delete disabled storage ( close #1942 )
2022-10-09 22:20:48 +08:00
Noah Hsu
8c69260972
fix(webdav): set mime by ext if it's empty
2022-10-09 19:29:55 +08:00
Noah Hsu
30f992c6a8
feat(onedrive): customize chunk size ( close #1927 )
2022-10-08 22:23:33 +08:00
Noah Hsu
dcaaae366b
feat: add support for mega.nz (close 1553)
2022-10-08 22:16:41 +08:00
Jake Liu
284035823f
feat: add Google Photo support ( #1853 )
...
* feat: add Google Photo support
* fix: fetch all pages
* chore(google_photo): add meta info
Co-authored-by: Noah Hsu <i@nn.ci >
2022-10-07 20:36:56 +08:00
Noah Hsu
be8ff92414
docs: replace qq with discord [skip ci]
2022-10-05 14:17:00 +08:00
Noah Hsu
a4c846a424
chore(onedrive): set default value for region
2022-10-01 20:09:57 +08:00
Noah Hsu
451e418b18
perf: return cache before check obj to reduce recursion
2022-09-28 21:19:36 +08:00
hdm9527
4e13b1a83c
perf: modify onedrive upload chunk size ( #1831 close #1790 )
...
improve onedrive upload speed
2022-09-27 20:29:54 +08:00
Noah Hsu
9d2e9887af
docs: create FUNDING.yml [skip ci]
2022-09-27 14:41:43 +08:00
Noah Hsu
dc73c2e97d
fix: custom token expires in doesn't work
2022-09-27 14:23:56 +08:00
Noah Hsu
a624121095
ci: manual trigger github actions
2022-09-27 14:12:36 +08:00
Noah Hsu
9d9c79179b
feat: custom token expires in
2022-09-27 14:05:00 +08:00
Noah Hsu
b7479651e1
fix: incorrect base_path from site_url ( close #1830 )
2022-09-27 13:56:32 +08:00
Noah Hsu
2fc0ccbfe0
fix: don't init aria2 in new goroutine ( close #1752 )
2022-09-26 15:11:08 +08:00
Noah Hsu
f86ad1dce4
fix: create temp dir perm with 777 ( close #1813 )
2022-09-26 14:48:59 +08:00
Noah Hsu
f0181d92cd
fix: keep type of setting item is correct
2022-09-25 21:20:32 +08:00
Noah Hsu
5ac6a30c56
fix: use get_share_link_download_url if can't get_download_url ( close #1753 )
2022-09-25 20:32:11 +08:00
Noah Hsu
96d8a382e8
fix(aliyundrive_share): reget share token if token expired ( close #1798 )
2022-09-25 20:14:33 +08:00
Noah Hsu
7c32af4649
refactor!: move api_url and base_path to config file
2022-09-25 17:57:54 +08:00
Noah Hsu
03dbb3a403
chore: fix typo of env name
2022-09-25 17:41:04 +08:00
Noah Hsu
a570e4c7a0
fix: some settings don't take effect at startup
2022-09-23 20:37:49 +08:00
Noah Hsu
539c47bd3b
chore: change log if aria2 not ready
2022-09-23 20:04:47 +08:00
Noah Hsu
b6d9018ebd
fix: sorting by modified doesn't work ( close #1756 )
2022-09-23 12:30:32 +08:00
Noah Hsu
c929888e39
fix(123): change remove api ( close #1760 )
2022-09-23 12:28:57 +08:00
foxxorcat
af946ff13e
fix(baidu_photo): cannot download when proxy is opened
2022-09-23 01:15:12 +08:00
Noah Hsu
0039dc18e1
fix: set cdn to basePath if cdn is empty
2022-09-22 17:11:45 +08:00
Noah Hsu
4d6ab53336
feat: add form upload api ( close #1693 #1709 )
2022-09-22 16:53:58 +08:00
Noah Hsu
c7f6684eed
chore: add provider to fs list resp
2022-09-22 16:04:10 +08:00
Noah Hsu
b71ecc8e89
chore: add a default polyfill to head
2022-09-22 11:29:39 +08:00
Noah Hsu
3537153b91
feat: add aliyundrive share driver ( close #1215 )
2022-09-21 22:00:06 +08:00
Noah Hsu
9382f66f87
fix(aliyundrive): thumbnail missed
2022-09-21 21:59:07 +08:00
Noah Hsu
656f5f112c
fix(ftp): nil pointer dereference ( close #1722 )
2022-09-20 22:23:22 +08:00
Noah Hsu
9181861f47
fix: illegal files are not displayed ( close #1729 )
2022-09-20 20:14:38 +08:00
foxxorcat
1ab73e0742
feat: add lanzou driver
2022-09-20 15:29:40 +08:00
Noah Hsu
57686d9df1
fix(189): file size missed
2022-09-19 19:35:07 +08:00
Noah Hsu
ca177cc3b9
fix: set default mimetype to empty string ( close #1710 )
2022-09-19 18:58:40 +08:00
Noah Hsu
d8dc8d8623
fix: dir duplicate creation ( close #1687 )
2022-09-19 13:43:23 +08:00
Noah Hsu
5548ab62ac
fix: write does not take effect on the current dir ( close #1711 )
2022-09-19 13:35:37 +08:00
Noah Hsu
d6d82c3138
fix: page crashes if ipa name contains chinese ( close #1712 )
2022-09-19 13:33:23 +08:00
Noah Hsu
2185839236
chore: safe base64 decode ipa name
2022-09-18 20:17:24 +08:00
Noah Hsu
24d58f278a
fix: don't use cache if no objs
2022-09-18 18:38:47 +08:00
Noah Hsu
f80be96cf9
chore: replace sep _ with @ of ipa name
2022-09-18 16:53:39 +08:00
Noah Hsu
6c89c6c8ae
fix: aria2 download magnet link ( close #1665 )
2022-09-18 16:07:32 +08:00
Noah Hsu
b74b55fa4a
feat: support custom bundle-identifier by filename
2022-09-17 21:33:39 +08:00
Noah Hsu
09564102e7
fix(aliyundrive): rapid upload empty file ( close #1699 )
2022-09-17 19:39:19 +08:00
Noah Hsu
d436a6e676
fix: use base64 encode for ipa install
2022-09-17 17:06:08 +08:00
Noah Hsu
bec3a327a7
fix: hide objs if only virtual files
2022-09-17 15:31:30 +08:00
Noah Hsu
d329df70f3
fix: failed create record if use mysql ( close #1690 )
2022-09-16 22:21:43 +08:00
Noah Hsu
1af9f4061e
fix(s3): remove folder recursively
2022-09-16 21:25:55 +08:00
foxxorcat
0d012f85cb
feat: Add thunderExpert priority video url switch
2022-09-15 22:50:27 +08:00
Noah Hsu
e3b213c398
feat: add ca-certificates for docker ( fix : #1679 )
2022-09-15 18:56:30 +08:00
Noah Hsu
d9f0603271
fix: copy folder between two storage ( fix #1670 )
2022-09-15 17:58:32 +08:00
Noah Hsu
86a625cb40
fix: set CHARSET to utf8mb4 if use mysql
2022-09-15 17:14:03 +08:00
foxxorcat
f22232de5d
chore: baidu_photo rename only duplicate folders
2022-09-15 09:25:20 +08:00
Noah Hsu
7ad3748a46
feat: update cache after remove instead of clear
2022-09-14 20:28:52 +08:00
Noah Hsu
66b2562d03
fix: allow force root while fetch dirs ( close #1671 )
2022-09-14 19:57:39 +08:00
Noah Hsu
b197322cd8
fix: type of file with name uppercase
2022-09-14 15:14:04 +08:00
Noah Hsu
9e5ef974a7
fix: send on closed channel
2022-09-14 15:13:02 +08:00
联盟少侠
08a001fbd1
feat: add a start func for external calls ( #1628 )
2022-09-13 20:12:57 +08:00
Noah Hsu
54ae6dce0b
fix(fs/get): rawURL if use proxy ( close #1664 )
2022-09-13 20:02:57 +08:00
foxxorcat
a90ef201c7
fix(189pc,baidu_photo,thunder): single link limit multithreading
2022-09-13 18:44:07 +08:00
Noah Hsu
2de0da87fa
fix: infinite loop if new multi-level folder ( close #1661 )
2022-09-13 18:34:04 +08:00
foxxorcat
53e08e75fe
fix(189pc,baidu_photo): source file not closed
2022-09-12 22:45:30 +08:00
foxxorcat
6b5236f52e
feat: add baidu_photo driver
2022-09-12 17:10:02 +08:00
Noah Hsu
78e34f0d9f
fix: log error if err != nil ( close #1651 )
2022-09-12 17:01:06 +08:00