Skip to content

Commit 538f6a3

Browse files
committed
Add support for Nextcloud 33
1 parent 4968c77 commit 538f6a3

File tree

10 files changed

+287
-1001
lines changed

10 files changed

+287
-1001
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ node_modules/
1313
js/*hot-update.*
1414
js/
1515
.vscode/settings.json
16+
css/

appinfo/info.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<description><![CDATA[Secrets allows users to generate share links for text based data (e.g. passwords, CSV lists, bank accounts...) that can be sent to anyone (including receivers without a Nextcloud account) for retrieval. The data itself will be end-to-end encrypted (so not even Nextcloud can access it) and the encryption key will be part of the share link (the anchor part) - but never be actually sent to the server. Once retrieved, the secret will be deleted from the server, ensuring, that if it arrived at the correct receiver it has been seen by nobody else.
1212
1313
Secrets now comes with a cli that can be used to automate the provisioning of secret shares: https://github.com/theCalcaholic/nextcloud-secrets/releases]]></description>
14-
<version>2.1.6</version>
14+
<version>2.1.7</version>
1515
<licence>agpl</licence>
1616
<author mail="thecalcaholic@web.de" homepage="https://github.com/theCalcaholic">Tobias Knöppler</author>
1717
<namespace>Secrets</namespace>
@@ -35,7 +35,7 @@ Secrets now comes with a cli that can be used to automate the provisioning of se
3535
<screenshot>https://raw.githubusercontent.com/theCalcaholic/nextcloud-secrets/main/screenshots/public_share_1.png</screenshot>
3636
<screenshot>https://raw.githubusercontent.com/theCalcaholic/nextcloud-secrets/main/screenshots/public_share_2.png</screenshot>
3737
<dependencies>
38-
<nextcloud min-version="26" max-version="32"/>
38+
<nextcloud min-version="26" max-version="33"/>
3939
</dependencies>
4040
<background-jobs>
4141
<job>OCA\Secrets\Cron\SecretCleanup</job>

cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "nc-secrets",
33
"author": "Tobias Knöppler <thecalcaholic@web.de>",
44
"module": "cli.ts",
5-
"version": "2.1.2",
5+
"version": "2.1.7",
66
"type": "module",
77
"license": "agpl",
88
"dependencies": {

composer.lock

Lines changed: 49 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js-static/publicshareauth.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
document.addEventListener('DOMContentLoaded', function() {
55
// Enables password submit button only when user has typed something in the password field
6-
const passwordInput = document.getElementById('password');
7-
const passwordButton = document.getElementById('password-submit');
8-
let eventListener = function () {
9-
passwordButton.disabled = passwordInput.value.length === 0;
10-
};
11-
passwordInput.addEventListener('click', eventListener);
12-
passwordInput.addEventListener('keyup', eventListener);
13-
passwordInput.addEventListener('change', eventListener);
14-
});
6+
const passwordInput = document.getElementById('password')
7+
const passwordButton = document.getElementById('password-submit')
8+
const eventListener = function() {
9+
passwordButton.disabled = passwordInput.value.length === 0
10+
}
11+
passwordInput.addEventListener('click', eventListener)
12+
passwordInput.addEventListener('keyup', eventListener)
13+
passwordInput.addEventListener('change', eventListener)
14+
})

0 commit comments

Comments
 (0)