├── .ruby-version ├── .ruby-gemset ├── public ├── web │ ├── app │ │ ├── plugins │ │ │ └── .gitkeep │ │ ├── themes │ │ │ └── .gitkeep │ │ ├── uploads │ │ │ └── .gitkeep │ │ └── mu-plugins │ │ │ └── bedrock-autoloader.php │ ├── index.php │ └── wp-config.php ├── wp-cli.yml ├── .gitattributes ├── CONTRIBUTING.md ├── config │ ├── environments │ │ ├── development.php │ │ ├── staging.php │ │ ├── qa.php │ │ └── production.php │ └── application.php ├── LICENSE.md ├── ruleset.xml ├── CHANGELOG.md ├── README.md ├── composer.json └── composer.lock ├── wp-cli.yml ├── .gitattributes ├── config ├── deploy │ ├── ssl │ │ ├── rooftopcms.io.dh.pem.gpg │ │ ├── rooftopcms.io.private.key.gpg │ │ ├── docs.demo.rooftopcms.io.key.gpg │ │ ├── rooftopcms.io.csr │ │ ├── rooftopcms.io.public.crt │ │ └── docs.demo.rooftopcms.io.crt │ ├── wordpress_config │ │ └── shared_strings.yml.gpg │ ├── templates │ │ └── rebuild_demo │ ├── demo.rb │ ├── qa.rb │ ├── dr.rb │ └── production.rb └── deploy.rb ├── .gitmodules ├── README.md ├── Capfile ├── Gemfile ├── .travis.yml ├── .env.example ├── switch-branch.sh ├── rooftop-qa-release.sh ├── rooftop-release-merge.sh ├── vvv-init.sh ├── .gitignore ├── provision └── vvv-nginx.conf ├── Gemfile.lock └── LICENSE /.ruby-version: -------------------------------------------------------------------------------- 1 | 2.2.3 -------------------------------------------------------------------------------- /.ruby-gemset: -------------------------------------------------------------------------------- 1 | rooftop -------------------------------------------------------------------------------- /public/web/app/plugins/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/web/app/themes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/web/app/uploads/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/wp-cli.yml: -------------------------------------------------------------------------------- 1 | path: web/wp 2 | -------------------------------------------------------------------------------- /wp-cli.yml: -------------------------------------------------------------------------------- 1 | path: public/web/wp 2 | -------------------------------------------------------------------------------- /public/.gitattributes: -------------------------------------------------------------------------------- 1 | composer.json merge=ours 2 | composer.lock merge=ours 3 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | public/composer.json merge=ours 2 | public/composer.lock merge=ours 3 | -------------------------------------------------------------------------------- /public/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please read [Contributing to Roots Projects](https://github.com/roots/guidelines/blob/master/CONTRIBUTING.md) 2 | -------------------------------------------------------------------------------- /config/deploy/ssl/rooftopcms.io.dh.pem.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rooftopcms/rooftop-cms/HEAD/config/deploy/ssl/rooftopcms.io.dh.pem.gpg -------------------------------------------------------------------------------- /config/deploy/ssl/rooftopcms.io.private.key.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rooftopcms/rooftop-cms/HEAD/config/deploy/ssl/rooftopcms.io.private.key.gpg -------------------------------------------------------------------------------- /config/deploy/ssl/docs.demo.rooftopcms.io.key.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rooftopcms/rooftop-cms/HEAD/config/deploy/ssl/docs.demo.rooftopcms.io.key.gpg -------------------------------------------------------------------------------- /public/web/index.php: -------------------------------------------------------------------------------- 1 | /.env && mysql -u $DB_USER -p$DB_PASSWORD --host $DB_HOST rooftop_demo < 2 | /root/rooftop_demo.sql -------------------------------------------------------------------------------- /public/config/environments/development.php: -------------------------------------------------------------------------------- 1 | 0.1', :github => 'ekho/capistrano-git-submodule-strategy' 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: php 3 | php: 4 | - nightly 5 | - 5.6 6 | - 5.5 7 | - 5.4 8 | 9 | matrix: 10 | allow_failures: 11 | - php: nightly 12 | 13 | before_install: 14 | - pyrus install pear/PHP_CodeSniffer 15 | - phpenv rehash 16 | 17 | script: 18 | - phpcs --standard=ruleset.xml --extensions=php --ignore=web/wp/,vendor/ -n -s . 19 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | DB_NAME=rooftop_cms 2 | DB_USER=rooftop_cms 3 | DB_PASSWORD=rooftop_cms 4 | DB_HOST=localhost 5 | DB_PREFIX=wp_ 6 | 7 | WP_ENV=development 8 | WP_URL=rooftop-cms.local 9 | DOMAIN_CURRENT_SITE=rooftop-cms.local 10 | WP_HOME=http://rooftop-cms.local 11 | WP_SITEURL=http://rooftop-cms.local 12 | 13 | REDIS_HOST=localhost 14 | REDIS_PORT=6379 15 | REDIS_DB=0 16 | 17 | ROLLBAR_ACCESS_TOKEN=secrettoken 18 | -------------------------------------------------------------------------------- /public/web/wp-config.php: -------------------------------------------------------------------------------- 1 | $token, 15 | 'environment' => getenv('WP_ENV'), 16 | // optional - path to directory your code is in. used for linking stack traces. 17 | 'root' => ABSPATH 18 | ); 19 | Rollbar::init($config); 20 | } 21 | -------------------------------------------------------------------------------- /rooftop-qa-release.sh: -------------------------------------------------------------------------------- 1 | # get the latest rooftop-cms from qa 2 | git checkout qa 3 | git pull 4 | 5 | current=`pwd` 6 | 7 | echo "Checking out qa repositories..." 8 | echo "" 9 | 10 | cd public/web/app/mu-plugins/ 11 | for dir in rooftop-*/; do echo $dir && cd $dir && git checkout qa && git pull && git merge development && git push ; cd .. ; done 12 | cd $current 13 | 14 | cd public/web/app/plugins/ 15 | for dir in rooftop-*/; do echo $dir && cd $dir && git checkout qa && git pull && git merge development && git push ; cd .. ; done 16 | cd $current 17 | 18 | cd public/web/app/themes/ 19 | for dir in rooftop-*/; do echo $dir && cd $dir && git checkout qa && git pull && git merge development && git push ; cd .. ; done 20 | cd $current 21 | 22 | -------------------------------------------------------------------------------- /rooftop-release-merge.sh: -------------------------------------------------------------------------------- 1 | # get the latest rooftop-cms from master 2 | git checkout master 3 | git pull 4 | 5 | current=`pwd` 6 | 7 | echo "Checking out master repositories..." 8 | echo "" 9 | 10 | cd public/web/app/mu-plugins/ 11 | for dir in rooftop-*/; do echo $dir && cd $dir && git checkout master && git pull && git merge qa && git push ; cd .. ; done 12 | cd $current 13 | 14 | cd public/web/app/plugins/ 15 | for dir in rooftop-*/; do echo $dir && cd $dir && git checkout master && git pull && git merge qa && git push ; cd .. ; done 16 | cd $current 17 | 18 | cd public/web/app/themes/ 19 | for dir in rooftop-*/; do echo $dir && cd $dir && git checkout master && git pull && git merge qa && git push ; cd .. ; done 20 | cd $current 21 | 22 | -------------------------------------------------------------------------------- /public/config/environments/production.php: -------------------------------------------------------------------------------- 1 | $token, 16 | 'environment' => getenv('WP_ENV'), 17 | // optional - path to directory your code is in. used for linking stack traces. 18 | 'root' => ABSPATH 19 | ); 20 | Rollbar::init($config); 21 | } 22 | -------------------------------------------------------------------------------- /vvv-init.sh: -------------------------------------------------------------------------------- 1 | if [ ! -f "public/.env" ]; then 2 | cp ./.env.example public/.env; 3 | fi 4 | 5 | source public/.env; 6 | 7 | if [ ! -d "web/wp/wp-admin" ]; then 8 | echo 'Configuring hosted wordpress CMS for vvv' 9 | cd ./public 10 | composer install 11 | echo "Creating database (if it's not already there)" 12 | mysql -u root --password=root -e "CREATE DATABASE IF NOT EXISTS $DB_NAME" 13 | mysql -u root --password=root -e "GRANT ALL PRIVILEGES ON $DB_NAME.* TO $DB_USER@'$DB_HOST' IDENTIFIED BY '$DB_PASSWORD';" 14 | wp core multisite-install --subdomains --url=$WP_URL --title="Hosted Wordpress" --admin_user=admin \ 15 | --admin_password=password --admin_email=hosting@errorstudio.co.uk --allow-root --path=public/web/wp 16 | # wp theme delete twentythirteen --allow-root; wp theme delete twentyfourteen --allow-root; wp theme delete twentyfifteen --allow-root; wp plugin delete hello --allow-root; wp plugin delete aksimet --allow-root; 17 | 18 | cd - 19 | 20 | fi 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Application 2 | 3 | !public/web/app/plugins/.gitkeep 4 | public/web/app/mu-plugins/* 5 | !public/web/app/mu-plugins/.gitkeep 6 | public/web/app/upgrade 7 | public/web/app/uploads/* 8 | !public/web/app/uploads/.gitkeep 9 | !public/web/app/mu-plugins/disallow-indexing.php 10 | !public/web/app/mu-plugins/rest-api 11 | !public/web/app/mu-plugins/register-theme-directory.php 12 | !public/web/app/mu-plugins/bedrock-autoloader.php 13 | public/web/app/languages 14 | 15 | # WordPress 16 | web/wp 17 | web/.htaccess 18 | 19 | # WP-CLI 20 | db-sync 21 | sql-dump-*.sql 22 | 23 | # Dotenv 24 | .env 25 | .env.* 26 | !.env.example 27 | 28 | # Vendor (e.g. Composer) 29 | vendor/* 30 | !vendor/.gitkeep 31 | 32 | # Node Package Manager 33 | node_modules 34 | 35 | # Vagrant 36 | bin 37 | .vagrant 38 | .idea 39 | public/vendor 40 | public/web/app/mu-plugins 41 | public/web/app/plugins 42 | public/web/app/themes 43 | public/web/wp 44 | psysh 45 | vvv-hosts 46 | 47 | public/composer-*.json 48 | 49 | -------------------------------------------------------------------------------- /public/LICENSE.md: -------------------------------------------------------------------------------- 1 | Copyright (c) Roots 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /config/deploy/ssl/rooftopcms.io.csr: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIC5jCCAc4CAQAwgaAxCzAJBgNVBAYTAkdCMRMwEQYDVQQIEwpNZXJzZXlzaWRl 3 | MRIwEAYDVQQHEwlMaXZlcnBvb2wxEjAQBgNVBAoTCUVycm9yIEx0ZDEQMA4GA1UE 4 | CxMHSG9zdGluZzEYMBYGA1UEAxQPKi5yb29mdG9wY21zLmlvMSgwJgYJKoZIhvcN 5 | AQkBFhlob3N0aW5nQGVycm9yc3R1ZGlvLmNvLnVrMIIBIjANBgkqhkiG9w0BAQEF 6 | AAOCAQ8AMIIBCgKCAQEA2XB9iGzSAcDnhrYY7pWWWjivGbW9Fu1IxjuGRl5EoBPW 7 | mkb7ZoCiASfkM64XprqNZt9qesowK2QXQMj6R9pQIZsUX1h2ssqYgh7+L1Sb9+I/ 8 | OAoQEoORmXj2guIhQqNZ7SQE6kdu7AMFCKCKylgMkGuZqRTis55gZ6RP3LLp4tVe 9 | 6I0x20WrnLTMrwi2X+SUUsfGBtC1AHyTBHp0HiUnZ8ewya91J2IH4sAoB1JksFC1 10 | HqzT4ZFPbXPw9/r0hRWvKfOHb6YKQRVWDaoJKF8AdKD6yIgril/PPlS826NyIwXk 11 | hyS3Fg+CF5kvptMAWjAJTctRf41tY2NfW2kxOi0AHwIDAQABoAAwDQYJKoZIhvcN 12 | AQELBQADggEBALtds6euyDyi+QC5CWe6jL0pE/8YMDydFDszIJdGJIEUojaNHBAV 13 | 7h1HvaVQbxs3iKCny9opL7ro8+8aEJRQTAVkDEKjSG1Kc1T7SE3RBrs8LMnFfOaB 14 | sw3fLOjYKJmir+R3T43NJc1V2PSoUMolcilriYrVlEYJ5iI69j463yaEGRcCJm+o 15 | OeHbTM3QmOQ47DjCOVZUo2O5DL9aSToCbOxDewTT5eEuNLb4rHzQaXrVajz+Ju4j 16 | kkPxB3pOQnWVOd6vaGmqryx2tljMwhBa4z4fmXAg5iLIiRo8LmsAGdqo3VtwYzCY 17 | l3wwOlS0pDEaWcvPInrJ57h+EIaD7MH9cKM= 18 | -----END CERTIFICATE REQUEST----- 19 | -------------------------------------------------------------------------------- /provision/vvv-nginx.conf: -------------------------------------------------------------------------------- 1 | server { 2 | # Listen at port 80 for HTTP requests 3 | listen 80; 4 | # Listen at port 443 for secure HTTPS requests 5 | listen 443 ssl; 6 | # The domain name(s) that the site should answer 7 | # for. You can use a wildcard here, e.g. 8 | # *.example.com for a subdomain multisite. 9 | server_name rooftop.test ~.*\.rooftop\.test; 10 | 11 | # The folder containing your site files. 12 | # The {vvv_path_to_folder} token gets replaced 13 | # with the folder containing this, e.g. if this 14 | # folder is /srv/www/foo/ and you have a root 15 | # value of `{vvv_path_to_folder}/htdocs` this 16 | # will be auto-magically transformed to 17 | # `/srv/www/foo/htdocs`. 18 | root /srv/www/rooftop-cms/public/web/wp; 19 | 20 | # since the wordpress root is at /wp and 'app/' is a sibling, we need to alias that path 21 | location /app { 22 | alias /srv/www/rooftop-cms/public/web/app/; 23 | } 24 | 25 | 26 | # A handy set of common Nginx configuration commands 27 | # for WordPress, maintained by the VVV project. 28 | include /etc/nginx/nginx-wp-common.conf; 29 | } 30 | -------------------------------------------------------------------------------- /public/ruleset.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Roots Coding Standards 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- 1 | GIT 2 | remote: git://github.com/ekho/capistrano-git-submodule-strategy.git 3 | revision: 559f6b08992027b2380a54b1b4b4cf55a3f10680 4 | specs: 5 | capistrano-git-submodule-strategy (0.1.23) 6 | capistrano (>= 3.1.0, < 3.7) 7 | 8 | GIT 9 | remote: git@bitbucket.org:errorstudio/errorstudio_capistrano_recipes.git 10 | revision: 1686dd4acd90efafa66a6038b390c48e2055618a 11 | specs: 12 | errorstudio_capistrano_recipes (0.1.8) 13 | capistrano (~> 3.4.0) 14 | capistrano-bundler 15 | capistrano-composer (>= 0.0.6) 16 | capistrano-passenger 17 | capistrano-rails 18 | rvm1-capistrano3 19 | 20 | GEM 21 | remote: https://rubygems.org/ 22 | specs: 23 | capistrano (3.4.1) 24 | i18n 25 | rake (>= 10.0.0) 26 | sshkit (~> 1.3) 27 | capistrano-bundler (1.2.0) 28 | capistrano (~> 3.1) 29 | sshkit (~> 1.2) 30 | capistrano-composer (0.0.6) 31 | capistrano (>= 3.0.0.pre) 32 | capistrano-passenger (0.2.0) 33 | capistrano (~> 3.0) 34 | capistrano-rails (1.3.0) 35 | capistrano (~> 3.1) 36 | capistrano-bundler (~> 1.1) 37 | i18n (0.8.6) 38 | net-scp (1.2.1) 39 | net-ssh (>= 2.6.5) 40 | net-ssh (4.2.0) 41 | rake (12.0.0) 42 | rvm1-capistrano3 (1.4.0) 43 | capistrano (~> 3.0) 44 | sshkit (>= 1.2) 45 | sshkit (1.14.0) 46 | net-scp (>= 1.1.2) 47 | net-ssh (>= 2.8.0) 48 | 49 | PLATFORMS 50 | ruby 51 | 52 | DEPENDENCIES 53 | capistrano-git-submodule-strategy (~> 0.1)! 54 | errorstudio_capistrano_recipes! 55 | 56 | BUNDLED WITH 57 | 1.14.2 58 | -------------------------------------------------------------------------------- /config/deploy/ssl/rooftopcms.io.public.crt: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIEnDCCA4SgAwIBAgIUPOcYjSkfWOXds2A7xhLEofI56wwwDQYJKoZIhvcNAQEL 3 | BQAwgYsxCzAJBgNVBAYTAlVTMRkwFwYDVQQKExBDbG91ZEZsYXJlLCBJbmMuMTQw 4 | MgYDVQQLEytDbG91ZEZsYXJlIE9yaWdpbiBTU0wgQ2VydGlmaWNhdGUgQXV0aG9y 5 | aXR5MRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRMwEQYDVQQIEwpDYWxpZm9ybmlh 6 | MB4XDTE2MDkwNzE5MTYwMFoXDTMxMDkwNDE5MTYwMFowYjEZMBcGA1UEChMQQ2xv 7 | dWRGbGFyZSwgSW5jLjEdMBsGA1UECxMUQ2xvdWRGbGFyZSBPcmlnaW4gQ0ExJjAk 8 | BgNVBAMTHUNsb3VkRmxhcmUgT3JpZ2luIENlcnRpZmljYXRlMIIBIjANBgkqhkiG 9 | 9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2o6EFETf+Yzd3gYa8+UFcyeU6lJc99z0u3Nz 10 | Y6Zqz7UQJe2dlv8JtXxoMRVfnFxmEzfmmXTejVK3RWm7HSQjGGbzkOtHuWvQ3fYe 11 | 1B8Uxu9ixpJyUOBCJMGZ0c75hcJSRcUuI4LwXPdY1KKC/rCac9GpXB1j4boaob7j 12 | etsXh+pSI7v2/lQNTVQF1K1iblS3kxasR75GOiqpBrC0HJYibBkjt1pA3cu29KrC 13 | LIY04Rt32dff+IO6+QXboiWMySw44TcXvfiq8FqFnC4Poup3mAdlvnfm0r4ZljX1 14 | YiR92wfbZCalUKroyt50ZdoRpAd64Uj7jSZTnPiSqUFqFQOw6QIDAQABo4IBHjCC 15 | ARowDgYDVR0PAQH/BAQDAgWgMBMGA1UdJQQMMAoGCCsGAQUFBwMBMAwGA1UdEwEB 16 | /wQCMAAwHQYDVR0OBBYEFKgf+6iTXB+qMbersU0c5DCYOK+VMB8GA1UdIwQYMBaA 17 | FCToU1ddfDRAh6nrlNu64RZ4/CmkMEAGCCsGAQUFBwEBBDQwMjAwBggrBgEFBQcw 18 | AYYkaHR0cDovL29jc3AuY2xvdWRmbGFyZS5jb20vb3JpZ2luX2NhMCkGA1UdEQQi 19 | MCCCDyoucm9vZnRvcGNtcy5pb4INcm9vZnRvcGNtcy5pbzA4BgNVHR8EMTAvMC2g 20 | K6AphidodHRwOi8vY3JsLmNsb3VkZmxhcmUuY29tL29yaWdpbl9jYS5jcmwwDQYJ 21 | KoZIhvcNAQELBQADggEBABF2zpKy5M6+SYYkZmy5yCsuq+9DESciEwkNcAvIAPuP 22 | EYQ/cCVpm7W6Kn2Q7h6ieje7ak4MwReEQNLmOFcWugFnYXYUM4x0iHCer18yd/aU 23 | g1T4BBakQUv4f22LhB3e9367IM4GSq+FZr4YWbswJvFn+wdXvLxQimCwLkOex7Q1 24 | tOHvMCnuUL8GSncvRdbfhtGAaZRGB+OgWCFFyUx58zaJnK0n8e3kHXhWWNQJP1sc 25 | SDnDpHMqPAgSaIAP6Quuz/WPbVXR0SVgxeExQIjcrAC+rnhxPWvAeLGYRU2lksLx 26 | kZiFyryJJQZwZQyptBRCNiWCSJ6jnFU10LQtBSEvhjI= 27 | -----END CERTIFICATE----- -------------------------------------------------------------------------------- /config/deploy/demo.rb: -------------------------------------------------------------------------------- 1 | # Server configuration. For a simple site this is just one entry. 2 | role :app, [ 3 | "deployment@rooftop-demo.vm.errorstudio.com" 4 | ] 5 | 6 | role :web, [ 7 | "deployment@rooftop-demo.vm.errorstudio.com" 8 | ] 9 | 10 | role :db, %w{deployment@rooftop-demo.vm.errorstudio.com} 11 | 12 | # Git branch 13 | set :branch, 'master' 14 | 15 | #the base domain for this site - is appended to the primary domain for a prelaunch url 16 | set :base_domain, "prelaunch.errorstudio.com" 17 | 18 | # the prelaunch domain 19 | set :prelaunch_domain, ->{"#{fetch(:primary_domain)}.#{fetch(:base_domain)}"} 20 | 21 | # set the deploy domain to the prelaunch domain 22 | set :deploy_domain, 'demo.rooftopcms.io' 23 | 24 | #redirects domains to the primary domain as a 301 25 | set :domain_redirects, %w() 26 | 27 | #domains which this site will answer to (i.e. not redirect) 28 | set :site_domains, [fetch(:deploy_domain), "~^.*\.demo\.rooftopcms\.io"] 29 | 30 | #rewrites in nginx format - useful for specifying hard-coded urls for redirection after launch 31 | set :url_rewrites, {} 32 | 33 | # Wordpress settings 34 | set :db_host, `source public/.env.qa; echo $DB_HOST`.strip 35 | set :db_prefix, `source public/.env.qa; echo $DB_PREFIX`.strip 36 | 37 | #SSL settings 38 | set :ssl_required, true 39 | set :ssl_dir, File.join(File.dirname(__FILE__),"ssl") 40 | set :ssl_cert, "docs.demo.rooftopcms.io.crt" 41 | set :ssl_key, "docs.demo.rooftopcms.io.key.gpg" #this should be a gpg-encrypted key 42 | set :ssl_dh, "rooftopcms.io.dh.pem.gpg" #this should be a gpg-encrypted key 43 | #set :force_ssl, true #redirect all non-ssl requests to ssl 44 | 45 | # Custom env vars for Rooftop 46 | set :custom_env_vars, { 47 | "REDIS_HOST" => `source public/.env.qa; echo $REDIS_HOST`.strip, 48 | "REDIS_PORT" => `source public/.env.qa; echo $REDIS_PORT`.strip, 49 | "REDIS_DB" => `source public/.env.qa; echo $REDIS_DB`.strip, 50 | } 51 | 52 | set :cron_scripts, {d: [File.join(File.expand_path(File.dirname(__FILE__)), "templates", "rebuild_demo")]} 53 | -------------------------------------------------------------------------------- /config/deploy/qa.rb: -------------------------------------------------------------------------------- 1 | # Server configuration. For a simple site this is just one entry. 2 | role :app, [ 3 | "deployment@rooftop-qa.vm.errorstudio.com" 4 | ] 5 | 6 | role :web, [ 7 | "deployment@rooftop-qa.vm.errorstudio.com" 8 | ] 9 | 10 | role :db, %w{deployment@rooftop-qa.vm.errorstudio.com} 11 | 12 | # Git branch 13 | set :branch, 'qa' 14 | 15 | #the base domain for this site - is appended to the primary domain for a prelaunch url 16 | set :base_domain, "prelaunch.errorstudio.com" 17 | 18 | # the prelaunch domain 19 | set :prelaunch_domain, ->{"#{fetch(:primary_domain)}.#{fetch(:base_domain)}"} 20 | 21 | # set the deploy domain to the prelaunch domain 22 | set :deploy_domain, 'qa.rooftopcms.io' 23 | 24 | #redirects domains to the primary domain as a 301 25 | set :domain_redirects, %w() 26 | 27 | #domains which this site will answer to (i.e. not redirect) 28 | set :site_domains, [fetch(:deploy_domain), "~^.*\.qa\.rooftopcms\.io"] 29 | 30 | #rewrites in nginx format - useful for specifying hard-coded urls for redirection after launch 31 | set :url_rewrites, {} 32 | 33 | # Wordpress settings 34 | set :db_host, `source public/.env.qa; echo $DB_HOST`.strip 35 | set :db_prefix, `source public/.env.qa; echo $DB_PREFIX`.strip 36 | 37 | # Custom env vars for Rooftop 38 | set :custom_env_vars, { 39 | "REDIS_HOST" => `source public/.env.qa; echo $REDIS_HOST`.strip, 40 | "REDIS_PORT" => `source public/.env.qa; echo $REDIS_PORT`.strip, 41 | "REDIS_DB" => `source public/.env.qa; echo $REDIS_DB`.strip, 42 | } 43 | 44 | # Custom settings for nginx 45 | http_context = <<-CONTEXT 46 | set_real_ip_from 10.0.0.0/8; 47 | add_header X-Rooftop-Backend $hostname; 48 | CONTEXT 49 | set :nginx_custom_http_context, http_context 50 | 51 | set :nginx_custom_server_context, "client_max_body_size 256M;" 52 | 53 | namespace :wordpress do 54 | namespace :db do 55 | desc "Copy secrets for Wordpress from an encrypted file" 56 | task :configure_secrets do 57 | on roles :app do 58 | unless test("[ -f #{shared_path}/.env ]") 59 | set :gpg_phrase, ask("GPG passphrase for the encrypted secrets:",nil) 60 | yaml = `echo #{fetch(:gpg_phrase)} | gpg -d -q --batch --passphrase-fd 0 --no-mdc-warning #{File.join(File.dirname(__FILE__),"wordpress_config","shared_strings.yml.gpg")}` 61 | strings = YAML.load(yaml) 62 | strings.each do |k,v| 63 | set k.to_sym, v 64 | end 65 | end 66 | end 67 | 68 | end 69 | end 70 | end 71 | before 'wordpress:db:create_config', 'wordpress:db:configure_secrets' 72 | -------------------------------------------------------------------------------- /config/deploy.rb: -------------------------------------------------------------------------------- 1 | # Basic details 2 | set :application, 'rooftop' 3 | set :repo_url, 'ssh://git@github.com/rooftopcms/rooftop-cms' 4 | set :primary_domain, "rooftopcms.io" 5 | 6 | # The folder which will be the http root in nginx 7 | set :http_root, "/current/public/web/wp" 8 | 9 | # Peculiar to bedrock, the uploads folder is in a non-standard place. 10 | # You don't need to set this for normal wordpress. 11 | set :uploads_folder, 'public/web/app/uploads' 12 | 13 | # Custom nginx rules for bedrock 14 | set :custom_nginx_rules, [ 15 | ] 16 | 17 | # Custom nginx aliases 18 | set :custom_nginx_aliases, ->{ 19 | { 20 | "/app" => "#{current_path}/public/web/app;" 21 | } 22 | } 23 | 24 | #development settings 25 | set :local_domain, "rooftop-cms.local" 26 | set :local_db_username, "root" 27 | set :local_db_password, "root" 28 | set :local_db_server, "vvv.local" 29 | set :local_db_server_port, 3306 30 | set :local_db_name, "rooftop_cms" 31 | 32 | #CORS required 33 | set :include_nginx_cors, true 34 | 35 | #Don't include HSTS - we front this with cloudflare which does add the header if we want 36 | set :include_nginx_hsts, false 37 | set :include_nginx_hpkp, false 38 | 39 | # Include submodules. This requires the capistrano-git-submodule-strategy gem. 40 | set :git_strategy, Capistrano::Git::SubmoduleStrategy 41 | 42 | namespace :php do 43 | task :reload do 44 | on roles(:web) do 45 | execute "sudo invoke-rc.d php5-fpm restart" 46 | end 47 | end 48 | end 49 | 50 | namespace :deploy do 51 | desc "Deploy master to the DR environment" 52 | task :dr do 53 | system("cap dr deploy") 54 | end 55 | end 56 | 57 | after "deploy:finished", "php:reload" 58 | 59 | namespace :composer do 60 | desc "Move composer.json files into place" 61 | task "build" do 62 | branch = `git rev-parse --abbrev-ref HEAD`.strip 63 | move_files_cmd = "mv public/composer.json public/composer.json.deploying-#{branch} && cp public/composer-#{branch}.json public/composer.json" 64 | restore_files_cmd = "rm -f public/composer.json && mv public/composer.json.deploying-#{branch} public/composer.json" 65 | composer_update_cmd = "cd public && composer update && cd .." 66 | 67 | puts "\tMoving current composer to composer.json.deploying-#{branch} and using composer-#{branch}.json" if moved_files = system(move_files_cmd) 68 | puts "\tUpdated composer build" if composer_updated = system(composer_update_cmd) 69 | puts "\tRestoring composer.json from composer.json.deploying-#{branch}" if restored_files = system(restore_files_cmd) 70 | 71 | if moved_files && restored_files && composer_updated 72 | system("git commit -a -m 'updated composer build' && git push") 73 | else 74 | puts "\n\tPlease check files were moved (#{moved_files}), restored (#{restored_files}), or composer updated (#{composer_updated})" 75 | end 76 | end 77 | end 78 | 79 | before "deploy", "composer:build" 80 | -------------------------------------------------------------------------------- /config/deploy/dr.rb: -------------------------------------------------------------------------------- 1 | # Server configuration. For a simple site this is just one entry. 2 | role :app, [ 3 | "deployment@rooftop-dr01.hosts.errorstudio.com" 4 | ] 5 | 6 | role :web, [ 7 | "deployment@rooftop-dr01.hosts.errorstudio.com" 8 | ] 9 | 10 | role :db, %w{deployment@rooftop-dr01.hosts.errorstudio.com} 11 | 12 | # Git branch 13 | set :branch, 'master' 14 | 15 | #the base domain for this site - is appended to the primary domain for a prelaunch url 16 | set :base_domain, "prelaunch.errorstudio.com" 17 | 18 | # the prelaunch domain 19 | set :prelaunch_domain, ->{"#{fetch(:primary_domain)}.#{fetch(:base_domain)}"} 20 | 21 | # set the deploy domain to the prelaunch domain 22 | set :deploy_domain, fetch(:primary_domain) 23 | 24 | #redirects domains to the primary domain as a 301 25 | set :domain_redirects, %w(~.*\.rooftopcms\.com) 26 | 27 | #domains which this site will answer to (i.e. not redirect) 28 | set :site_domains, [fetch(:deploy_domain), "~^.*\.rooftopcms\.io"] 29 | 30 | #rewrites in nginx format - useful for specifying hard-coded urls for redirection after launch 31 | set :url_rewrites, {} 32 | 33 | #SSL settings 34 | set :ssl_required, true 35 | set :ssl_dir, File.join(File.dirname(__FILE__),"ssl") 36 | set :ssl_cert, "rooftopcms.io.public.crt" 37 | set :ssl_key, "rooftopcms.io.private.key.gpg" #this should be a gpg-encrypted key 38 | set :ssl_dh, "rooftopcms.io.dh.pem.gpg" #this should be a gpg-encrypted key 39 | #set :force_ssl, true #redirect all non-ssl requests to ssl 40 | 41 | #http basic auth 42 | set :basic_auth_required, false 43 | set :basic_auth_username, 'testing' 44 | set :basic_auth_password, 'testing' 45 | 46 | # Wordpress settings 47 | set :db_suffix, "production" 48 | set :db_host, "localhost" 49 | set :db_prefix, `source public/.env.dr; echo $DB_PREFIX`.strip 50 | 51 | # Custom env vars for Rooftop 52 | set :custom_env_vars, { 53 | "REDIS_HOST" => `source public/.env.dr; echo $REDIS_HOST`.strip, 54 | "REDIS_PORT" => `source public/.env.dr; echo $REDIS_PORT`.strip, 55 | "REDIS_DB" => `source public/.env.dr; echo $REDIS_DB`.strip, 56 | "CLOUDFLARE_EMAIL" => `source public/.env.dr; echo $CLOUDFLARE_EMAIL`.strip, 57 | "CLOUDFLARE_API_KEY" => `source public/.env.dr; echo $CLOUDFLARE_API_KEY`.strip, 58 | "CLOUDFLARE_DOMAIN_ZONE" => `source public/.env.dr; echo $CLOUDFLARE_DOMAIN_ZONE`.strip, 59 | "CLOUDFLARE_CDN_DOMAIN_ZONE" => `source public/.env.dr; echo $CLOUDFLARE_CDN_DOMAIN_ZONE`.strip 60 | } 61 | 62 | set :log_formats, { 63 | "with_subdomain_and_time" => '$remote_addr [$time_local] $host $request $status $body_bytes_sent $http_user_agent $request_time $upstream_response_time' 64 | } 65 | 66 | set :access_log, "syslog:server=unix:/dev/log,facility=local7,tag=nginx,nohostname with_subdomain_and_time" 67 | set :error_log, "syslog:server=unix:/dev/log,facility=local7,tag=nginx,severity=error,nohostname" 68 | 69 | set :custom_nginx_rules, [ 70 | "if ($request_method !~ ^(GET|OPTIONS)$) { return 403; }" 71 | ] 72 | -------------------------------------------------------------------------------- /public/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ### 1.4.3: 2015-08-04 2 | 3 | * Update to WordPress 4.2.4 4 | 5 | ### 1.4.2: 2015-07-24 6 | 7 | * Update to WordPress 4.2.3 8 | 9 | ### 1.4.1: 2015-06-30 10 | 11 | * Dotenv 2.0.1 update 12 | 13 | ### 1.4.0: 2015-06-07 14 | 15 | * Removed .env generation script 16 | 17 | ### 1.3.7: 2015-05-07 18 | 19 | * Update to WordPress 4.2.2 20 | 21 | ### 1.3.6: 2015-04-27 22 | 23 | * Update to WordPress 4.2.1 24 | 25 | ### 1.3.5: 2015-04-23 26 | 27 | * Update to WordPress 4.2 28 | * Update to WordPress 4.1.2 29 | * Don't register theme directory if `WP_DEFAULT_THEME` is defined 30 | * Move Capistrano configs to https://github.com/roots/bedrock-capistrano 31 | 32 | ### 1.3.4: 2015-02-18 33 | 34 | * WordPress 4.1.1 fix 35 | 36 | ### 1.3.3: 2015-02-18 37 | 38 | * Update to WordPress 4.1.1 39 | * mu-plugins autoloader Multisite fix 40 | * Coding standards update + TravisCI integration 41 | 42 | ### 1.3.2: 2014-12-18 43 | 44 | * Update to WordPress 4.1 45 | * Remove WPLANG constant 46 | 47 | ### 1.3.1: 2014-11-28 48 | 49 | * Add Capistrano task to fix/update WP theme paths after deploys 50 | 51 | ### 1.3.0: 2014-11-20 52 | 53 | * Update to WordPress 4.0.1 54 | * Use johnpbloch/wordpress package instead of custom repository 55 | * Update default deploy.rb 56 | * Require PHP >= 5.4 in composer.json 57 | * Better PSR-1 adherence 58 | * Update phpdotenv dependency to 1.0.9 59 | * Fix Composer installer path plugin order 60 | * Add bedrock-autoloader mu-plugin 61 | 62 | ### 1.2.7: 2014-09-04 63 | 64 | * Update to WordPress 4.0 65 | 66 | ### 1.2.6: 2014-08-06 67 | 68 | * Update to WordPress 3.9.2 69 | * Minor deploy fix 70 | * Doc updates 71 | 72 | ### 1.2.5: 2014-07-16 73 | 74 | * Update to WordPress 3.9.1 75 | * Doc updates 76 | * Add `DB_PREFIX` constant 77 | * Update Gem versions 78 | * Disallow indexing in non-production environments 79 | 80 | ### 1.2.4: 2014-04-17 81 | 82 | * Fixes issue with 3.9 update (`composer.lock` wasn't updated) 83 | 84 | ### 1.2.3: 2014-04-16 85 | 86 | * Update to WordPress 3.9 87 | 88 | ### 1.2.2: 2014-04-14 89 | 90 | * Update to WordPress 3.8.3 91 | * Only run `Dotenv::load` if `.env` file exists 92 | 93 | ### 1.2.1: 2014-04-08 94 | 95 | * Update to WordPress 3.8.2 96 | 97 | ### 1.2.0: 2014-04-07 98 | 99 | * WP package now has `wordpress` vendor name: `wordpress/wordpress` 100 | * Remove wp-cli and add `wp-cli.yml` config 101 | 102 | ### 1.1.1: 2014-03-11 103 | 104 | * Update phpdotenv to 1.0.6 105 | * Update wp-cli to v0.14.1 106 | * Update README to refence new WordPress Packagist namespaces 107 | * Fix uploads path in `linked_dirs` for Capistrano deploys 108 | 109 | ### 1.1.0: 2014-03-01 110 | 111 | * Update to Capistrano 3.1.0: `deploy:restart` is no longer run by default 112 | * Better webroot structure: introduces the `/web` directory as the document/web root for web server vhosts 113 | 114 | ### 1.0.0: 2013-12-18 115 | 116 | * Initial release 117 | -------------------------------------------------------------------------------- /public/config/application.php: -------------------------------------------------------------------------------- 1 | load(); 11 | $dotenv->required( ['DB_NAME', 12 | 'DB_USER', 13 | 'DB_PASSWORD', 14 | 'WP_HOME', 15 | 'WP_SITEURL', 16 | 'REDIS_HOST', 17 | 'REDIS_PORT', 18 | 'REDIS_DB' 19 | ] ); 20 | } 21 | 22 | /** 23 | * Bootstrap WordPress 24 | */ 25 | if (!defined('ABSPATH')) { 26 | define('ABSPATH', $webroot_dir . '/wp/'); 27 | } 28 | 29 | /** 30 | * Set up our global environment constant and load its config first 31 | * Default: development 32 | */ 33 | define('WP_ENV', getenv('WP_ENV') ?: 'development'); 34 | 35 | $env_config = __DIR__ . '/environments/' . WP_ENV . '.php'; 36 | 37 | if (file_exists($env_config)) { 38 | require_once $env_config; 39 | } 40 | 41 | /** 42 | * URLs 43 | */ 44 | define('WP_HOME', getenv('WP_HOME')); 45 | define('WP_SITEURL', getenv('WP_SITEURL')); 46 | 47 | /** 48 | * Custom Content Directory 49 | */ 50 | define('CONTENT_DIR', '/app'); 51 | define('WP_CONTENT_DIR', $webroot_dir . CONTENT_DIR); 52 | define('WP_CONTENT_URL', WP_HOME . CONTENT_DIR); 53 | 54 | /** 55 | * DB settings 56 | */ 57 | define('DB_NAME', getenv('DB_NAME')); 58 | define('DB_USER', getenv('DB_USER')); 59 | define('DB_PASSWORD', getenv('DB_PASSWORD')); 60 | define('DB_HOST', getenv('DB_HOST') ?: 'localhost'); 61 | define('DB_CHARSET', 'utf8'); 62 | define('DB_COLLATE', ''); 63 | $table_prefix = getenv('DB_PREFIX') ?: 'wp_'; 64 | 65 | /** 66 | * Authentication Unique Keys and Salts 67 | */ 68 | define('AUTH_KEY', getenv('AUTH_KEY')); 69 | define('SECURE_AUTH_KEY', getenv('SECURE_AUTH_KEY')); 70 | define('LOGGED_IN_KEY', getenv('LOGGED_IN_KEY')); 71 | define('NONCE_KEY', getenv('NONCE_KEY')); 72 | define('AUTH_SALT', getenv('AUTH_SALT')); 73 | define('SECURE_AUTH_SALT', getenv('SECURE_AUTH_SALT')); 74 | define('LOGGED_IN_SALT', getenv('LOGGED_IN_SALT')); 75 | define('NONCE_SALT', getenv('NONCE_SALT')); 76 | 77 | /** 78 | * Custom Settings 79 | */ 80 | define('AUTOMATIC_UPDATER_DISABLED', true); 81 | define('DISABLE_WP_CRON', true); 82 | define('DISALLOW_FILE_EDIT', true); 83 | 84 | // Allow multisite 85 | define( 'WP_ALLOW_MULTISITE', true ); 86 | define('MULTISITE', true); 87 | define('SUBDOMAIN_INSTALL', true); 88 | define('DOMAIN_CURRENT_SITE', getenv('DOMAIN_CURRENT_SITE')); 89 | define('PATH_CURRENT_SITE', '/'); 90 | $base = "/"; 91 | define('SITE_ID_CURRENT_SITE', 1); 92 | define('BLOG_ID_CURRENT_SITE', 1); 93 | 94 | /** 95 | * Redis settings 96 | */ 97 | 98 | define('REDIS_HOST', getenv('REDIS_HOST')); 99 | define('REDIS_PORT', getenv('REDIS_PORT')); 100 | define('REDIS_DB', getenv('REDIS_DB')); 101 | define('REDIS_PASSWORD', getenv('REDIS_PASSWORD')); 102 | -------------------------------------------------------------------------------- /public/README.md: -------------------------------------------------------------------------------- 1 | # [Bedrock](https://roots.io/bedrock/) 2 | [![Build Status](https://travis-ci.org/roots/bedrock.svg)](https://travis-ci.org/roots/bedrock) 3 | 4 | Bedrock is a modern WordPress stack that helps you get started with the best development tools and project structure. 5 | 6 | Much of the philosophy behind Bedrock is inspired by the [Twelve-Factor App](http://12factor.net/) methodology including the [WordPress specific version](https://roots.io/twelve-factor-wordpress/). 7 | 8 | ## Features 9 | 10 | * Better folder structure 11 | * Dependency management with [Composer](http://getcomposer.org) 12 | * Easy WordPress configuration with environment specific files 13 | * Environment variables with [Dotenv](https://github.com/vlucas/phpdotenv) 14 | * Autoloader for mu-plugins (use regular plugins as mu-plugins) 15 | 16 | Use [Trellis](https://github.com/roots/trellis) for additional features: 17 | 18 | * Easy development environments with [Vagrant](http://www.vagrantup.com/) 19 | * Easy server provisioning with [Ansible](http://www.ansible.com/) (Ubuntu 14.04, PHP 5.6 or HHVM, MariaDB) 20 | * One-command deploys 21 | 22 | ## Requirements 23 | 24 | * PHP >= 5.4 25 | * Composer - [Install](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx) 26 | 27 | ## Installation 28 | 29 | 1. Clone the git repo - `git clone https://github.com/roots/bedrock.git` 30 | 2. Run `composer install` 31 | 3. Copy `.env.example` to `.env` and update environment variables: 32 | * `DB_NAME` - Database name 33 | * `DB_USER` - Database user 34 | * `DB_PASSWORD` - Database password 35 | * `DB_HOST` - Database host 36 | * `WP_ENV` - Set to environment (`development`, `staging`, `production`) 37 | * `WP_HOME` - Full URL to WordPress home (http://example.com) 38 | * `WP_SITEURL` - Full URL to WordPress including subdirectory (http://example.com/wp) 39 | 4. Add theme(s) in `web/app/themes` as you would for a normal WordPress site. 40 | 4. Set your site vhost document root to `/path/to/site/web/` (`/path/to/site/current/web/` if using deploys) 41 | 5. Access WP admin at `http://example.com/wp/wp-admin` 42 | 43 | ## Deploys 44 | 45 | There are two methods to deploy Bedrock sites out of the box: 46 | 47 | * [Trellis](https://github.com/roots/trellis) 48 | * [bedrock-capistrano](https://github.com/roots/bedrock-capistrano) 49 | 50 | Any other deployment method can be used as well with one requirement: 51 | 52 | `composer install` must be run as part of the deploy process. 53 | 54 | ## Documentation 55 | 56 | * [Folder structure](https://github.com/roots/bedrock/wiki/Folder-structure) 57 | * [Configuration files](https://github.com/roots/bedrock/wiki/Configuration-files) 58 | * [Environment variables](https://github.com/roots/bedrock/wiki/Environment-variables) 59 | * [Composer](https://github.com/roots/bedrock/wiki/Composer) 60 | * [wp-cron](https://github.com/roots/bedrock/wiki/wp-cron) 61 | * [mu-plugins autoloader](https://github.com/roots/bedrock/wiki/mu-plugins-autoloader) 62 | 63 | ## Contributing 64 | 65 | Contributions are welcome from everyone. We have [contributing guidelines](CONTRIBUTING.md) to help you get started. 66 | 67 | ## Community 68 | 69 | Keep track of development and community news. 70 | 71 | * Participate on the [Roots Discourse](https://discourse.roots.io/) 72 | * Follow [@rootswp on Twitter](https://twitter.com/rootswp) 73 | * Read and subscribe to the [Roots Blog](https://roots.io/blog/) 74 | * Subscribe to the [Roots Newsletter](https://roots.io/subscribe/) 75 | -------------------------------------------------------------------------------- /public/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "errorstudio/rooftop-cms", 3 | "type": "project", 4 | "license": "MIT", 5 | "description": "An API-based Wordpress CMS", 6 | "homepage": "http://github.com/rooftopcms", 7 | "authors": [ 8 | { 9 | "name": "Paul Hendrick", 10 | "email": "paul@errorstudio.co.uk", 11 | "homepage": "https://github.com/foxpaul" 12 | }, 13 | { 14 | "name": "Ed Jones", 15 | "email": "ed@errorstudio.co.uk", 16 | "homepage": "https://github.com/edtjones" 17 | }, 18 | { 19 | "name": "Martin Chapman Fromm", 20 | "email": "martin@errorstudio.co.uk", 21 | "homepage": "https://github.com/martincf" 22 | }, 23 | { 24 | "name": "Andy Wilkinson", 25 | "email": "andy@errorstudio.co.uk", 26 | "homepage": "https://github.com/andyerror" 27 | } 28 | ], 29 | "keywords": [ 30 | "wp","cms","api","rooftop" 31 | ], 32 | "support": { 33 | "issues": "https://github.com/rooftopcms/rooftop-cms/issues" 34 | }, 35 | "config": { 36 | "preferred-install": "dist" 37 | }, 38 | "repositories": [ 39 | { 40 | "type": "composer", 41 | "url": "https://wpackagist.org" 42 | }, 43 | { 44 | "type": "git", 45 | "url": "https://github.com/ICanBoogie/Inflector.git" 46 | }, 47 | { 48 | "type": "vcs", 49 | "url": "git@bitbucket.org:errorstudio/rooftop-hosted-hooks.git" 50 | } 51 | ], 52 | "require": { 53 | "php": ">=5.4", 54 | "composer/installers": "~1.0.12", 55 | "davidbarratt/custom-installer": "1.0.*@dev", 56 | "vlucas/phpdotenv": "^2.0.1", 57 | "johnpbloch/wordpress": "4.8.9", 58 | "rooftopcms/rooftop-acf-exposer": "~1.2.0", 59 | "rooftopcms/rooftop-admin-theme": "~1.2.0", 60 | "rooftopcms/rooftop-api-authentication": "~1.2.0", 61 | "rooftopcms/rooftop-content-hierarchy": "~1.2.0", 62 | "rooftopcms/rooftop-content-fields": "~1.2.0", 63 | "rooftopcms/rooftop-custom-content-setup": "~1.2.0", 64 | "rooftopcms/rooftop-content-settings": "~1.2.0", 65 | "rooftopcms/rooftop-events": "~1.2.0", 66 | "rooftopcms/rooftop-gravityforms-exposer": "~1.2.0", 67 | "rooftopcms/rooftop-network-settings": "~1.2.0", 68 | "rooftopcms/rooftop-preview-mode-admin": "~1.2.0", 69 | "rooftopcms/rooftop-response-headers": "~1.2.0", 70 | "rooftopcms/rooftop-request-parser": "~1.2.0", 71 | "rooftopcms/rooftop-response-sanitiser": "~1.2.0", 72 | "rooftopcms/rooftop-resource-metadata": "~1.2.0", 73 | "rooftopcms/rooftop-queue-pusher": "~1.2.0", 74 | "rooftopcms/rooftop-s3-upload-setup": "~1.2.0", 75 | "rooftopcms/rooftop-theme": "~1.2.0", 76 | "rooftopcms/rooftop-webhooks-admin": "~1.2.0", 77 | "wpackagist-plugin/amazon-web-services": "1.0.2", 78 | "wpackagist-plugin/wp-api-menus": "1.2.0", 79 | "wpackagist-plugin/simple-custom-post-order": "2.3.2", 80 | "wpackagist-plugin/duplicate-post": "~3.2", 81 | "predis/predis": "~1.0.3", 82 | "icanboogie/inflector": "1.3.3", 83 | "errorstudio/rooftop-hosted-hooks": "dev-development", 84 | "wpackagist-plugin/members": "2.0.2" 85 | }, 86 | "extra": { 87 | "installer-paths": { 88 | "web/app/plugins/{$name}/": ["rooftopcms/rooftop-events", "rooftopcms/rooftop-preview-mode-admin", "wpackagist-plugin/duplicate-post"], 89 | "web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin", "type:wordpress-plugin"], 90 | "web/app/themes/{$name}/": ["type:wordpress-theme"] 91 | }, 92 | "wordpress-install-dir": "web/wp" 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /config/deploy/production.rb: -------------------------------------------------------------------------------- 1 | # Server configuration. For a simple site this is just one entry. 2 | role :app, [ 3 | "deployment@rooftop-web01.hosts.errorstudio.com", 4 | "deployment@rooftop-web02.hosts.errorstudio.com" 5 | ] 6 | 7 | role :web, [ 8 | "deployment@rooftop-web01.hosts.errorstudio.com", 9 | "deployment@rooftop-web02.hosts.errorstudio.com" 10 | ] 11 | 12 | role :db, %w{deployment@rooftop-db01.hosts.errorstudio.com}, no_release: true 13 | 14 | # Git branch 15 | set :branch, 'master' 16 | 17 | #the base domain for this site - is appended to the primary domain for a prelaunch url 18 | set :base_domain, "prelaunch.errorstudio.com" 19 | 20 | # the prelaunch domain 21 | set :prelaunch_domain, ->{"#{fetch(:primary_domain)}.#{fetch(:base_domain)}"} 22 | 23 | # set the deploy domain to the prelaunch domain 24 | set :deploy_domain, fetch(:primary_domain) 25 | 26 | #redirects domains to the primary domain as a 301 27 | set :domain_redirects, %w(~.*\.rooftopcms\.com) 28 | 29 | #domains which this site will answer to (i.e. not redirect) 30 | set :site_domains, [fetch(:deploy_domain), "~^.*\.rooftopcms\.io"] 31 | 32 | #rewrites in nginx format - useful for specifying hard-coded urls for redirection after launch 33 | set :url_rewrites, {} 34 | 35 | #SSL settings 36 | set :ssl_required, true 37 | set :ssl_dir, File.join(File.dirname(__FILE__),"ssl") 38 | set :ssl_cert, "rooftopcms.io.public.crt" 39 | set :ssl_key, "rooftopcms.io.private.key.gpg" #this should be a gpg-encrypted key 40 | set :ssl_dh, "rooftopcms.io.dh.pem.gpg" #this should be a gpg-encrypted key 41 | #set :force_ssl, true #redirect all non-ssl requests to ssl 42 | 43 | #http basic auth 44 | set :basic_auth_required, false 45 | set :basic_auth_username, 'testing' 46 | set :basic_auth_password, 'testing' 47 | 48 | # Wordpress settings 49 | set :db_host, "db01.rooftop" 50 | set :db_prefix, `source public/.env.production; echo $DB_PREFIX`.strip 51 | 52 | # Custom env vars for Rooftop 53 | set :custom_env_vars, { 54 | "REDIS_HOST" => `source public/.env.production; echo $REDIS_HOST`.strip, 55 | "REDIS_PORT" => `source public/.env.production; echo $REDIS_PORT`.strip, 56 | "REDIS_DB" => `source public/.env.production; echo $REDIS_DB`.strip, 57 | "CLOUDFLARE_EMAIL" => `source public/.env.production; echo $CLOUDFLARE_EMAIL`.strip, 58 | "CLOUDFLARE_API_KEY" => `source public/.env.production; echo $CLOUDFLARE_API_KEY`.strip, 59 | "CLOUDFLARE_DOMAIN_ZONE" => `source public/.env.production; echo $CLOUDFLARE_DOMAIN_ZONE`.strip, 60 | "CLOUDFLARE_CDN_DOMAIN_ZONE" => `source public/.env.production; echo $CLOUDFLARE_CDN_DOMAIN_ZONE`.strip 61 | 62 | } 63 | 64 | # Custom settings for nginx 65 | http_context = <<-CONTEXT 66 | set_real_ip_from 10.0.0.0/8; 67 | add_header X-Rooftop-Backend $hostname; 68 | CONTEXT 69 | set :nginx_custom_http_context, http_context 70 | 71 | # Set upload size (managed in WP to 100M) 72 | set :nginx_custom_server_context, "client_max_body_size 256M;" 73 | 74 | 75 | set :log_formats, { 76 | "with_subdomain_and_time" => '$remote_addr [$time_local] $host $request $status $body_bytes_sent $http_user_agent $request_time $upstream_response_time', 77 | "logentries_json" => '{ "time": "$time_iso8601", "remote_addr": "$remote_addr", "host": "$host", "body_bytes_sent": "$body_bytes_sent", "request_time": "$request_time", "status": "$status", "request": "$request", "request_method": "$request_method", "http_user_agent": "$http_user_agent", "request_time": "$request_time", "upstream_response_time": "$upstream_response_time" }' 78 | } 79 | 80 | set :access_log, "syslog:server=unix:/dev/log,facility=local7,tag=nginx,nohostname logentries_json" 81 | set :error_log, "syslog:server=unix:/dev/log,facility=local7,tag=nginx,severity=error,nohostname" 82 | 83 | namespace :wordpress do 84 | namespace :db do 85 | desc "Copy secrets for Wordpress from an encrypted file" 86 | task :configure_secrets do 87 | on roles :app do 88 | unless test("[ -f #{shared_path}/.env ]") 89 | set :gpg_phrase, ask("GPG passphrase for the encrypted secrets:",nil) 90 | yaml = `echo #{fetch(:gpg_phrase)} | gpg -d -q --batch --passphrase-fd 0 --no-mdc-warning #{File.join(File.dirname(__FILE__),"wordpress_config","shared_strings.yml.gpg")}` 91 | strings = YAML.load(yaml) 92 | strings.each do |k,v| 93 | set k.to_sym, v 94 | end 95 | end 96 | end 97 | 98 | end 99 | end 100 | end 101 | before 'wordpress:db:create_config', 'wordpress:db:configure_secrets' 102 | 103 | after "deploy:finished", "deploy:dr" 104 | -------------------------------------------------------------------------------- /public/web/app/mu-plugins/bedrock-autoloader.php: -------------------------------------------------------------------------------- 1 | loadPlugins(); 36 | } 37 | 38 | /** 39 | * Run some checks then autoload our plugins. 40 | */ 41 | public function loadPlugins() { 42 | $this->checkCache(); 43 | $this->validatePlugins(); 44 | $this->countPlugins(); 45 | 46 | foreach (self::$cache['plugins'] as $plugin_file => $plugin_info) { 47 | include_once(WPMU_PLUGIN_DIR . '/' . $plugin_file); 48 | } 49 | 50 | $this->pluginHooks(); 51 | } 52 | 53 | /** 54 | * Filter show_advanced_plugins to display the autoloaded plugins. 55 | */ 56 | public function showInAdmin($bool, $type) { 57 | $screen = get_current_screen(); 58 | $current = is_multisite() ? 'plugins-network' : 'plugins'; 59 | 60 | if ($screen->{'base'} != $current || $type != 'mustuse' || !current_user_can('activate_plugins')) { 61 | return $bool; 62 | } 63 | 64 | $this->updateCache(); // May as well update the transient cache whilst here. 65 | 66 | self::$auto_plugins = array_map(function ($auto_plugin) { 67 | $auto_plugin['Name'] .= ' *'; 68 | return $auto_plugin; 69 | }, self::$auto_plugins); 70 | 71 | $GLOBALS['plugins']['mustuse'] = array_unique(array_merge(self::$auto_plugins, self::$mu_plugins), SORT_REGULAR); 72 | 73 | return false; // Prevent WordPress overriding our work. 74 | } 75 | 76 | /** 77 | * This sets the cache or calls for an update 78 | */ 79 | private function checkCache() { 80 | $cache = get_site_option('bedrock_autoloader'); 81 | 82 | if ($cache === false) { 83 | return $this->updateCache(); 84 | } 85 | 86 | self::$cache = $cache; 87 | } 88 | 89 | /** 90 | * Get the plugins and mu-plugins from the mu-plugin path and remove duplicates. 91 | * Check cache against current plugins for newly activated plugins. 92 | * After that, we can update the cache. 93 | */ 94 | private function updateCache() { 95 | require_once(ABSPATH . 'wp-admin/includes/plugin.php'); 96 | 97 | self::$auto_plugins = get_plugins(self::$relative_path); 98 | self::$mu_plugins = get_mu_plugins(self::$relative_path); 99 | $plugins = array_diff_key(self::$auto_plugins, self::$mu_plugins); 100 | $rebuild = !is_array(self::$cache['plugins']); 101 | self::$activated = ($rebuild) ? $plugins : array_diff_key($plugins, self::$cache['plugins']); 102 | self::$cache = array('plugins' => $plugins, 'count' => $this->countPlugins()); 103 | 104 | update_site_option('bedrock_autoloader', self::$cache); 105 | } 106 | 107 | /** 108 | * This accounts for the plugin hooks that would run if the plugins were 109 | * loaded as usual. Plugins are removed by deletion, so there's no way 110 | * to deactivate or uninstall. 111 | */ 112 | private function pluginHooks() { 113 | if (!is_array(self::$activated)) { return; } 114 | 115 | foreach (self::$activated as $plugin_file => $plugin_info) { 116 | do_action('activate_' . $plugin_file); 117 | } 118 | } 119 | 120 | /** 121 | * Check that the plugin file exists, if it doesn't update the cache. 122 | */ 123 | private function validatePlugins() { 124 | foreach (self::$cache['plugins'] as $plugin_file => $plugin_info) { 125 | if (!file_exists(WPMU_PLUGIN_DIR . '/' . $plugin_file)) { 126 | $this->updateCache(); 127 | break; 128 | } 129 | } 130 | } 131 | 132 | /** 133 | * Count our plugins (but only once) by counting the top level folders in the 134 | * mu-plugins dir. If it's more or less than last time, update the cache. 135 | */ 136 | private function countPlugins() { 137 | if (isset(self::$count)) { return self::$count; } 138 | 139 | $count = count(glob(WPMU_PLUGIN_DIR . '/*/', GLOB_ONLYDIR | GLOB_NOSORT)); 140 | 141 | if (!isset(self::$cache['count']) || $count != self::$cache['count']) { 142 | self::$count = $count; 143 | $this->updateCache(); 144 | } 145 | 146 | return self::$count; 147 | } 148 | } 149 | 150 | new Autoloader(); 151 | -------------------------------------------------------------------------------- /config/deploy/ssl/docs.demo.rooftopcms.io.crt: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIFaTCCBFGgAwIBAgIQcyaFJCh6dhoeNKl6z54tlzANBgkqhkiG9w0BAQsFADCB 3 | kDELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G 4 | A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxNjA0BgNV 5 | BAMTLUNPTU9ETyBSU0EgRG9tYWluIFZhbGlkYXRpb24gU2VjdXJlIFNlcnZlciBD 6 | QTAeFw0xNjA4MTcwMDAwMDBaFw0xOTA4MTcyMzU5NTlaMFsxITAfBgNVBAsTGERv 7 | bWFpbiBDb250cm9sIFZhbGlkYXRlZDEUMBIGA1UECxMLUG9zaXRpdmVTU0wxIDAe 8 | BgNVBAMTF2RvY3MuZGVtby5yb29mdG9wY21zLmlvMIIBIjANBgkqhkiG9w0BAQEF 9 | AAOCAQ8AMIIBCgKCAQEAzSJezhca03q7aWrAfxEGm3/PGl3QIrhrAYJVcWurHOeq 10 | vlVcxnbRlDJV4MBJZCJYfNTy7gwBZqrNkfpQNGwoTbAleOipj6iw8dV2Q+7R2Nu/ 11 | HHqm6OVJxlRh3tMkQA7H8YgaUBgFQ+YngbOTKNJ13NHj7gpxUYjJYlcqnXz/mSQZ 12 | kMY1sHjkUtnI2nhQ7MXy39xMqsBo4JJO6kh1nkvRSsXeC/Oz6v56OWYOAc12KPsQ 13 | GbaGKBBVEn8eq4QJB0R4hwbLSJfpCwEyTAVRt/bCzke0KFgH21Qdh+BW4l78/lNV 14 | j2xKTFT79wTi23Xsb1crI6rm+/Um0vB2g2TdnS4l+wIDAQABo4IB8TCCAe0wHwYD 15 | VR0jBBgwFoAUkK9qOpRaC9iQ6hJWc99DtDoo2ucwHQYDVR0OBBYEFPAB0YYKRUpg 16 | ZL5DSz7W8Yz+0K6WMA4GA1UdDwEB/wQEAwIFoDAMBgNVHRMBAf8EAjAAMB0GA1Ud 17 | JQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjBPBgNVHSAESDBGMDoGCysGAQQBsjEB 18 | AgIHMCswKQYIKwYBBQUHAgEWHWh0dHBzOi8vc2VjdXJlLmNvbW9kby5jb20vQ1BT 19 | MAgGBmeBDAECATBUBgNVHR8ETTBLMEmgR6BFhkNodHRwOi8vY3JsLmNvbW9kb2Nh 20 | LmNvbS9DT01PRE9SU0FEb21haW5WYWxpZGF0aW9uU2VjdXJlU2VydmVyQ0EuY3Js 21 | MIGFBggrBgEFBQcBAQR5MHcwTwYIKwYBBQUHMAKGQ2h0dHA6Ly9jcnQuY29tb2Rv 22 | Y2EuY29tL0NPTU9ET1JTQURvbWFpblZhbGlkYXRpb25TZWN1cmVTZXJ2ZXJDQS5j 23 | cnQwJAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLmNvbW9kb2NhLmNvbTA/BgNVHREE 24 | ODA2ghdkb2NzLmRlbW8ucm9vZnRvcGNtcy5pb4Ibd3d3LmRvY3MuZGVtby5yb29m 25 | dG9wY21zLmlvMA0GCSqGSIb3DQEBCwUAA4IBAQADj/WgRZl10tDoUWVqfaMZ/zhT 26 | w8EbW0PZwzDD/o3jL7U/TRNhQnpqEtTHHv2P4/AUtB2D639NqAqs8FxMbGC8vozW 27 | a//aAdUBcZS4oYMaejRV8cAUOuIb2H+r4dRpkV26mpDQQFuFHL2LJ0c5V3iZZczl 28 | TnuhD+Xr4IEr0cCj/sAPeuOY/5Pk+IwkgV4pXVhr4RRSBmDoib8pdMNhRhBNndc5 29 | wpbG+SYpa0hgYca7Ocql+PlWdWyvneEhhdzWJ4XOIfNExogcl2Ux6MBOzebeB/sO 30 | c6dwEtsKEN9VBeP8CeXcBmjc5NtKjIiMa2ZB5Rqn+Ap5LEurVMbKuEOkEd0g 31 | -----END CERTIFICATE----- 32 | -----BEGIN CERTIFICATE----- 33 | MIIGCDCCA/CgAwIBAgIQKy5u6tl1NmwUim7bo3yMBzANBgkqhkiG9w0BAQwFADCB 34 | hTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G 35 | A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNV 36 | BAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTQwMjEy 37 | MDAwMDAwWhcNMjkwMjExMjM1OTU5WjCBkDELMAkGA1UEBhMCR0IxGzAZBgNVBAgT 38 | EkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMR 39 | Q09NT0RPIENBIExpbWl0ZWQxNjA0BgNVBAMTLUNPTU9ETyBSU0EgRG9tYWluIFZh 40 | bGlkYXRpb24gU2VjdXJlIFNlcnZlciBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEP 41 | ADCCAQoCggEBAI7CAhnhoFmk6zg1jSz9AdDTScBkxwtiBUUWOqigwAwCfx3M28Sh 42 | bXcDow+G+eMGnD4LgYqbSRutA776S9uMIO3Vzl5ljj4Nr0zCsLdFXlIvNN5IJGS0 43 | Qa4Al/e+Z96e0HqnU4A7fK31llVvl0cKfIWLIpeNs4TgllfQcBhglo/uLQeTnaG6 44 | ytHNe+nEKpooIZFNb5JPJaXyejXdJtxGpdCsWTWM/06RQ1A/WZMebFEh7lgUq/51 45 | UHg+TLAchhP6a5i84DuUHoVS3AOTJBhuyydRReZw3iVDpA3hSqXttn7IzW3uLh0n 46 | c13cRTCAquOyQQuvvUSH2rnlG51/ruWFgqUCAwEAAaOCAWUwggFhMB8GA1UdIwQY 47 | MBaAFLuvfgI9+qbxPISOre44mOzZMjLUMB0GA1UdDgQWBBSQr2o6lFoL2JDqElZz 48 | 30O0Oija5zAOBgNVHQ8BAf8EBAMCAYYwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNV 49 | HSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwGwYDVR0gBBQwEjAGBgRVHSAAMAgG 50 | BmeBDAECATBMBgNVHR8ERTBDMEGgP6A9hjtodHRwOi8vY3JsLmNvbW9kb2NhLmNv 51 | bS9DT01PRE9SU0FDZXJ0aWZpY2F0aW9uQXV0aG9yaXR5LmNybDBxBggrBgEFBQcB 52 | AQRlMGMwOwYIKwYBBQUHMAKGL2h0dHA6Ly9jcnQuY29tb2RvY2EuY29tL0NPTU9E 53 | T1JTQUFkZFRydXN0Q0EuY3J0MCQGCCsGAQUFBzABhhhodHRwOi8vb2NzcC5jb21v 54 | ZG9jYS5jb20wDQYJKoZIhvcNAQEMBQADggIBAE4rdk+SHGI2ibp3wScF9BzWRJ2p 55 | mj6q1WZmAT7qSeaiNbz69t2Vjpk1mA42GHWx3d1Qcnyu3HeIzg/3kCDKo2cuH1Z/ 56 | e+FE6kKVxF0NAVBGFfKBiVlsit2M8RKhjTpCipj4SzR7JzsItG8kO3KdY3RYPBps 57 | P0/HEZrIqPW1N+8QRcZs2eBelSaz662jue5/DJpmNXMyYE7l3YphLG5SEXdoltMY 58 | dVEVABt0iN3hxzgEQyjpFv3ZBdRdRydg1vs4O2xyopT4Qhrf7W8GjEXCBgCq5Ojc 59 | 2bXhc3js9iPc0d1sjhqPpepUfJa3w/5Vjo1JXvxku88+vZbrac2/4EjxYoIQ5QxG 60 | V/Iz2tDIY+3GH5QFlkoakdH368+PUq4NCNk+qKBR6cGHdNXJ93SrLlP7u3r7l+L4 61 | HyaPs9Kg4DdbKDsx5Q5XLVq4rXmsXiBmGqW5prU5wfWYQ//u+aen/e7KJD2AFsQX 62 | j4rBYKEMrltDR5FL1ZoXX/nUh8HCjLfn4g8wGTeGrODcQgPmlKidrv0PJFGUzpII 63 | 0fxQ8ANAe4hZ7Q7drNJ3gjTcBpUC2JD5Leo31Rpg0Gcg19hCC0Wvgmje3WYkN5Ap 64 | lBlGGSW4gNfL1IYoakRwJiNiqZ+Gb7+6kHDSVneFeO/qJakXzlByjAA6quPbYzSf 65 | +AZxAeKCINT+b72x 66 | -----END CERTIFICATE----- 67 | -----BEGIN CERTIFICATE----- 68 | MIIFdDCCBFygAwIBAgIQJ2buVutJ846r13Ci/ITeIjANBgkqhkiG9w0BAQwFADBv 69 | MQswCQYDVQQGEwJTRTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFk 70 | ZFRydXN0IEV4dGVybmFsIFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBF 71 | eHRlcm5hbCBDQSBSb290MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFow 72 | gYUxCzAJBgNVBAYTAkdCMRswGQYDVQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAO 73 | BgNVBAcTB1NhbGZvcmQxGjAYBgNVBAoTEUNPTU9ETyBDQSBMaW1pdGVkMSswKQYD 74 | VQQDEyJDT01PRE8gUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIICIjANBgkq 75 | hkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAkehUktIKVrGsDSTdxc9EZ3SZKzejfSNw 76 | AHG8U9/E+ioSj0t/EFa9n3Byt2F/yUsPF6c947AEYe7/EZfH9IY+Cvo+XPmT5jR6 77 | 2RRr55yzhaCCenavcZDX7P0N+pxs+t+wgvQUfvm+xKYvT3+Zf7X8Z0NyvQwA1onr 78 | ayzT7Y+YHBSrfuXjbvzYqOSSJNpDa2K4Vf3qwbxstovzDo2a5JtsaZn4eEgwRdWt 79 | 4Q08RWD8MpZRJ7xnw8outmvqRsfHIKCxH2XeSAi6pE6p8oNGN4Tr6MyBSENnTnIq 80 | m1y9TBsoilwie7SrmNnu4FGDwwlGTm0+mfqVF9p8M1dBPI1R7Qu2XK8sYxrfV8g/ 81 | vOldxJuvRZnio1oktLqpVj3Pb6r/SVi+8Kj/9Lit6Tf7urj0Czr56ENCHonYhMsT 82 | 8dm74YlguIwoVqwUHZwK53Hrzw7dPamWoUi9PPevtQ0iTMARgexWO/bTouJbt7IE 83 | IlKVgJNp6I5MZfGRAy1wdALqi2cVKWlSArvX31BqVUa/oKMoYX9w0MOiqiwhqkfO 84 | KJwGRXa/ghgntNWutMtQ5mv0TIZxMOmm3xaG4Nj/QN370EKIf6MzOi5cHkERgWPO 85 | GHFrK+ymircxXDpqR+DDeVnWIBqv8mqYqnK8V0rSS527EPywTEHl7R09XiidnMy/ 86 | s1Hap0flhFMCAwEAAaOB9DCB8TAfBgNVHSMEGDAWgBStvZh6NLQm9/rEJlTvA73g 87 | JMtUGjAdBgNVHQ4EFgQUu69+Aj36pvE8hI6t7jiY7NkyMtQwDgYDVR0PAQH/BAQD 88 | AgGGMA8GA1UdEwEB/wQFMAMBAf8wEQYDVR0gBAowCDAGBgRVHSAAMEQGA1UdHwQ9 89 | MDswOaA3oDWGM2h0dHA6Ly9jcmwudXNlcnRydXN0LmNvbS9BZGRUcnVzdEV4dGVy 90 | bmFsQ0FSb290LmNybDA1BggrBgEFBQcBAQQpMCcwJQYIKwYBBQUHMAGGGWh0dHA6 91 | Ly9vY3NwLnVzZXJ0cnVzdC5jb20wDQYJKoZIhvcNAQEMBQADggEBAGS/g/FfmoXQ 92 | zbihKVcN6Fr30ek+8nYEbvFScLsePP9NDXRqzIGCJdPDoCpdTPW6i6FtxFQJdcfj 93 | Jw5dhHk3QBN39bSsHNA7qxcS1u80GH4r6XnTq1dFDK8o+tDb5VCViLvfhVdpfZLY 94 | Uspzgb8c8+a4bmYRBbMelC1/kZWSWfFMzqORcUx8Rww7Cxn2obFshj5cqsQugsv5 95 | B5a6SE2Q8pTIqXOi6wZ7I53eovNNVZ96YUWYGGjHXkBrI/V5eu+MtWuLt29G9Hvx 96 | PUsE2JOAWVrgQSQdso8VYFhH2+9uRv0V9dlfmrPb2LjkQLPNlzmuhbsdjrzch5vR 97 | pu/xO28QOG8= 98 | -----END CERTIFICATE----- 99 | -----BEGIN CERTIFICATE----- 100 | MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU 101 | MBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs 102 | IFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290 103 | MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFowbzELMAkGA1UEBhMCU0Ux 104 | FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5h 105 | bCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9v 106 | dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf3GjPm8gAELTngTlvt 107 | H7xsD821+iO2zt6bETOXpClMfZOfvUq8k+0DGuOPz+VtUFrWlymUWoCwSXrbLpX9 108 | uMq/NzgtHj6RQa1wVsfwTz/oMp50ysiQVOnGXw94nZpAPA6sYapeFI+eh6FqUNzX 109 | mk6vBbOmcZSccbNQYArHE504B4YCqOmoaSYYkKtMsE8jqzpPhNjfzp/haW+710LX 110 | a0Tkx63ubUFfclpxCDezeWWkWaCUN/cALw3CknLa0Dhy2xSoRcRdKn23tNbE7qzN 111 | E0S3ySvdQwAl+mG5aWpYIxG3pzOPVnVZ9c0p10a3CitlttNCbxWyuHv77+ldU9U0 112 | WicCAwEAAaOB3DCB2TAdBgNVHQ4EFgQUrb2YejS0Jvf6xCZU7wO94CTLVBowCwYD 113 | VR0PBAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wgZkGA1UdIwSBkTCBjoAUrb2YejS0 114 | Jvf6xCZU7wO94CTLVBqhc6RxMG8xCzAJBgNVBAYTAlNFMRQwEgYDVQQKEwtBZGRU 115 | cnVzdCBBQjEmMCQGA1UECxMdQWRkVHJ1c3QgRXh0ZXJuYWwgVFRQIE5ldHdvcmsx 116 | IjAgBgNVBAMTGUFkZFRydXN0IEV4dGVybmFsIENBIFJvb3SCAQEwDQYJKoZIhvcN 117 | AQEFBQADggEBALCb4IUlwtYj4g+WBpKdQZic2YR5gdkeWxQHIzZlj7DYd7usQWxH 118 | YINRsPkyPef89iYTx4AWpb9a/IfPeHmJIZriTAcKhjW88t5RxNKWt9x+Tu5w/Rw5 119 | 6wwCURQtjr0W4MHfRnXnJK3s9EK0hZNwEGe6nQY1ShjTK3rMUUKhemPR5ruhxSvC 120 | Nr4TDea9Y355e6cJDUCrat2PisP29owaQgVR1EX1n6diIWgVIEM8med8vSTYqZEX 121 | c4g/VhsxOBi0cQ+azcgOno4uG+GMmIPLHzHxREzGBHNJdmAPx/i9F4BrLunMTA5a 122 | mnkPIAou1Z5jJh5VkpTYghdae9C8x49OhgQ= 123 | -----END CERTIFICATE----- 124 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | {one line to give the program's name and a brief idea of what it does.} 635 | Copyright (C) {year} {name of author} 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | {project} Copyright (C) {year} {fullname} 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | 676 | -------------------------------------------------------------------------------- /public/composer.lock: -------------------------------------------------------------------------------- 1 | { 2 | "_readme": [ 3 | "This file locks the dependencies of your project to a known state", 4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", 5 | "This file is @generated automatically" 6 | ], 7 | "content-hash": "aead79691f76d9af572321311b498f5d", 8 | "packages": [ 9 | { 10 | "name": "chrisboulton/php-resque", 11 | "version": "1.2", 12 | "source": { 13 | "type": "git", 14 | "url": "https://github.com/chrisboulton/php-resque.git", 15 | "reference": "0549d6c88a4aed934655b7c03b6153349d6c3ad0" 16 | }, 17 | "dist": { 18 | "type": "zip", 19 | "url": "https://api.github.com/repos/chrisboulton/php-resque/zipball/0549d6c88a4aed934655b7c03b6153349d6c3ad0", 20 | "reference": "0549d6c88a4aed934655b7c03b6153349d6c3ad0", 21 | "shasum": "" 22 | }, 23 | "require": { 24 | "php": ">=5.3.0" 25 | }, 26 | "type": "library", 27 | "autoload": { 28 | "psr-0": { 29 | "Resque": "lib" 30 | } 31 | }, 32 | "notification-url": "https://packagist.org/downloads/", 33 | "license": [ 34 | "MIT" 35 | ], 36 | "authors": [ 37 | { 38 | "name": "Chris Boulton", 39 | "email": "chris@bigcommerce.com" 40 | } 41 | ], 42 | "description": "Redis backed library for creating background jobs and processing them later. Based on resque for Ruby.", 43 | "homepage": "http://www.github.com/chrisboulton/php-resque/", 44 | "keywords": [ 45 | "background", 46 | "job", 47 | "redis", 48 | "resque" 49 | ], 50 | "abandoned": "resque/php-resque", 51 | "time": "2012-10-13T07:28:16+00:00" 52 | }, 53 | { 54 | "name": "chrisboulton/php-resque-scheduler", 55 | "version": "1.1", 56 | "source": { 57 | "type": "git", 58 | "url": "https://github.com/chrisboulton/php-resque-scheduler.git", 59 | "reference": "f4b8f1409d640051d34f92d921ceb2bcdc2133cf" 60 | }, 61 | "dist": { 62 | "type": "zip", 63 | "url": "https://api.github.com/repos/chrisboulton/php-resque-scheduler/zipball/f4b8f1409d640051d34f92d921ceb2bcdc2133cf", 64 | "reference": "f4b8f1409d640051d34f92d921ceb2bcdc2133cf", 65 | "shasum": "" 66 | }, 67 | "require": { 68 | "chrisboulton/php-resque": "< 1.3" 69 | }, 70 | "type": "library", 71 | "autoload": { 72 | "psr-0": { 73 | "ResqueScheduler": "lib/" 74 | } 75 | }, 76 | "notification-url": "https://packagist.org/downloads/", 77 | "authors": [ 78 | { 79 | "name": "Chris Boulton", 80 | "email": "chris@bgigcommerce.com" 81 | } 82 | ], 83 | "description": "php-resque-scheduler is a PHP port of resque-scheduler, which adds support for scheduling items in the future to Resque.", 84 | "time": "2013-03-10T21:53:45+00:00" 85 | }, 86 | { 87 | "name": "composer/installers", 88 | "version": "v1.0.25", 89 | "source": { 90 | "type": "git", 91 | "url": "https://github.com/composer/installers.git", 92 | "reference": "36e5b5843203d7f1cf6ffb0305a97e014387bd8e" 93 | }, 94 | "dist": { 95 | "type": "zip", 96 | "url": "https://api.github.com/repos/composer/installers/zipball/36e5b5843203d7f1cf6ffb0305a97e014387bd8e", 97 | "reference": "36e5b5843203d7f1cf6ffb0305a97e014387bd8e", 98 | "shasum": "" 99 | }, 100 | "require": { 101 | "composer-plugin-api": "^1.0" 102 | }, 103 | "replace": { 104 | "roundcube/plugin-installer": "*", 105 | "shama/baton": "*" 106 | }, 107 | "require-dev": { 108 | "composer/composer": "1.0.*@dev", 109 | "phpunit/phpunit": "4.1.*" 110 | }, 111 | "type": "composer-plugin", 112 | "extra": { 113 | "class": "Composer\\Installers\\Plugin", 114 | "branch-alias": { 115 | "dev-master": "1.0-dev" 116 | } 117 | }, 118 | "autoload": { 119 | "psr-4": { 120 | "Composer\\Installers\\": "src/Composer/Installers" 121 | } 122 | }, 123 | "notification-url": "https://packagist.org/downloads/", 124 | "license": [ 125 | "MIT" 126 | ], 127 | "authors": [ 128 | { 129 | "name": "Kyle Robinson Young", 130 | "email": "kyle@dontkry.com", 131 | "homepage": "https://github.com/shama" 132 | } 133 | ], 134 | "description": "A multi-framework Composer library installer", 135 | "homepage": "https://composer.github.io/installers/", 136 | "keywords": [ 137 | "Craft", 138 | "Dolibarr", 139 | "Hurad", 140 | "ImageCMS", 141 | "MODX Evo", 142 | "Mautic", 143 | "OXID", 144 | "SMF", 145 | "Thelia", 146 | "WolfCMS", 147 | "agl", 148 | "aimeos", 149 | "annotatecms", 150 | "bitrix", 151 | "cakephp", 152 | "chef", 153 | "codeigniter", 154 | "concrete5", 155 | "croogo", 156 | "dokuwiki", 157 | "drupal", 158 | "elgg", 159 | "fuelphp", 160 | "grav", 161 | "installer", 162 | "joomla", 163 | "kohana", 164 | "laravel", 165 | "lithium", 166 | "magento", 167 | "mako", 168 | "mediawiki", 169 | "modulework", 170 | "moodle", 171 | "phpbb", 172 | "piwik", 173 | "ppi", 174 | "puppet", 175 | "roundcube", 176 | "shopware", 177 | "silverstripe", 178 | "symfony", 179 | "typo3", 180 | "wordpress", 181 | "zend", 182 | "zikula" 183 | ], 184 | "time": "2016-04-13T19:46:30+00:00" 185 | }, 186 | { 187 | "name": "davidbarratt/custom-installer", 188 | "version": "1.0.0-alpha2", 189 | "source": { 190 | "type": "git", 191 | "url": "https://github.com/davidbarratt/custom-installer.git", 192 | "reference": "90009113204b8b6257ead91866cc5cddc6876834" 193 | }, 194 | "dist": { 195 | "type": "zip", 196 | "url": "https://api.github.com/repos/davidbarratt/custom-installer/zipball/90009113204b8b6257ead91866cc5cddc6876834", 197 | "reference": "90009113204b8b6257ead91866cc5cddc6876834", 198 | "shasum": "" 199 | }, 200 | "require": { 201 | "composer-plugin-api": "~1.0" 202 | }, 203 | "require-dev": { 204 | "composer/composer": "~1.0@dev", 205 | "phpunit/phpunit": "~4.1", 206 | "squizlabs/php_codesniffer": "~2.5" 207 | }, 208 | "type": "composer-plugin", 209 | "extra": { 210 | "class": "DavidBarratt\\CustomInstaller\\CustomInstallerPlugin" 211 | }, 212 | "autoload": { 213 | "psr-4": { 214 | "DavidBarratt\\CustomInstaller\\": "src" 215 | } 216 | }, 217 | "notification-url": "https://packagist.org/downloads/", 218 | "license": [ 219 | "Apache-2.0" 220 | ], 221 | "description": "Install custom types into custom locations.", 222 | "homepage": "https://github.com/davidbarratt/custom-installer", 223 | "time": "2016-01-23T14:33:27+00:00" 224 | }, 225 | { 226 | "name": "errorstudio/rooftop-hosted-hooks", 227 | "version": "dev-development", 228 | "source": { 229 | "type": "git", 230 | "url": "git@bitbucket.org:errorstudio/rooftop-hosted-hooks.git", 231 | "reference": "3255b200ed46a84c9883869d2fb7bbdbd5150c1b" 232 | }, 233 | "type": "wordpress-muplugin", 234 | "license": [ 235 | "GPL-3.0" 236 | ], 237 | "authors": [ 238 | { 239 | "name": "Rooftop CMS", 240 | "email": "hello@rooftopcms.com" 241 | } 242 | ], 243 | "description": "A place for the hosted Rooftop install to run its hooks and WP network events", 244 | "time": "2017-09-01T12:03:18+00:00" 245 | }, 246 | { 247 | "name": "icanboogie/inflector", 248 | "version": "v1.3.3", 249 | "source": { 250 | "type": "git", 251 | "url": "https://github.com/ICanBoogie/Inflector.git", 252 | "reference": "953f6f9d0d6d27c972808f2a78a7899244450ac1" 253 | }, 254 | "require": { 255 | "ext-mbstring": "*", 256 | "php": ">=5.3.4" 257 | }, 258 | "type": "library", 259 | "autoload": { 260 | "classmap": [ 261 | "lib/" 262 | ], 263 | "files": [ 264 | "lib/helpers.php" 265 | ] 266 | }, 267 | "license": [ 268 | "BSD-3-Clause" 269 | ], 270 | "authors": [ 271 | { 272 | "name": "Olivier Laviale", 273 | "email": "olivier.laviale@gmail.com", 274 | "homepage": "http://www.weirdog.com/", 275 | "role": "Developer" 276 | } 277 | ], 278 | "description": "Multilingual inflector that transforms words from singular to plural, underscore to camel case, and more.", 279 | "homepage": "http://icanboogie.org/", 280 | "keywords": [ 281 | "camelize", 282 | "hyphenate", 283 | "inflect", 284 | "multilingual", 285 | "pluralize", 286 | "singularize", 287 | "underscore" 288 | ], 289 | "support": { 290 | "issues": "https://github.com/ICanBoogie/Inflector/issues", 291 | "source": "https://github.com/ICanBoogie/Inflector" 292 | }, 293 | "time": "2015-08-18T20:13:36+00:00" 294 | }, 295 | { 296 | "name": "johnpbloch/wordpress", 297 | "version": "4.8.9", 298 | "source": { 299 | "type": "git", 300 | "url": "https://github.com/johnpbloch/wordpress.git", 301 | "reference": "08190e92fbdf8d7b8c9af5bf6883684f3dc6c451" 302 | }, 303 | "dist": { 304 | "type": "zip", 305 | "url": "https://api.github.com/repos/johnpbloch/wordpress/zipball/08190e92fbdf8d7b8c9af5bf6883684f3dc6c451", 306 | "reference": "08190e92fbdf8d7b8c9af5bf6883684f3dc6c451", 307 | "shasum": "" 308 | }, 309 | "require": { 310 | "johnpbloch/wordpress-core": "4.8.9", 311 | "johnpbloch/wordpress-core-installer": "^1.0", 312 | "php": ">=5.3.2" 313 | }, 314 | "type": "package", 315 | "notification-url": "https://packagist.org/downloads/", 316 | "license": [ 317 | "GPL-2.0+" 318 | ], 319 | "authors": [ 320 | { 321 | "name": "WordPress Community", 322 | "homepage": "http://wordpress.org/about/" 323 | } 324 | ], 325 | "description": "WordPress is web software you can use to create a beautiful website or blog.", 326 | "homepage": "http://wordpress.org/", 327 | "keywords": [ 328 | "blog", 329 | "cms", 330 | "wordpress" 331 | ], 332 | "time": "2019-03-13T01:13:29+00:00" 333 | }, 334 | { 335 | "name": "johnpbloch/wordpress-core", 336 | "version": "4.8.9", 337 | "source": { 338 | "type": "git", 339 | "url": "https://github.com/johnpbloch/wordpress-core.git", 340 | "reference": "1e159604cae89b7581cdecfb2ad5e193c5a4db6a" 341 | }, 342 | "dist": { 343 | "type": "zip", 344 | "url": "https://api.github.com/repos/johnpbloch/wordpress-core/zipball/1e159604cae89b7581cdecfb2ad5e193c5a4db6a", 345 | "reference": "1e159604cae89b7581cdecfb2ad5e193c5a4db6a", 346 | "shasum": "" 347 | }, 348 | "require": { 349 | "php": ">=5.3.2" 350 | }, 351 | "provide": { 352 | "wordpress/core-implementation": "4.8.9" 353 | }, 354 | "type": "wordpress-core", 355 | "notification-url": "https://packagist.org/downloads/", 356 | "license": [ 357 | "GPL-2.0-or-later" 358 | ], 359 | "authors": [ 360 | { 361 | "name": "WordPress Community", 362 | "homepage": "http://wordpress.org/about/" 363 | } 364 | ], 365 | "description": "WordPress is web software you can use to create a beautiful website or blog.", 366 | "homepage": "http://wordpress.org/", 367 | "keywords": [ 368 | "blog", 369 | "cms", 370 | "wordpress" 371 | ], 372 | "time": "2019-03-13T01:13:25+00:00" 373 | }, 374 | { 375 | "name": "johnpbloch/wordpress-core-installer", 376 | "version": "1.0.2", 377 | "source": { 378 | "type": "git", 379 | "url": "https://github.com/johnpbloch/wordpress-core-installer.git", 380 | "reference": "fd12f5cfe27223b92b0f4bbc097059eb23cc56c4" 381 | }, 382 | "dist": { 383 | "type": "zip", 384 | "url": "https://api.github.com/repos/johnpbloch/wordpress-core-installer/zipball/fd12f5cfe27223b92b0f4bbc097059eb23cc56c4", 385 | "reference": "fd12f5cfe27223b92b0f4bbc097059eb23cc56c4", 386 | "shasum": "" 387 | }, 388 | "require": { 389 | "composer-plugin-api": "^1.0" 390 | }, 391 | "conflict": { 392 | "composer/installers": "<1.0.6" 393 | }, 394 | "require-dev": { 395 | "composer/composer": "^1.0", 396 | "phpunit/phpunit": ">=4.8.35" 397 | }, 398 | "type": "composer-plugin", 399 | "extra": { 400 | "class": "johnpbloch\\Composer\\WordPressCorePlugin" 401 | }, 402 | "autoload": { 403 | "psr-0": { 404 | "johnpbloch\\Composer\\": "src/" 405 | } 406 | }, 407 | "notification-url": "https://packagist.org/downloads/", 408 | "license": [ 409 | "GPL-2.0-or-later" 410 | ], 411 | "authors": [ 412 | { 413 | "name": "John P. Bloch", 414 | "email": "me@johnpbloch.com" 415 | } 416 | ], 417 | "description": "A custom installer to handle deploying WordPress with composer", 418 | "keywords": [ 419 | "wordpress" 420 | ], 421 | "time": "2018-11-09T20:10:38+00:00" 422 | }, 423 | { 424 | "name": "predis/predis", 425 | "version": "v1.0.4", 426 | "source": { 427 | "type": "git", 428 | "url": "https://github.com/nrk/predis.git", 429 | "reference": "9ead747663bb1b1ae017dfa0d152aca87792b42f" 430 | }, 431 | "dist": { 432 | "type": "zip", 433 | "url": "https://api.github.com/repos/nrk/predis/zipball/9ead747663bb1b1ae017dfa0d152aca87792b42f", 434 | "reference": "9ead747663bb1b1ae017dfa0d152aca87792b42f", 435 | "shasum": "" 436 | }, 437 | "require": { 438 | "php": ">=5.3.2" 439 | }, 440 | "require-dev": { 441 | "phpunit/phpunit": "~4.8" 442 | }, 443 | "suggest": { 444 | "ext-curl": "Allows access to Webdis when paired with phpiredis", 445 | "ext-phpiredis": "Allows faster serialization and deserialization of the Redis protocol" 446 | }, 447 | "type": "library", 448 | "autoload": { 449 | "psr-4": { 450 | "Predis\\": "src/" 451 | } 452 | }, 453 | "notification-url": "https://packagist.org/downloads/", 454 | "license": [ 455 | "MIT" 456 | ], 457 | "authors": [ 458 | { 459 | "name": "Daniele Alessandri", 460 | "email": "suppakilla@gmail.com", 461 | "homepage": "http://clorophilla.net" 462 | } 463 | ], 464 | "description": "Flexible and feature-complete Redis client for PHP and HHVM", 465 | "homepage": "http://github.com/nrk/predis", 466 | "keywords": [ 467 | "nosql", 468 | "predis", 469 | "redis" 470 | ], 471 | "time": "2016-05-30T15:25:52+00:00" 472 | }, 473 | { 474 | "name": "rooftopcms/rooftop-acf-exposer", 475 | "version": "1.2.3.2", 476 | "source": { 477 | "type": "git", 478 | "url": "https://github.com/rooftopcms/rooftop-acf-exposer.git", 479 | "reference": "9fbb8b2bfd04476d347487818d2afbcc4c131c6c" 480 | }, 481 | "dist": { 482 | "type": "zip", 483 | "url": "https://api.github.com/repos/rooftopcms/rooftop-acf-exposer/zipball/9fbb8b2bfd04476d347487818d2afbcc4c131c6c", 484 | "reference": "9fbb8b2bfd04476d347487818d2afbcc4c131c6c", 485 | "shasum": "" 486 | }, 487 | "require": { 488 | "wpackagist-plugin/advanced-custom-fields": "4.4.8" 489 | }, 490 | "type": "wordpress-muplugin", 491 | "notification-url": "https://packagist.org/downloads/", 492 | "license": [ 493 | "GPL-3.0" 494 | ], 495 | "authors": [ 496 | { 497 | "name": "Rooftop CMS", 498 | "email": "hello@rooftopcms.com" 499 | } 500 | ], 501 | "description": "Include the ACF fields in a post response", 502 | "time": "2019-04-25T13:13:49+00:00" 503 | }, 504 | { 505 | "name": "rooftopcms/rooftop-admin-theme", 506 | "version": "1.2.3", 507 | "source": { 508 | "type": "git", 509 | "url": "https://github.com/rooftopcms/rooftop-admin-theme.git", 510 | "reference": "3fbd32c45126393aff5708be903dfc9c0ae18220" 511 | }, 512 | "dist": { 513 | "type": "zip", 514 | "url": "https://api.github.com/repos/rooftopcms/rooftop-admin-theme/zipball/3fbd32c45126393aff5708be903dfc9c0ae18220", 515 | "reference": "3fbd32c45126393aff5708be903dfc9c0ae18220", 516 | "shasum": "" 517 | }, 518 | "type": "wordpress-muplugin", 519 | "notification-url": "https://packagist.org/downloads/", 520 | "license": [ 521 | "GPL-3.0" 522 | ], 523 | "authors": [ 524 | { 525 | "name": "Rooftop CMS", 526 | "email": "hello@rooftopcms.com" 527 | } 528 | ], 529 | "description": "Authenticates requests to the API", 530 | "time": "2020-06-02T08:54:08+00:00" 531 | }, 532 | { 533 | "name": "rooftopcms/rooftop-api-authentication", 534 | "version": "1.2.2", 535 | "source": { 536 | "type": "git", 537 | "url": "https://github.com/rooftopcms/rooftop-api-authentication.git", 538 | "reference": "fc92239d0ecac3963706e0ccd57f9b8976d64f62" 539 | }, 540 | "dist": { 541 | "type": "zip", 542 | "url": "https://api.github.com/repos/rooftopcms/rooftop-api-authentication/zipball/fc92239d0ecac3963706e0ccd57f9b8976d64f62", 543 | "reference": "fc92239d0ecac3963706e0ccd57f9b8976d64f62", 544 | "shasum": "" 545 | }, 546 | "type": "wordpress-muplugin", 547 | "notification-url": "https://packagist.org/downloads/", 548 | "license": [ 549 | "GPL-3.0" 550 | ], 551 | "authors": [ 552 | { 553 | "name": "Rooftop CMS", 554 | "email": "hello@rooftopcms.com" 555 | } 556 | ], 557 | "description": "Authenticates requests to the API", 558 | "time": "2019-09-19T13:01:28+00:00" 559 | }, 560 | { 561 | "name": "rooftopcms/rooftop-content-fields", 562 | "version": "1.2.1", 563 | "source": { 564 | "type": "git", 565 | "url": "https://github.com/rooftopcms/rooftop-content-fields.git", 566 | "reference": "9e3da53df2ddfd302c020d91b68de1c53f769504" 567 | }, 568 | "dist": { 569 | "type": "zip", 570 | "url": "https://api.github.com/repos/rooftopcms/rooftop-content-fields/zipball/9e3da53df2ddfd302c020d91b68de1c53f769504", 571 | "reference": "9e3da53df2ddfd302c020d91b68de1c53f769504", 572 | "shasum": "" 573 | }, 574 | "type": "wordpress-muplugin", 575 | "notification-url": "https://packagist.org/downloads/", 576 | "license": [ 577 | "GPL-3.0" 578 | ], 579 | "authors": [ 580 | { 581 | "name": "Rooftop CMS", 582 | "email": "hello@rooftopcms.com" 583 | } 584 | ], 585 | "description": "Include the additional fields in a response", 586 | "time": "2017-09-01T12:03:17+00:00" 587 | }, 588 | { 589 | "name": "rooftopcms/rooftop-content-hierarchy", 590 | "version": "1.2.1", 591 | "source": { 592 | "type": "git", 593 | "url": "https://github.com/rooftopcms/rooftop-content-hierarchy.git", 594 | "reference": "6b88616241e6ba4b1661dd9026c6a7df6628b7d3" 595 | }, 596 | "dist": { 597 | "type": "zip", 598 | "url": "https://api.github.com/repos/rooftopcms/rooftop-content-hierarchy/zipball/6b88616241e6ba4b1661dd9026c6a7df6628b7d3", 599 | "reference": "6b88616241e6ba4b1661dd9026c6a7df6628b7d3", 600 | "shasum": "" 601 | }, 602 | "type": "wordpress-muplugin", 603 | "notification-url": "https://packagist.org/downloads/", 604 | "license": [ 605 | "GPL-3.0" 606 | ], 607 | "authors": [ 608 | { 609 | "name": "Rooftop CMS", 610 | "email": "hello@rooftopcms.com" 611 | } 612 | ], 613 | "description": "Include the content hierarchy for a given post in its JSON response", 614 | "time": "2017-09-01T12:03:17+00:00" 615 | }, 616 | { 617 | "name": "rooftopcms/rooftop-content-settings", 618 | "version": "1.2.1", 619 | "source": { 620 | "type": "git", 621 | "url": "https://github.com/rooftopcms/rooftop-content-settings.git", 622 | "reference": "85246b485290704312ecfd2925a60c34926d2afa" 623 | }, 624 | "dist": { 625 | "type": "zip", 626 | "url": "https://api.github.com/repos/rooftopcms/rooftop-content-settings/zipball/85246b485290704312ecfd2925a60c34926d2afa", 627 | "reference": "85246b485290704312ecfd2925a60c34926d2afa", 628 | "shasum": "" 629 | }, 630 | "type": "wordpress-muplugin", 631 | "notification-url": "https://packagist.org/downloads/", 632 | "license": [ 633 | "GPL-3.0" 634 | ], 635 | "authors": [ 636 | { 637 | "name": "Rooftop CMS", 638 | "email": "hello@rooftopcms.com" 639 | } 640 | ], 641 | "description": "Change some site defaults and the example content when a sub-site is created", 642 | "time": "2017-09-01T12:03:18+00:00" 643 | }, 644 | { 645 | "name": "rooftopcms/rooftop-custom-content-setup", 646 | "version": "1.2.2.2", 647 | "source": { 648 | "type": "git", 649 | "url": "https://github.com/rooftopcms/rooftop-custom-content-setup.git", 650 | "reference": "39a0da2fa0cbb9a3161202ac62cd1bca3ea016fd" 651 | }, 652 | "dist": { 653 | "type": "zip", 654 | "url": "https://api.github.com/repos/rooftopcms/rooftop-custom-content-setup/zipball/39a0da2fa0cbb9a3161202ac62cd1bca3ea016fd", 655 | "reference": "39a0da2fa0cbb9a3161202ac62cd1bca3ea016fd", 656 | "shasum": "" 657 | }, 658 | "type": "wordpress-muplugin", 659 | "notification-url": "https://packagist.org/downloads/", 660 | "license": [ 661 | "GPL-3.0" 662 | ], 663 | "authors": [ 664 | { 665 | "name": "Rooftop CMS", 666 | "email": "hello@rooftopcms.com" 667 | } 668 | ], 669 | "description": "Add custom content types, taxonomies and page templates", 670 | "time": "2017-12-06T15:19:23+00:00" 671 | }, 672 | { 673 | "name": "rooftopcms/rooftop-events", 674 | "version": "1.2.2", 675 | "source": { 676 | "type": "git", 677 | "url": "https://github.com/rooftopcms/rooftop-events.git", 678 | "reference": "c2c4c3224686f8f71345a9b2dc148717223a0766" 679 | }, 680 | "dist": { 681 | "type": "zip", 682 | "url": "https://api.github.com/repos/rooftopcms/rooftop-events/zipball/c2c4c3224686f8f71345a9b2dc148717223a0766", 683 | "reference": "c2c4c3224686f8f71345a9b2dc148717223a0766", 684 | "shasum": "" 685 | }, 686 | "require": { 687 | "composer/installers": "~1.0" 688 | }, 689 | "type": "wordpress-plugin", 690 | "notification-url": "https://packagist.org/downloads/", 691 | "license": [ 692 | "GPL-3.0" 693 | ], 694 | "authors": [ 695 | { 696 | "name": "Rooftop CMS", 697 | "email": "hello@rooftopcms.com" 698 | } 699 | ], 700 | "description": "Authenticates requests to the API", 701 | "time": "2017-11-22T15:17:55+00:00" 702 | }, 703 | { 704 | "name": "rooftopcms/rooftop-gravityforms-exposer", 705 | "version": "1.2.1", 706 | "source": { 707 | "type": "git", 708 | "url": "https://github.com/rooftopcms/rooftop-gravityforms-exposer.git", 709 | "reference": "031e49c30b0d302d00c3629ece55b4f5e77aeefd" 710 | }, 711 | "dist": { 712 | "type": "zip", 713 | "url": "https://api.github.com/repos/rooftopcms/rooftop-gravityforms-exposer/zipball/031e49c30b0d302d00c3629ece55b4f5e77aeefd", 714 | "reference": "031e49c30b0d302d00c3629ece55b4f5e77aeefd", 715 | "shasum": "" 716 | }, 717 | "type": "wordpress-muplugin", 718 | "notification-url": "https://packagist.org/downloads/", 719 | "license": [ 720 | "GPL-3.0" 721 | ], 722 | "authors": [ 723 | { 724 | "name": "Rooftop CMS", 725 | "email": "hello@rooftopcms.com" 726 | } 727 | ], 728 | "description": "Authenticates requests to the API", 729 | "time": "2017-09-01T12:03:18+00:00" 730 | }, 731 | { 732 | "name": "rooftopcms/rooftop-network-settings", 733 | "version": "1.2.1", 734 | "source": { 735 | "type": "git", 736 | "url": "https://github.com/rooftopcms/rooftop-network-settings.git", 737 | "reference": "dcfd32c6e68704c5b2d4467d9807021e57658ee8" 738 | }, 739 | "dist": { 740 | "type": "zip", 741 | "url": "https://api.github.com/repos/rooftopcms/rooftop-network-settings/zipball/dcfd32c6e68704c5b2d4467d9807021e57658ee8", 742 | "reference": "dcfd32c6e68704c5b2d4467d9807021e57658ee8", 743 | "shasum": "" 744 | }, 745 | "require": { 746 | "composer/installers": "~1.0" 747 | }, 748 | "type": "wordpress-muplugin", 749 | "notification-url": "https://packagist.org/downloads/", 750 | "license": [ 751 | "GPL-3.0" 752 | ], 753 | "authors": [ 754 | { 755 | "name": "Rooftop CMS", 756 | "email": "hello@rooftopcms.com" 757 | } 758 | ], 759 | "description": "Network-level admin interface for adding Google Tag Manager config", 760 | "time": "2017-09-01T12:03:18+00:00" 761 | }, 762 | { 763 | "name": "rooftopcms/rooftop-preview-mode-admin", 764 | "version": "1.2.1", 765 | "source": { 766 | "type": "git", 767 | "url": "https://github.com/rooftopcms/rooftop-preview-mode-admin.git", 768 | "reference": "76233fff08ec21387349693ad9ee775de7bffe6e" 769 | }, 770 | "dist": { 771 | "type": "zip", 772 | "url": "https://api.github.com/repos/rooftopcms/rooftop-preview-mode-admin/zipball/76233fff08ec21387349693ad9ee775de7bffe6e", 773 | "reference": "76233fff08ec21387349693ad9ee775de7bffe6e", 774 | "shasum": "" 775 | }, 776 | "require": { 777 | "composer/installers": "~1.0" 778 | }, 779 | "type": "wordpress-plugin", 780 | "notification-url": "https://packagist.org/downloads/", 781 | "license": [ 782 | "GPL-3.0" 783 | ], 784 | "authors": [ 785 | { 786 | "name": "Rooftop CMS", 787 | "email": "hello@rooftopcms.com" 788 | } 789 | ], 790 | "description": "Detect whether a client is making a request in preview mode and define a constant accordingly", 791 | "time": "2017-09-01T11:57:08+00:00" 792 | }, 793 | { 794 | "name": "rooftopcms/rooftop-queue-pusher", 795 | "version": "1.2.2", 796 | "source": { 797 | "type": "git", 798 | "url": "https://github.com/rooftopcms/rooftop-queue-pusher.git", 799 | "reference": "4fd21eac310cee294678c17c0d5b3f4cb8166fd6" 800 | }, 801 | "dist": { 802 | "type": "zip", 803 | "url": "https://api.github.com/repos/rooftopcms/rooftop-queue-pusher/zipball/4fd21eac310cee294678c17c0d5b3f4cb8166fd6", 804 | "reference": "4fd21eac310cee294678c17c0d5b3f4cb8166fd6", 805 | "shasum": "" 806 | }, 807 | "require": { 808 | "chrisboulton/php-resque": "1.2.x", 809 | "chrisboulton/php-resque-scheduler": "1.1" 810 | }, 811 | "type": "wordpress-muplugin", 812 | "notification-url": "https://packagist.org/downloads/", 813 | "license": [ 814 | "GPL-3.0" 815 | ], 816 | "authors": [ 817 | { 818 | "name": "Rooftop CMS", 819 | "email": "hello@rooftopcms.com" 820 | } 821 | ], 822 | "description": "Hook into WP post events to push events onto a queue", 823 | "time": "2017-10-18T14:10:00+00:00" 824 | }, 825 | { 826 | "name": "rooftopcms/rooftop-request-parser", 827 | "version": "1.2.2", 828 | "source": { 829 | "type": "git", 830 | "url": "https://github.com/rooftopcms/rooftop-request-parser.git", 831 | "reference": "89be22acaf132a7cab1be5f3bd45babe13f54863" 832 | }, 833 | "dist": { 834 | "type": "zip", 835 | "url": "https://api.github.com/repos/rooftopcms/rooftop-request-parser/zipball/89be22acaf132a7cab1be5f3bd45babe13f54863", 836 | "reference": "89be22acaf132a7cab1be5f3bd45babe13f54863", 837 | "shasum": "" 838 | }, 839 | "type": "wordpress-muplugin", 840 | "notification-url": "https://packagist.org/downloads/", 841 | "license": [ 842 | "GPL-3.0" 843 | ], 844 | "authors": [ 845 | { 846 | "name": "Rooftop CMS", 847 | "email": "hello@rooftopcms.com" 848 | } 849 | ], 850 | "description": "Manipulate the REST request or server variables to alter queries or remove/change default params", 851 | "time": "2017-11-29T10:14:36+00:00" 852 | }, 853 | { 854 | "name": "rooftopcms/rooftop-resource-metadata", 855 | "version": "1.2.3", 856 | "source": { 857 | "type": "git", 858 | "url": "https://github.com/rooftopcms/rooftop-resource-metadata.git", 859 | "reference": "7c267900b6bf21e63153ded799b030c3aa6293d1" 860 | }, 861 | "dist": { 862 | "type": "zip", 863 | "url": "https://api.github.com/repos/rooftopcms/rooftop-resource-metadata/zipball/7c267900b6bf21e63153ded799b030c3aa6293d1", 864 | "reference": "7c267900b6bf21e63153ded799b030c3aa6293d1", 865 | "shasum": "" 866 | }, 867 | "type": "wordpress-muplugin", 868 | "notification-url": "https://packagist.org/downloads/", 869 | "license": [ 870 | "GPL-3.0" 871 | ], 872 | "authors": [ 873 | { 874 | "name": "Rooftop CMS", 875 | "email": "hello@rooftopcms.com" 876 | } 877 | ], 878 | "description": "Include the custom post metadata in the responses, under a post-type specific key", 879 | "time": "2017-11-29T10:23:18+00:00" 880 | }, 881 | { 882 | "name": "rooftopcms/rooftop-response-headers", 883 | "version": "1.2.3", 884 | "source": { 885 | "type": "git", 886 | "url": "https://github.com/rooftopcms/rooftop-response-headers.git", 887 | "reference": "f86a8ac4f40b4d6a1318609815199add2ec54a78" 888 | }, 889 | "dist": { 890 | "type": "zip", 891 | "url": "https://api.github.com/repos/rooftopcms/rooftop-response-headers/zipball/f86a8ac4f40b4d6a1318609815199add2ec54a78", 892 | "reference": "f86a8ac4f40b4d6a1318609815199add2ec54a78", 893 | "shasum": "" 894 | }, 895 | "require": { 896 | "predis/predis": "~1.0.3" 897 | }, 898 | "type": "wordpress-muplugin", 899 | "notification-url": "https://packagist.org/downloads/", 900 | "license": [ 901 | "GPL-3.0" 902 | ], 903 | "authors": [ 904 | { 905 | "name": "Rooftop CMS", 906 | "email": "hello@rooftopcms.com" 907 | } 908 | ], 909 | "description": "Send additional headers to API requests", 910 | "time": "2017-09-14T15:57:05+00:00" 911 | }, 912 | { 913 | "name": "rooftopcms/rooftop-response-sanitiser", 914 | "version": "1.2.1.2", 915 | "source": { 916 | "type": "git", 917 | "url": "https://github.com/rooftopcms/rooftop-response-sanitiser.git", 918 | "reference": "c6cdca46cca7957a0d08f0e1f05f2e36c13350c8" 919 | }, 920 | "dist": { 921 | "type": "zip", 922 | "url": "https://api.github.com/repos/rooftopcms/rooftop-response-sanitiser/zipball/c6cdca46cca7957a0d08f0e1f05f2e36c13350c8", 923 | "reference": "c6cdca46cca7957a0d08f0e1f05f2e36c13350c8", 924 | "shasum": "" 925 | }, 926 | "type": "wordpress-muplugin", 927 | "notification-url": "https://packagist.org/downloads/", 928 | "license": [ 929 | "GPL-3.0" 930 | ], 931 | "authors": [ 932 | { 933 | "name": "Rooftop CMS", 934 | "email": "hello@rooftopcms.com" 935 | } 936 | ], 937 | "description": "The awesome WP-API includes some things in its response that we would rather handle in the client.For example, we remove content['rendered'] and replace with content['json'] with links replaced with shortcodes.", 938 | "time": "2019-02-21T15:05:38+00:00" 939 | }, 940 | { 941 | "name": "rooftopcms/rooftop-s3-upload-setup", 942 | "version": "1.2.1.1", 943 | "source": { 944 | "type": "git", 945 | "url": "https://github.com/rooftopcms/rooftop-s3-upload-setup.git", 946 | "reference": "91a9e445dd5b16f5506ea9c1a5fd3cff04a01ea7" 947 | }, 948 | "dist": { 949 | "type": "zip", 950 | "url": "https://api.github.com/repos/rooftopcms/rooftop-s3-upload-setup/zipball/91a9e445dd5b16f5506ea9c1a5fd3cff04a01ea7", 951 | "reference": "91a9e445dd5b16f5506ea9c1a5fd3cff04a01ea7", 952 | "shasum": "" 953 | }, 954 | "require": { 955 | "wpackagist-plugin/amazon-s3-and-cloudfront": "0.9.12" 956 | }, 957 | "type": "wordpress-muplugin", 958 | "notification-url": "https://packagist.org/downloads/", 959 | "license": [ 960 | "GPL-3.0" 961 | ], 962 | "authors": [ 963 | { 964 | "name": "Rooftop CMS", 965 | "email": "hello@rooftopcms.com" 966 | } 967 | ], 968 | "description": "Allows sites in a network to define their own S3 credentials", 969 | "time": "2017-09-12T21:02:15+00:00" 970 | }, 971 | { 972 | "name": "rooftopcms/rooftop-theme", 973 | "version": "1.2.2", 974 | "source": { 975 | "type": "git", 976 | "url": "https://github.com/rooftopcms/rooftop-theme.git", 977 | "reference": "5d6e2f8615233e76d3af68321ce711da2530b460" 978 | }, 979 | "dist": { 980 | "type": "zip", 981 | "url": "https://api.github.com/repos/rooftopcms/rooftop-theme/zipball/5d6e2f8615233e76d3af68321ce711da2530b460", 982 | "reference": "5d6e2f8615233e76d3af68321ce711da2530b460", 983 | "shasum": "" 984 | }, 985 | "type": "wordpress-theme", 986 | "notification-url": "https://packagist.org/downloads/", 987 | "license": [ 988 | "GPL-3.0" 989 | ], 990 | "authors": [ 991 | { 992 | "name": "Rooftop CMS", 993 | "email": "hello@rooftopcms.com" 994 | } 995 | ], 996 | "description": "Appearance and menu options", 997 | "time": "2017-09-20T10:31:06+00:00" 998 | }, 999 | { 1000 | "name": "rooftopcms/rooftop-webhooks-admin", 1001 | "version": "1.2.1", 1002 | "source": { 1003 | "type": "git", 1004 | "url": "https://github.com/rooftopcms/rooftop-webhooks-admin.git", 1005 | "reference": "27ec027f8332d13e26f9e2f1d2f031b647f0199f" 1006 | }, 1007 | "dist": { 1008 | "type": "zip", 1009 | "url": "https://api.github.com/repos/rooftopcms/rooftop-webhooks-admin/zipball/27ec027f8332d13e26f9e2f1d2f031b647f0199f", 1010 | "reference": "27ec027f8332d13e26f9e2f1d2f031b647f0199f", 1011 | "shasum": "" 1012 | }, 1013 | "type": "wordpress-muplugin", 1014 | "notification-url": "https://packagist.org/downloads/", 1015 | "license": [ 1016 | "GPL-3.0" 1017 | ], 1018 | "authors": [ 1019 | { 1020 | "name": "Error", 1021 | "email": "hello@rooftopcms.com" 1022 | } 1023 | ], 1024 | "description": "Configure the webhook URI's", 1025 | "time": "2017-09-01T12:03:26+00:00" 1026 | }, 1027 | { 1028 | "name": "symfony/polyfill-ctype", 1029 | "version": "v1.17.0", 1030 | "source": { 1031 | "type": "git", 1032 | "url": "https://github.com/symfony/polyfill-ctype.git", 1033 | "reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9" 1034 | }, 1035 | "dist": { 1036 | "type": "zip", 1037 | "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e94c8b1bbe2bc77507a1056cdb06451c75b427f9", 1038 | "reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9", 1039 | "shasum": "" 1040 | }, 1041 | "require": { 1042 | "php": ">=5.3.3" 1043 | }, 1044 | "suggest": { 1045 | "ext-ctype": "For best performance" 1046 | }, 1047 | "type": "library", 1048 | "extra": { 1049 | "branch-alias": { 1050 | "dev-master": "1.17-dev" 1051 | } 1052 | }, 1053 | "autoload": { 1054 | "psr-4": { 1055 | "Symfony\\Polyfill\\Ctype\\": "" 1056 | }, 1057 | "files": [ 1058 | "bootstrap.php" 1059 | ] 1060 | }, 1061 | "notification-url": "https://packagist.org/downloads/", 1062 | "license": [ 1063 | "MIT" 1064 | ], 1065 | "authors": [ 1066 | { 1067 | "name": "Gert de Pagter", 1068 | "email": "BackEndTea@gmail.com" 1069 | }, 1070 | { 1071 | "name": "Symfony Community", 1072 | "homepage": "https://symfony.com/contributors" 1073 | } 1074 | ], 1075 | "description": "Symfony polyfill for ctype functions", 1076 | "homepage": "https://symfony.com", 1077 | "keywords": [ 1078 | "compatibility", 1079 | "ctype", 1080 | "polyfill", 1081 | "portable" 1082 | ], 1083 | "funding": [ 1084 | { 1085 | "url": "https://symfony.com/sponsor", 1086 | "type": "custom" 1087 | }, 1088 | { 1089 | "url": "https://github.com/fabpot", 1090 | "type": "github" 1091 | }, 1092 | { 1093 | "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", 1094 | "type": "tidelift" 1095 | } 1096 | ], 1097 | "time": "2020-05-12T16:14:59+00:00" 1098 | }, 1099 | { 1100 | "name": "vlucas/phpdotenv", 1101 | "version": "v2.6.4", 1102 | "source": { 1103 | "type": "git", 1104 | "url": "https://github.com/vlucas/phpdotenv.git", 1105 | "reference": "67d472b1794c986381a8950e4958e1adb779d561" 1106 | }, 1107 | "dist": { 1108 | "type": "zip", 1109 | "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/67d472b1794c986381a8950e4958e1adb779d561", 1110 | "reference": "67d472b1794c986381a8950e4958e1adb779d561", 1111 | "shasum": "" 1112 | }, 1113 | "require": { 1114 | "php": "^5.3.9 || ^7.0 || ^8.0", 1115 | "symfony/polyfill-ctype": "^1.9" 1116 | }, 1117 | "require-dev": { 1118 | "ext-filter": "*", 1119 | "ext-pcre": "*", 1120 | "phpunit/phpunit": "^4.8.35 || ^5.0" 1121 | }, 1122 | "suggest": { 1123 | "ext-filter": "Required to use the boolean validator.", 1124 | "ext-pcre": "Required to use most of the library." 1125 | }, 1126 | "type": "library", 1127 | "extra": { 1128 | "branch-alias": { 1129 | "dev-master": "2.6-dev" 1130 | } 1131 | }, 1132 | "autoload": { 1133 | "psr-4": { 1134 | "Dotenv\\": "src/" 1135 | } 1136 | }, 1137 | "notification-url": "https://packagist.org/downloads/", 1138 | "license": [ 1139 | "BSD-3-Clause" 1140 | ], 1141 | "authors": [ 1142 | { 1143 | "name": "Graham Campbell", 1144 | "email": "graham@alt-three.com", 1145 | "homepage": "https://gjcampbell.co.uk/" 1146 | }, 1147 | { 1148 | "name": "Vance Lucas", 1149 | "email": "vance@vancelucas.com", 1150 | "homepage": "https://vancelucas.com/" 1151 | } 1152 | ], 1153 | "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", 1154 | "keywords": [ 1155 | "dotenv", 1156 | "env", 1157 | "environment" 1158 | ], 1159 | "funding": [ 1160 | { 1161 | "url": "https://github.com/GrahamCampbell", 1162 | "type": "github" 1163 | }, 1164 | { 1165 | "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv", 1166 | "type": "tidelift" 1167 | } 1168 | ], 1169 | "time": "2020-05-02T13:38:00+00:00" 1170 | }, 1171 | { 1172 | "name": "wpackagist-plugin/advanced-custom-fields", 1173 | "version": "4.4.8", 1174 | "source": { 1175 | "type": "svn", 1176 | "url": "https://plugins.svn.wordpress.org/advanced-custom-fields/", 1177 | "reference": "tags/4.4.8" 1178 | }, 1179 | "dist": { 1180 | "type": "zip", 1181 | "url": "https://downloads.wordpress.org/plugin/advanced-custom-fields.4.4.8.zip", 1182 | "reference": "tags/4.4.8" 1183 | }, 1184 | "require": { 1185 | "composer/installers": "~1.0" 1186 | }, 1187 | "type": "wordpress-plugin", 1188 | "homepage": "https://wordpress.org/plugins/advanced-custom-fields/" 1189 | }, 1190 | { 1191 | "name": "wpackagist-plugin/amazon-s3-and-cloudfront", 1192 | "version": "0.9.12", 1193 | "source": { 1194 | "type": "svn", 1195 | "url": "https://plugins.svn.wordpress.org/amazon-s3-and-cloudfront/", 1196 | "reference": "tags/0.9.12" 1197 | }, 1198 | "dist": { 1199 | "type": "zip", 1200 | "url": "https://downloads.wordpress.org/plugin/amazon-s3-and-cloudfront.0.9.12.zip", 1201 | "reference": "tags/0.9.12" 1202 | }, 1203 | "require": { 1204 | "composer/installers": "~1.0" 1205 | }, 1206 | "type": "wordpress-plugin", 1207 | "homepage": "https://wordpress.org/plugins/amazon-s3-and-cloudfront/" 1208 | }, 1209 | { 1210 | "name": "wpackagist-plugin/amazon-web-services", 1211 | "version": "1.0.2", 1212 | "source": { 1213 | "type": "svn", 1214 | "url": "https://plugins.svn.wordpress.org/amazon-web-services/", 1215 | "reference": "tags/1.0.2" 1216 | }, 1217 | "dist": { 1218 | "type": "zip", 1219 | "url": "https://downloads.wordpress.org/plugin/amazon-web-services.1.0.2.zip", 1220 | "reference": "tags/1.0.2" 1221 | }, 1222 | "require": { 1223 | "composer/installers": "~1.0" 1224 | }, 1225 | "type": "wordpress-plugin", 1226 | "homepage": "https://wordpress.org/plugins/amazon-web-services/" 1227 | }, 1228 | { 1229 | "name": "wpackagist-plugin/duplicate-post", 1230 | "version": "3.2.4", 1231 | "source": { 1232 | "type": "svn", 1233 | "url": "https://plugins.svn.wordpress.org/duplicate-post/", 1234 | "reference": "tags/3.2.4" 1235 | }, 1236 | "dist": { 1237 | "type": "zip", 1238 | "url": "https://downloads.wordpress.org/plugin/duplicate-post.3.2.4.zip" 1239 | }, 1240 | "require": { 1241 | "composer/installers": "~1.0" 1242 | }, 1243 | "type": "wordpress-plugin", 1244 | "homepage": "https://wordpress.org/plugins/duplicate-post/" 1245 | }, 1246 | { 1247 | "name": "wpackagist-plugin/simple-custom-post-order", 1248 | "version": "2.3.2", 1249 | "source": { 1250 | "type": "svn", 1251 | "url": "https://plugins.svn.wordpress.org/simple-custom-post-order/", 1252 | "reference": "trunk" 1253 | }, 1254 | "dist": { 1255 | "type": "zip", 1256 | "url": "https://downloads.wordpress.org/plugin/simple-custom-post-order.zip?timestamp=1489777411", 1257 | "reference": "trunk" 1258 | }, 1259 | "require": { 1260 | "composer/installers": "~1.0" 1261 | }, 1262 | "type": "wordpress-plugin", 1263 | "homepage": "https://wordpress.org/plugins/simple-custom-post-order/" 1264 | }, 1265 | { 1266 | "name": "wpackagist-plugin/wp-api-menus", 1267 | "version": "1.2.0", 1268 | "source": { 1269 | "type": "svn", 1270 | "url": "https://plugins.svn.wordpress.org/wp-api-menus/", 1271 | "reference": "tags/1.2.0" 1272 | }, 1273 | "dist": { 1274 | "type": "zip", 1275 | "url": "https://downloads.wordpress.org/plugin/wp-api-menus.1.2.0.zip", 1276 | "reference": "tags/1.2.0" 1277 | }, 1278 | "require": { 1279 | "composer/installers": "~1.0" 1280 | }, 1281 | "type": "wordpress-plugin", 1282 | "homepage": "https://wordpress.org/plugins/wp-api-menus/" 1283 | } 1284 | ], 1285 | "packages-dev": [], 1286 | "aliases": [], 1287 | "minimum-stability": "stable", 1288 | "stability-flags": { 1289 | "davidbarratt/custom-installer": 20, 1290 | "errorstudio/rooftop-hosted-hooks": 20 1291 | }, 1292 | "prefer-stable": false, 1293 | "prefer-lowest": false, 1294 | "platform": { 1295 | "php": ">=5.4" 1296 | }, 1297 | "platform-dev": [], 1298 | "plugin-api-version": "1.1.0" 1299 | } 1300 | --------------------------------------------------------------------------------