Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2273 commits
Select commit Hold shift + click to select a range
39e11d4
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
DuttonMa Aug 12, 2024
52ab44e
Merge pull request #528 from dof-dss/horizon-2
AdamMcFet Aug 12, 2024
951d324
Merge branch 'development' into ckeditor5_plugin_error
DuttonMa Aug 13, 2024
06bdb84
Merge pull request #534 from dof-dss/ckeditor5_plugin_error
DuttonMa Aug 13, 2024
28ed78c
Styling for homepage, featured view & footer
AdamMcFet Aug 13, 2024
63753bc
Featured link content type and views
AdamMcFet Aug 13, 2024
1dce0a6
Webform tweak
AdamMcFet Aug 15, 2024
120f4ee
Permissions added for users
AdamMcFet Aug 15, 2024
03e83d5
responsive theming for homepage
AdamMcFet Aug 15, 2024
9f9691e
Merge pull request #537 from dof-dss/horizon-3
AdamMcFet Aug 15, 2024
001ffc6
Add ajax form submit and contextual links patches
DuttonMa Aug 16, 2024
41ee182
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
DuttonMa Aug 16, 2024
e5b8781
Styling for board member page, twig template fixes, event page styling
AdamMcFet Aug 19, 2024
534913e
Board member content type setup with new contact fields, event view t…
AdamMcFet Aug 19, 2024
8dc8eb1
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
AdamMcFet Aug 19, 2024
4dc22df
Latest news sidebar and section sidebar added with styling
AdamMcFet Aug 19, 2024
014a994
Exporting fastly settings
AdamMcFet Aug 19, 2024
21a476f
Merge pull request #539 from dof-dss/core_upgrade_10.3_patches
DuttonMa Aug 19, 2024
5c3267f
Merge pull request #540 from dof-dss/horizon-4
AdamMcFet Aug 19, 2024
9be369a
Removing invalid styling for h2 heading
AdamMcFet Aug 20, 2024
54b71b9
Unity release 0.48.23
DuttonMa Aug 21, 2024
50794c9
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
DuttonMa Aug 21, 2024
99ede8a
Merge pull request #542 from dof-dss/unity_release_0.48.23
DuttonMa Aug 21, 2024
9a43f27
Subscribe webform and styling
AdamMcFet Aug 21, 2024
6ee6962
Deleting original subscribe webform and recreating block
AdamMcFet Aug 21, 2024
0aac104
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
AdamMcFet Aug 21, 2024
405f10a
Merge branch 'development' into horizon-form
AdamMcFet Aug 21, 2024
0eb8ffa
Merge branch 'development' into truth-heading
AdamMcFet Aug 21, 2024
f2d65c3
Merge pull request #541 from dof-dss/truth-heading
AdamMcFet Aug 21, 2024
7bf9ccc
Merge branch 'development' into horizon-form
AdamMcFet Aug 21, 2024
00a88de
Optimise press clippings query
DuttonMa Aug 21, 2024
ef399cd
Comments added
DuttonMa Aug 21, 2024
d88f4e6
Tweak disk sizes
DuttonMa Aug 21, 2024
d1c5778
Merge pull request #544 from dof-dss/horizon-form
DuttonMa Aug 21, 2024
ee1d43c
Merge branch 'development' into D8UN-2847
DuttonMa Aug 22, 2024
a1a1b99
Merge pull request #545 from dof-dss/D8UN-2847
DuttonMa Aug 22, 2024
e25ee73
Horizon tidy up tasks
AdamMcFet Aug 22, 2024
8b41c53
Uninstall google_tag module to avoid moderation sidebar error
DuttonMa Aug 22, 2024
62e8b9e
Merge pull request #546 from dof-dss/horizon-5
AdamMcFet Aug 23, 2024
e104eb0
Merge branch 'development' into uninstall_google_tag
DuttonMa Aug 23, 2024
0743f6b
Merge pull request #548 from dof-dss/uninstall_google_tag
DuttonMa Aug 23, 2024
d373f32
Remove google tag settings
DuttonMa Aug 23, 2024
61aa63f
correcting sort order
KMDOFNI Aug 23, 2024
5c7345e
Merge pull request #550 from dof-dss/remove_google_tag_settings
DuttonMa Aug 23, 2024
4ab7b48
Merge branch 'development' into D8UN-2821
KMDOFNI Aug 23, 2024
36675f9
Remove Google Tag settings as module no longer installed
DuttonMa Aug 23, 2024
a388e01
Merge pull request #553 from dof-dss/further_google_tag_removal
DuttonMa Aug 23, 2024
0b6bf6e
Merge branch 'development' into D8UN-2821
KMDOFNI Aug 27, 2024
5b6ad74
revert origins modules to avoid moderation sidebar problem
DuttonMa Aug 22, 2024
4ecee0d
Upgrade origins modules
DuttonMa Aug 22, 2024
41e5b99
added More News link
KMDOFNI Aug 27, 2024
d9b48ef
Merge pull request #551 from dof-dss/D8UN-2821
KMDOFNI Aug 27, 2024
8c67ee8
Merge branch 'development' into D8UN-2848
KMDOFNI Aug 27, 2024
8b00472
Merge pull request #555 from dof-dss/D8UN-2848
KMDOFNI Aug 27, 2024
fc8de1f
Upgrade unity modules
DuttonMa Aug 28, 2024
1e99679
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
DuttonMa Aug 28, 2024
18fa3c4
Merge pull request #556 from dof-dss/unity_release_0.48.23_b
DuttonMa Aug 29, 2024
372f801
Turn off js aggregation in order to avoid moderation sidebar problems…
DuttonMa Aug 29, 2024
a7bb872
Merge pull request #557 from dof-dss/unity_release_0.48.23_c
DuttonMa Aug 29, 2024
05b046c
removing moderation control
KMDOFNI Sep 2, 2024
7832464
Merge pull request #559 from dof-dss/D8UN-2822b
KMDOFNI Sep 2, 2024
8958925
added Institutions type to breadcrumbs
KMDOFNI Sep 3, 2024
791c5c0
background accessibility edit
KMDOFNI Sep 4, 2024
d2ff648
Merge pull request #560 from dof-dss/D8UN-2822c
KMDOFNI Sep 5, 2024
007cdee
Merge branch 'development' into D8UN-2855
KMDOFNI Sep 5, 2024
c9f6c21
Merge pull request #561 from dof-dss/D8UN-2855
KMDOFNI Sep 5, 2024
f1792c8
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
soda736 Sep 5, 2024
2a1aec9
Turning agrregation back on js
soda736 Sep 5, 2024
af59353
Merge pull request #562 from dof-dss/js_aggregation_fix_u3
soda736 Sep 5, 2024
9287dcc
institutions twig and theming
KMDOFNI Sep 6, 2024
a56e2d2
hiding labels
KMDOFNI Sep 6, 2024
bf4b38c
enable author to delete own institution
KMDOFNI Sep 9, 2024
5215aac
Merge pull request #564 from dof-dss/D8UN-2858
KMDOFNI Sep 9, 2024
68feb1b
Merge branch 'development' into D8UN-2857
KMDOFNI Sep 9, 2024
54f989d
Merge pull request #563 from dof-dss/D8UN-2857
KMDOFNI Sep 9, 2024
19043c3
Updating csp settings Unity 3
soda736 Sep 10, 2024
88a06f8
Merge pull request #565 from dof-dss/D8UN-2861
soda736 Sep 12, 2024
e4ffbce
Sorting managers by surname
soda736 Sep 13, 2024
dcc3548
Fixing blockquotes on liofa news pages
soda736 Sep 13, 2024
11267d0
Merge pull request #567 from dof-dss/D8UN-2839
soda736 Sep 13, 2024
6a0617a
Focus state styling on search
AdamMcFet Sep 23, 2024
762aa80
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
DuttonMa Sep 23, 2024
a13ba41
Merge pull request #568 from dof-dss/D8UN-2875
AdamMcFet Sep 24, 2024
98830b3
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
DuttonMa Sep 24, 2024
451a694
Merge branch 'development' into D8UN-2876
DuttonMa Sep 24, 2024
ea95419
Merge pull request #569 from dof-dss/D8UN-2876
DuttonMa Sep 24, 2024
e34aef9
Adding appropriate spacing to media videos
AdamMcFet Sep 25, 2024
6ee5daa
removed page title all
KMDOFNI Sep 25, 2024
5bc09c3
Merge pull request #572 from dof-dss/D8UN-2874
KMDOFNI Sep 25, 2024
df01045
frontpage responsive theming for Horizon
KMDOFNI Sep 27, 2024
84f6d53
Merge branch 'development' into D8UN-2856a
KMDOFNI Sep 27, 2024
34a9985
Merge pull request #574 from dof-dss/D8UN-2856a
KMDOFNI Sep 30, 2024
b1ea95f
Merge branch 'development' into D8UN-2878
AdamMcFet Oct 1, 2024
9ba4c31
edit background hover placement
KMDOFNI Oct 1, 2024
eefd7b2
remove margin and refactor
KMDOFNI Oct 1, 2024
01e1a05
Merge pull request #571 from dof-dss/D8UN-2878
AdamMcFet Oct 2, 2024
12c3936
refactored theming code
KMDOFNI Oct 3, 2024
9e978f2
Merge branch 'development' into D8UN-2856b
KMDOFNI Oct 3, 2024
c3add42
Updating smart date module
soda736 Oct 1, 2024
673501e
Merge pull request #575 from dof-dss/D8UN-2856b
KMDOFNI Oct 3, 2024
e66d1ef
removed margin on institutions
KMDOFNI Oct 8, 2024
c77aeaf
Patches for smart date module
soda736 Oct 7, 2024
012fbc9
Patches for smart date module
soda736 Oct 7, 2024
09bfe32
Patches for smart date module
soda736 Oct 7, 2024
769397f
updated lock
KMDOFNI Oct 8, 2024
92222a0
updated composer from maestro
KMDOFNI Oct 8, 2024
edd3f7c
Merge pull request #577 from dof-dss/institution_removemargin
KMDOFNI Oct 8, 2024
3752b07
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
KMDOFNI Oct 8, 2024
053f862
Permission added for taxonomy term pages
AdamMcFet Oct 8, 2024
56220b7
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
AdamMcFet Oct 8, 2024
06eaf4a
installed smartdate mod, add events template, remove timefield from A…
KMDOFNI Oct 9, 2024
cdc35ae
remove json
KMDOFNI Oct 9, 2024
6356180
Merge pull request #579 from dof-dss/D8UN-2869b
DuttonMa Oct 9, 2024
fb65741
dof-dss module upgrades
DuttonMa Oct 9, 2024
a1fa89e
Site themes rebuild
DuttonMa Oct 9, 2024
841d161
Downgrade unity modules after erroneous tag removed
DuttonMa Oct 9, 2024
dc1ba1f
Merge pull request #580 from dof-dss/unity_release_0.48.25
DuttonMa Oct 9, 2024
1274ffd
Upgrade facets module
DuttonMa Oct 10, 2024
231743f
Remove patch that is no longer needed after facets upgrade
DuttonMa Oct 10, 2024
ae2c638
Upgrade lock file
DuttonMa Oct 10, 2024
3686e5f
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
DuttonMa Oct 10, 2024
16a6c20
Merge pull request #582 from dof-dss/facets_upgrade
DuttonMa Oct 10, 2024
0cd8277
Templates added for event styling
AdamMcFet Oct 10, 2024
53b9c9e
Template tweak
AdamMcFet Oct 10, 2024
5582e20
Merge branch 'development' into truth-taxonomy
AdamMcFet Oct 10, 2024
b6d644a
Merge pull request #578 from dof-dss/truth-taxonomy
AdamMcFet Oct 10, 2024
a3601cf
Tweak to new time field for event info panel
AdamMcFet Oct 10, 2024
1d60741
Deleting old start time field
AdamMcFet Oct 10, 2024
99a8b4a
uninstalling horizon common module
AdamMcFet Oct 10, 2024
c0fc348
Merge branch 'development' into horizon-event
AdamMcFet Oct 10, 2024
bff3a0b
Merge pull request #584 from dof-dss/horizon-event
AdamMcFet Oct 10, 2024
8918654
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
DuttonMa Oct 11, 2024
f54ea41
PHP 8.3 upgrade
DuttonMa Oct 11, 2024
b164aba
display photo as rendered entity
KMDOFNI Oct 11, 2024
72cc339
Filelog settings
DuttonMa Oct 11, 2024
7a23399
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
KMDOFNI Oct 11, 2024
588a32b
Fixing twig for all day event
soda736 Oct 11, 2024
6a3e3b7
Merge pull request #587 from dof-dss/D8UN-2901
KMDOFNI Oct 11, 2024
16515e9
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
soda736 Oct 11, 2024
905d896
Merge branch 'development' into time-change
soda736 Oct 11, 2024
a1d060f
Merge pull request #588 from dof-dss/time-change
soda736 Oct 11, 2024
2b3bb9d
Put Horizon site into production mode
DuttonMa Oct 11, 2024
c8ec550
Merge branch 'development' into upgrade_php_8.3
DuttonMa Oct 11, 2024
171f65e
Update readme
DuttonMa Oct 11, 2024
2baa6e1
Merge branch 'development' into horizon_post_launch
DuttonMa Oct 11, 2024
e643c62
Set up Google tag id
DuttonMa Oct 11, 2024
722ade7
Merge pull request #589 from dof-dss/upgrade_php_8.3
DuttonMa Oct 14, 2024
371f062
Merge branch 'development' into horizon_post_launch
DuttonMa Oct 14, 2024
9c827f6
Merge pull request #590 from dof-dss/horizon_post_launch
DuttonMa Oct 14, 2024
18bc4c0
Upgrade CKEditor modules
DuttonMa Oct 21, 2024
89e0659
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
DuttonMa Oct 21, 2024
9a7dc69
removed link on type field
KMDOFNI Oct 21, 2024
40037ae
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
KMDOFNI Oct 21, 2024
4e00566
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
KMDOFNI Oct 21, 2024
ebae209
Merge pull request #591 from dof-dss/update_ckeditor_filters
DuttonMa Oct 21, 2024
8dda82b
added institutions to pathauto
KMDOFNI Oct 21, 2024
4f4caec
Merge branch 'development' into D8UN-2918
KMDOFNI Oct 21, 2024
9630ed3
Merge branch 'development' into D8UN-2917
KMDOFNI Oct 21, 2024
5573406
Merge pull request #592 from dof-dss/D8UN-2917
KMDOFNI Oct 21, 2024
6bce361
Merge branch 'development' into D8UN-2918
KMDOFNI Oct 21, 2024
ec155f9
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
DuttonMa Oct 22, 2024
5ba1238
Merge pull request #594 from dof-dss/php_modules
DuttonMa Oct 22, 2024
2bcf32f
Google verification code
DuttonMa Oct 22, 2024
5f49e66
google code
DuttonMa Oct 22, 2024
1065303
Google code
DuttonMa Oct 22, 2024
f34b5c1
Google code
DuttonMa Oct 22, 2024
8e9c2fc
Google code
DuttonMa Oct 22, 2024
ec1abea
Google code
DuttonMa Oct 22, 2024
7959899
Google code
DuttonMa Oct 22, 2024
c74b4b9
Google code
DuttonMa Oct 22, 2024
8617b70
Google code
DuttonMa Oct 22, 2024
a9d1bef
Google code
DuttonMa Oct 22, 2024
800e796
Google code
DuttonMa Oct 22, 2024
23a2368
Google code
DuttonMa Oct 22, 2024
bf99521
Google code
DuttonMa Oct 22, 2024
8fbfd4d
Merge branch 'development' into D8UN-2918
KMDOFNI Oct 22, 2024
2c77999
Bump
DuttonMa Oct 23, 2024
03ce72c
Uninstalling timefield module
soda736 Oct 24, 2024
1ee0c7f
Merge pull request #595 from dof-dss/google_verification
DuttonMa Oct 24, 2024
6dce162
Merge branch 'development' into D8UN-2918
KMDOFNI Oct 24, 2024
63e12c7
Merge pull request #593 from dof-dss/D8UN-2918
KMDOFNI Oct 24, 2024
f9b328e
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
soda736 Oct 24, 2024
cc3666a
Merge branch 'development' into D8UN-2906
soda736 Oct 24, 2024
bb6f16c
Merge pull request #597 from dof-dss/D8UN-2906
soda736 Oct 24, 2024
f5b4a5e
Drupal core upgrade to 10.3.6
DuttonMa Nov 4, 2024
3551642
Merge pull request #598 from dof-dss/core_upgrade_10.3.6
DuttonMa Nov 4, 2024
2fc2a36
Solr config for boundary commission
DuttonMa Nov 6, 2024
e34970c
Horizon solr config
DuttonMa Nov 6, 2024
ac55d8e
Solr config
DuttonMa Nov 6, 2024
e509c4e
Solr config
DuttonMa Nov 6, 2024
b989b53
Solr config
DuttonMa Nov 6, 2024
a3fe9c6
Solr config
DuttonMa Nov 6, 2024
1d014ce
Solr config
DuttonMa Nov 6, 2024
f69b29c
Solr config
DuttonMa Nov 6, 2024
327c355
Solr config
DuttonMa Nov 6, 2024
3d0f6ac
Solr updates
DuttonMa Nov 6, 2024
6579212
Solr config
DuttonMa Nov 6, 2024
424ff89
Solr Config
DuttonMa Nov 6, 2024
10afd2c
Solr config
DuttonMa Nov 6, 2024
fef81d0
Solr config
DuttonMa Nov 6, 2024
3a01433
Solr config
DuttonMa Nov 6, 2024
41f755f
Merge pull request #599 from dof-dss/solr_config
DuttonMa Nov 7, 2024
e8777fc
Add DDEV directory
DuttonMa Nov 11, 2024
1cc4cb7
Tweak settings files for DDEV
DuttonMa Nov 11, 2024
7a1f16d
Build project
DuttonMa Nov 11, 2024
629df77
Project rebuild under DDEV
DuttonMa Nov 11, 2024
fe8b0fd
Add DDEV files
DuttonMa Nov 12, 2024
6db082f
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
DuttonMa Nov 12, 2024
635c9ca
DDEV updates
DuttonMa Nov 12, 2024
4752e60
Suggest moving Platform.sh token
DuttonMa Nov 13, 2024
cc34d92
Delete .ddev/providers/dept.yaml
omahm Nov 13, 2024
82e3609
module upgrades
DuttonMa Nov 21, 2024
e6d06c2
Drupal core 10.3.9 upgrade
DuttonMa Nov 22, 2024
fda1b2b
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
DuttonMa Nov 22, 2024
53d36d2
Rebuild project
DuttonMa Nov 22, 2024
54a9250
Remove timefield_d10 module
DuttonMa Nov 22, 2024
523988e
Update composer from parent repo
DuttonMa Nov 22, 2024
0dee6a0
Merge pull request #603 from dof-dss/core_10.3.9_upgrade
DuttonMa Nov 25, 2024
b329f62
Merge branch 'development' into MAES-3
DuttonMa Nov 25, 2024
132ac0d
Pull upstream
DuttonMa Nov 25, 2024
e73fdbb
Update Solr config for DDEV
DuttonMa Nov 25, 2024
cf09979
Pull upstream
DuttonMa Nov 25, 2024
bd8f7c2
Merge pull request #600 from dof-dss/MAES-3
DuttonMa Nov 25, 2024
09e8754
Fixing sentencing links in sentencing view
soda736 Dec 17, 2024
f0ec5ce
New logo
soda736 Dec 23, 2024
8a6c5eb
Merge pull request #604 from dof-dss/judiciary-fix
soda736 Dec 23, 2024
13400d0
Merge branch 'development' into jud-logo
soda736 Dec 23, 2024
f4e81c7
Merge pull request #605 from dof-dss/jud-logo
soda736 Dec 23, 2024
5aa9aa3
Updating logo styling
AdamMcFet Jan 15, 2025
5e86d5d
Logo margin tweak
AdamMcFet Jan 15, 2025
374b9d7
Merge pull request #608 from dof-dss/D8UN-2942-b
AdamMcFet Jan 15, 2025
47587d5
DDEV upgrade
DuttonMa Jan 15, 2025
3ee3e33
Merge pull request #609 from dof-dss/unity_release_0.50.2
DuttonMa Jan 15, 2025
4c71dcc
Path correction
DuttonMa Jan 16, 2025
27d7541
Solr config fix
DuttonMa Jan 16, 2025
b4fc660
Merge pull request #613 from dof-dss/lgbcni_solr_fix
DuttonMa Jan 17, 2025
791f6ca
Updating logo for Judiciary
AdamMcFet Jan 20, 2025
d0e2fc4
Merge pull request #614 from dof-dss/jud-logo
AdamMcFet Jan 20, 2025
8f12f5f
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
AdamMcFet Feb 3, 2025
4cc479e
Composer lock file
AdamMcFet Feb 3, 2025
3e9feb3
Composer file
AdamMcFet Feb 4, 2025
303e923
Composer file
AdamMcFet Feb 4, 2025
b6de26d
composer file
AdamMcFet Feb 4, 2025
e32aa3d
Merge branch 'main' of https://github.com/dof-dss/maestro-drupal-unit…
AdamMcFet Feb 4, 2025
e8cd831
Composer file
AdamMcFet Feb 4, 2025
163b857
Composer lock file
AdamMcFet Feb 4, 2025
2dcecfb
lock file
AdamMcFet Feb 4, 2025
780bd6e
Circleci tweak to allow update
AdamMcFet Feb 4, 2025
7521d6f
Merge pull request #615 from dof-dss/google-tag-update-u3
AdamMcFet Feb 4, 2025
20dc345
Upgrade config split
DuttonMa Feb 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
102 changes: 34 additions & 68 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
# Default docker image.
default_docker_image: &docker_image
docker:
- image: thecodingmachine/php:8.1-v4-apache-node14
- image: thecodingmachine/php:8.1-v4-apache
environment:
PLATFORM_REGION: "uk-1.platform.sh"
PROJECT_ROOT: "/home/docker/project"
Expand All @@ -12,18 +12,7 @@ default_docker_image: &docker_image
PHP_INI_MEMORY_LIMIT: -1
PHP_INI_MAX_EXECUTION_TIME: 60
PHP_INI_MAX_INPUT_TIME: 60
custom_npm_docker_image: &custom_npm_docker_image
docker:
- image: thecodingmachine/php:8.1-v4-apache-node14
environment:
PLATFORM_REGION: "uk-1.platform.sh"
PROJECT_ROOT: "/home/docker/project"
PHP_EXTENSIONS: "gd"
# git variables to avoid empty committer identity errors
EMAIL: "circleci@localhost"
GIT_COMMITTER_NAME: "Circle CI"
GIT_AUTHOR_NAME: "Circle CI"
EDGE_BUILD_BRANCH: "edge"
CPPFLAGS: "-DPNG_ARM_NEON_OPT=0"

