Skip to content

Commit de5fa35

Browse files
committed
Merge branch 'develop'
* develop: Rename main.yml to deploy-release-to-test.yml Recreating workflow deleting workflow changing github action filename fixing syntax adding mote type to release trigger adde release types updating script name changing rebuild script name Adding release publish deploy action OS-3 - removing package fixed version Adding GIN theme admin toolbar support Updated webforms_analysis to Drupal 9 Updated invalid lock file after merge Added module removed from os2forms/os2forms package OS2Forms/os2forms#22 This module still might be used on some installations. Updated os2forms to latest release Added patch for webform_scheduled_email plugin. See https://www.drupal.org/project/webform/issues/3259195 Fixed bug with long request_URI in os2web_logging module # Conflicts: # composer.lock
2 parents 0222d66 + fd8999d commit de5fa35

File tree

5 files changed

+79
-24
lines changed

5 files changed

+79
-24
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Deploy release to test.os2forms.dk
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
7+
build:
8+
name: Build
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: executing remote ssh commands using password
12+
uses: appleboy/ssh-action@master
13+
with:
14+
host: ${{ secrets.HOST }}
15+
username: ${{ secrets.USERNAME }}
16+
key: ${{ secrets.KEY }}
17+
port: ${{ secrets.PORT }}
18+
script: |
19+
whoami
20+
sh /var/www/test.os2forms.dk/private/os2forms_init/rebuild_installation.sh

