2867475538_bee27a0a47_o.jpg.alt.txt |
realistic_dummy_content/fields/node/article/field_image/2867475538_bee27a0a47_o.jpg.alt.txt |
|
The elephants in the room |
a.txt |
realistic_dummy_content/fields/node/article/title/a.txt |
|
First title |
b.txt |
realistic_dummy_content/fields/node/article/title/b.txt |
|
Second title |
c.txt |
realistic_dummy_content/fields/node/article/title/c.txt |
|
Third title |
ci.sh |
scripts/ci.sh |
|
#!/bin/bash
#
# Run tests, meant to be run on CirlceCI.
#
set -e
echo '=> Run fast tests.'
./scripts/test.sh
echo '=> Deploy a Drupal 8 environment.'
./scripts/deploy.sh
echo '=> Drupal PHPUnit tests on required… |
deploy.sh |
scripts/deploy.sh |
|
#!/bin/bash
#
# Deploy a development or testing environment.
# If this is passed with the argument "9", then Drupal 9 is used. Otherwise
# Drupal 8 is used.
#
set -e
echo ''
echo '-----'
echo 'About to create the… |
deploy.sh |
scripts/lib/docker-resources/deploy.sh |
|
#!/bin/bash
#
# This script is run when the Drupal docker container is ready. It prepares
# an environment for development or testing, which contains a full Drupal
# installation with a running website.
#
set -e
echo "Will try to connect to… |
destroy.sh |
scripts/destroy.sh |
|
#!/bin/bash
#
# Destroy the environment.
#
set -e
docker-compose down -v
docker network rm realistic_dummy_content_default |
docker-compose.drupal9.yml |
docker-compose.drupal9.yml |
|
docker-compose.drupal9.yml |
docker-compose.yml |
docker-compose.yml |
|
docker-compose.yml |
dolor.txt |
realistic_dummy_content/fields/node/article/body/dolor.txt |
|
Dolor
<strong>lorem ipsum dolor sit amet</strong>
<em>consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation… |
Drupal8.php |
api/src/Framework/Drupal8.php |
Drupal\realistic_dummy_content_api\Framework |
|
Drupal8Test.php |
api/tests/src/Unit/Framework/Drupal8Test.php |
Drupal\Tests\realistic_dummy_content_api\Unit\Framework |
|
drush.services.yml |
drush.services.yml |
|
drush.services.yml |
Framework.php |
api/src/Framework/Framework.php |
Drupal\realistic_dummy_content_api\Framework |
|
FrameworkInterface.php |
api/src/Framework/FrameworkInterface.php |
Drupal\realistic_dummy_content_api\Framework |
|
ipsum.txt |
realistic_dummy_content/fields/node/article/body/ipsum.txt |
|
Ipsum
<strong>ipsum dolor sit amet</strong>
<em>consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation… |
ipsum.txt.format.txt |
realistic_dummy_content/fields/node/article/body/ipsum.txt.format.txt |
|
full_html |
lorem.txt |
realistic_dummy_content/fields/node/article/body/lorem.txt |
|
|
Math.php |
api/src/includes/Math.php |
Drupal\realistic_dummy_content_api\includes |
|
MathTest.php |
api/tests/src/Unit/includes/MathTest.php |
Drupal\Tests\realistic_dummy_content_api\Unit\includes |
|
periodic-test.sh |
scripts/jenkins/periodic-test.sh |
|
#!/bin/bash
set -e
source ~/.docker-host-ssh-credentials
# Create a droplet
PRIVATE_IP=$(ssh "$DOCKERHOSTUSER@$DOCKERHOST" \
"./digitalocean/scripts/new-droplet.sh realistic-dummy-content")
#… |
php-drupal9.sh |
scripts/php-drupal9.sh |
|
#!/bin/bash
#
# Check for code incompatible with Drupal 9.
#
set -e
echo "=> Fail if non-Drupal 9 code is present in codebase"
docker run --rm -v "$(pwd)":/var/www/html/modules/realistic_dummy_content dcycle/drupal-check:1… |
php-lint.sh |
scripts/php-lint.sh |
|
#!/bin/bash
#
# Lint PHP code.
#
set -e
echo '=> Linting PHP code.'
echo 'If you are getting a false negative, use:'
echo ''
echo '// @codingStandardsIgnoreStart'
echo '...'
echo '//… |
php-static-analysis.sh |
scripts/php-static-analysis.sh |
|
#!/bin/bash
#
# Static analysis.
#
set -e
echo '=> Static analysis of code.'
echo 'If you are getting a false negative, use:'
echo ''
echo '// @phpstan-ignore-next-line'
# Doing this in several steps due… |
php-unit-drupal.sh |
scripts/php-unit-drupal.sh |
|
#!/bin/bash
#
# Run unit tests a la Drupal. Requires the container to be running.
#
set -e
docker-compose exec -T drupal /bin/bash -c 'drush en -y simpletest && php core/scripts/run-tests.sh realistic_dummy_content' |
php-unit.sh |
scripts/php-unit.sh |
|
#!/bin/bash
#
# Run unit tests.
#
set -e
docker run --rm -v "$(pwd)":/app phpunit/phpunit \
--group realistic_dummy_content |
phpunit-autoload.php |
phpunit-autoload.php |
|
|
phpunit-bootstrap.php |
phpunit-bootstrap.php |
Drupal\Core\StringTranslation |
Mock versions of required classes for testing. |
README.txt |
api/src/includes/README.txt |
|
For Drupal 8, the files are auto-loaded based on the folder structure. |
README.txt |
realistic_dummy_content/fields/node/article/field_image/README.txt |
|
The files herein are used by Realistic dummy content to replace generated content for image fields in article nodes (entity type: node; bundle: article; this is determined by the directory structure -- node/article/field_image).
Some files might… |
README.txt |
realistic_dummy_content/fields/node/article/title/README.txt |
|
The files herein are used by Realistic dummy content to replace generated content for title fields in article nodes (entity type: node; bundle: article; this is determined by the directory structure -- node/article/title). |
README.txt |
realistic_dummy_content/fields/node/article/body/README.txt |
|
The files herein are used by Realistic dummy content to replace generated content for body fields in article nodes (entity type: node; bundle: article; this is determined by the directory structure).
Input formats
-------------
Note that one of the… |
README.txt |
realistic_dummy_content/fields/node/article/field_tags/README.txt |
|
Tags use the taxonomy system; a new taxonomy term will be added for these terms if they don't already exist. |
README.txt |
realistic_dummy_content/fields/user/user/user_picture/README.txt |
|
The files herein are used by Realistic dummy content to replace generated user pictures.
The images are details of paintings available under various Creative Commons licenses:
* http://commons.wikimedia.org/wiki/File:%22A_meal_without_rice%22.jpg
… |
readme2html.sh |
scripts/readme2html.sh |
|
#!/bin/bash
#
# Generate html from md. Useful for updating the description on Drupal.
#
set -e
docker pull dcycle/md2html:1
docker run --rm -v "$(pwd):/app/code" \
dcycle/md2html:1 -t html5 README.md -o README.html
# If one enters… |
RealisticDummyContentAPIRecipe.php |
api/src/includes/RealisticDummyContentAPIRecipe.php |
Drupal\realistic_dummy_content_api\includes |
|
RealisticDummyContentAttribute.php |
api/src/includes/RealisticDummyContentAttribute.php |
Drupal\realistic_dummy_content_api\includes |
|
RealisticDummyContentBase.php |
api/src/includes/RealisticDummyContentBase.php |
Drupal\realistic_dummy_content_api\includes |
|
RealisticDummyContentDebugLog.php |
api/src/includes/RealisticDummyContentDebugLog.php |
Drupal\realistic_dummy_content_api\includes |
|
RealisticDummyContentDevelGenerateGenerator.php |
api/src/includes/RealisticDummyContentDevelGenerateGenerator.php |
Drupal\realistic_dummy_content_api\includes |
|
RealisticDummyContentDrupalTrait.php |
api/src/traits/RealisticDummyContentDrupalTrait.php |
Drupal\realistic_dummy_content_api\traits |
|
RealisticDummyContentDrushCommands.php |
api/src/DrushCommands/RealisticDummyContentDrushCommands.php |
Drupal\realistic_dummy_content_api\DrushCommands |
|
RealisticDummyContentDrushLog.php |
api/src/includes/RealisticDummyContentDrushLog.php |
Drupal\realistic_dummy_content_api\includes |
|
RealisticDummyContentEntityBase.php |
api/src/includes/RealisticDummyContentEntityBase.php |
Drupal\realistic_dummy_content_api\includes |
|
RealisticDummyContentEnvironment.php |
api/src/includes/RealisticDummyContentEnvironment.php |
Drupal\realistic_dummy_content_api\includes |
|
RealisticDummyContentEnvironmentTest.php |
api/tests/src/Unit/includes/RealisticDummyContentEnvironmentTest.php |
Drupal\Tests\realistic_dummy_content_api\Unit\includes |
|
RealisticDummyContentException.php |
api/src/includes/RealisticDummyContentException.php |
Drupal\realistic_dummy_content_api\includes |
|
RealisticDummyContentField.php |
api/src/includes/RealisticDummyContentField.php |
Drupal\realistic_dummy_content_api\includes |
|
RealisticDummyContentFieldModifier.php |
api/src/includes/RealisticDummyContentFieldModifier.php |
Drupal\realistic_dummy_content_api\includes |
|