Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maestro_token #162

Draft
wants to merge 49 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
7c28230
feat(composer.json): add maestro module as a package
rimi-itk Mar 30, 2023
dc74edb
chore(CHANGELOG.md): update changelog with upgrade to drupal/maestro
rimi-itk Mar 30, 2023
08fc26d
Added stuff
rimi-itk May 15, 2023
855f4de
Updated docker compose setup
rimi-itk May 16, 2023
500363c
Cleaned up os2forms_maestro_webform
rimi-itk May 16, 2023
944970d
Added os2forms_maestro_webform settings
rimi-itk May 16, 2023
06c8f10
Hmm …
rimi-itk May 16, 2023
3e2e12d
2023-05-17
rimi-itk May 17, 2023
389378c
Restart mailhog unless stopped
rimi-itk May 17, 2023
e46e85f
Mail
rimi-itk May 17, 2023
c3b2a2f
PDF/Digital post hack
rimi-itk May 17, 2023
36d841c
More stuff
rimi-itk May 23, 2023
173ee12
Cleaned up
rimi-itk May 24, 2023
a75ccf5
Moved module
rimi-itk May 24, 2023
50ccbcc
Added os2forms_forloeb module
rimi-itk May 24, 2023
d447e15
Cleaned webform inherit task in os2forms_forloeb
rimi-itk May 24, 2023
b936bc5
Cleaned up
rimi-itk May 24, 2023
e6ac2b7
Handled os2forms_person_lookup element as recipient
rimi-itk May 30, 2023
5cddfd1
Cleaned up
rimi-itk May 30, 2023
f48ae8a
Updated mailsystem config
rimi-itk May 30, 2023
85f4ac8
Updated stuff
rimi-itk May 31, 2023
b67ee29
Cleaned up webform inherit task
rimi-itk May 31, 2023
afa5bb7
Moved Meastro stuff into Forløb module
rimi-itk May 31, 2023
decc37b
Moved Meastro stuff into Forløb module – part II
rimi-itk May 31, 2023
033ea2e
Queued notification messages
rimi-itk May 31, 2023
c607650
Renamed webform handler
rimi-itk Jun 1, 2023
432cb67
Cleaned up
rimi-itk Jun 1, 2023
521fb63
Added notification queue
rimi-itk Jun 2, 2023
eb4ea38
Added patch that may not be needed
rimi-itk Jun 2, 2023
3654516
Restored notification fields on task
rimi-itk Jun 2, 2023
0340d36
Added patch for something useful
rimi-itk Jun 2, 2023
464984c
Digital post
rimi-itk Jun 2, 2023
ad4ba58
Notification preview
rimi-itk Jun 5, 2023
bc4f87a
Handled more notification types
rimi-itk Jun 5, 2023
c7764e9
Cleaned up templates
rimi-itk Jun 5, 2023
6408a91
Fixed erroneous message
rimi-itk Jun 6, 2023
0017c83
Added enabling of notification types
rimi-itk Jun 12, 2023
69d2f5d
Handled custom templates
rimi-itk Jun 13, 2023
9af938c
Updated patches
rimi-itk Jun 13, 2023
012fd99
Updated config
rimi-itk Jun 13, 2023
6b76e84
Updated template stuff
rimi-itk Jun 13, 2023
7a5da04
Added patch
rimi-itk Jun 13, 2023
33820e7
Mailpit
rimi-itk Jun 14, 2023
844c56f
Mailpit
rimi-itk Jun 14, 2023
91be56e
Replaced custom module with contrib module
rimi-itk Jul 5, 2023
5698574
Maestro 3.x
rimi-itk Jul 14, 2023
a239609
Updated composer stuff
rimi-itk Aug 3, 2023
0d4e382
Mailpit 1.8.1
rimi-itk Aug 10, 2023
de09bf8
Updated Maestro and Digital post modules
rimi-itk Sep 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .docker/development/phpfpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM itkdev/php8.1-fpm:latest

USER root

# https://github.com/axllent/mailpit#download-static-binary-windows-linux-and-mac
# https://github.com/axllent/mailpit/releases/tag/v1.8.1
RUN <<'EOF'
curl --location https://github.com/axllent/mailpit/releases/download/v1.8.1/mailpit-linux-amd64.tar.gz > mailpit-linux-amd64.tar.gz
tar xvf mailpit-linux-amd64.tar.gz --directory /usr/local/bin mailpit
rm mailpit-linux-amd64.tar.gz
EOF

USER deploy
13 changes: 13 additions & 0 deletions .docker/server/phpfpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM itkdev/php8.1-fpm:alpine

