-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
550eec5
commit a0a2554
Showing
30,016 changed files
with
677,994 additions
and
1,286,180 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/.editorconfig | ||
/.gitattributes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: checkbooknyc | ||
recipe: drupal9 | ||
config: | ||
webroot: ./web | ||
php: '8.2' | ||
xdebug: 'develop,debug' | ||
services: | ||
appserver: | ||
overrides: | ||
environment: | ||
# Support debugging CLI with XDEBUG. | ||
PHP_IDE_CONFIG: "serverName=checkbooknyc" | ||
XDEBUG_SESSION_START: lando | ||
build_as_root: | ||
- docker-php-ext-install pgsql | ||
- rm -f /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && /etc/init.d/apache2 reload | ||
memcache: | ||
type: memcached | ||
pma: | ||
type: phpmyadmin | ||
proxy: | ||
pma: | ||
- pma-checkbooknyc.lndo.site | ||
tooling: | ||
xdebug-on: | ||
service: appserver | ||
description: Enable Xdebug. | ||
user: root | ||
cmd: | ||
- docker-php-ext-enable xdebug && kill -USR2 $(pgrep -o php-fpm) > /dev/null || /etc/init.d/apache2 reload | ||
- tput setaf 2 && echo "Xdebug On" && tput sgr 0 && echo | ||
|
||
xdebug-off: | ||
service: appserver | ||
description: Disable Xdebug. | ||
user: root | ||
cmd: | ||
- rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && kill -USR2 $(pgrep -o php-fpm) > /dev/null || /etc/init.d/apache2 reload | ||
- tput setaf 1 && echo "Xdebug Off" && tput sgr 0 && echo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
/** | ||
* @file | ||
* Script to help cleanup the not existing permissions from the user roles. | ||
* | ||
* @code | ||
* drush scr clean_permissions.php | ||
* drush -y cex | ||
* @endcode | ||
* | ||
* @see https://www.drupal.org/node/3193348 | ||
*/ | ||
$entity_type_manager = \Drupal::entityTypeManager(); | ||
$permissions = array_keys(\Drupal::service('user.permissions')->getPermissions()); | ||
/** @var \Drupal\user\RoleInterface[] $roles */ | ||
$roles = $entity_type_manager->getStorage('user_role')->loadMultiple(); | ||
foreach ($roles as $role) { | ||
$role_permissions = $role->getPermissions(); | ||
$differences = array_diff($role_permissions, $permissions); | ||
if ($differences) { | ||
foreach ($differences as $permission) { | ||
$role->revokePermission($permission); | ||
} | ||
$role->save(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
{ | ||
"name": "drupal/recommended-project", | ||
"description": "Project template for Drupal 9 projects with a relocated document root", | ||
"type": "project", | ||
"license": "GPL-2.0-or-later", | ||
"homepage": "https://www.drupal.org/project/drupal", | ||
"support": { | ||
"docs": "https://www.drupal.org/docs/user_guide/en/index.html", | ||
"chat": "https://www.drupal.org/node/314178" | ||
}, | ||
"repositories": [ | ||
{ | ||
"type": "composer", | ||
"url": "https://packages.drupal.org/8" | ||
} | ||
], | ||
"require": { | ||
"composer/installers": "^1.9", | ||
"cweagans/composer-patches": "*", | ||
"drupal/addtoany": "^2.0", | ||
"drupal/admin_toolbar": "^3.4", | ||
"drupal/bartik": "^1.0", | ||
"drupal/color": "^1.0", | ||
"drupal/context": "^5.0@RC", | ||
"drupal/core-composer-scaffold": "9.5.10", | ||
"drupal/core-project-message": "9.5.10", | ||
"drupal/core-recommended": "9.5.10", | ||
"drupal/ctools": "^4.0", | ||
"drupal/dblog_filter": "^3.2", | ||
"drupal/devel": "^5.1", | ||
"drupal/diff": "^1.0", | ||
"drupal/easy_breadcrumb": "^2.0", | ||
"drupal/exclude_node_title": "^1.4", | ||
"drupal/filelog": "^2.0.2", | ||
"drupal/form_options_attributes": "^2.0", | ||
"drupal/jquery_ui_autocomplete": "^2.0", | ||
"drupal/jquery_ui_button": "^2.0", | ||
"drupal/jquery_ui_checkboxradio": "^2.0", | ||
"drupal/jquery_ui_dialog": "^2.0", | ||
"drupal/memcache": "^2.5", | ||
"drupal/mimemail": "^1.0@alpha", | ||
"drupal/mini_layouts": "^2.0@alpha", | ||
"drupal/page_manager": "^4.0@beta", | ||
"drupal/pdf_api": "^2.3", | ||
"drupal/php": "^1.1", | ||
"drupal/printable": "^3.0@RC", | ||
"drupal/quick_node_block": "^1.3", | ||
"drupal/quickedit": "^1.0", | ||
"drupal/rdf": "^2.0", | ||
"drupal/seckit": "^2.0", | ||
"drupal/superfish": "^1.4", | ||
"drupal/token": "^1.11", | ||
"drupal/upgrade_status": "^4.0", | ||
"drush/drush": "^11.0" | ||
}, | ||
"conflict": { | ||
"drupal/drupal": "*" | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"config": { | ||
"sort-packages": true, | ||
"allow-plugins": { | ||
"composer/installers": true, | ||
"drupal/core-composer-scaffold": true, | ||
"drupal/core-project-message": true, | ||
"dealerdirect/phpcodesniffer-composer-installer": true, | ||
"cweagans/composer-patches": true | ||
} | ||
}, | ||
"extra": { | ||
"drupal-scaffold": { | ||
"locations": { | ||
"web-root": "web/" | ||
} | ||
}, | ||
"installer-paths": { | ||
"web/core": [ | ||
"type:drupal-core" | ||
], | ||
"web/libraries/{$name}": [ | ||
"type:drupal-library" | ||
], | ||
"web/modules/contrib/{$name}": [ | ||
"type:drupal-module" | ||
], | ||
"web/profiles/contrib/{$name}": [ | ||
"type:drupal-profile" | ||
], | ||
"web/themes/contrib/{$name}": [ | ||
"type:drupal-theme" | ||
], | ||
"drush/Commands/contrib/{$name}": [ | ||
"type:drupal-drush" | ||
], | ||
"web/modules/custom/{$name}": [ | ||
"type:drupal-custom-module" | ||
], | ||
"web/profiles/custom/{$name}": [ | ||
"type:drupal-custom-profile" | ||
], | ||
"web/themes/custom/{$name}": [ | ||
"type:drupal-custom-theme" | ||
] | ||
}, | ||
"drupal-core-project-message": { | ||
"include-keys": [ | ||
"homepage", | ||
"support" | ||
], | ||
"post-create-project-cmd-message": [ | ||
"<bg=blue;fg=white> </>", | ||
"<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>", | ||
"<bg=blue;fg=white> from the drupal/recommended-project template! </>", | ||
"<bg=blue;fg=white> </>", | ||
"", | ||
"<bg=yellow;fg=black>Next steps</>:", | ||
" * Install the site: https://www.drupal.org/docs/8/install", | ||
" * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html", | ||
" * Get support: https://www.drupal.org/support", | ||
" * Get involved with the Drupal community:", | ||
" https://www.drupal.org/getting-involved", | ||
" * Remove the plugin that prints this message:", | ||
" composer remove drupal/core-project-message" | ||
] | ||
}, | ||
"enable-patching": true, | ||
"patchLevel": { | ||
"drupal/core": "-p2" | ||
}, | ||
"patches": { | ||
"drupal/core": { | ||
"3162699 - Improve debugability of block plugins returning NULL in Layout Builder": "https://www.drupal.org/files/issues/2020-08-10/3162699-blockbuild-13.patch" | ||
}, | ||
"drupal/superfish": { | ||
"3376771 - Superfish Unicode": "https://www.drupal.org/files/issues/2023-07-25/superfish_uncode_issue_patch-3376771-9.patch" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.