rclone/backend
wiserain 48f2c2db70 pikpak: fix login issue where token retrieval fails
This addresses the login issue caused by pikpak's recent cancellation 
of existing login methods and requirement for additional verifications. 

To resolve this, we've made the following changes:

1. Similar to lib/oauthutil, we've integrated a mechanism to handle 
captcha tokens.

2. A new pikpakClient has been introduced to wrap the existing 
rest.Client and incorporate the necessary headers including 
x-captcha-token for each request.

3. Several options have been added/removed to support persistent 
user/client identification.

* client_id: No longer configurable.
* client_secret: Deprecated as it's no longer used.
* user_agent: A new option that defaults to PC/Firefox's user agent 
but can be overridden using the --pikpak-user-agent flag.
* device_id: A new option that is randomly generated if invalid. 
It is recommended not to delete or change it frequently.
* captcha_token: A new option that is automatically managed 
by rclone, similar to the OAuth token.

Fixes #7950 #8005
2024-09-23 17:33:09 +01:00
..
alias config: make getting config values more consistent 2024-08-08 13:41:31 +01:00
all filescom: add Files.com backend 2024-08-15 17:00:39 +01:00
azureblob build: fix gocritic lint issue unslice 2024-08-15 22:08:34 +01:00
azurefiles build: fix gocritic lint issue elseif 2024-08-15 22:08:34 +01:00
b2 build: ignore remaining gocritic lint issues 2024-08-15 22:08:34 +01:00
box backend: fs implements the Shutdowner interface 2023-12-09 11:44:50 +00:00
cache build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
chunker build: fix gosimple lint errors with golangci-lint v1.60.1 2024-08-14 17:46:12 +01:00
combine fs: define the optional interface SetMetadata and implement it in wrapping backends 2024-05-14 12:51:03 +01:00
compress chunkedreader: add --vfs-read-chunk-streams to parallel read chunks 2024-08-14 21:13:09 +01:00
crypt build: fix gocritic lint issue underef 2024-08-15 22:08:34 +01:00
drive build: fix gocritic lint issue wrapperfunc 2024-08-15 22:08:34 +01:00
dropbox dropbox: fix potentially unsafe quoting issue 2024-08-17 15:03:39 +02:00
fichier fichier: fix server side move - fixes #7856 2024-09-06 18:20:10 +01:00
filefabric filefabric: use atomic types 2023-08-22 12:52:13 +01:00
filescom filescom: don't make an extra fetch call on each item in a list response 2024-08-19 22:31:57 +02:00
ftp build: fix gocritic lint issue wrapperfunc 2024-08-15 22:08:34 +01:00
gofile gofile: fix failed downloads on newly uploaded objects 2024-09-08 14:58:29 +01:00
googlecloudstorage s3, googlecloudstorage, azureblob: fix encoding issue with dir path comparison 2024-06-11 11:54:54 +01:00
googlephotos googlephotos: remove unnecessary nil check 2024-06-11 11:55:42 +01:00
hasher fs: define the optional interface SetMetadata and implement it in wrapping backends 2024-05-14 12:51:03 +01:00
hdfs build: fix linting issues reported by running golangci-lint with different GOOS 2024-04-22 19:29:12 +02:00
hidrive backend: fs implements the Shutdowner interface 2023-12-09 11:44:50 +00:00
http backend http: Adding no-escape flag for option to not escape URL metacharacters in path names - fixes issue #7637 2024-04-22 17:57:09 +01:00
imagekit build: fix gocritic lint issue assignop 2024-08-15 22:08:34 +01:00
internetarchive fs: implement --metadata-mapper to transform metatadata with a user supplied program 2023-11-18 17:49:35 +00:00
jottacloud jottacloud: fix setting of metadata on server side move - fixes #7900 2024-09-07 16:00:03 +01:00
koofr backend koofr: remove trailing bracket - fixes #7600 2024-04-04 20:03:26 +01:00
linkbox linkbox: fix list paging and optimized synchronization. 2024-03-24 12:05:58 +00:00
local local: fix incorrect conversion between integer types 2024-08-18 10:29:36 +02:00
mailru mailru: attempt to fix throttling by decreasing min sleep to 100ms 2024-06-08 17:44:11 +01:00
mega docs: fix typos found by codespell in docs and code comments 2023-09-23 12:20:01 +01:00
memory memory: fix incorrect list entries when rooted at subdirectory 2024-03-27 11:43:26 -04:00
netstorage build: fix gocritic lint issue valswap 2024-08-15 22:08:34 +01:00
onedrive onedrive: fix spurious "Couldn't decode error response: EOF" DEBUG 2024-09-23 17:33:09 +01:00
opendrive opendrive: fix moving file/folder within the same parent dir - #7591 2024-02-21 18:02:19 +00:00
oracleobjectstorage build: fix gocritic lint issue elseif 2024-08-15 22:08:34 +01:00
pcloud backend: pcloud: Implement OpenWriterAt feature 2024-08-22 23:42:32 +02:00
pikpak pikpak: fix login issue where token retrieval fails 2024-09-23 17:33:09 +01:00
pixeldrain Add pixeldrain backend 2024-08-12 13:35:44 +01:00
premiumizeme backend: fs implements the Shutdowner interface 2023-12-09 11:44:50 +00:00
protondrive protondrive: don't auth with an empty access token 2024-06-11 12:46:00 +01:00
putio rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
qingstor build: fix linting issues reported by running golangci-lint with different GOOS 2024-04-22 19:29:12 +02:00
quatrix quatrix: fix f.String() not including subpath 2024-05-13 18:32:41 +01:00
s3 s3: fix rclone ignoring static credentials when env_auth=true 2024-09-23 17:33:09 +01:00
seafile build: fix gosimple lint errors with golangci-lint v1.60.1 2024-08-14 17:46:12 +01:00
sftp build: fix gocritic lint issue wrapperfunc 2024-08-15 22:08:34 +01:00
sharefile tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
sia rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
smb smb: fix shares not listed by updating go-smb2 2023-11-29 15:39:27 +00:00
storj build: fix linting issues reported by running golangci-lint with different GOOS 2024-04-22 19:29:12 +02:00
sugarsync rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
swift swift: add total/free space info in about command. 2024-09-06 12:46:51 +01:00
ulozto ulozto: fix upload of > 2GB files on 32 bit platforms - fixes #7960 2024-07-20 11:29:34 +01:00
union build: fix gocritic lint issue assignop 2024-08-15 22:08:34 +01:00
uptobox rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
webdav webdav: add --webdav-unix-socket-path to connect to a unix socket 2024-08-15 15:14:51 +01:00
yandex build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
zoho zoho: fix inefficiencies uploading with new API to avoid throttling 2024-09-04 10:45:47 +01:00