From fd453f2c7b5e52deb21d1e90c374985c950417b1 Mon Sep 17 00:00:00 2001 From: jaKa Date: Tue, 8 Mar 2022 11:56:53 +0100 Subject: [PATCH] koofr: renamed digistorage to exclude the romania part. --- README.md | 2 +- backend/koofr/koofr.go | 10 +++++----- docs/content/_index.md | 2 +- docs/content/docs.md | 2 +- docs/content/koofr.md | 26 ++++++++++++++------------ docs/layouts/chrome/navbar.html | 2 +- fstest/test_all/config.yaml | 2 +- 7 files changed, 24 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index afb572f1c..2a2ec8edb 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Rclone *("rsync for cloud storage")* is a command-line program to sync files and * Ceph [:page_facing_up:](https://rclone.org/s3/#ceph) * Citrix ShareFile [:page_facing_up:](https://rclone.org/sharefile/) * DigitalOcean Spaces [:page_facing_up:](https://rclone.org/s3/#digitalocean-spaces) - * Digi Storage România [:page_facing_up:](https://rclone.org/koofr/#digi-storage-românia) + * Digi Storage [:page_facing_up:](https://rclone.org/koofr/#digi-storage) * Dreamhost [:page_facing_up:](https://rclone.org/s3/#dreamhost) * Dropbox [:page_facing_up:](https://rclone.org/dropbox/) * Enterprise File Fabric [:page_facing_up:](https://rclone.org/filefabric/) diff --git a/backend/koofr/koofr.go b/backend/koofr/koofr.go index 6b554da69..f77ae019f 100644 --- a/backend/koofr/koofr.go +++ b/backend/koofr/koofr.go @@ -39,8 +39,8 @@ func init() { Value: "koofr", Help: "Koofr, https://app.koofr.net/", }, { - Value: "digistoragero", - Help: "Digi Storage Romania, https://storage.rcs-rds.ro/", + Value: "digistorage", + Help: "Digi Storage, https://storage.rcs-rds.ro/", }, { Value: "other", Help: "Any other Koofr API compatible storage service", @@ -72,7 +72,7 @@ func init() { }, { Name: "password", Help: "Your password for rclone (generate one at https://storage.rcs-rds.ro/app/admin/preferences/password).", - Provider: "digistoragero", + Provider: "digistorage", IsPassword: true, Required: true, }, { @@ -286,7 +286,7 @@ func setProviderDefaults(opt *Options) { if opt.Endpoint == "" || strings.HasPrefix(opt.Endpoint, "https://app.koofr.net") { opt.Provider = "koofr" } else if strings.HasPrefix(opt.Endpoint, "https://storage.rcs-rds.ro") { - opt.Provider = "digistoragero" + opt.Provider = "digistorage" } else { opt.Provider = "other" } @@ -294,7 +294,7 @@ func setProviderDefaults(opt *Options) { // now assign an endpoint if opt.Provider == "koofr" { opt.Endpoint = "https://app.koofr.net" - } else if opt.Provider == "digistoragero" { + } else if opt.Provider == "digistorage" { opt.Endpoint = "https://storage.rcs-rds.ro" } } diff --git a/docs/content/_index.md b/docs/content/_index.md index 594c8a316..ce8e932f8 100644 --- a/docs/content/_index.md +++ b/docs/content/_index.md @@ -114,7 +114,7 @@ WebDAV or S3, that work out of the box.) {{< provider name="Citrix ShareFile" home="http://sharefile.com/" config="/sharefile/" >}} {{< provider name="C14" home="https://www.online.net/en/storage/c14-cold-storage" config="/sftp/#c14" >}} {{< provider name="DigitalOcean Spaces" home="https://www.digitalocean.com/products/object-storage/" config="/s3/#digitalocean-spaces" >}} -{{< provider name="Digi Storage România" home="https://storage.rcs-rds.ro/" config="/koofr/#digi-storage-românia" >}} +{{< provider name="Digi Storage" home="https://storage.rcs-rds.ro/" config="/koofr/#digi-storage" >}} {{< provider name="Dreamhost" home="https://www.dreamhost.com/cloud/storage/" config="/s3/#dreamhost" >}} {{< provider name="Dropbox" home="https://www.dropbox.com/" config="/dropbox/" >}} {{< provider name="Enterprise File Fabric" home="https://storagemadeeasy.com/about/" config="/filefabric/" >}} diff --git a/docs/content/docs.md b/docs/content/docs.md index ccbc7d1ab..7e8634259 100644 --- a/docs/content/docs.md +++ b/docs/content/docs.md @@ -38,7 +38,7 @@ See the following for detailed instructions for * [Compress](/compress/) * [Crypt](/crypt/) - to encrypt other remotes * [DigitalOcean Spaces](/s3/#digitalocean-spaces) - * [Digi Storage România](/koofr/#digi-storage-românia) + * [Digi Storage](/koofr/#digi-storage) * [Dropbox](/dropbox/) * [Enterprise File Fabric](/filefabric/) * [FTP](/ftp/) diff --git a/docs/content/koofr.md b/docs/content/koofr.md index 98a33f52c..d1bd22976 100644 --- a/docs/content/koofr.md +++ b/docs/content/koofr.md @@ -43,8 +43,8 @@ Choose a number from below, or type in your own value. Press Enter to leave empty. 1 / Koofr, https://app.koofr.net/ \ (koofr) - 2 / Digi Storage Romania, https://storage.rcs-rds.ro/ - \ (digistoragero) + 2 / Digi Storage, https://storage.rcs-rds.ro/ + \ (digistorage) 3 / Any other Koofr API compatible storage service \ (other) provider> 1 @@ -66,6 +66,7 @@ Edit advanced config? y) Yes n) No (default) y/n> n +Remote config -------------------- [koofr] type = koofr @@ -127,8 +128,8 @@ Properties: - Examples: - "koofr" - Koofr, https://app.koofr.net/ - - "digistoragero" - - Digi Storage Romania, https://storage.rcs-rds.ro/ + - "digistorage" + - Digi Storage, https://storage.rcs-rds.ro/ - "other" - Any other Koofr API compatible storage service @@ -179,7 +180,7 @@ Properties: - Config: password - Env Var: RCLONE_KOOFR_PASSWORD -- Provider: digistoragero +- Provider: digistorage - Type: string - Required: true @@ -253,9 +254,9 @@ Note that Koofr is case insensitive so you can't have a file called This is the original [Koofr](https://koofr.eu) storage provider used as main example and described in the [configuration](#configuration) section above. -### Digi Storage România +### Digi Storage -[Digi Storage România](https://www.digi.ro/servicii/online/digi-storage) is a cloud storage service run by [Digi.ro](https://www.digi.ro/) that +[Digi Storage](https://www.digi.ro/servicii/online/digi-storage) is a cloud storage service run by [Digi.ro](https://www.digi.ro/) that provides a Koofr API. Here is an example of how to make a remote called `ds`. First run: @@ -285,8 +286,8 @@ Choose a number from below, or type in your own value. Press Enter to leave empty. 1 / Koofr, https://app.koofr.net/ \ (koofr) - 2 / Digi Storage Romania, https://storage.rcs-rds.ro/ - \ (digistoragero) + 2 / Digi Storage, https://storage.rcs-rds.ro/ + \ (digistorage) 3 / Any other Koofr API compatible storage service \ (other) provider> 2 @@ -311,7 +312,7 @@ y/n> n -------------------- [ds] type = koofr -provider = digistoragero +provider = digistorage user = USERNAME password = *** ENCRYPTED *** -------------------- @@ -320,6 +321,7 @@ e) Edit this remote d) Delete this remote y/e/d> y ``` + ### Other You may also want to use another, public or private storage provider that runs a Koofr API compatible service, by simply providing the base URL to connect to. @@ -351,8 +353,8 @@ Choose a number from below, or type in your own value. Press Enter to leave empty. 1 / Koofr, https://app.koofr.net/ \ (koofr) - 2 / Digi Storage Romania, https://storage.rcs-rds.ro/ - \ (digistoragero) + 2 / Digi Storage, https://storage.rcs-rds.ro/ + \ (digistorage) 3 / Any other Koofr API compatible storage service \ (other) provider> 3 diff --git a/docs/layouts/chrome/navbar.html b/docs/layouts/chrome/navbar.html index 774d55fc2..38f7b0f82 100644 --- a/docs/layouts/chrome/navbar.html +++ b/docs/layouts/chrome/navbar.html @@ -61,7 +61,7 @@ Compress (transparent gzip compression) Citrix ShareFile Crypt (encrypts the others) - Digi Storage România + Digi Storage Dropbox Enterprise File Fabric FTP diff --git a/fstest/test_all/config.yaml b/fstest/test_all/config.yaml index 20a9b4db2..3d2b5c74c 100644 --- a/fstest/test_all/config.yaml +++ b/fstest/test_all/config.yaml @@ -305,7 +305,7 @@ backends: remote: "TestKoofr:" fastlist: false - backend: "koofr" - remote: "TestDigiStorageRo:" + remote: "TestDigiStorage:" fastlist: false - backend: "premiumizeme" remote: "TestPremiumizeMe:"