composer.json

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,10 @@
8989
"drupal/bootstrap": "^3.21",
9090
"drupal/config_entity_revisions": "1.7.0",
9191
"drupal/console": "^1.0.2",
92-
"drupal/core-composer-scaffold": "~9.2.13",
93-
"drupal/core-recommended": "~9.2.13",
92+
"drupal/core-composer-scaffold": "^9.4",
93+
"drupal/core-project-message": "^9.4",
94+
"drupal/core-recommended": "^9.4",
95+
"drupal/core-vendor-hardening": "^9.4",
9496
"drupal/fontyourface": "^3.2",
9597
"drupal/header_and_footer_scripts": "^3.0",
9698
"drupal/ldap": "^4.2",
@@ -104,18 +106,18 @@
104106
"drupal/straw": "^1.3",
105107
"drupal/telephone_validation": "^2.2",
106108
"drupal/upgrade_status": "^3.12",
107-
"drupal/webform_analysis": "1.x-dev#9e34c2617958ab4b5e0632b49ca6c75d4e1d4c00",
109+
"drupal/webform_analysis": "^1.0@beta",
108110
"drupal/webform_composite": "^1.0@RC",
109111
"drupal/webform_migrate": "^1.2",
110112
"drupal/webform_node_element": "^1.1",
113+
"drupal/webform_permissions_by_term": "^1.2",
111114
"drupal/webform_scheduled_tasks": "^2.0",
112115
"drupal/webform_views": "^5.0@alpha",
113116
"drush/drush": "^10",
114117
"os2core/os2core": "^2.0",
115118
"os2forms/os2forms": "~3.1",
116119
"os2forms/os2forms_egbolig": "dev-master",
117-
"os2forms/os2forms_forloeb": "^1.9",
118-
"os2forms/os2forms_forloeb_profile": "1.6.0-rc",
120+
"os2forms/os2forms_forloeb_profile": "^1.9.0",
119121
"os2web/os2web_logging": "dev-master",
120122
"vlucas/phpdotenv": "^5.1",
121123
"webflo/drupal-finder": "^1.2",
@@ -141,7 +143,9 @@
141143
"cweagans/composer-patches": true,
142144
"zaporylie/composer-drupal-optimizations": true,
143145
"drupal/console-extend-plugin": true,
144-
"drupal/core-composer-scaffold": true
146+
"drupal/core-composer-scaffold": true,
147+
"drupal/core-project-message": true,
148+
"drupal/core-vendor-hardening": true
145149
}
146150
},
147151
"autoload": {
@@ -191,32 +195,23 @@
191195
"force-reset": true
192196
},
193197
"patches": {
194-
"drupal/coc_forms_auto_export": {
195-
"3240592 - Problem with phpseclib requirement in 2.x": "https://www.drupal.org/files/issues/2021-10-04/requirement-namespace-3240592-1.patch"
196-
},
197198
"drupal/webform": {
198-
"Add support for Set to state": "./patches/add-set-to-state-3159806-2-modified-5.19.patch"
199+
"Add support for Set to state": "./patches/add-set-to-state-3159806-2-modified-5.19.patch"
199200
},
200201
"drupal/webform_permissions_by_term": {
201-
"3192241 - Too few arguments after Permissions by Term update to 2.28": "https://www.drupal.org/files/issues/2021-12-10/too-few-arguments-access-check_3192241-3.patch",
202-
"3142184 - Automated Drupal 9 compatibility fixes": "https://www.drupal.org/files/issues/2020-06-28/webform_permissions_by_term.1.x-dev.rector.patch",
203-
"Enabled D9 support": "patches/webform_permissions_by_term-d9.patch"
202+
"3192241 - Too few arguments after Permissions by Term update to 2.28": "https://www.drupal.org/files/issues/2021-12-10/too-few-arguments-access-check_3192241-3.patch",
203+
"3142184 - Automated Drupal 9 compatibility fixes": "https://www.drupal.org/files/issues/2020-06-28/webform_permissions_by_term.1.x-dev.rector.patch",
204+
"Enabled D9 support": "patches/webform_permissions_by_term-d9.patch"
204205
},
205206
"drupal/webform_embed": {
206-
"Enabled D9 support": "./patches/webform_embed-d9.patch",
207-
"3170384 - Fixed D9 imcopatibility": "https://www.drupal.org/files/issues/2020-09-11/3170384-2.patch"
207+
"Enabled D9 support": "./patches/webform_embed-d9.patch",
208+
"3170384 - Fixed D9 imcopatibility": "https://www.drupal.org/files/issues/2020-09-11/3170384-2.patch"
208209
},
209210
"drupal/webform_migrate": {
210211
"Set to support. Checkbox condition fixes": "./patches/setto-and-checkboxes-condition-fix-onlyD7.patch"
211212
},
212213
"drupal/queue_mail": {
213214
"Admin interface to see queued mail": "https://www.drupal.org/files/issues/2020-06-30/3096917-ui-queue-mail-moderate-5.patch"
214-
},
215-
"drupal/smtp": {
216-
"Duplicated Attachments using webforms": "https://www.drupal.org/files/issues/2020-06-18/smtp-2995290-17.patch"
217-
},
218-
"drupal/honeypot" : {
219-
"3279917 - LogicException: The database connection is not serializable": "https://www.drupal.org/files/issues/2022-05-12/3279917-4-use_dependency_serialization_trait.patch"
220215
}
221216
}
222217
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/modules/webform_scheduled_email/src/Plugin/WebformHandler/ScheduleEmailWebformHandler.php b/modules/webform_scheduled_email/src/Plugin/WebformHandler/ScheduleEmailWebformHandler.php
2+
index e8b96cc7a..063311834 100644
3+
--- a/modules/webform_scheduled_email/src/Plugin/WebformHandler/ScheduleEmailWebformHandler.php
4+
+++ b/modules/webform_scheduled_email/src/Plugin/WebformHandler/ScheduleEmailWebformHandler.php
5+
@@ -385,7 +385,7 @@ class ScheduleEmailWebformHandler extends EmailWebformHandler {
6+
* {@inheritdoc}
7+
*/
8+
public function deleteHandler() {
9+
- $this->scheduledEmailManager->unschedule($this->webform, $this->getHandlerId());
10+
+ $this->scheduledEmailManager->delete($this->webform, $this->getHandlerId());
11+
}
12+
13+
/**

web/themes/custom/custom_theme/dist/stylesheets/stylesheet.css

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

web/themes/custom/custom_theme/src/styles/theme/_overrides.scss

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
// --------------------------------------------------
2121
// Styling
2222
// --------------------------------------------------
23-
23+
html {
24+
font-size: 16px;
25+
}
2426
body {
2527
font-weight: 400;
2628
}
@@ -42,7 +44,6 @@ img {
4244
}
4345

4446
a {
45-
4647
&:not(.btn) {
4748
text-decoration: underline;
4849

@@ -52,6 +53,19 @@ a {
5253
}
5354
}
5455

56+
.gin--vertical-toolbar {
57+
ul.toolbar-menu a {
58+
text-decoration: none;
59+
}
60+
.toolbar-tray-horizontal {
61+
ul li.menu-item--expanded ul li.menu-item--expanded::before,
62+
.toolbar-menu:not(:first-child) li.menu-item--expanded > a:focus::before {
63+
transform: translateY(-50%);
64+
top: 50%!important;
65+
}
66+
}
67+
}
68+
5569
// --------------------------------------------------
5670
// Variants
5771
// --------------------------------------------------

0 commit comments

Comments
 (0)