# Re-usable commands.
commands:
Expand Down Expand Up @@ -68,9 +57,10 @@ commands:
- run:
name: Switch dof-dss packages to HEAD on development branch
command: |
composer require dof-dss/nicsdru_unity_theme:dev-development \
dof-dss/nicsdru_origins_modules:dev-development \
dof-dss/nicsdru_unity_modules:dev-development
composer require dof-dss/nicsdru_unity_theme:dev-10.x-dev \
dof-dss/nicsdru_origins_modules:dev-10.x-dev \
dof-dss/nicsdru_unity_modules:dev-10.x-dev \
dof-dss/nicsdru_unity_profile:dev-10.x-dev
install_psh_cli:
description: "Install the Platform.sh CLI tool"
steps:
Expand Down Expand Up @@ -132,6 +122,18 @@ jobs:
CHECK_DIRS="$CHECK_DIRS ${PROJECT_ROOT}/web/modules/origins"
vendor/bin/drupal-check $CHECK_DIRS

disallowed_functions:
<<: *docker_image
steps:
- attach_workspace:
at: ./
- run:
name: Check for disallowed function calls
command: |
CHECK_DIRS="${PROJECT_ROOT}/web/modules/custom"
CHECK_DIRS="$CHECK_DIRS ${PROJECT_ROOT}/web/modules/origins"
vendor/bin/phpstan analyse $CHECK_DIRS -c .circleci/phpstan.neon