USER root

# https://github.com/axllent/mailpit#download-static-binary-windows-linux-and-mac
# https://github.com/axllent/mailpit/releases/tag/v1.8.1
RUN <<EOF
curl --location https://github.com/axllent/mailpit/releases/download/v1.8.1/mailpit-linux-amd64.tar.gz > mailpit-linux-amd64.tar.gz
tar xvf mailpit-linux-amd64.tar.gz --directory /usr/local/bin mailpit
rm mailpit-linux-amd64.tar.gz
EOF

USER deploy
10 changes: 10 additions & 0 deletions .docker/vhost.conf
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,16 @@ server {
log_not_found off;
}

# Enforce clean URLs
# Removes index.php from urls like:
# www.example.com/index.php/my-page --> www.example.com/my-page
#
# Could be done with 301 for permanent or other redirect codes.
absolute_redirect off;
if ($request_uri ~* "^(.*/)index\.php/(.*)") {
return 301 /$2;
}

error_log /dev/stderr;
access_log /dev/stdout main;
}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@
!/web/modules/custom/os2forms_fbs_handler

# Ignore site specific modules.
/web/sites/*/modules
/web/sites/*/modules/*
!/web/sites/default/modules/os2forms_maestro_webform
!/web/sites/default/modules/os2forms_forloeb

# Ignore directories generated by Composer
#
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Nedenfor ses dato for release og beskrivelse af opgaver som er implementeret.
* Tilføjede [OpenId Connect Server
Mock](https://github.com/Soluto/oidc-server-mock) til test af OIDC-login under
udvikling.
* Opgraderede `drupal/maestro` til
`https://git.drupalcode.org/project/maestro/-/tree/maestro_token`.

## [2.4.2]

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ docker compose exec phpfpm composer coding-standards-check
```

```sh
docker compose run node yarn --cwd /app install
docker compose run node yarn --cwd /app coding-standards-check
docker compose run --rm node yarn --cwd /app install
docker compose run --rm node yarn --cwd /app coding-standards-check
```

## Testing
Expand Down
17 changes: 10 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "vcs",
"url": "https://github.com/itk-dev/os2forms_forloeb"
}
],
"require": {
Expand All @@ -56,7 +60,7 @@
"drupal/key_auth": "^2.1",
"drupal/keyboard_shortcuts": "^1.1.1",
"drupal/lang_dropdown": "^2.0",
"drupal/maestro": "^3.0",
"drupal/maestro": "^3.1",
"drupal/memcache": "^2.5",
"drupal/menu_link_attributes": "^1.3",
"drupal/openid_connect": "^2.0",
Expand All @@ -69,11 +73,13 @@
"itk-dev/itkdev-booking": "^1.0.3",
"itk-dev/os2forms_cpr_lookup": "^1.8.0",
"itk-dev/os2forms_cvr_lookup": "^1.4",
"itk-dev/os2forms_digital_post": "^2.0",
"itk-dev/os2forms_failed_jobs": "^1.2",
"itk-dev/os2forms_nemlogin_openid_connect": "^1.3",
"itk-dev/os2forms_user_field_lookup": "^1.0",
"itk-dev/serviceplatformen": "dev-feature/guzzle6-adapter as 1.5",
"itk-dev/web_accessibility_statement": "^1.0",
"os2forms/os2forms_digital_post": "^3.0",
"os2forms/os2forms_forloeb": "dev-feature/maestro-stuff as 2.6",
"os2forms/os2forms_forloeb_profile": "^1.12",
"os2forms/os2forms_get_organized": "^1.1.2",
"os2forms/os2forms_organisation": "^1.1.1",
Expand Down Expand Up @@ -138,11 +144,8 @@
"webform_revisions_install called twice during site:install --existing-config": "patches/drupal/config_entity_revisions/webform_revisions.install.patch"
},
"drupal/permissions_by_term": {
"Change check for node form": "patches/drupal/permissions_by_term/changeNodeCheck.patch",
"https://www.drupal.org/project/permissions_by_term/issues/3354478": "https://git.drupalcode.org/project/permissions_by_term/-/merge_requests/20.patch"
},
"drupal/lang_dropdown": {
"https://www.drupal.org/project/lang_dropdown/issues/3348277": "https://www.drupal.org/files/issues/2023-03-16/lang_dropdown-2-0-0--3348277-16.patch"
"Change check for node form": "patches/drupal/permissions_by_term/changeNodeCheck.patch"

}
},
"patches-ignore": {
Expand Down
Loading