diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/_config/config.yml b/_config/config.yml old mode 100644 new mode 100755 index b43d6c9..3fcddeb --- a/_config/config.yml +++ b/_config/config.yml @@ -1,12 +1,12 @@ --- Name: pagesections --- -FlxLabs\PageSections\PageElement: +FLXLabs\PageSections\PageElement: extensions: - SilverStripe\Versioned\Versioned -FlxLabs\PageSections\PageElementSelfRel: +FLXLabs\PageSections\PageElementSelfRel: extensions: - SilverStripe\Versioned\Versioned -FlxLabs\PageSections\PageSectionPageElementRel: +FLXLabs\PageSections\PageSectionPageElementRel: extensions: - SilverStripe\Versioned\Versioned diff --git a/composer.json b/composer.json old mode 100644 new mode 100755 index e0579ee..72bfafe --- a/composer.json +++ b/composer.json @@ -1,24 +1,27 @@ { - "name": "flxlabs/silverstripe-pagesections", - "version": "0.1.2", - "description": "Adds configurable page sections and elements to your SilverStripe project.", - "type": "silverstripe-module", - "homepage": "http://github.com/flxlabs/silverstripe-pagesections", - "keywords": ["silverstripe", "sections", "elements", "page sections", "page elements"], - "license": "MIT", - "authors": [ - { - "name": "Marco Crespi", - "email": "mrc@flxlabs.com" - } - ], - "support": { - "issues": "http://github.com/flxlabs/silverstripe-pagesections/issues" - }, - "require": { - "silverstripe/framework": "^4.0.1" - }, - "extra": { - "installer-name": "pagesections" - } + "name": "flxlabs/silverstripe-pagesections", + "version": "0.1.2", + "description": "Adds configurable page sections and elements to your SilverStripe project.", + "type": "silverstripe-module", + "homepage": "http://github.com/flxlabs/silverstripe-pagesections", + "keywords": ["silverstripe", "sections", "elements", "page sections", "page elements"], + "license": "MIT", + "authors": [{ + "name": "Marco Crespi", + "email": "mrc@flxlabs.com" + }], + "support": { + "issues": "http://github.com/flxlabs/silverstripe-pagesections/issues" + }, + "require": { + "silverstripe/framework": "^4.0.1", + "symbiote/silverstripe-gridfieldextensions": "^3" + }, + "extra": { + "installer-name": "pagesections", + "expose": [ + "css", + "javascript" + ] + } } diff --git a/composer.lock b/composer.lock new file mode 100644 index 0000000..00113c6 --- /dev/null +++ b/composer.lock @@ -0,0 +1,1903 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "40aba9751a6b54c74a81a32dd1fd00ae", + "packages": [ + { + "name": "composer/ca-bundle", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/composer/ca-bundle.git", + "reference": "d2c0a83b7533d6912e8d516756ebd34f893e9169" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/d2c0a83b7533d6912e8d516756ebd34f893e9169", + "reference": "d2c0a83b7533d6912e8d516756ebd34f893e9169", + "shasum": "" + }, + "require": { + "ext-openssl": "*", + "ext-pcre": "*", + "php": "^5.3.2 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5", + "psr/log": "^1.0", + "symfony/process": "^2.5 || ^3.0 || ^4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\CaBundle\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.", + "keywords": [ + "cabundle", + "cacert", + "certificate", + "ssl", + "tls" + ], + "time": "2018-03-29T19:57:20+00:00" + }, + { + "name": "composer/installers", + "version": "v1.5.0", + "source": { + "type": "git", + "url": "https://github.com/composer/installers.git", + "reference": "049797d727261bf27f2690430d935067710049c2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/installers/zipball/049797d727261bf27f2690430d935067710049c2", + "reference": "049797d727261bf27f2690430d935067710049c2", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.0" + }, + "replace": { + "roundcube/plugin-installer": "*", + "shama/baton": "*" + }, + "require-dev": { + "composer/composer": "1.0.*@dev", + "phpunit/phpunit": "^4.8.36" + }, + "type": "composer-plugin", + "extra": { + "class": "Composer\\Installers\\Plugin", + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\Installers\\": "src/Composer/Installers" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Kyle Robinson Young", + "email": "kyle@dontkry.com", + "homepage": "https://github.com/shama" + } + ], + "description": "A multi-framework Composer library installer", + "homepage": "https://composer.github.io/installers/", + "keywords": [ + "Craft", + "Dolibarr", + "Eliasis", + "Hurad", + "ImageCMS", + "Kanboard", + "Lan Management System", + "MODX Evo", + "Mautic", + "Maya", + "OXID", + "Plentymarkets", + "Porto", + "RadPHP", + "SMF", + "Thelia", + "WolfCMS", + "agl", + "aimeos", + "annotatecms", + "attogram", + "bitrix", + "cakephp", + "chef", + "cockpit", + "codeigniter", + "concrete5", + "croogo", + "dokuwiki", + "drupal", + "eZ Platform", + "elgg", + "expressionengine", + "fuelphp", + "grav", + "installer", + "itop", + "joomla", + "kohana", + "laravel", + "lavalite", + "lithium", + "magento", + "majima", + "mako", + "mediawiki", + "modulework", + "modx", + "moodle", + "osclass", + "phpbb", + "piwik", + "ppi", + "puppet", + "pxcms", + "reindex", + "roundcube", + "shopware", + "silverstripe", + "sydes", + "symfony", + "typo3", + "wordpress", + "yawik", + "zend", + "zikula" + ], + "time": "2017-12-29T09:13:20+00:00" + }, + { + "name": "embed/embed", + "version": "v3.3.2", + "source": { + "type": "git", + "url": "https://github.com/oscarotero/Embed.git", + "reference": "e02f6f2f590cccf13c6cb64c975c32ddc88ae4b9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/oscarotero/Embed/zipball/e02f6f2f590cccf13c6cb64c975c32ddc88ae4b9", + "reference": "e02f6f2f590cccf13c6cb64c975c32ddc88ae4b9", + "shasum": "" + }, + "require": { + "composer/ca-bundle": "^1.0", + "ext-curl": "*", + "ext-mbstring": "*", + "php": "^5.5|^7.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.0", + "phpunit/phpunit": "^4.8|^5.7" + }, + "type": "library", + "autoload": { + "psr-4": { + "Embed\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Oscar Otero", + "email": "oom@oscarotero.com", + "homepage": "http://oscarotero.com", + "role": "Developer" + } + ], + "description": "PHP library to retrieve page info using oembed, opengraph, etc", + "homepage": "https://github.com/oscarotero/Embed", + "keywords": [ + "embed", + "embedly", + "oembed", + "opengraph", + "twitter cards" + ], + "time": "2018-05-22T21:00:13+00:00" + }, + { + "name": "guzzlehttp/psr7", + "version": "1.4.2", + "source": { + "type": "git", + "url": "https://github.com/guzzle/psr7.git", + "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c", + "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c", + "shasum": "" + }, + "require": { + "php": ">=5.4.0", + "psr/http-message": "~1.0" + }, + "provide": { + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + }, + "files": [ + "src/functions_include.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Schultze", + "homepage": "https://github.com/Tobion" + } + ], + "description": "PSR-7 message implementation that also provides common utility methods", + "keywords": [ + "http", + "message", + "request", + "response", + "stream", + "uri", + "url" + ], + "time": "2017-03-20T17:10:46+00:00" + }, + { + "name": "intervention/image", + "version": "2.4.2", + "source": { + "type": "git", + "url": "https://github.com/Intervention/image.git", + "reference": "e82d274f786e3d4b866a59b173f42e716f0783eb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Intervention/image/zipball/e82d274f786e3d4b866a59b173f42e716f0783eb", + "reference": "e82d274f786e3d4b866a59b173f42e716f0783eb", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "guzzlehttp/psr7": "~1.1", + "php": ">=5.4.0" + }, + "require-dev": { + "mockery/mockery": "~0.9.2", + "phpunit/phpunit": "^4.8 || ^5.7" + }, + "suggest": { + "ext-gd": "to use GD library based image processing.", + "ext-imagick": "to use Imagick based image processing.", + "intervention/imagecache": "Caching extension for the Intervention Image library" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.4-dev" + }, + "laravel": { + "providers": [ + "Intervention\\Image\\ImageServiceProvider" + ], + "aliases": { + "Image": "Intervention\\Image\\Facades\\Image" + } + } + }, + "autoload": { + "psr-4": { + "Intervention\\Image\\": "src/Intervention/Image" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Oliver Vogel", + "email": "oliver@olivervogel.com", + "homepage": "http://olivervogel.com/" + } + ], + "description": "Image handling and manipulation library with support for Laravel integration", + "homepage": "http://image.intervention.io/", + "keywords": [ + "gd", + "image", + "imagick", + "laravel", + "thumbnail", + "watermark" + ], + "time": "2018-05-29T14:19:03+00:00" + }, + { + "name": "league/flysystem", + "version": "1.0.45", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem.git", + "reference": "a99f94e63b512d75f851b181afcdf0ee9ebef7e6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/a99f94e63b512d75f851b181afcdf0ee9ebef7e6", + "reference": "a99f94e63b512d75f851b181afcdf0ee9ebef7e6", + "shasum": "" + }, + "require": { + "php": ">=5.5.9" + }, + "conflict": { + "league/flysystem-sftp": "<1.0.6" + }, + "require-dev": { + "ext-fileinfo": "*", + "phpspec/phpspec": "^3.4", + "phpunit/phpunit": "^5.7" + }, + "suggest": { + "ext-fileinfo": "Required for MimeType", + "ext-ftp": "Allows you to use FTP server storage", + "ext-openssl": "Allows you to use FTPS server storage", + "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", + "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", + "league/flysystem-azure": "Allows you to use Windows Azure Blob storage", + "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching", + "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem", + "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files", + "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib", + "league/flysystem-webdav": "Allows you to use WebDAV storage", + "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter", + "spatie/flysystem-dropbox": "Allows you to use Dropbox storage", + "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Flysystem\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frenky.net" + } + ], + "description": "Filesystem abstraction: Many filesystems, one API.", + "keywords": [ + "Cloud Files", + "WebDAV", + "abstraction", + "aws", + "cloud", + "copy.com", + "dropbox", + "file systems", + "files", + "filesystem", + "filesystems", + "ftp", + "rackspace", + "remote", + "s3", + "sftp", + "storage" + ], + "time": "2018-05-07T08:44:23+00:00" + }, + { + "name": "m1/env", + "version": "2.1.1", + "source": { + "type": "git", + "url": "https://github.com/m1/Env.git", + "reference": "3589eae8e40d40be96de39222a6ca19c3af8eae4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/m1/Env/zipball/3589eae8e40d40be96de39222a6ca19c3af8eae4", + "reference": "3589eae8e40d40be96de39222a6ca19c3af8eae4", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "4.*", + "scrutinizer/ocular": "~1.1", + "squizlabs/php_codesniffer": "^2.3" + }, + "suggest": { + "josegonzalez/dotenv": "For loading of .env", + "m1/vars": "For loading of configs" + }, + "type": "library", + "autoload": { + "psr-4": { + "M1\\Env\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Miles Croxford", + "email": "hello@milescroxford.com", + "homepage": "http://milescroxford.com", + "role": "Developer" + } + ], + "description": "Env is a lightweight library bringing .env file parser compatibility to PHP. In short - it enables you to read .env files with PHP.", + "homepage": "https://github.com/m1/Env", + "keywords": [ + ".env", + "config", + "dotenv", + "env", + "loader", + "m1", + "parser", + "support" + ], + "time": "2018-05-16T22:40:58+00:00" + }, + { + "name": "marcj/topsort", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/marcj/topsort.php.git", + "reference": "387086c2db60ee0a27ac5df588c0f0b30c6bdc4b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/marcj/topsort.php/zipball/387086c2db60ee0a27ac5df588c0f0b30c6bdc4b", + "reference": "387086c2db60ee0a27ac5df588c0f0b30c6bdc4b", + "shasum": "" + }, + "require": { + "php": ">=5.4" + }, + "require-dev": { + "codeclimate/php-test-reporter": "dev-master", + "phpunit/phpunit": "~4.0", + "symfony/console": "~2.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "MJS\\TopSort\\": "src/", + "MJS\\TopSort\\Tests\\": "tests/Tests/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marc J. Schmidt", + "email": "marc@marcjschmidt.de" + } + ], + "description": "High-Performance TopSort/Dependency resolving algorithm", + "keywords": [ + "dependency resolving", + "topological sort", + "topsort" + ], + "time": "2016-11-19T14:58:11+00:00" + }, + { + "name": "monolog/monolog", + "version": "1.23.0", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd8c787753b3a2ad11bc60c063cff1358a32a3b4", + "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4", + "shasum": "" + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "require-dev": { + "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "doctrine/couchdb": "~1.0@dev", + "graylog2/gelf-php": "~1.0", + "jakub-onderka/php-parallel-lint": "0.9", + "php-amqplib/php-amqplib": "~2.4", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit": "~4.5", + "phpunit/phpunit-mock-objects": "2.3.0", + "ruflin/elastica": ">=0.90 <3.0", + "sentry/sentry": "^0.13", + "swiftmailer/swiftmailer": "^5.3|^6.0" + }, + "suggest": { + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "php-console/php-console": "Allow sending log messages to Google Chrome", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "sentry/sentry": "Allow sending log messages to a Sentry server" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "homepage": "http://github.com/Seldaek/monolog", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "time": "2017-06-19T01:22:40+00:00" + }, + { + "name": "nikic/php-parser", + "version": "v3.1.5", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "bb87e28e7d7b8d9a7fda231d37457c9210faf6ce" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/bb87e28e7d7b8d9a7fda231d37457c9210faf6ce", + "reference": "bb87e28e7d7b8d9a7fda231d37457c9210faf6ce", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=5.5" + }, + "require-dev": { + "phpunit/phpunit": "~4.0|~5.0" + }, + "bin": [ + "bin/php-parse" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "time": "2018-02-28T20:30:58+00:00" + }, + { + "name": "paragonie/random_compat", + "version": "v2.0.12", + "source": { + "type": "git", + "url": "https://github.com/paragonie/random_compat.git", + "reference": "258c89a6b97de7dfaf5b8c7607d0478e236b04fb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/258c89a6b97de7dfaf5b8c7607d0478e236b04fb", + "reference": "258c89a6b97de7dfaf5b8c7607d0478e236b04fb", + "shasum": "" + }, + "require": { + "php": ">=5.2.0" + }, + "require-dev": { + "phpunit/phpunit": "4.*|5.*" + }, + "suggest": { + "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." + }, + "type": "library", + "autoload": { + "files": [ + "lib/random.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Paragon Initiative Enterprises", + "email": "security@paragonie.com", + "homepage": "https://paragonie.com" + } + ], + "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", + "keywords": [ + "csprng", + "pseudorandom", + "random" + ], + "time": "2018-04-04T21:24:14+00:00" + }, + { + "name": "psr/cache", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/cache.git", + "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", + "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Cache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for caching libraries", + "keywords": [ + "cache", + "psr", + "psr-6" + ], + "time": "2016-08-06T20:24:11+00:00" + }, + { + "name": "psr/container", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "time": "2017-02-14T16:28:37+00:00" + }, + { + "name": "psr/http-message", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ], + "time": "2016-08-06T14:39:51+00:00" + }, + { + "name": "psr/log", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", + "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "Psr/Log/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "time": "2016-10-10T12:19:37+00:00" + }, + { + "name": "psr/simple-cache", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\SimpleCache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for simple caching", + "keywords": [ + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" + ], + "time": "2017-10-23T01:57:42+00:00" + }, + { + "name": "silverstripe/assets", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/silverstripe/silverstripe-assets.git", + "reference": "b0d44023353254758d35d0e7ee26f634e7493fab" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/silverstripe/silverstripe-assets/zipball/b0d44023353254758d35d0e7ee26f634e7493fab", + "reference": "b0d44023353254758d35d0e7ee26f634e7493fab", + "shasum": "" + }, + "require": { + "intervention/image": "^2.3", + "php": ">=5.6.0", + "silverstripe/framework": "^4.1", + "silverstripe/vendor-plugin": "^1.0" + }, + "require-dev": { + "phpunit/phpunit": "^5.7", + "silverstripe/versioned": "^1@dev" + }, + "type": "silverstripe-vendormodule", + "extra": { + "branch-alias": { + "1.x-dev": "1.2.x-dev", + "dev-master": "2.x-dev" + }, + "installer-name": "silverstripe-assets" + }, + "autoload": { + "psr-4": { + "SilverStripe\\Assets\\": "src/", + "SilverStripe\\Assets\\Tests\\": "tests/php/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "SilverStripe", + "homepage": "http://silverstripe.com" + }, + { + "name": "The SilverStripe Community", + "homepage": "http://silverstripe.org" + } + ], + "description": "SilverStripe Assets component", + "homepage": "http://silverstripe.org", + "keywords": [ + "assets", + "silverstripe" + ], + "time": "2018-05-24T03:24:57+00:00" + }, + { + "name": "silverstripe/config", + "version": "1.0.4", + "source": { + "type": "git", + "url": "https://github.com/silverstripe/silverstripe-config.git", + "reference": "65cc33edc4d88d20cab5b7ad4b6f52bd20747e98" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/silverstripe/silverstripe-config/zipball/65cc33edc4d88d20cab5b7ad4b6f52bd20747e98", + "reference": "65cc33edc4d88d20cab5b7ad4b6f52bd20747e98", + "shasum": "" + }, + "require": { + "marcj/topsort": "^1.0", + "psr/simple-cache": "^1.0", + "symfony/finder": "^2.8 || ^3.2", + "symfony/yaml": "^2.8 || ^3.2" + }, + "require-dev": { + "mikey179/vfsstream": "^1.6", + "phpspec/prophecy": "^1.0", + "phpunit/phpunit": "^5.4.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "SilverStripe\\Config\\": "src/", + "SilverStripe\\Config\\Tests\\": "tests/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "SilverStripe configuration based on YAML and class statics", + "time": "2018-02-14T20:07:02+00:00" + }, + { + "name": "silverstripe/framework", + "version": "4.1.1", + "source": { + "type": "git", + "url": "https://github.com/silverstripe/silverstripe-framework.git", + "reference": "01ed8a316b65c7d2dddecec39c0195a0e3de07b2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/silverstripe/silverstripe-framework/zipball/01ed8a316b65c7d2dddecec39c0195a0e3de07b2", + "reference": "01ed8a316b65c7d2dddecec39c0195a0e3de07b2", + "shasum": "" + }, + "require": { + "composer/installers": "~1.0", + "embed/embed": "^3.0", + "ext-ctype": "*", + "ext-dom": "*", + "ext-hash": "*", + "ext-intl": "*", + "ext-mbstring": "*", + "ext-session": "*", + "ext-simplexml": "*", + "ext-tokenizer": "*", + "ext-xml": "*", + "league/flysystem": "~1.0.12", + "m1/env": "^2.1", + "monolog/monolog": "~1.11", + "nikic/php-parser": "^2 || ^3", + "paragonie/random_compat": "^2.0", + "php": ">=5.6.0", + "psr/container": "1.0.0", + "psr/container-implementation": "1.0.0", + "silverstripe/assets": "^1@dev", + "silverstripe/config": "^1@dev", + "silverstripe/vendor-plugin": "^1.0", + "swiftmailer/swiftmailer": "~5.4", + "symfony/cache": "^3.3@dev", + "symfony/config": "^3.2", + "symfony/translation": "^2.8", + "symfony/yaml": "~3.2" + }, + "provide": { + "psr/container-implementation": "1.0.0" + }, + "require-dev": { + "phpunit/phpunit": "^5.7", + "se/selenium-server-standalone": "2.41.0", + "silverstripe/behat-extension": "^3", + "silverstripe/serve": "^2@dev", + "silverstripe/versioned": "^1@dev" + }, + "bin": [ + "sake" + ], + "type": "silverstripe-vendormodule", + "extra": { + "branch-alias": { + "4.x-dev": "4.2.x-dev", + "dev-master": "5.x-dev" + }, + "expose": [ + "client/images", + "client/styles", + "src/Dev/Install/client" + ] + }, + "autoload": { + "psr-4": { + "SilverStripe\\Control\\": "src/Control/", + "SilverStripe\\Control\\Tests\\": "tests/php/Control/", + "SilverStripe\\Core\\": "src/Core/", + "SilverStripe\\Core\\Tests\\": "tests/php/Core/", + "SilverStripe\\Dev\\": "src/Dev/", + "SilverStripe\\Dev\\Tests\\": "tests/php/Dev/", + "SilverStripe\\Forms\\": "src/Forms/", + "SilverStripe\\Forms\\Tests\\": "tests/php/Forms/", + "SilverStripe\\i18n\\": "src/i18n/", + "SilverStripe\\i18n\\Tests\\": "tests/php/i18n/", + "SilverStripe\\Logging\\": "src/Logging/", + "SilverStripe\\Logging\\Tests\\": "tests/php/Logging/", + "SilverStripe\\ORM\\": "src/ORM/", + "SilverStripe\\ORM\\Tests\\": "tests/php/ORM/", + "SilverStripe\\Security\\": "src/Security/", + "SilverStripe\\Security\\Tests\\": "tests/php/Security/", + "SilverStripe\\View\\": "src/View/", + "SilverStripe\\View\\Tests\\": "tests/php/View/", + "SilverStripe\\Framework\\Tests\\Behaviour\\": "tests/behat/src/" + }, + "files": [ + "src/includes/constants.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "src/", + "src/includes/", + "thirdparty/" + ], + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "SilverStripe", + "homepage": "http://silverstripe.com" + }, + { + "name": "The SilverStripe Community", + "homepage": "http://silverstripe.org" + } + ], + "description": "The SilverStripe framework", + "homepage": "http://silverstripe.org", + "keywords": [ + "framework", + "silverstripe" + ], + "time": "2018-05-24T04:52:15+00:00" + }, + { + "name": "silverstripe/vendor-plugin", + "version": "1.3.3", + "source": { + "type": "git", + "url": "https://github.com/silverstripe/vendor-plugin.git", + "reference": "ec27b75cc67adc31c458e8ccd91e787a9534c15c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/silverstripe/vendor-plugin/zipball/ec27b75cc67adc31c458e8ccd91e787a9534c15c", + "reference": "ec27b75cc67adc31c458e8ccd91e787a9534c15c", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.1", + "composer/installers": "^1.4" + }, + "require-dev": { + "composer/composer": "^1.5", + "phpunit/phpunit": "^5.7" + }, + "type": "composer-plugin", + "extra": { + "class": "SilverStripe\\VendorPlugin\\VendorPlugin", + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "autoload": { + "psr-4": { + "SilverStripe\\VendorPlugin\\": "src/", + "SilverStripe\\VendorPlugin\\Tests\\": "tests/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Damian Mooyman", + "email": "damian@silverstripe.com" + } + ], + "description": "Allows vendor modules to expose directories to the webroot", + "time": "2018-03-25T21:50:30+00:00" + }, + { + "name": "swiftmailer/swiftmailer", + "version": "v5.4.9", + "source": { + "type": "git", + "url": "https://github.com/swiftmailer/swiftmailer.git", + "reference": "7ffc1ea296ed14bf8260b6ef11b80208dbadba91" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/7ffc1ea296ed14bf8260b6ef11b80208dbadba91", + "reference": "7ffc1ea296ed14bf8260b6ef11b80208dbadba91", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "mockery/mockery": "~0.9.1", + "symfony/phpunit-bridge": "~3.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.4-dev" + } + }, + "autoload": { + "files": [ + "lib/swift_required.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Chris Corbyn" + }, + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + } + ], + "description": "Swiftmailer, free feature-rich PHP mailer", + "homepage": "https://swiftmailer.symfony.com", + "keywords": [ + "email", + "mail", + "mailer" + ], + "time": "2018-01-23T07:37:21+00:00" + }, + { + "name": "symbiote/silverstripe-gridfieldextensions", + "version": "3.1.1", + "source": { + "type": "git", + "url": "https://github.com/symbiote/silverstripe-gridfieldextensions.git", + "reference": "6d8b41ee5a0b0f1b07215f5bf146c07a78ef61fe" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symbiote/silverstripe-gridfieldextensions/zipball/6d8b41ee5a0b0f1b07215f5bf146c07a78ef61fe", + "reference": "6d8b41ee5a0b0f1b07215f5bf146c07a78ef61fe", + "shasum": "" + }, + "require": { + "silverstripe/framework": "~4.0", + "silverstripe/vendor-plugin": "^1.0" + }, + "replace": { + "ajshort/silverstripe-gridfieldextensions": "self.version", + "silverstripe-australia/gridfieldextensions": "self.version" + }, + "require-dev": { + "phpunit/phpunit": "^5.7", + "silverstripe/versioned": "^1@dev", + "squizlabs/php_codesniffer": "^3.0" + }, + "type": "silverstripe-vendormodule", + "extra": { + "installer-name": "gridfieldextensions", + "screenshots": [ + "docs/en/_images/editable-rows.png", + "docs/en/_images/add-existing-search.png" + ], + "expose": [ + "css", + "javascript" + ] + }, + "autoload": { + "psr-4": { + "Symbiote\\GridFieldExtensions\\": "src/", + "Symbiote\\GridFieldExtensions\\Tests\\": "tests/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Andrew Short", + "email": "andrewjshort@gmail.com" + }, + { + "name": "Marcus Nyeholt", + "email": "marcus@symbiote.com.au" + } + ], + "description": "A collection of useful grid field components", + "homepage": "http://github.com/symbiote/silverstripe-gridfieldextensions", + "keywords": [ + "gridfield", + "silverstripe" + ], + "time": "2018-02-11T22:08:47+00:00" + }, + { + "name": "symfony/cache", + "version": "v3.4.11", + "source": { + "type": "git", + "url": "https://github.com/symfony/cache.git", + "reference": "b6f157d4529a3484f60ebc40661b5232526fb432" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/cache/zipball/b6f157d4529a3484f60ebc40661b5232526fb432", + "reference": "b6f157d4529a3484f60ebc40661b5232526fb432", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "psr/cache": "~1.0", + "psr/log": "~1.0", + "psr/simple-cache": "^1.0", + "symfony/polyfill-apcu": "~1.1" + }, + "conflict": { + "symfony/var-dumper": "<3.3" + }, + "provide": { + "psr/cache-implementation": "1.0", + "psr/simple-cache-implementation": "1.0" + }, + "require-dev": { + "cache/integration-tests": "dev-master", + "doctrine/cache": "~1.6", + "doctrine/dbal": "~2.4", + "predis/predis": "~1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.4-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Cache\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Cache component with PSR-6, PSR-16, and tags", + "homepage": "https://symfony.com", + "keywords": [ + "caching", + "psr6" + ], + "time": "2018-05-16T12:49:49+00:00" + }, + { + "name": "symfony/config", + "version": "v3.4.11", + "source": { + "type": "git", + "url": "https://github.com/symfony/config.git", + "reference": "73e055cf2e6467715f187724a0347ea32079967c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/config/zipball/73e055cf2e6467715f187724a0347ea32079967c", + "reference": "73e055cf2e6467715f187724a0347ea32079967c", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/filesystem": "~2.8|~3.0|~4.0", + "symfony/polyfill-ctype": "~1.8" + }, + "conflict": { + "symfony/dependency-injection": "<3.3", + "symfony/finder": "<3.3" + }, + "require-dev": { + "symfony/dependency-injection": "~3.3|~4.0", + "symfony/event-dispatcher": "~3.3|~4.0", + "symfony/finder": "~3.3|~4.0", + "symfony/yaml": "~3.0|~4.0" + }, + "suggest": { + "symfony/yaml": "To use the yaml reference dumper" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.4-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Config\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Config Component", + "homepage": "https://symfony.com", + "time": "2018-05-14T16:49:53+00:00" + }, + { + "name": "symfony/filesystem", + "version": "v3.4.11", + "source": { + "type": "git", + "url": "https://github.com/symfony/filesystem.git", + "reference": "8e03ca3fa52a0f56b87506f38cf7bd3f9442b3a0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/8e03ca3fa52a0f56b87506f38cf7bd3f9442b3a0", + "reference": "8e03ca3fa52a0f56b87506f38cf7bd3f9442b3a0", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/polyfill-ctype": "~1.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.4-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Filesystem\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Filesystem Component", + "homepage": "https://symfony.com", + "time": "2018-05-16T08:49:21+00:00" + }, + { + "name": "symfony/finder", + "version": "v3.4.11", + "source": { + "type": "git", + "url": "https://github.com/symfony/finder.git", + "reference": "472a92f3df8b247b49ae364275fb32943b9656c6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/finder/zipball/472a92f3df8b247b49ae364275fb32943b9656c6", + "reference": "472a92f3df8b247b49ae364275fb32943b9656c6", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.4-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Finder Component", + "homepage": "https://symfony.com", + "time": "2018-05-16T08:49:21+00:00" + }, + { + "name": "symfony/polyfill-apcu", + "version": "v1.8.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-apcu.git", + "reference": "9b83bd010112ec196410849e840d9b9fefcb15ad" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-apcu/zipball/9b83bd010112ec196410849e840d9b9fefcb15ad", + "reference": "9b83bd010112ec196410849e840d9b9fefcb15ad", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.8-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Apcu\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting apcu_* functions to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "apcu", + "compatibility", + "polyfill", + "portable", + "shim" + ], + "time": "2018-04-26T10:06:28+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.8.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "7cc359f1b7b80fc25ed7796be7d96adc9b354bae" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/7cc359f1b7b80fc25ed7796be7d96adc9b354bae", + "reference": "7cc359f1b7b80fc25ed7796be7d96adc9b354bae", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.8-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + }, + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "time": "2018-04-30T19:57:29+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.8.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "3296adf6a6454a050679cde90f95350ad604b171" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/3296adf6a6454a050679cde90f95350ad604b171", + "reference": "3296adf6a6454a050679cde90f95350ad604b171", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.8-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "time": "2018-04-26T10:06:28+00:00" + }, + { + "name": "symfony/translation", + "version": "v2.8.41", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation.git", + "reference": "c6a27966a92fa361bf2c3a938abc6dee91f7ad67" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation/zipball/c6a27966a92fa361bf2c3a938abc6dee91f7ad67", + "reference": "c6a27966a92fa361bf2c3a938abc6dee91f7ad67", + "shasum": "" + }, + "require": { + "php": ">=5.3.9", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/config": "<2.7" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "~2.8", + "symfony/intl": "~2.7.25|^2.8.18|~3.2.5", + "symfony/yaml": "~2.2|~3.0.0" + }, + "suggest": { + "psr/log-implementation": "To use logging capability in translator", + "symfony/config": "", + "symfony/yaml": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.8-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Translation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Translation Component", + "homepage": "https://symfony.com", + "time": "2018-05-21T09:59:10+00:00" + }, + { + "name": "symfony/yaml", + "version": "v3.4.11", + "source": { + "type": "git", + "url": "https://github.com/symfony/yaml.git", + "reference": "c5010cc1692ce1fa328b1fb666961eb3d4a85bb0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/yaml/zipball/c5010cc1692ce1fa328b1fb666961eb3d4a85bb0", + "reference": "c5010cc1692ce1fa328b1fb666961eb3d4a85bb0", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/polyfill-ctype": "~1.8" + }, + "conflict": { + "symfony/console": "<3.4" + }, + "require-dev": { + "symfony/console": "~3.4|~4.0" + }, + "suggest": { + "symfony/console": "For validating YAML files using the lint command" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.4-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Yaml\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Yaml Component", + "homepage": "https://symfony.com", + "time": "2018-05-03T23:18:14+00:00" + } + ], + "packages-dev": [], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": [], + "platform-dev": [] +} diff --git a/css/GridFieldPageSectionsExtension.css b/css/GridFieldPageSectionsExtension.css old mode 100644 new mode 100755 diff --git a/examples/ImageElement.php_ b/examples/ImageElement.php_ old mode 100644 new mode 100755 diff --git a/examples/TextElement.php_ b/examples/TextElement.php_ old mode 100644 new mode 100755 diff --git a/javascript/GridFieldPageSectionsExtension.js b/javascript/GridFieldPageSectionsExtension.js old mode 100644 new mode 100755 diff --git a/resources/.htaccess b/resources/.htaccess new file mode 100644 index 0000000..ad0b01d --- /dev/null +++ b/resources/.htaccess @@ -0,0 +1,11 @@ +# Block .method file + + Order Allow,Deny + Deny from all + + +# Block 404s + + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule .* - [R=404,L] + diff --git a/resources/.method b/resources/.method new file mode 100644 index 0000000..4d18c3e --- /dev/null +++ b/resources/.method @@ -0,0 +1 @@ +auto \ No newline at end of file diff --git a/resources/silverstripe/framework/client/images b/resources/silverstripe/framework/client/images new file mode 120000 index 0000000..e06f810 --- /dev/null +++ b/resources/silverstripe/framework/client/images @@ -0,0 +1 @@ +../../../../vendor/silverstripe/framework/client/images \ No newline at end of file diff --git a/resources/silverstripe/framework/client/styles b/resources/silverstripe/framework/client/styles new file mode 120000 index 0000000..8ecbb77 --- /dev/null +++ b/resources/silverstripe/framework/client/styles @@ -0,0 +1 @@ +../../../../vendor/silverstripe/framework/client/styles \ No newline at end of file diff --git a/resources/silverstripe/framework/src/Dev/Install/client b/resources/silverstripe/framework/src/Dev/Install/client new file mode 120000 index 0000000..66216fe --- /dev/null +++ b/resources/silverstripe/framework/src/Dev/Install/client @@ -0,0 +1 @@ +../../../../../../vendor/silverstripe/framework/src/Dev/Install/client \ No newline at end of file diff --git a/resources/symbiote/silverstripe-gridfieldextensions/css b/resources/symbiote/silverstripe-gridfieldextensions/css new file mode 120000 index 0000000..0c11010 --- /dev/null +++ b/resources/symbiote/silverstripe-gridfieldextensions/css @@ -0,0 +1 @@ +../../../vendor/symbiote/silverstripe-gridfieldextensions/css \ No newline at end of file diff --git a/resources/symbiote/silverstripe-gridfieldextensions/javascript b/resources/symbiote/silverstripe-gridfieldextensions/javascript new file mode 120000 index 0000000..66f251e --- /dev/null +++ b/resources/symbiote/silverstripe-gridfieldextensions/javascript @@ -0,0 +1 @@ +../../../vendor/symbiote/silverstripe-gridfieldextensions/javascript \ No newline at end of file diff --git a/code/GridFieldPageSectionsExtension.php b/src/GridFieldPageSectionsExtension.php old mode 100644 new mode 100755 similarity index 91% rename from code/GridFieldPageSectionsExtension.php rename to src/GridFieldPageSectionsExtension.php index 1143f52..731e66a --- a/code/GridFieldPageSectionsExtension.php +++ b/src/GridFieldPageSectionsExtension.php @@ -1,6 +1,6 @@ "handleAdd", "POST remove" => "handleRemove", "POST delete" => "handleDelete", "POST reorder" => "handleReorder", "POST movetopage" => "handleMoveToPage" - ); + ]; } public static function getModuleDir() { @@ -77,7 +77,7 @@ public function getHTMLFragments($field) { $field->setAttribute("data-url-reorder", $field->Link("reorder")); $field->setAttribute("data-url-movetopage", $field->Link("movetopage")); - return array(); + return []; } public function augmentColumns($gridField, &$columns) { @@ -96,53 +96,53 @@ public function augmentColumns($gridField, &$columns) { // Insert grid state initial data $state = $gridField->getState(); if (!isset($state->open)) { - $state->open = array(); + $state->open = []; } } public function getColumnsHandled($gridField) { - return array( + return [ "Reorder", "TreeNav", "Actions", - ); + ]; } public function getColumnMetadata($gridField, $columnName) { - return array("title" => ""); + return ["title" => ""]; } public function getColumnAttributes($gridField, $record, $columnName) { // Handle reorder column if ($columnName == "Reorder") { - return array( + return [ "class" => "col-reorder", "data-sort" => $record->getField($this->getSortField()), - ); + ]; } // Handle tree nav column else if ($columnName == "TreeNav") { $classes = $record->getAllowedPageElements(); - $elems = array(); + $elems = []; foreach ($classes as $class) { $elems[$class] = $class::getSingularName(); } - return array( + return [ "class" => "col-treenav", "data-class" => $record->ClassName, "data-level" => strval($record->_Level), "data-parent" => $record->_Parent ? strval($record->_Parent->ID) : "", "data-allowed-elements" => json_encode($elems, JSON_UNESCAPED_UNICODE), - ); + ]; } // Handle the actions column else if ($columnName == "Actions") { - return array( + return [ "class" => "col-actions", - ); + ]; } } @@ -173,16 +173,16 @@ public function getColumnContent($gridField, $record, $columnName) { "TreeNavAction".$record->ID, null, "dotreenav", - array("element" => $record) + ["element" => $record] ); $field->addExtraClass("level".$level . ($open ? " is-open" : " is-closed")); $field->setButtonContent($icon); $field->setForm($gridField->getForm()); - return ViewableData::create()->customise(array( + return ViewableData::create()->customise([ "ButtonField" => $field, "Title" => $record->i18n_singular_name(), - ))->renderWith("GridFieldPageElement"); + ])->renderWith("GridFieldPageElement"); } else if ($columnName == "Actions") { @@ -200,7 +200,7 @@ public function getColumnContent($gridField, $record, $columnName) { } public function getActions($gridField) { - return array("dotreenav"); + return ["dotreenav"]; } public function handleAction(GridField $gridField, $actionName, $arguments, $data) { @@ -225,7 +225,7 @@ public function handleAction(GridField $gridField, $actionName, $arguments, $dat } private function isOpen($state, $element) { - $list = array(); + $list = []; $base = $element; while ($base) { $list[] = $base; @@ -245,7 +245,7 @@ private function isOpen($state, $element) { return true; } private function openElement($state, $element) { - $list = array(); + $list = []; $base = $element; while ($base) { $list[] = $base; @@ -257,14 +257,14 @@ private function openElement($state, $element) { $opens = $state->open; foreach ($list as $item) { if (!isset($opens->{$item->ID})) { - $opens->{$item->ID} = array(); + $opens->{$item->ID} = []; } $opens = $opens->{$item->ID}; } } private function closeElement($state, $element) { - $list = array(); + $list = []; $base = $element->_Parent; while ($base) { $list[] = $base; @@ -286,7 +286,7 @@ public function getManipulatedData(GridField $gridField, SS_List $dataList) { $state = $gridField->getState(true); $opens = $state->open; - $arr = array(); + $arr = []; foreach ($list as $item) { $item->_Level = 0; $item->_Open = false; @@ -352,7 +352,7 @@ public function handleReorder(GridField $gridField, HTTPRequest $request) { $num = $type == "before" ? -1 : 1; $sortBy = $this->getSortField(); - $sortArr = array($sortBy => $sort + $num); + $sortArr = [$sortBy => $sort + $num]; if ($type == "child") { if ($newParent) { diff --git a/code/PageElement.php b/src/PageElement.php old mode 100644 new mode 100755 similarity index 81% rename from code/PageElement.php rename to src/PageElement.php index 50bb9ce..e511efc --- a/code/PageElement.php +++ b/src/PageElement.php @@ -1,6 +1,6 @@ "Varchar(255)", - ); + ]; - private static $many_many = array( - "Children" => array( + private static $many_many = [ + "Children" => [ "through" => PageElementSelfRel::class, "from" => "Parent", "to" => "Child", - ) - ); + ] + ]; - private static $belongs_many_many = array( - "Parents" => PageElement::class . ".Children", - "Pages" => "Page.PageSectionMain", - ); + private static $belongs_many_many = [ + "Parents" => PageElement::class . ".Children" + ]; - private static $many_many_extraFields = array( - "Children" => array( + private static $many_many_extraFields = [ + "Children" => [ "SortOrder" => 'Int', - ), - ); + ], + ]; private static $owns = [ - "Children", - ]; + "Children", + ]; - private static $summary_fields = array( + private static $summary_fields = [ "SingularName", "ID", "GridFieldPreview", - ); + ]; - private static $searchable_fields = array( + private static $searchable_fields = [ "ClassName", "Name", "ID", - ); + ]; public static function getAllowedPageElements() { $classes = array_values(ClassInfo::subclassesFor(PageElement::class)); @@ -96,7 +96,7 @@ public static function getAllowedPageElements() { // $count = count($list); // for ($i = 1; $i <= $count; $i++) { - // $this->Children()->Add($list[$i - 1], array("SortOrder" => $i * 2)); + // $this->Children()->Add($list[$i - 1], ["SortOrder" => $i * 2]); // } // } @@ -128,7 +128,7 @@ public function getChildrenGridField() { ->addComponent($addNewButton) ->addComponent(new GridFieldPageSectionsExtension($this->owner)) ->addComponent(new GridFieldDetailForm()); - $dataColumns->setFieldCasting(array("GridFieldPreview" => "HTMLText->RAW")); + $dataColumns->setFieldCasting(["GridFieldPreview" => "HTMLText->RAW"]); return new GridField("Children", "Children", $this->Children(), $config); } @@ -151,7 +151,7 @@ public function getCMSFields() { } public function getParentIDs() { - $IDArr = array($this->ID); + $IDArr = [$this->ID]; foreach($this->Parents() as $parent) { $IDArr = array_merge($IDArr, $parent->getParentIDs()); } @@ -161,7 +161,7 @@ public function getParentIDs() { public function renderChildren($parents = null) { return $this->renderWith( "RenderChildren", - array("Elements" => $this->Children(), "ParentList" => strval($this->ID) . "," . $parents) + ["Elements" => $this->Children(), "ParentList" => strval($this->ID) . "," . $parents] ); } @@ -176,7 +176,7 @@ public function forTemplate($parentList = "") { return $this->renderWith( array_reverse($this->getClassAncestry()), - array("ParentList" => $parentList, "Parents" => $parents, "Page" => $page) + ["ParentList" => $parentList, "Parents" => $parents, "Page" => $page] ); } } diff --git a/code/PageElementSelfRel.php b/src/PageElementSelfRel.php similarity index 67% rename from code/PageElementSelfRel.php rename to src/PageElementSelfRel.php index b2c3755..f9300e9 100644 --- a/code/PageElementSelfRel.php +++ b/src/PageElementSelfRel.php @@ -1,12 +1,12 @@ "Int", diff --git a/code/PageSectionPageElementRel.php b/src/PageSectionPageElementRel.php similarity index 64% rename from code/PageSectionPageElementRel.php rename to src/PageSectionPageElementRel.php index d31e95f..7f1d590 100644 --- a/code/PageSectionPageElementRel.php +++ b/src/PageSectionPageElementRel.php @@ -1,22 +1,22 @@ "Int", - ); + ]; - private static $has_one = array( + private static $has_one = [ "PageSection" => "Page", "Element" => PageElement::class, - ); + ]; public function onBeforeWrite() { diff --git a/code/PageSectionsExtension.php b/src/PageSectionsExtension.php old mode 100644 new mode 100755 similarity index 84% rename from code/PageSectionsExtension.php rename to src/PageSectionsExtension.php index 81a5114..64bb297 --- a/code/PageSectionsExtension.php +++ b/src/PageSectionsExtension.php @@ -1,6 +1,6 @@ get($class, "page_sections", Config::EXCLUDE_EXTRA_SOURCES); - if (!$sections) $sections = array("Main"); + if (!$sections) $sections = ["Main"]; foreach ($sections as $section) { $name = "PageSection".$section; - // $many_many[$name] = PageElement::class; - $many_many[$name] = array( + $many_many[$name] = [ "through" => PageSectionPageElementRel::class, "from" => "PageSection", "to" => "Element", - ); + ]; $owns[] = $name; + $cascade_deletes[] = $name; } // Create the relations for our sections - return array( + return [ "many_many" => $many_many, "owns" => $owns, - ); + "cascade_deletes" => $cascade_deletes, + ]; } public static function getAllowedPageElements() { @@ -56,7 +60,7 @@ public static function getAllowedPageElements() { // parent::onBeforeWrite(); // $sections = $this->owner->config()->get("page_sections"); - // if (!$sections) $sections = array("Main"); + // if (!$sections) $sections = ["Main"]; // foreach ($sections as $section) { // $name = "PageSection".$section; @@ -66,14 +70,14 @@ public static function getAllowedPageElements() { // $count = count($list); // for ($i = 1; $i <= $count; $i++) { - // $this->owner->$name()->Add($list[$i - 1], array("SortOrder" => $i * 2)); + // $this->owner->$name()->Add($list[$i - 1], ["SortOrder" => $i * 2]); // } // } // } public function updateCMSFields(FieldList $fields) { $sections = $this->owner->config()->get("page_sections"); - if (!$sections) $sections = array("Main"); + if (!$sections) $sections = ["Main"]; foreach ($sections as $section) { $name = "PageSection".$section; @@ -95,7 +99,7 @@ public function updateCMSFields(FieldList $fields) { ->addComponent($addNewButton) ->addComponent(new GridFieldPageSectionsExtension($this->owner)) ->addComponent(new GridFieldDetailForm()); - $dataColumns->setFieldCasting(array("GridFieldPreview" => "HTMLText->RAW")); + $dataColumns->setFieldCasting(["GridFieldPreview" => "HTMLText->RAW"]); $f = new GridField($name, $section, $this->owner->$name(), $config); $fields->addFieldToTab("Root.PageSections", $f); @@ -107,7 +111,7 @@ public function RenderPageSection($name = "Main") { $elements = $this->owner->{"PageSection" . $name}()->Sort("SortOrder"); return $this->owner->renderWith( "RenderChildren", - array("Elements" => $elements, "ParentList" => strval($this->owner->ID)) + ["Elements" => $elements, "ParentList" => strval($this->owner->ID)] ); } } diff --git a/templates/FlxLabs/PageSections/PageElement.ss b/templates/FLXLabs/PageSections/PageElement.ss old mode 100644 new mode 100755 similarity index 100% rename from templates/FlxLabs/PageSections/PageElement.ss rename to templates/FLXLabs/PageSections/PageElement.ss diff --git a/templates/GridFieldDragHandle.ss b/templates/GridFieldDragHandle.ss old mode 100644 new mode 100755 diff --git a/templates/GridFieldPageElement.ss b/templates/GridFieldPageElement.ss old mode 100644 new mode 100755 diff --git a/templates/Layout/PageElement.ss b/templates/Layout/PageElement.ss old mode 100644 new mode 100755 diff --git a/templates/RenderChildren.ss b/templates/RenderChildren.ss old mode 100644 new mode 100755