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

Release 2 #425

Merged
merged 22 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
f7ac45b
ECCW-699: Updates to facilitate the management of media files
nbrettell Sep 11, 2024
e6b0051
ECCW-699: Updating drupal with dependencies
nbrettell Sep 12, 2024
85f44da
LP-85: Display published/review dates for anonymous users. Filter by …
Polynya Sep 23, 2024
273ae20
Merge branch 'feature/ECCW-699' of github.com:essexcountycouncil/esse…
Polynya Sep 24, 2024
7d824f2
Merge branch 'bugfix/LP-85' of github.com:essexcountycouncil/essex-in…
Polynya Sep 24, 2024
4e2116f
chore(): Update Config Ignore.
Polynya Sep 24, 2024
1cb6d7c
feat(LP-106): Install ecc_parents.
Polynya Sep 24, 2024
78b4ddd
feat(LP-146): Update Autosave Form module.
Polynya Sep 24, 2024
8c7ba08
feat(LP-90): Upgrade modules. Enable LocalGov Workflows Notifications
Polynya Sep 24, 2024
d3da391
feat(LP-106): Enable ECC Parents module.
Polynya Sep 24, 2024
afb90c9
feat(LP-90): LGD Workflows patches. Remove security-advisories until …
Polynya Sep 25, 2024
741f3e8
fix(LP-90): Add missing local patch.
Polynya Sep 25, 2024
9c58b62
ci(): Fix sbom image name
Polynya Sep 25, 2024
354f80b
fix(LP-110): Display checkbox on guide page edit form.
Polynya Sep 25, 2024
4629a33
feat(LP-90): Upgrade ContentOwnership module.
Polynya Sep 25, 2024
916d2a8
ci(): Delete open_pr workflow. Remove privsharevol from comment workf…
Polynya Sep 25, 2024
bc6d591
fix(LP-90): Upgrade Content Ownership
Polynya Sep 25, 2024
ae2f09d
fix(LP-90): Update Content Ownership
Polynya Sep 25, 2024
fb2b290
fix(LP-90): Content By Owner view
Polynya Sep 25, 2024
a6c0021
ci(): Remove redundant security checker from Dockerfile
Polynya Sep 25, 2024
6147f3a
fix(LP-90): Content Ownership 1.0.4
Polynya Sep 25, 2024
c1e6fe8
feat(LP-203): Enable Replicate for content and paragraphs.
Polynya Sep 30, 2024
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
2 changes: 0 additions & 2 deletions .github/workflows/comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,6 @@ jobs:
volumeMounts:
- mountPath: /drupal/web/sites/default/files
volumeName: filesharevol
- mountPath: /drupal/data/default/private
volumeName: privsharevol
env:
- name: MYSQL_HOST
value: mariadb-ecc-uks-dev.mariadb.database.azure.com
Expand Down
136 changes: 0 additions & 136 deletions .github/workflows/open_pr.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ generate-sbom:
- apk add bash curl --update-cache
- curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
script:
- docker pull ${DOCKER_REGISTRY}/portal-intranet-fpm${tag}
- syft docker:${DOCKER_REGISTRY}/portal-intranet-fpm${tag} -o json=dockerimage.sbom.json
- docker pull ${DOCKER_REGISTRY}/intranet-drupal-fpm${tag}
- syft docker:${DOCKER_REGISTRY}/intranet-drupal-fpm${tag} -o json=dockerimage.sbom.json
only:
- develop
- /^release\//
Expand Down
9 changes: 0 additions & 9 deletions Dockerfile-drupal
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,10 @@ RUN pecl channel-update pecl.php.net \
# Download and install Composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

# Download and install security checker
ENV PHP_CHECKER_VERSION=1.0.0
RUN curl -o /tmp/security_checker -L "https://github.com/fabpot/local-php-security-checker/releases/download/v${PHP_CHECKER_VERSION}/local-php-security-checker_${PHP_CHECKER_VERSION}_linux_amd64" \
&& mv /tmp/security_checker /usr/bin/local-php-security-checker \
&& chmod +x /usr/bin/local-php-security-checker

# create volume for shared SSH keys
RUN mkdir -p /drupal/data/default/ssh-keys
VOLUME ["/drupal/data/default/ssh-keys"]



# create Drupal folders
RUN mkdir -p /drupal/web/sites/default/files \
&& mkdir -p /drupal/data/default/private \
Expand All @@ -89,7 +81,6 @@ WORKDIR /drupal

