Skip to content

Instantly share code, notes, and snippets.

View sylus's full-sized avatar
:octocat:
Learning all things Cloud Native (CNCF)

William H sylus

:octocat:
Learning all things Cloud Native (CNCF)
View GitHub Profile
From 20fc988f44c6af8d37913e9d9b9d8d0a0154414f Mon Sep 17 00:00:00 2001
From: sylus <[email protected]>
Date: Thu, 24 Feb 2022 20:55:26 -0500
Subject: [PATCH] feat(notebook): Patch noVNC for notebooks
Signed-off-by: sylus <[email protected]>
---
app/ui.js | 17 ++++++++++++++++-
vnc_lite.html | 6 ++++--
2 files changed, 20 insertions(+), 3 deletions(-)
@sylus
sylus / 1705618-double-click-prevention-on-form-submission.patch
Last active August 11, 2021 17:48
Double click prevention on form submission
From 2a8962fa547e1dbc25768ccabfc8ae01f64998a4 Mon Sep 17 00:00:00 2001
From: sylus <[email protected]>
Date: Wed, 11 Aug 2021 13:38:37 -0400
Subject: [PATCH] Double click prevention on form submission
---
includes/form.inc | 24 ++++++++++++++
misc/form.js | 62 ++++++++++++++++++++++++++++++++++++
modules/system/system.module | 6 ++--
3 files changed, 89 insertions(+), 3 deletions(-)
diff --git a/src/CshsOptionsFromHelper.php b/src/CshsOptionsFromHelper.php
index 011b2a86..ec168e46 100644
--- a/src/CshsOptionsFromHelper.php
+++ b/src/CshsOptionsFromHelper.php
@@ -317,6 +317,10 @@ private function getOptions(string $vocabulary_id, int $parent = 0, $none_value
};
}
+ // contexts for alter hook
+ $account = \Drupal::entityTypeManager()->getStorage('user')->load(\Drupal::currentUser()->id());
From 220d2da84b4b2bacff0dab6b8ee6f0883eedfcd9 Mon Sep 17 00:00:00 2001
From: William Hearn <[email protected]>
Date: Wed, 31 Mar 2021 22:30:20 -0400
Subject: [PATCH] feat(bootstrap): Bootstrap no longer ships with overrides
---
profiles/wetkit/modules/contrib/admin_menu/admin_menu.css | 1 -
profiles/wetkit/themes/wetkit_bootstrap/css/overrides.min.css | 1 +
.../themes/wetkit_bootstrap/templates/system/html.vars.php | 2 +-
profiles/wetkit/themes/wetkit_bootstrap/wetkit_bootstrap.info | 3 ++-
From 87824fa5586a824539511178a321c66ea605a304 Mon Sep 17 00:00:00 2001
From: William Hearn <[email protected]>
Date: Wed, 31 Mar 2021 20:34:33 -0400
Subject: [PATCH] feat(bootstrap): Bootstrap no longer ships with overrides
---
profiles/wetkit/themes/wetkit_bootstrap/css/overrides.min.css | 1 +
.../themes/wetkit_bootstrap/templates/system/html.vars.php | 2 +-
profiles/wetkit/themes/wetkit_bootstrap/wetkit_bootstrap.info | 3 ++-
3 files changed, 4 insertions(+), 2 deletions(-)
From ebf0c66e5295fffcb93b89600740746ff4110baf Mon Sep 17 00:00:00 2001
From: William Hearn <[email protected]>
Date: Wed, 31 Mar 2021 18:03:12 -0400
Subject: [PATCH] feat(bootstrap): Disable bootstrap_cdn override
---
profiles/wetkit/themes/wetkit_bootstrap/wetkit_bootstrap.info | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/profiles/wetkit/themes/wetkit_bootstrap/wetkit_bootstrap.info b/profiles/wetkit/themes/wetkit_bootstrap/wetkit_bootstrap.info
From 60695df7db47ddef036d25ab96ceb72574f5cb31 Mon Sep 17 00:00:00 2001
From: William Hearn <[email protected]>
Date: Tue, 30 Mar 2021 22:58:56 -0400
Subject: [PATCH] feat(webform): Proper Decryption
---
webform_encrypt.install | 18 ++++++
webform_encrypt.module | 134 ++++++++++++++++++++++++++++++++++++----
2 files changed, 141 insertions(+), 11 deletions(-)
From d42456bb76b9c0347d0543bffcac5f18c2376edc Mon Sep 17 00:00:00 2001
From: William Hearn <[email protected]>
Date: Tue, 30 Mar 2021 23:19:39 -0400
Subject: [PATCH] feat(webform): Patch webform
---
.../webform/includes/webform.report.inc | 3 +++
.../webform/includes/webform.submissions.inc | 25 ++++++++++++-------
.../modules/contrib/webform/webform.api.php | 19 ++++++++++++++
3 files changed, 38 insertions(+), 9 deletions(-)
diff --git a/webform_encrypt.module b/webform_encrypt.module
index 4d5a4d6..72c76fb 100644
--- a/webform_encrypt.module
+++ b/webform_encrypt.module
@@ -34,6 +34,18 @@ function webform_encrypt_form_webform_admin_settings_alter(&$form, $form_state)
'#description' => t('If enabled, every time webform sends an email, it will attempt to find a user that matches the email address the mail will be sent to in order to correctly determine permissions.'),
'#default_value' => variable_get('webform_encrypt_match_user', 0),
);
+ $form['encrypt']['webform_encrypt_hide_encrypted'] = array(
+ '#type' => 'checkbox',
From d7270f425c878e07b890505cc671052d6d014d51 Mon Sep 17 00:00:00 2001
From: William Hearn <[email protected]>
Date: Mon, 8 Mar 2021 12:50:14 -0500
Subject: [PATCH] feat(webform_service): Enable decryption capability
---
resources/submission_resource.inc | 7 +++++--
webform_service.module | 6 ++----
2 files changed, 7 insertions(+), 6 deletions(-)