Skip to content

Commit 8a0479c

Browse files
authored
Merge pull request #49 from OS2Forms/develop
Pull request
2 parents 9bae42c + e4ad4aa commit 8a0479c

File tree

58 files changed

+7363
-50
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+7363
-50
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,18 @@ before starting to add changes. Use example [placed in the end of the page](#exa
1111

1212
## [Unreleased]
1313

14+
- [OSF-25] added modules/os2forms_forloeb
15+
- [OSF-25] added modules/os2forms_permissions_by_term
16+
- [OSF-25] added modules/os2forms_webform_list
17+
1418
## [3.5.0] 2023-04-25
1519

1620
- Added SessionDynamicValue webform element
1721
- Fixed `Undefined array key` in os2forms_attachment module
1822
- Added Maps element (<https://github.com/OS2Forms/os2forms/pull/39>).
1923
- Added missing dependency
24+
- Added changes to Map element after external review
25+
- Fixed non-existent service "entity.manager" in webform_embed module
2026

2127
## [3.4.0] 2023-02-15
2228

composer.json

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,38 +17,86 @@
1717
},
1818
"require": {
1919
"cweagans/composer-patches": "^1.6.5",
20+
"dompdf/dompdf": "^2.0",
21+
"drupal/admin_toolbar": "^3.0",
22+
"drupal/chosen": "^2.10",
23+
"drupal/ckeditor_a11ychecker": "^2.0@alpha",
24+
"drupal/clientside_validation": "^3.0",
25+
"drupal/coc_forms_auto_export": "^2.0@alpha",
26+
"drupal/config_entity_revisions": "^1.7.0",
27+
"drupal/diff": "^1.0",
28+
"drupal/embed": "^1.4",
2029
"drupal/entity_print": "^2.1",
2130
"drupal/eu_cookie_compliance": "^1.8",
31+
"drupal/events_logging": "^1.5",
32+
"drupal/header_and_footer_scripts": "^3.0",
2233
"drupal/honeypot": "^2.0",
34+
"drupal/image_widget_crop": "^2.3",
35+
"drupal/ldap": "^4.2",
36+
"drupal/ldap_auth": "^1.17",
37+
"drupal/leaflet": "^10.0",
38+
"drupal/leaflet_layers": "^1.1",
39+
"drupal/libraries": "^3.0@beta",
40+
"drupal/linkit": "^5.0",
41+
"drupal/logging_alerts": "^2.0",
42+
"drupal/maestro": "^3.0",
2343
"drupal/mailsystem": "^4.1",
44+
"drupal/masquerade": "^2.0@RC",
2445
"drupal/pathauto": "^1.5",
2546
"drupal/permissions_by_term": "^3.1 || ^2.25",
47+
"drupal/queue_mail": "^1.4",
48+
"drupal/queue_ui": "^2.1",
49+
"drupal/r4032login": "^2.1",
2650
"drupal/redirect": "^1.4",
51+
"drupal/simple_ldap": "^1.0@alpha",
52+
"drupal/simplesamlphp_auth": "^3.2",
2753
"drupal/smtp": "^1.0@beta",
54+
"drupal/switch_page_theme": "^4.0",
55+
"drupal/telephone_validation": "^2.2",
2856
"drupal/token": "^1.5",
57+
"drupal/ultimate_cron": "^2.0.0",
58+
"drupal/user_default_page": "^2.1",
2959
"drupal/webform": "^6.1",
60+
"drupal/webform_composite": "^1.0@RC",
3061
"drupal/webform_migrate": "^1.1",
62+
"drupal/webform_node_element": "^1.2",
63+
"drupal/webform_remote_handlers": "^1.6.0",
3164
"drupal/webform_remote_select": "^1.0.6",
65+
"drupal/webform_rest": "^4.0.0-beta2",
66+
"drupal/webform_scheduled_tasks": "^2.0",
3267
"drupal/webform_validation": "^2.0",
68+
"drupal/webform_views": "^5.0@alpha",
69+
"drupal/workflow_participants": "^2.4",
3370
"os2web/os2web_datalookup": "^1.0",
3471
"os2web/os2web_nemlogin": "^1.0",
3572
"phpoffice/phpword": "^0.18.2",
36-
"tecnickcom/tcpdf": "~6"
73+
"tecnickcom/tcpdf": "~6",
74+
"webmozart/path-util": "^2.3",
75+
"zaporylie/composer-drupal-optimizations": "^1.2"
3776
},
3877
"require-dev": {
3978
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
4079
"drupal/coder": "^8.3",
4180
"drupal/maillog": "^1.0"
4281
},
4382
"extra" : {
44-
"composer-exit-on-patch-failure": true,
83+
"composer-exit-on-patch-failure": false,
4584
"enable-patching" : true,
4685
"patches": {
4786
"drupal/entity_print": {
4887
"2733781 - Add Export to Word Support": "https://www.drupal.org/files/issues/2019-11-22/2733781-47.patch"
4988
},
5089
"drupal/webform": {
5190
"Unlock possibility of using Entity print module export to Word": "https://www.drupal.org/files/issues/2020-02-29/3096552-6.patch"
91+
},
92+
"drupal/user_default_page": {
93+
"Warning: in_array() expects parameter 2 to be array, null given in user_default_page_user_logout() (https://www.drupal.org/node/3246986)": "https://www.drupal.org/files/issues/2021-11-01/user_default_page-3246986-2.patch"
94+
},
95+
"drupal/coc_forms_auto_export": {
96+
"3240592 - Problem with phpseclib requirement in 2.x (https://www.drupal.org/project/coc_forms_auto_export/issues/3240592)": "https://www.drupal.org/files/issues/2021-10-04/requirement-namespace-3240592-1.patch"
97+
},
98+
"drupal/dynamic_entity_reference": {
99+
"entityQuery reference JOINs should specify target_type (https://www.drupal.org/project/dynamic_entity_reference/issues/3120952#comment-14141038)": "https://www.drupal.org/files/issues/2021-06-22/entityquery-reference-joins-should-specify-target_type-3120952-24.patch"
52100
}
53101
}
54102
},

modules/os2forms_attachment/templates/os2forms-attachment--webform-submission.html.twig

Lines changed: 63 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,71 @@
66
<meta name="author" content="{{ author }}">
77
<title>{{ title }}</title>
88
{{ entity_print_css }}
9+
<style>
10+
@page {
11+
margin: 180px 35px 150px 35px;
12+
}
13+
14+
header {
15+
position: fixed;
16+
top: -150px;
17+
left: 25px;
18+
right: 0px;
19+
height: 50px;
20+
font-size: 12px;
21+
}
22+
23+
footer {
24+
position: fixed;
25+
bottom: -50px;
26+
left: 25px;
27+
right: 0px;
28+
height: 50px;
29+
font-size: 12px;
30+
}
31+
32+
.webform-entity-print-body {
33+
font-size: 14px;
34+
width: 65% !important;
35+
}
36+
37+
.webform-element {
38+
padding: 5px 0;
39+
margin: 5px 0;
40+
font-size: 12px;
41+
}
42+
43+
.webform-entity-print-colophon {
44+
font-size: 12px;
45+
margin-top: -11px;
46+
}
47+
48+
thead {
49+
border-bottom: 1px solid black;
50+
}
51+
52+
th {
53+
text-align: left;
54+
}
55+
56+
details, .claro-details {
57+
border: none !important;
58+
}
59+
60+
summary {
61+
font-size: 20px !important;
62+
}
63+
64+
.webform-section-title {
65+
font-size: 14px !important;
66+
}
67+
68+
.table {
69+
width: 100%;
70+
}
71+
</style>
972
</head>
1073
<body>
11-
1274
{% if header %}
1375
<header>
1476
{{ header }}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# OS2Forms Forløb Change Log
2+
All notable changes to this project should be documented in this file.
3+
4+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
5+
and this project adheres to [Semantic Versioning](http://semver.org/).
6+
7+
See ["how do I make a good changelog record?"](https://keepachangelog.com/en/1.0.0/#how)
8+
before starting to add changes.
9+
10+
## [Unreleased]
11+
12+
## 2.5.2 - 27.03.2023
13+
14+
### Updated
15+
- Bumped drupal/ultimate_cron version fixing [Deprecated function: Implicit conversion from float-string](https://www.drupal.org/project/ultimate_cron/issues/3256142).
16+
17+
## 2.5.1 - 10.03.2023
18+
- Added github action for checking changelog changes when creating pull requests
19+
- Added os2forms/os2forms dependency
20+
- Changed composer patching configuration
21+
- Removed patches that don't belong in this project (Patched correctly in os2forms/os2forms project)
22+
- Added patch for drupal/dynamic_entity_reference
23+
- Remove drupal dependency on user default page module
24+
25+
## 2.5.0 - 11.10.2022
26+
27+
### Added
28+
- retry task controller action
29+
- Added support for inheriting values without creating a submission
30+
31+
## 2.4.0
32+
33+
### Added
34+
- Github CI action for checking Drupal Coding standards with PHP Code Sniffer
35+
- Fixed coding standards issues
36+
37+
38+
## Example of change log record
39+
```
40+
## [x.x.x] Release name
41+
### Added
42+
- Description on added functionality.
43+
44+
### Changed/Updated
45+
- Description on changed/updated functionality.
46+
47+
### Deprecated
48+
- Description of soon-to-be removed features.
49+
50+
### Removed
51+
- Description of removed features.
52+
53+
### Fixed
54+
- Decription of bug fixes.
55+
56+
### Security
57+
- Security in case of vulnerabilities.
58+
59+
```

0 commit comments

Comments
 (0)