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

chore(deps): update all non-major dependencies #4

Closed
wants to merge 49 commits into from
Closed
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
475b0ea
fix(#13): merge blog/news bundles to article bundle
Feb 21, 2022
115cc25
Merge branch '9.3.x' into develop
Feb 21, 2022
2d7b916
Merge pull request #16 from Realityloop/feature/13-merge_content_types
BrianGilbert Feb 21, 2022
78ec970
chore(#7): rearranged field ordering on edit forms
Feb 21, 2022
94696e9
Merge pull request #17 from Realityloop/feature/7-rearrange_fields
BrianGilbert Feb 21, 2022
8eb5e94
chore: gin fixes
Feb 22, 2022
f3ed080
chore: require php 8.1
Feb 24, 2022
bdf0c89
chore(#9): Add layout_paragraphs and jsonapi_node_preview_tab , remov…
Feb 28, 2022
b094f70
chore: tome always import users first
Feb 28, 2022
6fd366c
chore(#18): add gitpod to repository (#19)
BrianGilbert Feb 28, 2022
d1f67b1
chore: update to correct gin patch
Feb 28, 2022
edf69ac
chore: update label for text paragraph
Feb 28, 2022
e0956e2
chore: fix layout_paragraphs layout selection display
BrianGilbert Feb 28, 2022
68dd768
chore: fix vertical alignment of help toggle on content fields
BrianGilbert Feb 28, 2022
c734fc3
chore: add metatag patch to expose to json:api, add cache rebuild in …
BrianGilbert Feb 28, 2022
0117e4d
chore: removed published date field from article in favor of authored…
BrianGilbert Feb 28, 2022
f809d19
chore: add config_pages module, fix node displays to reduce duplicate…
BrianGilbert Feb 28, 2022
4aba144
chore: add code of conduct
BrianGilbert Feb 28, 2022
7597dfc
chore(#20): add ci
BrianGilbert Feb 28, 2022
abcde08
chore(#20): update ci.yml
BrianGilbert Feb 28, 2022
c5510a5
chore(#20): validate composer.json via ci
BrianGilbert Mar 1, 2022
443d204
feat(#21): add permissions filtering (#23)
BrianGilbert Mar 1, 2022
a565387
chore(#20): update ci.yml
BrianGilbert Mar 1, 2022
6d514b6
fix(#24): update media image uri_scheme (#25)
Decipher Mar 15, 2022
61b4682
chore: update drupalpod image
BrianGilbert Apr 11, 2022
b6b3ff8
chore: update dependencies to remove patches
BrianGilbert Apr 11, 2022
c6d8bee
chore: added documentation_generator
BrianGilbert Apr 11, 2022
1198a82
chore: update to drush 11
Apr 12, 2022
0ba6123
Fix authentication required issue while nstalling drupal dependencies…
BrianGilbert May 2, 2022
2b39a7e
chore(#20): tooling (#22)
BrianGilbert Jun 3, 2022
0c703a1
Fix: install node in custom docker + clean up (#27)
shaal Jun 3, 2022
d42cdd3
chore: composer updates (#26) smart_date (#28)
BrianGilbert Jun 3, 2022
9b70957
feat(#30): add media_revisions_ui (#31)
BrianGilbert Jun 3, 2022
9f7b25b
chore(#32): add robotstxt (#33)
BrianGilbert Jun 6, 2022
b682735
chore: update core to 9.4
BrianGilbert Jun 27, 2022
515df19
chore: module updates
BrianGilbert Jun 27, 2022
a9547b3
chore: revert required statuys on media fields, update help text
BrianGilbert Jun 27, 2022
825dd0f
chore: deprecate supplementary content in favor of layout paragraphs …
BrianGilbert Jun 28, 2022
70c21f0
chore: add linky enabled linkit for wysiwyg
BrianGilbert Jun 28, 2022
b28fdcc
chore: improve link checker and linkit, configure asymmetric translat…
BrianGilbert Jun 28, 2022
eb08e3c
chore: update module
BrianGilbert Jul 14, 2022
1ef2bdd
fix(#42): ctools bug
BrianGilbert Aug 4, 2022
451e623
chore: add config_rewrite, remove redundant patches
Aug 4, 2022
d7adae1
chore: include lock file
BrianGilbert Sep 18, 2022
27a02ef
chore: pattern content types around schema.org
BrianGilbert Sep 19, 2022
f4af8db
chore: update entity_clone
BrianGilbert Sep 20, 2022
5126f76
chore: update documentation_generator due to dompdf security issues
BrianGilbert Sep 20, 2022
25e95de
chore: update core, dynamic_entity_reference
BrianGilbert Sep 20, 2022
132027f
chore(deps): update all non-major dependencies
renovate[bot] Sep 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions .ddev/commands/web/drupal-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

## Description: Install Drupal
## Usage: drupal-install
## Example: "ddev drupal-install"

composer install
drush -y site:install --existing-config
drush php-eval 'node_access_rebuild();'
drush cache:rebuild
15 changes: 15 additions & 0 deletions .ddev/commands/web/phpunit
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

## Description: Run PHPUnit
## Usage: phpunit [flags] [args]
## Example: "ddev phpunit --group big_pipe" or "ddev phpunit core/modules/action"

mkdir -p /var/www/html/web/sites/simpletest/browser_output

cd web

BROWSERTEST_OUTPUT_DIRECTORY=/var/www/html/web/sites/simpletest/browser_output \
BROWSERTEST_OUTPUT_BASE_URL=http://localhost:8080 \
SIMPLETEST_DB="mysql://db:db@db/db" \
SIMPLETEST_BASE_URL="http://localhost" \
php ../vendor/bin/phpunit -c core/phpunit.xml.dist $@
197 changes: 197 additions & 0 deletions .ddev/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
name: drupal-foundry
type: drupal9
docroot: web
php_version: "8.1"
webserver_type: nginx-fpm
router_http_port: "80"
router_https_port: "443"
xdebug_enabled: false
additional_hostnames: []
additional_fqdns: []
mariadb_version: "10.3"
mysql_version: ""
nfs_mount_enabled: false
mutagen_enabled: false
use_dns_when_possible: true
composer_version: ""
web_environment: []

# Key features of ddev's config.yaml:

# name: <projectname> # Name of the project, automatically provides
# http://projectname.ddev.site and https://projectname.ddev.site

# type: <projecttype> # drupal6/7/8, backdrop, typo3, wordpress, php

# docroot: <relative_path> # Relative path to the directory containing index.php.

# php_version: "7.4" # PHP version to use, "5.6", "7.0", "7.1", "7.2", "7.3", "7.4" "8.0"

# You can explicitly specify the webimage, dbimage, dbaimage lines but this
# is not recommended, as the images are often closely tied to ddev's' behavior,
# so this can break upgrades.

# webimage: <docker_image> # nginx/php docker image.
# dbimage: <docker_image> # mariadb docker image.
# dbaimage: <docker_image>

# mariadb_version and mysql_version
# ddev can use many versions of mariadb and mysql
# However these directives are mutually exclusive
# mariadb_version: 10.2
# mysql_version: 8.0

# router_http_port: <port> # Port to be used for http (defaults to port 80)
# router_https_port: <port> # Port for https (defaults to 443)

# xdebug_enabled: false # Set to true to enable xdebug and "ddev start" or "ddev restart"
# Note that for most people the commands
# "ddev xdebug" to enable xdebug and "ddev xdebug off" to disable it work better,
# as leaving xdebug enabled all the time is a big performance hit.

# xhprof_enabled: false # Set to true to enable xhprof and "ddev start" or "ddev restart"
# Note that for most people the commands
# "ddev xhprof" to enable xhprof and "ddev xhprof off" to disable it work better,
# as leaving xhprof enabled all the time is a big performance hit.

# webserver_type: nginx-fpm # or apache-fpm

# timezone: Europe/Berlin
# This is the timezone used in the containers and by PHP;
# it can be set to any valid timezone,
# see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# For example Europe/Dublin or MST7MDT

# composer_version: ""
# if composer_version:"" it will use the current ddev default composer release.
# It can also be set to "1", to get most recent composer v1
# or "2" for most recent composer v2.
# It can be set to any existing specific composer version.
# After first project 'ddev start' this will not be updated until it changes

# additional_hostnames:
# - somename
# - someothername
# would provide http and https URLs for "somename.ddev.site"
# and "someothername.ddev.site".

# additional_fqdns:
# - example.com
# - sub1.example.com
# would provide http and https URLs for "example.com" and "sub1.example.com"
# Please take care with this because it can cause great confusion.

# upload_dir: custom/upload/dir
# would set the destination path for ddev import-files to custom/upload/dir.

# working_dir:
# web: /var/www/html
# db: /home
# would set the default working directory for the web and db services.
# These values specify the destination directory for ddev ssh and the
# directory in which commands passed into ddev exec are run.

# omit_containers: [db, dba, ddev-ssh-agent]
# Currently only these containers are supported. Some containers can also be
# omitted globally in the ~/.ddev/global_config.yaml. Note that if you omit
# the "db" container, several standard features of ddev that access the
# database container will be unusable. In the global configuration it is also
# possible to omit ddev-router, but not here.

# nfs_mount_enabled: false
# Great performance improvement but requires host configuration first.
# See https://ddev.readthedocs.io/en/stable/users/performance/#using-nfs-to-mount-the-project-into-the-container

# mutagen_enabled: false
# Experimental performance improvement using mutagen asynchronous updates.
# See https://ddev.readthedocs.io/en/latest/users/performance/#using-mutagen

# fail_on_hook_fail: False
# Decide whether 'ddev start' should be interrupted by a failing hook

# host_https_port: "59002"
# The host port binding for https can be explicitly specified. It is
# dynamic unless otherwise specified.
# This is not used by most people, most people use the *router* instead
# of the localhost port.

# host_webserver_port: "59001"
# The host port binding for the ddev-webserver can be explicitly specified. It is
# dynamic unless otherwise specified.
# This is not used by most people, most people use the *router* instead
# of the localhost port.

# host_db_port: "59002"
# The host port binding for the ddev-dbserver can be explicitly specified. It is dynamic
# unless explicitly specified.

# phpmyadmin_port: "8036"
# phpmyadmin_https_port: "8037"
# The PHPMyAdmin ports can be changed from the default 8036 and 8037

# host_phpmyadmin_port: "8036"
# The phpmyadmin (dba) port is not normally bound on the host at all, instead being routed
# through ddev-router, but it can be specified and bound.

# mailhog_port: "8025"
# mailhog_https_port: "8026"
# The MailHog ports can be changed from the default 8025 and 8026

# host_mailhog_port: "8025"
# The mailhog port is not normally bound on the host at all, instead being routed
# through ddev-router, but it can be bound directly to localhost if specified here.

# webimage_extra_packages: [php7.4-tidy, php-bcmath]
# Extra Debian packages that are needed in the webimage can be added here

# dbimage_extra_packages: [telnet,netcat]
# Extra Debian packages that are needed in the dbimage can be added here

# use_dns_when_possible: true
# If the host has internet access and the domain configured can
# successfully be looked up, DNS will be used for hostname resolution
# instead of editing /etc/hosts
# Defaults to true

# project_tld: ddev.site
# The top-level domain used for project URLs
# The default "ddev.site" allows DNS lookup via a wildcard
# If you prefer you can change this to "ddev.local" to preserve
# pre-v1.9 behavior.

# ngrok_args: --subdomain mysite --auth username:pass
# Provide extra flags to the "ngrok http" command, see
# https://ngrok.com/docs#http or run "ngrok http -h"

# disable_settings_management: false
# If true, ddev will not create CMS-specific settings files like
# Drupal's settings.php/settings.ddev.php or TYPO3's AdditionalConfiguration.php
# In this case the user must provide all such settings.

# You can inject environment variables into the web container with:
# web_environment:
# - SOMEENV=somevalue
# - SOMEOTHERENV=someothervalue

# no_project_mount: false
# (Experimental) If true, ddev will not mount the project into the web container;
# the user is responsible for mounting it manually or via a script.
# This is to enable experimentation with alternate file mounting strategies.
# For advanced users only!

# bind_all_interfaces: false
# If true, host ports will be bound on all network interfaces,
# not just the localhost interface. This means that ports
# will be available on the local network if the host firewall
# allows it.

# Many ddev commands can be extended to run tasks before or after the
# ddev command is executed, for example "post-start", "post-import-db",
# "pre-composer", "post-composer"
# See https://ddev.readthedocs.io/en/stable/users/extending-commands/ for more
# information on the commands that can be extended and the tasks you can define
# for them. Example:
#hooks:
# post-import-db:
# - exec: drush cr
# - exec: drush updb
4 changes: 4 additions & 0 deletions .ddev/docker-compose.network-mtu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
networks:
default:
driver_opts:
com.docker.network.driver.mtu: 1440
13 changes: 13 additions & 0 deletions .git-hooks/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

# fix for windows systems
PATH="/c/Program Files/nodejs:$HOME/AppData/Roaming/npm/:$PATH"

if [[ $OSTYPE == 'darwin'* ]]; then
## NVM
export NVM_DIR="$HOME/.nvm"
[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && . "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm
[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && . "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
fi

./node_modules/.bin/git-conventional-commits commit-msg-hook "$1"
20 changes: 10 additions & 10 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ Steps to reproduce the behavior:
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.
<!-- A clear and concise description of what you expected to happen. -->

**Screenshots**
If applicable, add screenshots to help explain your problem.
<!-- If applicable, add screenshots to help explain your problem. -->

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
- OS: <!-- [e.g. iOS] -->
- Browser <!-- [e.g. chrome, safari] -->
- Version <!-- [e.g. 22] -->

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
- Device: <!-- [e.g. iPhone6] -->
- OS: <!-- [e.g. iOS8.1] -->
- Browser <!-- [e.g. stock browser, safari] -->
- Version <!-- [e.g. 22] -->

**Additional context**
Add any other context about the problem here.
<!-- Add any other context about the problem here. -->
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ assignees: ''
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
<!-- A clear and concise description of what you want to happen. -->

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
<!-- A clear and concise description of any alternative solutions or features you've considered. -->

**Additional context**
Add any other context or screenshots about the feature request here.
<!-- Add any other context or screenshots about the feature request here. -->
27 changes: 27 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
assignees: 'BrianGilbert'
<!--- Provide a general summary of your changes in the title above -->

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (a non-breaking change which fixes an issue)
- [ ] New feature (a non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)


## Description
<!--- Describe your changes in detail -->
<!--- Why is this change required? What problem does it solve? -->
<!--- If it resolves an open issue, please link to the issue here. For example "Resolves: #1337" -->


## Checklist:
<!--- Put an `x` in all the boxes that apply. -->
<!--- If your change requires a documentation PR, please link it appropriately -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] I have updated the documentation accordingly.
- [ ] I have added tests to cover my changes (if not applicable, please state why)
- [ ] All new and existing tests are passing.


## Screenshots/Media:
<!--- Add any screenshots or other type of media to demonstrate your change -->
45 changes: 45 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: ci

on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop

jobs:
ci:
runs-on: ubuntu-latest

steps:
- name: Checkout 🛎
uses: actions/checkout@master

- name: Setup ddev
uses: jonaseberle/github-action-setup-ddev@v1
with:
autostart: false
- name: Start ddev
run: ddev start

- name: Validate composer.json 🔍
run: ddev composer validate

- name: Install Drupal 👨🏻‍💻
run: ddev drupal-install

# - name: Run Drupal tests
# run: ddev drupal-tests

# lint:
# runs-on: ubuntu-latest

# steps:
# - name: Checkout 🛎
# uses: actions/checkout@master
## https://github.com/guix77/phpcs-drupal-action#installation
# - name: Drupal coding standards
# uses: guix77/phpcs-drupal-action@v1.0.0
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
/web/profiles/contrib/
/web/libraries/

# Ignore node_modules directory
/node_modules

# Ignore sensitive information
/web/sites/*/settings.local.php

Expand All @@ -21,6 +24,7 @@
/.idea/
.vscode/*
!.vscode/launch.json
!.vscode/settings.json

# Ignore .env files as they are personal
/.env
Expand Down
4 changes: 4 additions & 0 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM drupalpod/drupalpod-gitpod-base:latest

RUN curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
RUN sudo apt-get install -y nodejs