check_illegal_updates:
<<: *docker_image
steps:
Expand Down Expand Up @@ -160,23 +162,26 @@ jobs:

# Nightly edge build
edge_build:
<<: *custom_npm_docker_image
<<: *docker_image
environment:
# git variables to avoid empty committer identity errors
EMAIL: "circleci@localhost"
GIT_COMMITTER_NAME: "Circle CI"
GIT_AUTHOR_NAME: "Circle CI"
EDGE_BUILD_BRANCH: "edge"
PLATFORM_REGION: "uk-1.platform.sh"
CPPFLAGS: "-DPNG_ARM_NEON_OPT=0"
NODE_VERSION: 14.21.3
steps:
- hosts_keyscan
- checkout_code
- run:
name: Add OS and PHP extensions
command: |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
touch ~/.bashrc
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
sudo apt update --allow-releaseinfo-change
sudo apt install libjpeg-dev make python g++ dh-autoreconf -y
sudo apt install libjpeg-dev make python3 g++ dh-autoreconf -y
- install_psh_cli
- run:
name: Switch to edge branch
Expand All @@ -187,41 +192,19 @@ jobs:
command: |
git add composer.*
git commit -m "Set dof-dss packages to HEAD development for build"
- run:
name: Download nvm in order to select legacy node version (using nvm)
command: |
# Need to re-build site theme with any Unity changes.
# Download and configure node and npm.
git clone https://github.com/nvm-sh/nvm.git
cd nvm
chmod +x install.sh
./install.sh
- run:
name: Rebuild site themes
command: |
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
nvm install v15.14.0
for site in `ls -l ~/project/project/sites | grep ^d | awk '{print $9}'`
do
if [[ -d ~/project/project/sites/${site}/themes/${site}_theme ]]; then
echo "*** Building theme for ${site} ***"
cd ~/project/project/sites/${site}/themes/${site}_theme
sed -i -e "s/\"nicsdru_unity_theme.*/\"nicsdru_unity_theme\": \"github:dof-dss\/nicsdru_unity_theme#development\",/" package.json
npm install
npm rebuild node-sass
npm run build

