From eb0c93bc092d02bb3b1fc143107b1a7df0c35c08 Mon Sep 17 00:00:00 2001 From: Akhil Date: Tue, 5 Sep 2023 22:39:55 +0530 Subject: [PATCH 1/4] Attempt to disable crud --- style.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/style.css b/style.css index 3a7aac7..6b0c591 100644 --- a/style.css +++ b/style.css @@ -4633,4 +4633,19 @@ html:not(rl-mobile) #rl-app .hideMessageListCheckbox .checkboxCheckAll { } #rl-app #V-PopupsCompose header .pull-right a.btn[data-i18n="[title]GLOBAL/CONTACTS"]{ display: none !important; + } + + #rl-app #V-PopupsContacts a.btn[data-i18n="CONTACTS/BUTTON_ADD_CONTACT"], + #rl-app #V-PopupsContacts a.btn[data-bind="command: deleteCommand"], + #rl-app #V-PopupsContacts a.btn[data-i18n="CONTACTS/BUTTON_UPDATE_CONTACT"], + #rl-app #V-PopupsContacts #button-add-prop-dropdown-id { + display: none; + } + + #rl-app #V-PopupsContacts form.b-view-content input { + pointer-events: none; + } + + #rl-app #V-PopupsContacts form.b-view-content a.btn.fontastic { + display: none; } \ No newline at end of file -- GitLab From 114d0ac603aa281c29e5dc3e3cf706b1884ae893 Mon Sep 17 00:00:00 2001 From: Akhil Date: Tue, 5 Sep 2023 22:55:47 +0530 Subject: [PATCH 2/4] Change CI temporarily --- .gitlab-ci.yml | 13 +++++++++++++ style.css | 11 +++++++---- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e7d8d0e..55f69c0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,3 +18,16 @@ include: # reading job status, checking it and implementing additional steps # are not handled here as rm -rf /tmp/${CI_JOB_ID} will always execute - ssh $SSH_USER@$DEPLOYMENT_HOST "rm -rf /tmp/${CI_JOB_ID}" + +deploy:staging: + extends: .deploy:nextcloud-app-by-checkout + when: manual + only: + - main + - murena-main + - production + - tags + - dev/disable-contacts-crud + environment: + name: staging/01 + url: https://eeo.one diff --git a/style.css b/style.css index 6b0c591..fed0b6c 100644 --- a/style.css +++ b/style.css @@ -4637,8 +4637,10 @@ html:not(rl-mobile) #rl-app .hideMessageListCheckbox .checkboxCheckAll { #rl-app #V-PopupsContacts a.btn[data-i18n="CONTACTS/BUTTON_ADD_CONTACT"], #rl-app #V-PopupsContacts a.btn[data-bind="command: deleteCommand"], - #rl-app #V-PopupsContacts a.btn[data-i18n="CONTACTS/BUTTON_UPDATE_CONTACT"], - #rl-app #V-PopupsContacts #button-add-prop-dropdown-id { + #rl-app #V-PopupsContacts button.btn.button-save-contact, + #rl-app #V-PopupsContacts #button-add-prop-dropdown-id, + #rl-app #V-PopupsContacts span[data-i18n="CONTACTS/BUTTON_IMPORT"], + #rl-app #V-PopupsContacts form.b-view-content a.btn.fontastic { display: none; } @@ -4646,6 +4648,7 @@ html:not(rl-mobile) #rl-app .hideMessageListCheckbox .checkboxCheckAll { pointer-events: none; } - #rl-app #V-PopupsContacts form.b-view-content a.btn.fontastic { - display: none; + #rl-app #V-PopupsContacts #contacts-more-dropdown-id + menu { + left: 0%; + width: fit-content; } \ No newline at end of file -- GitLab From 98d27de337a73b74570060a95726153877ac7a52 Mon Sep 17 00:00:00 2001 From: Akhil Date: Tue, 5 Sep 2023 23:20:40 +0530 Subject: [PATCH 3/4] Disabled all CRUD succesfully --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.css b/style.css index fed0b6c..04c2e99 100644 --- a/style.css +++ b/style.css @@ -4639,7 +4639,7 @@ html:not(rl-mobile) #rl-app .hideMessageListCheckbox .checkboxCheckAll { #rl-app #V-PopupsContacts a.btn[data-bind="command: deleteCommand"], #rl-app #V-PopupsContacts button.btn.button-save-contact, #rl-app #V-PopupsContacts #button-add-prop-dropdown-id, - #rl-app #V-PopupsContacts span[data-i18n="CONTACTS/BUTTON_IMPORT"], + #rl-app #V-PopupsContacts #contacts-more-dropdown-id + menu a[data-bind="initDom: importButton"], #rl-app #V-PopupsContacts form.b-view-content a.btn.fontastic { display: none; } -- GitLab From 9191430ab9a8aec4d96bb56d9530773522607c59 Mon Sep 17 00:00:00 2001 From: Akhil Date: Wed, 6 Sep 2023 18:45:32 +0530 Subject: [PATCH 4/4] Revert gitlab CI --- .gitlab-ci.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 55f69c0..e7d8d0e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,16 +18,3 @@ include: # reading job status, checking it and implementing additional steps # are not handled here as rm -rf /tmp/${CI_JOB_ID} will always execute - ssh $SSH_USER@$DEPLOYMENT_HOST "rm -rf /tmp/${CI_JOB_ID}" - -deploy:staging: - extends: .deploy:nextcloud-app-by-checkout - when: manual - only: - - main - - murena-main - - production - - tags - - dev/disable-contacts-crud - environment: - name: staging/01 - url: https://eeo.one -- GitLab