Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marius-wieschollek/passwords-webextension.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Contributing.md8
-rw-r--r--Readme.md5
-rw-r--r--src/js/Controller/Server/Create.js5
3 files changed, 11 insertions, 7 deletions
diff --git a/Contributing.md b/Contributing.md
index f87e6bd..c4e8a8a 100644
--- a/Contributing.md
+++ b/Contributing.md
@@ -11,13 +11,13 @@ _Using a test account is recommended_
1. Run `npm install` from the command line
##### For Firefox
-1. Run `npm run watch`
+1. Run `npm run watch:firefox`
2. Open "about:debugging" in Firefox
3. Click "Load Temporary Add-on"
4. Select the manifest.json in the "dist" folder in the file popup.
##### For Chromium
-1. Run `npm run watch-chrome`
+1. Run `npm run watch:chrome`
2. Open "chrome://extensions/" in Chromium
3. Enable "Developer Mode"
4. Click "Load unpacked extension"
@@ -29,12 +29,12 @@ _Using a test account is recommended_
##### In Firefox
1. Open "about:debugging"
2. Enable "Activate debugging of extensions"
-3. Scroll to "Nextcloud Passwords" and click on "Debug"
+3. Scroll to "Passwords for Nextcloud Client" and click on "Debug"
4. Confirm the debugging request
##### In Chromium
1. Open "chrome://extensions/"
-2. Scroll to "Nextcloud Passwords" and click on "Background Page" or "Errors"
+2. Scroll to "Passwords for Nextcloud Client" and click on "Background Page" or "Errors"
diff --git a/Readme.md b/Readme.md
index 44d4fb2..34928f2 100644
--- a/Readme.md
+++ b/Readme.md
@@ -1,4 +1,4 @@
-This WebExtension is a client for the [Passwords app for Nextcloud](https://github.com/marius-wieschollek/passwords) for Firefox and Chromium based browsers.
+This WebExtension is the official client for the [Passwords app for Nextcloud](https://github.com/marius-wieschollek/passwords) for Firefox and Chromium based browsers.
#### Passwords always at hand
By clicking on the "Passwords"-icon, you will be presented with the login data that matches the current website. The desired user account can easily be inserted into existing login forms with one click. Alternatively, you can also copy the password to the clipboard.
@@ -15,7 +15,7 @@ The client for Nextcloud Passwords is optimized for mobile devices and also work
### Requirements
This extension requires a server on which Nextcloud with the Passwords App is installed.
Nextcloud can be downloaded for free from the [Nextcloud website](https://nextcloud.com/).
-The Passwords App can be downloaded for free from the [Github Repository](https://github.com/marius-wieschollek/passwords/releases).
+The Passwords App can be downloaded for free from the [Nextcloud app store](https://apps.nextcloud.com/apps/passwords).
### Downloads
* [Firefox Extension on AMO](https://addons.mozilla.org/de/firefox/addon/nextcloud-passwords/)
@@ -26,4 +26,5 @@ See [contributing](Contributing.md).
##### Notes for AMO reviewers
1. This extension uses Vue.js, jQuery, UglifyJS and webpack
+2. This extension requires a Nextcloud 17 server with the Passwords app 2020.1.0 or later
2. This extension and all required software is available for free \ No newline at end of file
diff --git a/src/js/Controller/Server/Create.js b/src/js/Controller/Server/Create.js
index 71e643f..236a9ca 100644
--- a/src/js/Controller/Server/Create.js
+++ b/src/js/Controller/Server/Create.js
@@ -90,9 +90,12 @@ export default class List extends AbstractController {
return false;
}
- let index = data.baseUrl.indexOf('apps/passwords');
+ let index = data.baseUrl.indexOf('index.php');
if(index !== -1) {
data.baseUrl = data.baseUrl.substr(0, index);
+ } else {
+ let index = data.baseUrl.indexOf('apps/passwords');
+ if(index !== -1) data.baseUrl = data.baseUrl.substr(0, index);
}
if(data.baseUrl.substr(-1) !== '/') {