git add *.css
git commit -m "Theme rebuild"
else
echo "No theme folder detected under ~/project/project/sites/${site}/themes/${site}_theme, skipping."
fi
done

cd $PROJECT_ROOT
./build-themes.sh --sites-dir $PROJECT_ROOT/project/sites
# Push to fixed, non-integrating build branch. GitHub webhook integration will propagate this
# to platform.sh for later steps to use.
cd $PROJECT_ROOT
git add *.css
git commit -m "Theme rebuild"
git push -f origin $EDGE_BUILD_BRANCH

# Separate task to allow us to sync data on PSH environments, without pauses in other jobs.
Expand Down Expand Up @@ -259,7 +242,7 @@ jobs:
do
result=$(platform drush "st -l ${site}" -y -p $PLATFORM_PROJECT -e $EDGE_BUILD_BRANCH | (grep "Drupal bootstrap : Successful" || true) )
if [[ -n $result ]]; then
result2=$(platform drush "pml -l ${site}" -p $PLATFORM_PROJECT -e $EDGE_BUILD_BRANCH | (grep "Fastly (fastly)" || true) )
result2=$(platform drush "pml --status=enabled -l ${site}" -p $PLATFORM_PROJECT -e $EDGE_BUILD_BRANCH | (grep "Fastly (fastly)" || true) )
if [[ -n $result2 ]]; then
echo "***** Uninstall Fastly - ${site} *****"
platform drush "pmu fastly -l ${site}" -y -p $PLATFORM_PROJECT -e $EDGE_BUILD_BRANCH
Expand Down Expand Up @@ -292,26 +275,6 @@ jobs:
platform drush "bulk_update_qa_accounts enable -l ${site}" -y -p $PLATFORM_PROJECT -e $EDGE_BUILD_BRANCH
fi
done
#- run:
# name: Purge and rebuild Solr indexes
# command: |
# for site in `ls -l ~/project/project/sites | grep ^d | awk '!/default/{print $9}'`
# do
# result=$(platform drush "st -l ${site}" -y -p $PLATFORM_PROJECT -e $EDGE_BUILD_BRANCH | (grep "Drupal bootstrap : Successful" || true) )
# if [[ -n $result ]]; then
# result2=$(platform drush "pml --status=enabled -l ${site}" -y -p $PLATFORM_PROJECT -e $EDGE_BUILD_BRANCH | (grep "solr" || true) )
# if [[ -n $result2 ]]; then
# echo "***** Purge Solr index for - ${site} *****"
# platform ssh -p $PLATFORM_PROJECT -e $EDGE_BUILD_BRANCH \
# "curl http://${site}_solr.internal:8080/solr/${site}_index/update --data '<delete><query>*:*</query></delete>' -H 'Content-type:text/xml; charset=utf-8' \
# && curl http://${site}_solr.internal:8080/solr/${site}_index/update --data '<commit/>' -H 'Content-type:text/xml; charset=utf-8'"
# echo "***** Rebuild the Solr index for - ${site} *****"
# platform drush "sapi-c -l ${site}" -p $PLATFORM_PROJECT -e $EDGE_BUILD_BRANCH
# platform drush "sapi-r -l ${site}" -p $PLATFORM_PROJECT -e $EDGE_BUILD_BRANCH
# platform drush "sapi-i -l ${site}" -p $PLATFORM_PROJECT -e $EDGE_BUILD_BRANCH
# fi
# fi
# done
# Checks to ensure that Unity Base has not been polluted with project files.
unity_base_checks:
<<: *docker_image
Expand Down Expand Up @@ -342,9 +305,12 @@ workflows:
- deprecated_code:
requires:
- build
- check_illegal_updates:
- disallowed_functions:
requires:
- build
# - check_illegal_updates:
# requires:
# - build

