From 4611543bb991155fe7577192f48215ef13925fcf Mon Sep 17 00:00:00 2001 From: Akhil Date: Thu, 16 Mar 2023 15:43:55 +0530 Subject: [PATCH 1/6] update max version to 25 --- appinfo/info.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 28655290..81360936 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -17,7 +17,7 @@ tools https://gitlab.e.foundation/e/management/issues - + OCA\EcloudAccounts\Settings\Personal -- GitLab From 1794c2284c23d6cd0e3b18fb3141e0461fb3ac18 Mon Sep 17 00:00:00 2001 From: Akhil Date: Sat, 15 Apr 2023 01:56:58 +0530 Subject: [PATCH 2/6] Convert listeners to vanilla JS --- src/delete-account-listeners.js | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/delete-account-listeners.js b/src/delete-account-listeners.js index 42046a3c..6710f7ff 100644 --- a/src/delete-account-listeners.js +++ b/src/delete-account-listeners.js @@ -1,18 +1,17 @@ -/* global $ */ -$(document).ready(function() { +document.addEventListener('DOMContentLoaded', function() { // Disable initially - $('#drop_account_confirm').prop('disabled', true) - $('#deleteaccount').prop('disabled', true) + document.getElementById('drop_account_confirm').disabled = true + document.getElementById('deleteaccount').disabled = true const elem = document.getElementById('body-settings') elem.addEventListener('disable-delete-account', function() { - $('#deleteaccount').prop('disabled', true) - $('#drop_account_confirm').prop('disabled', true) + document.getElementById('deleteaccount').disabled = true + document.getElementById('drop_account_confirm').disabled = true }) elem.addEventListener('enable-delete-account', function() { - $('#drop_account_confirm').prop('disabled', false) - const enableDeleteAccount = $('#drop_account_confirm').is(':checked') - $('#deleteaccount').prop('disabled', !enableDeleteAccount) + document.getElementById('drop_account_confirm').disabled = false + const enableDeleteAccount = document.getElementById('drop_account_confirm').checked + document.getElementById('deleteaccount').disabled = !enableDeleteAccount }) }) -- GitLab From d9fba57308fe2b1206d37dded5bb9d2a449b742f Mon Sep 17 00:00:00 2001 From: Akhil Date: Tue, 25 Apr 2023 02:23:17 +0530 Subject: [PATCH 3/6] Version bump --- appinfo/info.xml | 6 +++--- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 81360936..b24e5b6e 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -10,14 +10,14 @@ - 2.4.2 + 2.5.0 agpl - Akhil Potukuchi + Akhil Potukuchi EcloudAccounts tools https://gitlab.e.foundation/e/management/issues - + OCA\EcloudAccounts\Settings\Personal diff --git a/package-lock.json b/package-lock.json index 1a810bbe..389ac93c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ecloud-accounts", - "version": "2.4.0", + "version": "2.5.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ecloud-accounts", - "version": "2.4.0", + "version": "2.5.0", "dependencies": { "@nextcloud/axios": "^2.1.0", "@nextcloud/dialogs": "^3.2.0", diff --git a/package.json b/package.json index 1ad99fac..86b929df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ecloud-accounts", - "version": "2.4.1", + "version": "2.5.0", "description": "App for ecloud account management.", "repository": { "type": "git", -- GitLab From a73e28272ddb6120d807c3de7cb2e372e9a1d03a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnau=20V=C3=A0zquez?= Date: Tue, 25 Apr 2023 12:58:04 +0000 Subject: [PATCH 4/6] Apply 1 suggestion(s) to 1 file(s) --- appinfo/info.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index b24e5b6e..12a7fbf8 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -12,7 +12,7 @@ This app uses the UserDeletedEvent to invoke scripts in the docker-welcome container of /e/OS cloud setup]]> 2.5.0 agpl - Akhil Potukuchi + Murena SAS EcloudAccounts tools https://gitlab.e.foundation/e/management/issues -- GitLab From aeaf4cc94df17699e3dc081a295ac06aff4e1dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnau=20V=C3=A0zquez?= Date: Tue, 25 Apr 2023 12:58:16 +0000 Subject: [PATCH 5/6] Apply 1 suggestion(s) to 1 file(s) --- appinfo/info.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 12a7fbf8..35d00555 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -10,7 +10,7 @@ - 2.5.0 + 3.0.0 agpl Murena SAS EcloudAccounts -- GitLab From 797d77a4a86881408056b46d578377dcc9506a6b Mon Sep 17 00:00:00 2001 From: Akhil Date: Tue, 25 Apr 2023 18:29:08 +0530 Subject: [PATCH 6/6] v 3.0.0 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 389ac93c..a153f139 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ecloud-accounts", - "version": "2.5.0", + "version": "3.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ecloud-accounts", - "version": "2.5.0", + "version": "3.0.0", "dependencies": { "@nextcloud/axios": "^2.1.0", "@nextcloud/dialogs": "^3.2.0", diff --git a/package.json b/package.json index 86b929df..c3b7f007 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ecloud-accounts", - "version": "2.5.0", + "version": "3.0.0", "description": "App for ecloud account management.", "repository": { "type": "git", -- GitLab