From 8265657fd074f156207d976a84021f88256a6f12 Mon Sep 17 00:00:00 2001 From: scith Date: Fri, 10 Jun 2016 11:42:41 +0200 Subject: [PATCH] Remove dropbox autosetup --- README.md | 4 ++++ manifest.json | 8 -------- scripts/install | 10 +--------- scripts/upgrade | 7 ------- 4 files changed, 5 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index c3d39f1..d03446b 100644 --- a/README.md +++ b/README.md @@ -5,12 +5,16 @@ Web client for reading and editing Keepass files locally. It can also sync with **Current version: 1.1.4** +## Usage with OwnCloud ## +1. Open your file through webdav using https://linktoowncloud/remote.php/webdav and your username and password + ## Usage for Dropbox sync ## 1. [create](https://www.dropbox.com/developers/apps/create) a Dropbox app 2. find your app key (in Dropbox App page, go to Settings/App key) 3. Enter the app key during install + **More information on the documentation page:** https://keeweb.info/ diff --git a/manifest.json b/manifest.json index 1a9af5a..823617f 100644 --- a/manifest.json +++ b/manifest.json @@ -41,14 +41,6 @@ "example": "/passwords", "default": "/passwords" }, - { - "name": "dropbox", - "ask": { - "en": "To sync with Dropbox, create a Dropbox app and enter here your app key (Settings/App key)", - "fr": "Pour synchroniser avec Dropbox, créez une app Dropbox et entrez ici votre clé (Settings/App key)" - }, - "example": "qp7ctun6qt5n9d6" - }, { "name": "is_public", "ask": { diff --git a/scripts/install b/scripts/install index 357572c..21dfb7e 100644 --- a/scripts/install +++ b/scripts/install @@ -8,22 +8,14 @@ app=keeweb # Retrieve arguments domain=$1 path=$2 - dropbox=$3 - is_public=$4 + is_public=$3 # Save app settings - sudo yunohost app setting $app dropbox -v "$dropbox" sudo yunohost app setting $app is_public -v "$is_public" # Check domain/path availability sudo yunohost app checkurl $domain$path -a $app \ || (echo "Path not available: $domain$path" && exit 1) - -# If a Dropbox app key is present, add it - if [ -n "$dropbox" ]; - then - sudo sed -i.bak s/qp7ctun6qt5n9d6/$dropbox/g ../sources/index.html - fi # Copy source files final_path=/var/www/$app diff --git a/scripts/upgrade b/scripts/upgrade index 7f01178..06c977b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -8,17 +8,10 @@ app=keeweb # Retrieve arguments domain=$(sudo yunohost app setting $app domain) path=$(sudo yunohost app setting $app path) - dropbox=$(sudo yunohost app setting $app dropbox) is_public=$(sudo yunohost app setting $app is_public) # Remove trailing "/" for next commands path=${path%/} - -# If a Dropbox app key is present, add it - if [ -n "$dropbox" ]; - then - sudo sed -i.bak s/qp7ctun6qt5n9d6/$dropbox/g ../sources/index.html - fi # Copy source files final_path=/var/www/$app