# A nightly build of the project, using all dof-dss packages at HEAD from development branch.
nightly-edge-build:
Expand Down
33 changes: 33 additions & 0 deletions .circleci/phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# phpstan.neon

parameters:
fileExtensions:
- module
- theme
- inc
- install
- profile
- engine
paths:
- src
disallowedFunctionCalls:
- function: var_dump
message: 'This is likely not intended to be used outside of local development, please remove it.'
- function: dump
message: 'This is likely not intended to be used outside of local development, please remove it.'
- function: kint
message: 'This is likely not intended to be used outside of local development, please remove it.'
- function: ksm
message: 'This is likely not intended to be used outside of local development, please remove it.'
- function: die
message: 'This is likely not intended to be used outside of local development, please remove it.'
- function: exit
message: 'This is likely not intended to be used outside of local development, please remove it.'
customRulesetUsed: true
reportUnmatchedIgnoredErrors: false
# Ignore phpstan-drupal extension's rules.
ignoreErrors:
- '#\Drupal calls should be avoided in classes, use dependency injection instead#'
- '#Plugin definitions cannot be altered.#'
- '#Missing cache backend declaration for performance.#'
- '#Plugin manager has cache backend specified but does not declare cache tags.#'
33 changes: 33 additions & 0 deletions .ddev/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# SAFE ENV VARS, RELEVANT FOR LOCAL DEVELOPMENT.
CONFIG_READONLY=0
DB_HOST=db
DB_USER=db
DB_PASS=db
DB_NAME=db
DB_PREFIX=
DB_PORT=3306
DB_NAMESPACE=Drupal\Core\Database\Driver\mysql
DB_DRIVER=mysql
SIMPLEI_ENV_COLOUR=#637C16
SIMPLEI_ENV_NAME=Local

