From 1ab3575c68ea9d2175ceb68bff141a13de3bc29c Mon Sep 17 00:00:00 2001 From: Renan Duarte <38355185+r3na@users.noreply.github.com> Date: Tue, 12 Dec 2023 09:39:28 +0100 Subject: [PATCH 1/5] fix: increasing maxOptions (amount of domains) to 30 --- frontend/js/app/nginx/certificates/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/js/app/nginx/certificates/form.js b/frontend/js/app/nginx/certificates/form.js index a56c3f8e..905e366d 100644 --- a/frontend/js/app/nginx/certificates/form.js +++ b/frontend/js/app/nginx/certificates/form.js @@ -265,7 +265,7 @@ module.exports = Mn.View.extend({ this.ui.domain_names.selectize({ delimiter: ',', persist: false, - maxOptions: 15, + maxOptions: 30, create: function (input) { return { value: input, From 5165de4a913c888808ca6a6c261e6a2866fe1a15 Mon Sep 17 00:00:00 2001 From: Renan Duarte <38355185+r3na@users.noreply.github.com> Date: Tue, 12 Dec 2023 12:36:05 +0100 Subject: [PATCH 2/5] fix: updating default maxOptions to 30 (proxy) --- frontend/js/app/nginx/proxy/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/js/app/nginx/proxy/form.js b/frontend/js/app/nginx/proxy/form.js index 1dfb5c18..98f64566 100644 --- a/frontend/js/app/nginx/proxy/form.js +++ b/frontend/js/app/nginx/proxy/form.js @@ -271,7 +271,7 @@ module.exports = Mn.View.extend({ this.ui.domain_names.selectize({ delimiter: ',', persist: false, - maxOptions: 15, + maxOptions: 30, create: function (input) { return { value: input, From 3b8cb86d72eb4e70a13b39775cc2cee3537e4881 Mon Sep 17 00:00:00 2001 From: Renan Duarte <38355185+r3na@users.noreply.github.com> Date: Tue, 12 Dec 2023 12:36:32 +0100 Subject: [PATCH 3/5] fix: updating default maxOptions to 30 (redirection) --- frontend/js/app/nginx/redirection/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/js/app/nginx/redirection/form.js b/frontend/js/app/nginx/redirection/form.js index 1f81feeb..ef48ffd1 100644 --- a/frontend/js/app/nginx/redirection/form.js +++ b/frontend/js/app/nginx/redirection/form.js @@ -235,7 +235,7 @@ module.exports = Mn.View.extend({ this.ui.domain_names.selectize({ delimiter: ',', persist: false, - maxOptions: 15, + maxOptions: 30, create: function (input) { return { value: input, From ca56e0483f0de8473fbd42d8de5301fd6a5e6d38 Mon Sep 17 00:00:00 2001 From: Renan Duarte <38355185+r3na@users.noreply.github.com> Date: Tue, 12 Dec 2023 12:37:06 +0100 Subject: [PATCH 4/5] fix: updating default maxOptions to 30 (dead) --- frontend/js/app/nginx/dead/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/js/app/nginx/dead/form.js b/frontend/js/app/nginx/dead/form.js index 8f6774f6..18d11ae0 100644 --- a/frontend/js/app/nginx/dead/form.js +++ b/frontend/js/app/nginx/dead/form.js @@ -233,7 +233,7 @@ module.exports = Mn.View.extend({ this.ui.domain_names.selectize({ delimiter: ',', persist: false, - maxOptions: 15, + maxOptions: 30, create: function (input) { return { value: input, From 1975e4a1516aa6a1d0afe755b6c67fa5dca278c3 Mon Sep 17 00:00:00 2001 From: Renan Duarte <38355185+r3na@users.noreply.github.com> Date: Tue, 12 Dec 2023 12:45:35 +0100 Subject: [PATCH 5/5] fix: updating maxItems (schema/definitions) to 30 --- backend/schema/definitions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/schema/definitions.json b/backend/schema/definitions.json index 4b4f3405..6e0cf6aa 100644 --- a/backend/schema/definitions.json +++ b/backend/schema/definitions.json @@ -172,7 +172,7 @@ "description": "Domain Names separated by a comma", "example": "*.jc21.com,blog.jc21.com", "type": "array", - "maxItems": 15, + "maxItems": 30, "uniqueItems": true, "items": { "type": "string",