RUN sed -i 's;listen = /run/php/php8.1-fpm.sock;listen = 9000;' /etc/php/8.1/fpm/pool.d/www.conf
RUN echo "clear_env = no" >> /etc/php/8.1/fpm/pool.d/www.conf
RUN echo 'extension="memcached.so"' >> /etc/php/8.1/fpm/conf.d/20-memcached.ini
RUN sed -i 's;expose_php = on;expose_php = off;' /etc/php/8.1/fpm/php.ini && mkdir -p /run/php
RUN sed -i 's;memory_limit = 128M;memory_limit = 512M;' /etc/php/8.1/fpm/php.ini
RUN sed -i 's;upload_max_filesize = 2M;upload_max_filesize = 128M;' /etc/php/8.1/fpm/php.ini
Expand Down
29 changes: 22 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
"type": "github",
"url": "https://github.com/essexcountycouncil/ecc_cludo_search"
},
{
"type": "github",
"url": "https://github.com/essexcountycouncil/ecc_parents"
},
{
"type": "github",
"url": "https://github.com/essexcountycouncil/ecc_theme"
Expand Down Expand Up @@ -60,7 +64,8 @@
"drupal/ckeditor5_icons": "^1.0@RC",
"drupal/ckeditor_div_manager": "^3",
"drupal/cludo_search": "^1.0@beta",
"drupal/config_ignore": "^2.4",
"drupal/config_filter": "^2.6",
"drupal/config_ignore": "^3.3",
"drupal/config_split": "^2",
"drupal/core-composer-scaffold": "^10",
"drupal/core-project-message": "^10",
Expand Down Expand Up @@ -110,6 +115,7 @@
"essexcountycouncil/ecc_content_moderation": "^1.0",
"essexcountycouncil/ecc_cookie_compliance": "^1.0",
"essexcountycouncil/ecc_menu": "^1.0",
"essexcountycouncil/ecc_parents": "^1.0",
"essexcountycouncil/ecc_theme": "^1.1",
"localgovdrupal/localgov": "^3",
"localgovdrupal/localgov_base": "^1.4",
Expand All @@ -131,7 +137,6 @@
"phpspec/prophecy-phpunit": "^2",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-deprecation-rules": "^1.0",
"roave/security-advisories": "dev-latest",
"squizlabs/php_codesniffer": "^3.6"
},
"conflict": {
Expand All @@ -151,6 +156,11 @@
"php-http/discovery": true,
"mglaman/composer-drupal-lenient": true,
"phpstan/extension-installer": true
},
"audit": {
"ignore": {
"GHSA-mg8j-w93w-xjgc": "Apache has been configured to block access to applicable paths"
}
}
},
"autoload": {
Expand All @@ -161,17 +171,18 @@
"extra": {
"enable-patching": true,
"patches": {
"drupal/autosave_form": {
"Disable autosaving for layout builder pages": "https://www.drupal.org/files/issues/2024-09-09/3270955-5-layout_builder.patch"
},
"drupal/cludo_search": {
"Change title of search page.": "patches/cludo_search-page-tweaks.patch",
"Remove cludo supplied search page template.": "patches/cludo_remove_default_template",
"Automated Drupal 10 compatibility fixes": "https://www.drupal.org/files/issues/2022-07-18/cludo_search.1.0-beta2.rector.patch"
},
"drupal/core": {
"Remove this patch after upgrading Localgov profile": "https://www.drupal.org/files/issues/2024-04-16/2845144-95.patch",
"Allow chmod to fail in the public namespace if the resultant mode is 777": "patches/filesystem-chmod-0001.patch"
"Remove this patch after upgrading Localgov profile": "https://www.drupal.org/files/issues/2024-04-16/2845144-95.patch"
},
"drupal/fathom_analytics": {
"Issue #3380665: Defer attribute should be boolean": "https://git.drupalcode.org/project/fathom_analytics/-/merge_requests/2.diff",
"Automated Drupal 10 compatibility fixes": "https://www.drupal.org/files/issues/2022-06-15/fathom_analytics.3.0.0.rector.patch"
},
"drupal/geo_entity": {
Expand All @@ -180,6 +191,9 @@
"drupal/group": {
"Apply some custom functionality for Essex when adding members to Groups ECCI-287/ECCI-286": "patches/essex-group-membership.patch"
},
"drupal/honeypot": {
"honeypot clientside": "https://www.drupal.org/files/issues/2024-08-16/clientside_time_limit_2_1_4.patch"
},
"drupal/openid_connect": {
"Truncate username if it is greater than 60 characters": "https://www.drupal.org/files/issues/2021-12-08/data_too_long_for_column_name-%203252021-8.patch"
},
Expand All @@ -199,8 +213,9 @@
"localgovdrupal/localgov_subsites": {
"Show page heading block for subsites pages": "patches/localgov_subsites.patch"
},
"drupal/honeypot": {
"honeypot clientside": "https://www.drupal.org/files/issues/2024-08-16/clientside_time_limit_2_1_4.patch"
"localgovdrupal/localgov_workflows": {
"New Content by owner View": "https://patch-diff.githubusercontent.com/raw/localgovdrupal/localgov_workflows/pull/104.diff",
"Service contact delete form": "patches/localgov_workflows_delete_service_contact.patch"
}
},
"drupal-scaffold": {
Expand Down
Loading
Loading