# SENSITIVE ENV VARS. KEYS ONLY.
CONFIG_SYNC_DIRECTORY=/var/www/html/project/config
FILE_PRIVATE_PATH=/private
HASH_SALT=
NW_TEST_USER_PREFIX=
TEST_USER=
TEST_PASS=
TEST_D7_URL=
STAGE_FILE_PROXY_ORIGIN=

# SENSITIVE PLATFORM.SH
PLATFORM_PROJECT=vnetibjd44moa
PLATFORM_ENVIRONMENT=main
# The recommended way to authenticate to Platform.SH is to add your token to the web environment section in your
# global ddev configuration at USER_ROOT/.ddev/global_config.yaml
#
# web_environment:
# - PLATFOMRSH_CLI_TOKEN= < Not recommended. See .env.sample for info >
#
# Alternatively you can add the token directly to your env vars of this file.
10 changes: 10 additions & 0 deletions .ddev/addon-metadata/ddev-cron/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: ddev-cron
repository: ddev/ddev-cron
version: 1.8.0
install_date: "2024-08-21T14:49:07+01:00"
project_files:
- web-build/Dockerfile.ddev-cron
- web-build/cron.conf
- web-build/time.cron.example
global_files: []
removal_actions: []
16 changes: 16 additions & 0 deletions .ddev/addon-metadata/redis/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: redis
repository: ddev/ddev-redis
version: v1.2.1
install_date: "2024-07-22T16:01:41+01:00"
project_files:
- docker-compose.redis.yaml
- redis/scripts/settings.ddev.redis.php
- redis/scripts/setup-drupal-settings.sh
- redis/redis.conf
- commands/redis/redis-cli
global_files: []
removal_actions:
- |
#ddev-nodisplay
#ddev-description:Remove redis settings for Drupal 9+ if applicable
rm -f "${DDEV_APPROOT}/${DDEV_DOCROOT}/sites/default/settings.ddev.redis.php"
10 changes: 10 additions & 0 deletions .ddev/addon-metadata/solr/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: solr
repository: ddev/ddev-drupal-solr
version: v1.2.3
install_date: "2024-08-21T11:49:40+01:00"
project_files:
- solr/conf
- solr/docker-entrypoint-initdb.d/solr-configupdate.sh
- docker-compose.solr.yaml
global_files: []
removal_actions: []
5 changes: 5 additions & 0 deletions .ddev/commands/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# #ddev-generated
# Everything in the commands directory needs LF line-endings
# Not CRLF as from Windows.
# bash especially just can't cope if it finds CRLF in a script.
* -text eol=lf
5 changes: 5 additions & 0 deletions .ddev/commands/db/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#ddev-generated
Scripts in this directory will be executed inside the db
container. A number of environment variables are supplied to the scripts.

