Skip to content

Commit

Permalink
Release/2023.13
Browse files Browse the repository at this point in the history
  • Loading branch information
jiisuominen committed Jun 12, 2023
2 parents 0621b3f + 113c4f4 commit 06fb944
Show file tree
Hide file tree
Showing 344 changed files with 39,547 additions and 4,349 deletions.
136 changes: 136 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,142 @@
# CHANGELOG


## 2023.13
- 6045994f fix: AU-819: General robot tests improvements (#473)
- ddaef87a fix: AU-1133: Disable form actions during ajax call (#491)
- c3d8b2e8 fix: AU-1162: Fix printing label text in html elements class attribute (#490)
- c04a1171 fix: AU-1070: Add metadata to premises fields (#492)
- 0cf50557 config: Update configuration (#494)
- d5aba526 fix: AU-1109: Profile form fixes. (#465)
- 5f730245 fix: AU-1120: Hide unregistered companies without name (#489)
- 253c53d8 feat: AU-1007: Delete documents via bash for testing. (#454)
- 16b04415 feat: AU-1147: Add new compensation ids and change kuva keha to use these (#486)
- 1b056222 fix: AU-1108: Fix error displays (#488)
- 199426ce Update configuration (#487)
- 923fcda2 Revert "config: Update configuration (#479)" (#485)
- a851cb92 fix: AU-1144: Fix print link on oma asiointi pages. (#484)
- 96b55b9c fix: AU-1136: Fix block title translations (#482)
- b8580ea9 fix: AU-1120: Fix empty profile errors (#483)
- 5612fd29 fix: AU-1143: ATV module version to support new service formats. (#481)
- 4ed6f32a config: Update configuration (#479)
- 81cf39a8 fix: AU-XX: Fix unexpected error (#480)
- efa92c0b fix: AU-1111: Re-style TPR New application -block (#477)
- 9a36eb77 config: Update configuration (#478)
- c3af7e70 fix: AU-622: Sort printer pages (#476)
- e6e5b343 fix: AU-1032: Autologout uudelleenohjauksen korjaus (#466)
- 3b880624 fix: AU-XX: Fix typo in definition (#475)
- 7718cec1 fix: AU-1060, AU-917: Fix fields in Toiminta form (#472)
- 07d4fc75 fix: AU-1093 date fields no longer have default value (#468)
- 48776076 config: Update configuration (#470)
- 73b9f88c fix: AU-XX: Make sure booleans are proper booleans, and not "true" etc (#471)
- 16bbd455 config: Update configuration (#469)
- 9848bae8 fix: AU-1106: Fix profile info texts (#463)
- 01e0ad66 config: Update configuration (#464)
- 2ed85ae9 fix: AU-1094: Address component requirements (#458)
- d04d166d config: Make commands
- ee7edf15 fix: AU-1072: Fix multivalue fields error displays (#462)
- 212ebdcc feat: AU-860: kuva_toiminta robot tests (#460)
- 26d38ae7 fix: AU-1088: Hidden summation field makes title display go away, no matter the setting. (#448)
- 5c395a5d config: Update configuration (#461)
- 9ca56cd3 fix: AU-1082: Remove unused duplicate application language field (#459)
- ea4d6cc0 feat: AU-1053: Add cancel button for profile forms (#457)
- 0b3bc308 config: Update configuration (#456)
- 80fcfeb9 fix: AU-1069: Fix premises styles (#431)
- 8366d67a fix: AU-1100: Fix duplicate budget info elements being saved to ATV doc. (#453)
- 293384ce feat: AU-913: Taide ja kulttuuri kehittämisavustus robot-testit (#452)
- ae56f2e1 feat: AU-879: Create infoboxes to Oma asiointi (#404)
- e0ed15f2 fix- AU-XX: Load Select2 library in composer, autologout patches (#451)
- 7f34faf3 config: Update configuration (#449)
- 731a77b1 fix: AU-XX: Remove validation breaking definitions again. (#450)
- 853d5c9a config: Update configuration (#446)
- 96044deb fix: AU-1085: update date formats. (#445)
- 1166d612 fix: AU-915 kuva toiminta avustus webform update (#447)
- 87c22c80 fix: AU-1089: Get budget compensation value from subventions (#444)
- d87f06d4 fix: AU-1071: Number fields, dot and comma number processing (#434)
- 53d1ce39 fix: AU-911: kehittamisavustus updates (#437)
- 6b405e15 fix: AU-1067: Return address metadata (#442)
- b6f8b131 fix: AU-1087: Disable premise type from kuva proj and keha (#441)
- 682e6046 fix: AU-XX fix minify in hdbt_subtheme to ignore Drupal and DrupalSettings to make Drupal.t() work again in theme.
- c86bfc76 config: Update configuration (#440)
- 64229ae8 fix: AU-1006: Fix tests, separate robot tests to make commands (#435)
- b4be95ff fix: AU-1073: Remove extra character from attachment description (#432)
- d72a05e5 fix: AU-1083: remove parenthesis if no role (#438)
- cf41ee65 config: Update configuration (#439)
- bb5a5400 fix: AU-1086: Update project mappings (#433)
- 50fc3862 feat: AU-828: Check for used application numbers (#424)
- dc6bca43 fix: AU-1085: Reorder budget field component order (#426)
- 1b84577f fix: AU-1038: Profile form fixes (#409)
- 7ac99beb config: Update configuration (#430)
- d3567167 feat: AU-1026: Redirect to profile form if missing (#429)
- 087cb97d fix: AU-922: Fix misconfigured file types on yleisavus applcation (#428)
- 72511199 fix: AU-1059: Add tooltips to budget component fields on KUVA PROJ&TOIM (#427)
- 495f0bc1 fix: AU-917, AU-1060, AU-1061, AU-1062, AU-1063: partial fixes to projekti and toiminta forms, tooltips in fieldsets, tooltips in first page composites, fieldset for other tila component (#422)
- be39388a config: Update configuration (#423)
- 5e29beb8 fix: AU-1057: Fix premises component (#421)
- 7f84a90b fix: AU-1049: translate status strings (#419)
- 2ffece15 fix: AU-XX: Make applicant info fields not required. (#420)
- 155785a1 fix: AU-878: Login redirect user to oma asiointi (#418)
- 733b1301 fix: AU-1044: Correct configuration to other attachment fields (#412)
- 3c37113e config: Update configuration (#413)
- 7fa8bb49 fix: AU-1028: add translations to metadata (#406)
- e3993164 fix: AU-1050, AU-1051: field fixes to kehitys form (#411)
- a9593a41 fix: AU-1036: Move remove button to inside fieldsets when there is a fieldset (#410)
- 19ce8118 config: Automatic update (#400)
- 97c7d3ea fix: AU-1045: Update premise radiobutton translations (#408)
- ecc5935a fix: AU-1008: Delete company email (#407)
- 428ca10d fix: AU-993: Add sv translations (#361)
- e9c430d2 fix: AU-1047: style budget component (#402)
- 4a357ad5 feat: AU-865: Make business purpose editable (#401)
- 8b8d894d feat: AU-911 kuva kehittamisavustus update for design (#403)
- 3d6e91e3 fix: AU-1040: Test & fix general applications (#395)
- 5db0830c fix: AU-877: fix logic and a few warnings (#399)
- b490b41a config: Automatic update (#398)
- dd8b5678 fix: AU-877: Add block for mandate button (#383)
- 2b95df4d feat: AU-917 Webform of KUVA-toiminta-avustus to match design (#396)
- c36636f9 feat: AU-1033: Metadata to budget component generated data (#397)
- a87d2b00 fix: AU-1020: remove error message from mandate (#394)
- ac11f2c6 feat: AU-935: add translations to front banner (#392)
- c846fb6a config: Update composer (#393)
- dfb7a514 config: Update configuration (#391)
- daaa2442 fix: AU-1023 fix summation field effects on different pages (#389)
- 2c2e0bc2 feat: AU-1021: Add multi budget component mappings (#390)
- 2874f2dd fix: AU-895 design changes to the projekti form (#388)
- 035dcc2f feat: AU-1027: Import webforms with drush command (#374)
- 9be682b1 fix: AU-1022: Handle dummy boolean fields in webform (#380)
- 9a2c74d6 fix: Fix code styles in grants handler module (#387)
- a39cb59f feat: AU-910: KUVA kehitys form (#372)
- cf762d6a fix: AU-842: Fix error message indexes for profile forms (#382)
- de8a0cfb feat: AU-XX: Conditional validator (#379)
- bb5f3a02 feat: AU-1034: Add support for bank account details for unreg community. (#384)
- 128e81a7 fix: AU-1004: fix Unregistered community in mandate (#381)
- 9ab0f84b fix: AU-1030: Always Run property structure callback (Budget Info) (#376)
- 2db0f497 fix: AU-1031: Fix validations & data mappings. (#377)
- d158d9fa fix: AU-1015: style login page block (#371)
- 1d03848d fix: AU-1005: add max width to number element (#375)
- 0b47d2ac fix: AU-1014: add translations to preview warning (#373)
- 834a631d feat: AU-488: Print applications with metadata. (#237)
- b5faed4e fix: AU-950: fix accessible tooltips (#369)
- 897b1263 feat: AU-915 kuva toiminta avustus webform changes (#356) (#370)
- f2fd9ba1 fix: AU-1019: remove dot from frontpage info block title & change site name (#367)
- 394f5e14 fix: AU-XX: Kuvaprojektikorjauksia (#368)
- 4a22d10d fix: AU-997: Restore missing prints (#366)
- 83218989 fix: AU-866: Validate addresses and display errors (#365)
- 319f95c4 fix: AU-994: Service channel link modification cache settings, missing attachment description (#363)
- c7716d2a fix: AU-999: Add role check to new application buttons (#362)
- 559cd2bd fix: AU-953: Fixed cards in application search view (#360)
- ba5600d0 fix: AU-895: Add form styles for kuva projekti (#359)
- 30930206 fix: AU-847: Allow language switcher to work on edit application pages (#358)
- 5308806b fix: AU-930: Azure pipelines setup (#357)
- 2f70b1c6 feat: AU-930: Extensive robot tests (#353)
- c4e2782a Fix: AU-996: Change budget component amount fields to number (#352)
- fc7f6cb3 feat: AU-1000: Make GrantsHandler respect applicant type for all users. (#354)
- 889afebb Fix: AU-881: Fix profile forms (#351)
- c8dcd9fb fix: AU-XX: Do some checking for arrays before accessing arrays (#349)
- f6e467dc fix: AU-995 add remove button to a multiple field missing it. (#348)
- 11449265 feat: AU-889: KUVA Projektihakemus (#322)
- 2f36ae26 fix: AU-795: change link to mandate in all roles


## 2023.12
- da2ba17e fix: AU-867: Remove TPR link to current service page and replace with serv… (#318)
- 5c1b29dc fix: AU-867 AU-877: Fix delete button visibility to be only on draft versions (#323)
Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![CI pipeline](https://github.com/City-of-Helsinki/hel-fi-drupal-grants/actions/workflows/test.yml/badge.svg)

This project offers citizens a way to apply for different city grants for their associations or themselves..
This project offers citizens a way to apply for different city grants for their associations or themselves...

## Environments

Expand Down Expand Up @@ -56,6 +56,15 @@ Works is done & issues tracked [on our Jira board](https://helsinkisolutionoffic

[Production monitoring dashboard](https://console-openshift-console.apps.platta.hel.fi/k8s/cluster/projects/hki-kanslia-aok-lomaketyokalu-prod).

## Tests for custom modules

Drupal uses `phpunit` library for tests and it is installed via `composer` as a development dependency. Tests are configured using `phpunit.xml` file in module root. Drupal documentation about tests an be found [here](https://www.drupal.org/docs/develop/automated-testing)

There are three kind of tests. Unit tests are for testing code without loading Drupal. Kernel tests are run always with Drupal core and during the test setup phase modules can be installed and configurations loaded. These can be used to test features that tied to Drupal fore features like services and events. Functional tests are run with whole Drupal and they can be used to test any Drupal functionality.

Each kind of test case has base class that are extended to create tests.

Run tests related to AtvSchema: `vendor/bin/phpunit -c public/core public/modules/custom/grants_metadata`

## Changelog
Can be found from [here](CHANGELOG.md).
28 changes: 19 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://github.com/City-of-Helsinki/drupal-helfi-platform",
"minimum-stability": "dev",
"prefer-stable": true,
"version": "2023.12",
"version": "2023.13",
"require": {
"ext-json": "*",
"composer/installers": "^1.9",
Expand Down Expand Up @@ -37,7 +37,7 @@
"drupal/hdbt": "^4.0",
"drupal/hdbt_admin": "^1.0",
"drupal/helfi_ahjo": "^1.0",
"drupal/helfi_atv": "^0.9.7",
"drupal/helfi_atv": "0.9.9",
"drupal/helfi_audit_log": "^0.9",
"drupal/helfi_azure_fs": "^1.1",
"drupal/helfi_drupal_tools": "dev-main",
Expand All @@ -61,6 +61,7 @@
"drupal/radioactivity": "^4.0",
"drupal/select2": "^1.14",
"drupal/session_limit": "^2.0@beta",
"drupal/translated_config": "^1.1",
"drupal/tvp": "^1.0",
"drupal/twig_tweak": "^3.2",
"drupal/webform": "^6.0",
Expand All @@ -71,6 +72,8 @@
"globalcitizen/php-iban": "^4.1",
"league/uri": "^6.7",
"nesbot/carbon": "^2.64",
"npm-asset/select2": "^4.0",
"oomphinc/composer-installers-extender": "^2.0",
"ramsey/uuid": "^4.3"
},
"require-dev": {
Expand Down Expand Up @@ -98,7 +101,8 @@
"composer/installers": true,
"cweagans/composer-patches": true,
"drupal/core-composer-scaffold": true,
"phpstan/extension-installer": true
"phpstan/extension-installer": true,
"oomphinc/composer-installers-extender": true
}
},
"extra": {
Expand All @@ -118,10 +122,9 @@
"Add service nodetype to sidebar.": "patches/add-service-type-sidebar.patch"
},
"drupal/autologout": {
"Secure cookies": "https://www.drupal.org/files/issues/2022-11-25/3308456-11.patch"
},
"drupal/autologout": {
"Module fix": "patches/autologout-fix-configuration.patch"
"Secure cookies": "https://www.drupal.org/files/issues/2022-11-25/3308456-11.patch",
"Module fix": "patches/autologout-fix-configuration.patch",
"Modal related issues": "https://www.drupal.org/files/issues/2023-04-25/autologout.2023-04-25.patch"
}
},
"drupal-scaffold": {
Expand All @@ -141,7 +144,9 @@
"type:drupal-core"
],
"public/libraries/{$name}": [
"type:drupal-library"
"type:drupal-library",
"type:bower-asset",
"type:npm-asset"
],
"public/modules/contrib/{$name}": [
"type:drupal-module"
Expand All @@ -161,7 +166,8 @@
"drush/Commands/{$name}": [
"type:drupal-drush"
]
}
},
"installer-types": ["bower-asset", "npm-asset"]
},
"repositories": [
{
Expand All @@ -171,6 +177,10 @@
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"scripts": {
Expand Down
Loading

0 comments on commit 06fb944

Please sign in to comment.