Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Commit dba9c75

Browse files
authored
Merge pull request #44 from OS2Forms/develop
Master branch and foundation for creating versioned releases for production
2 parents 3a9bfee + eb16704 commit dba9c75

30 files changed

+3455
-375
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Ignore IntelliJ
2+
.idea/*

LICENSE

Lines changed: 339 additions & 373 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
1-
# os2forms_forloeb
2-
Dette er et modul, der giver muligheder for at oprette avancerede sagsbehandlingsforløb.
1+
# OS2forms 2.1 med Forløb
2+
Adds a Maestro workflow engine and advanced workflow functionality to OS2forms.
3+
4+
## Installing OS2forms 2.1 med Forløb
5+
This module requires the codebase from the [OS2forms core project](https://github.com/OS2Forms/os2forms8) installed per the documentation and by selecting the os2forms_forloeb_profile at installation. After succesful installation you should have the OS2forms med Forløb Module available for install via gui.
6+
7+
You can also install the module by using Drush:
8+
```
9+
./vendor/bin/drush en os2forms_forloeb
10+
```

composer.json

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"name": "os2forms/os2forms_forloeb",
3+
"type": "drupal-module",
4+
"description": "This module adds Maestro workflow engine and functionality to produce advanced workflows",
5+
"minimum-stability": "dev",
6+
"prefer-stable": true,
7+
"license": "EUPL-1.2",
8+
"repositories": {
9+
"drupal": {
10+
"type": "composer",
11+
"url": "https://packages.drupal.org/8"
12+
},
13+
"assets": {
14+
"type": "composer",
15+
"url": "https://asset-packagist.org"
16+
}
17+
},
18+
"require": {
19+
"cweagans/composer-patches": "^1.6.5",
20+
"drupal/admin_toolbar": "^2.3",
21+
"drupal/chosen": "2.10.0",
22+
"drupal/ckeditor_a11ychecker": "1.0.0",
23+
"drupal/clientside_validation": "3.0.0-rc4",
24+
"drupal/coc_forms_auto_export": "1.0.0-alpha1",
25+
"drupal/config_entity_revisions": "1.7.0",
26+
"drupal/events_logging": "1.4.0",
27+
"drupal/embed": "1.4.0",
28+
"drupal/gin": "3.0.0-alpha33",
29+
"drupal/header_and_footer_scripts": "2.2.0",
30+
"drupal/image_widget_crop": "2.3.0",
31+
"drupal/ldap": "^3.0@beta",
32+
"drupal/ldap_auth": "^1.17",
33+
"drupal/libraries": "3.0.0-beta1",
34+
"drupal/linkit": "^5.0",
35+
"drupal/logging_alerts": "1.0.0",
36+
"drupal/maestro": "3.0.1-rc2",
37+
"drupal/masquerade": "2.0.0-beta4",
38+
"drupal/queue_mail": "1.3.0",
39+
"drupal/queue_ui": "^2.1",
40+
"drupal/rules": "3.0.0-alpha6",
41+
"drupal/rules_token": "1.2.0",
42+
"drupal/rules_webform": "1.5.0",
43+
"drupal/simple_ldap": "1.0.0-alpha3",
44+
"drupal/simplesamlphp_auth": "3.2.0",
45+
"drupal/switch_page_theme": "1.0",
46+
"drupal/telephone_validation": "^2.2",
47+
"drupal/ultimate_cron": "2.0.0-alpha5",
48+
"drupal/user_default_page": "2.0.0-rc1",
49+
"drupal/webform_composite": "1.0-rc2",
50+
"drupal/webform_remote_handlers": "1.6.0",
51+
"drupal/webform_rest": "4.0.0-beta2",
52+
"drupal/webform_scheduled_tasks": "^2.0",
53+
"drupal/webform_views": "5.0.0-alpha7",
54+
"drupal/workflow_participants": "^2.4",
55+
"vlucas/phpdotenv": "^2.4",
56+
"webmozart/path-util": "2.3.0",
57+
"zaporylie/composer-drupal-optimizations": "1.2.0"
58+
},
59+
"extra": {
60+
"composer-exit-on-patch-failure": true,
61+
"patchLevel": {
62+
"test": "-p2"
63+
},
64+
"enable-patching": true,
65+
"patcher": {
66+
"force-reset": true
67+
},
68+
"patches": {
69+
"drupal/entity_print": {
70+
"2733781 - Add Export to Word Support": "https://www.drupal.org/files/issues/2019-11-22/2733781-47.patch"
71+
},
72+
"drupal/webform": {
73+
"Unlock possibility of using Entity print module export to Word": "https://www.drupal.org/files/issues/2020-02-29/3096552-6.patch"
74+
}
75+
}
76+
}
77+
}

config/install/.gitkeep

Whitespace-only changes.
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
langcode: da
2+
status: true
3+
dependencies:
4+
config:
5+
- field.field.node.forloebsside.body
6+
- field.field.node.forloebsside.field_forloeb_webformular
7+
- node.type.forloebsside
8+
module:
9+
- path
10+
- text
11+
- webform
12+
enforced:
13+
module:
14+
- os2forms_forloeb
15+
id: node.forloebsside.default
16+
targetEntityType: node
17+
bundle: forloebsside
18+
mode: default
19+
content:
20+
body:
21+
type: text_textarea_with_summary
22+
weight: 1
23+
settings:
24+
rows: 9
25+
summary_rows: 3
26+
placeholder: ''
27+
show_summary: false
28+
third_party_settings: { }
29+
region: content
30+
created:
31+
type: datetime_timestamp
32+
weight: 5
33+
region: content
34+
settings: { }
35+
third_party_settings: { }
36+
field_forloeb_webformular:
37+
type: webform_entity_reference_select
38+
weight: 2
39+
region: content
40+
settings:
41+
default_data: true
42+
webforms: { }
43+
third_party_settings: { }
44+
field_forloeb_webformular_:
45+
weight: 122
46+
settings:
47+
default_data: true
48+
webforms: { }
49+
third_party_settings: { }
50+
type: webform_entity_reference_select
51+
region: content
52+
langcode:
53+
type: language_select
54+
weight: 3
55+
region: content
56+
settings:
57+
include_locked: true
58+
third_party_settings: { }
59+
path:
60+
type: path
61+
weight: 8
62+
region: content
63+
settings: { }
64+
third_party_settings: { }
65+
promote:
66+
type: boolean_checkbox
67+
settings:
68+
display_label: true
69+
weight: 6
70+
region: content
71+
third_party_settings: { }
72+
status:
73+
type: boolean_checkbox
74+
settings:
75+
display_label: true
76+
weight: 10
77+
region: content
78+
third_party_settings: { }
79+
sticky:
80+
type: boolean_checkbox
81+
settings:
82+
display_label: true
83+
weight: 7
84+
region: content
85+
third_party_settings: { }
86+
title:
87+
type: string_textfield
88+
weight: 0
89+
region: content
90+
settings:
91+
size: 60
92+
placeholder: ''
93+
third_party_settings: { }
94+
uid:
95+
type: entity_reference_autocomplete
96+
weight: 4
97+
settings:
98+
match_operator: CONTAINS
99+
size: 60
100+
placeholder: ''
101+
match_limit: 10
102+
region: content
103+
third_party_settings: { }
104+
url_redirects:
105+
weight: 9
106+
region: content
107+
settings: { }
108+
third_party_settings: { }
109+
hidden: { }
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
langcode: da
2+
status: true
3+
dependencies:
4+
config:
5+
- field.field.node.forloebsside.body
6+
- field.field.node.forloebsside.field_forloeb_webformular
7+
- node.type.forloebsside
8+
module:
9+
- entity_print
10+
- text
11+
- user
12+
- webform
13+
enforced:
14+
module:
15+
- os2forms_forloeb
16+
id: node.forloebsside.default
17+
targetEntityType: node
18+
bundle: forloebsside
19+
mode: default
20+
content:
21+
body:
22+
type: text_default
23+
weight: 0
24+
region: content
25+
label: above
26+
settings: { }
27+
third_party_settings: { }
28+
field_forloeb_webformular:
29+
type: webform_entity_reference_entity_view
30+
weight: 1
31+
region: content
32+
label: above
33+
settings:
34+
source_entity: true
35+
third_party_settings: { }
36+
links:
37+
weight: 2
38+
region: content
39+
settings: { }
40+
third_party_settings: { }
41+
hidden:
42+
entity_print_view_epub: true
43+
entity_print_view_pdf: true
44+
entity_print_view_word_docx: true
45+
langcode: true
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
langcode: da
2+
status: true
3+
dependencies:
4+
config:
5+
- field.storage.node.body
6+
- node.type.forloebsside
7+
module:
8+
- text
9+
enforced:
10+
module:
11+
- os2forms_forloeb
12+
id: node.forloebsside.body
13+
field_name: body
14+
entity_type: node
15+
bundle: forloebsside
16+
label: Body
17+
description: ''
18+
required: false
19+
translatable: true
20+
default_value: { }
21+
default_value_callback: ''
22+
settings:
23+
display_summary: true
24+
required_summary: false
25+
field_type: text_with_summary
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
langcode: da
2+
status: true
3+
dependencies:
4+
config:
5+
- field.storage.node.field_forloeb_webformular
6+
- node.type.forloebsside
7+
module:
8+
- webform
9+
enforced:
10+
module:
11+
- os2forms_forloeb
12+
id: node.forloebsside.field_forloeb_webformular
13+
field_name: field_forloeb_webformular
14+
entity_type: node
15+
bundle: forloebsside
16+
label: 'Forløb (webformular)'
17+
description: 'Her kan man indsætte et forløb, der er en webformular med indbygget flow.'
18+
required: false
19+
translatable: false
20+
default_value: { }
21+
default_value_callback: ''
22+
settings:
23+
handler: 'default:webform'
24+
handler_settings:
25+
target_bundles: null
26+
auto_create: false
27+
field_type: webform
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
langcode: da
2+
status: true
3+
dependencies:
4+
module:
5+
- node
6+
- webform
7+
enforced:
8+
module:
9+
- os2forms_forloeb
10+
id: node.field_forloeb_webformular
11+
field_name: field_forloeb_webformular
12+
entity_type: node
13+
type: webform
14+
settings:
15+
target_type: webform
16+
module: webform
17+
locked: false
18+
cardinality: 1
19+
translatable: true
20+
indexes: { }
21+
persist_with_no_fields: false
22+
custom_storage: false

0 commit comments

Comments
 (0)