See https://ddev.readthedocs.io/en/stable/users/extend/custom-commands/#environment-variables-provided for a list of environment variables.
6 changes: 6 additions & 0 deletions .ddev/commands/host/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#ddev-generated
Scripts in this directory will be executed on the host
but they can take easily take action on containers by using
`ddev exec`.

See https://ddev.readthedocs.io/en/stable/users/extend/custom-commands/#environment-variables-provided for a list of environment variables that can be used in the scripts.
11 changes: 11 additions & 0 deletions .ddev/commands/host/solrtail.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash

## #ddev-generated
## Description: Tail the main solr log
## Usage: solrtail
## Example: ddev solrtail

# This can't work unless you have a solr service,
# See https://ddev.readthedocs.io/en/stable/users/extend/additional-services/

ddev exec -s solr tail -40lf /opt/solr/server/logs/solr.log
7 changes: 7 additions & 0 deletions .ddev/commands/redis/redis-cli
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
#ddev-generated
## Description: Run redis-cli inside the redis container
## Usage: redis-cli [flags] [args]
## Example: "ddev redis-cli KEYS *" or "ddev redis-cli INFO" or "ddev redis-cli --version"

redis-cli -p 6379 -h redis $@
15 changes: 15 additions & 0 deletions .ddev/commands/solr/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#ddev-generated
Scripts in this directory will be executed inside the solr
container (if it exists, of course). This is just an example,
but any named service can have a directory with commands.

Note that /mnt/ddev_config must be mounted into the 3rd-party service
with a stanza like this in the docker-compose.solr.yaml:

volumes:
- type: "bind"
source: "."
target: "/mnt/ddev_config"


See https://ddev.readthedocs.io/en/stable/users/extend/custom-commands/#environment-variables-provided for a list of environment variables that can be used in the scripts.
3 changes: 3 additions & 0 deletions .ddev/commands/solr/solr
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
#ddev-generated
solr "$@"
3 changes: 3 additions & 0 deletions .ddev/commands/solr/solr-zk
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
#ddev-generated
solr zk -z localhost:9983 "$@"
13 changes: 13 additions & 0 deletions .ddev/commands/solr/solrtail.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

## #ddev-generated
## Description: Tail the main solr log
## Usage: solrtail
## Example: ddev solrtail

# This example runs inside the solr container.
# Note that this requires that /mnt/ddev_config be mounted
# into the solr container and of course that you have a container
# named solr.

tail -f /opt/solr/server/logs/solr.log
4 changes: 4 additions & 0 deletions .ddev/commands/web/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#ddev-generated
Scripts in this directory will be executed inside the web container.

See https://ddev.readthedocs.io/en/stable/users/extend/custom-commands/#environment-variables-provided for a list of environment variables that can be used in the scripts.
9 changes: 9 additions & 0 deletions .ddev/commands/web/drupal-check
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

## Description: Run drupal-check in the current directory to detect deprecated code and ensure future compliance.
## Usage: drupal-check
## Aliases: drck
## Example: "ddev <drupal-check|drck>"
## HostWorkingDir: true

/var/www/html/vendor/bin/drupal-check --memory-limit=256M ./
8 changes: 8 additions & 0 deletions .ddev/commands/web/phpcs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

## Description: Execute local PHPCS static analysis checks in the current directory and non contrib modules and themes.
## Usage: phpcs
## Example: "ddev phpcs"
## HostWorkingDir: true

/var/www/html/phpcs.sh ./ "/var/www/html" "/var/www/html/web/modules/origins /var/www/html/web/modules/custom /var/www/html/web/themes/custom"
Loading