├── .bowerrc ├── .editorconfig ├── .env.example ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── config │ ├── behat.yml │ ├── phpunit.xml │ └── settings.local.php └── workflows │ ├── ci.yml │ ├── codeql.yml │ └── php.yml ├── .gitignore ├── .node-version ├── .nvmrc ├── .semaphore └── semaphore.yml ├── .travis.yml ├── .zenodo.json ├── DOCKER.md ├── LICENSE ├── Makefile ├── README.md ├── bower.json ├── composer.json ├── composer.lock ├── config └── server │ ├── group_vars │ ├── all │ ├── dev │ ├── docker │ └── vbox │ ├── playbook.yml │ ├── providers │ ├── dev │ │ ├── inventory │ │ └── provision.sh │ ├── docker │ │ ├── Dockerfile │ │ ├── Vagrantfile │ │ └── inventory │ └── vbox │ │ ├── Vagrantfile │ │ └── inventory │ ├── requirements.yml │ ├── roles │ ├── g-div.nvm │ │ ├── .gitignore │ │ ├── README.md │ │ ├── Vagrantfile │ │ ├── ansible.cfg │ │ ├── defaults │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ └── main.yml │ │ └── test.yml │ ├── geerlingguy.drush │ │ ├── README.md │ │ ├── meta │ │ │ ├── .galaxy_install_info │ │ │ └── main.yml │ │ ├── tasks │ │ │ └── main.yml │ │ └── vars │ │ │ └── main.yml │ ├── geerlingguy.git │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── meta │ │ │ ├── .galaxy_install_info │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── install-from-source.yml │ │ │ └── main.yml │ │ ├── tests │ │ │ ├── inventory │ │ │ ├── test_install_from_source.yml │ │ │ └── test_install_package.yml │ │ └── vars │ │ │ └── main.yml │ ├── geerlingguy.java │ │ ├── .travis.yml │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── meta │ │ │ ├── .galaxy_install_info │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── main.yml │ │ │ ├── setup-Debian.yml │ │ │ └── setup-RedHat.yml │ │ ├── tests │ │ │ ├── inventory │ │ │ └── test.yml │ │ └── vars │ │ │ ├── Debian.yml │ │ │ └── RedHat.yml │ ├── geerlingguy.mysql │ │ ├── .travis.yml │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ ├── .galaxy_install_info │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── configure.yml │ │ │ ├── databases.yml │ │ │ ├── main.yml │ │ │ ├── replication.yml │ │ │ ├── secure-installation.yml │ │ │ ├── setup-Debian.yml │ │ │ ├── setup-RedHat.yml │ │ │ └── users.yml │ │ ├── templates │ │ │ ├── my.cnf.j2 │ │ │ └── python-my.cnf.j2 │ │ ├── tests │ │ │ ├── inventory │ │ │ └── test.yml │ │ └── vars │ │ │ ├── Debian.yml │ │ │ └── RedHat.yml │ ├── geerlingguy.solr │ │ ├── .travis.yml │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── meta │ │ │ ├── .galaxy_install_info │ │ │ └── main.yml │ │ ├── tasks │ │ │ └── main.yml │ │ ├── templates │ │ │ ├── Catalina │ │ │ │ └── solr.xml.j2 │ │ │ └── solr.xml.j2 │ │ ├── tests │ │ │ ├── inventory │ │ │ └── test.yml │ │ └── vars │ │ │ ├── Debian.yml │ │ │ └── RedHat.yml │ ├── geerlingguy.tomcat6 │ │ ├── .travis.yml │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ ├── .galaxy_install_info │ │ │ └── main.yml │ │ ├── tasks │ │ │ └── main.yml │ │ ├── templates │ │ │ └── server.xml.j2 │ │ └── tests │ │ │ ├── inventory │ │ │ └── test.yml │ ├── jdauphant.nginx │ │ ├── .travis.yml │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── example-vars.yml │ │ ├── files │ │ │ └── epel.repo │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ ├── .galaxy_install_info │ │ │ └── main.yml │ │ ├── tasks │ │ │ └── main.yml │ │ ├── templates │ │ │ ├── auth_basic.j2 │ │ │ ├── config.conf.j2 │ │ │ ├── nginx.conf.j2 │ │ │ └── site.conf.j2 │ │ ├── test.yml │ │ └── vars │ │ │ └── main.yml │ ├── laggyluke.direnv │ │ ├── .gitignore │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ └── tasks │ │ │ └── main.yml │ ├── laggyluke.nodejs-app │ │ ├── .gitignore │ │ ├── README.md │ │ ├── default │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ └── main.yml │ │ └── templates │ │ │ ├── envrc.j2 │ │ │ ├── upstart-master.conf.j2 │ │ │ └── upstart-worker.conf.j2 │ ├── nbz4live.php-fpm │ │ ├── .travis.yml │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ ├── .galaxy_install_info │ │ │ └── main.yml │ │ ├── tasks │ │ │ └── main.yml │ │ ├── templates │ │ │ ├── php-fpm-debian.conf.j2 │ │ │ ├── php-fpm.conf.j2 │ │ │ └── pool.conf.j2 │ │ ├── test.yml │ │ └── vars │ │ │ ├── Debian.yml │ │ │ ├── RedHat.yml │ │ │ └── main.yml │ ├── pbuyle.nginx-drupal │ │ ├── LICENSE │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ ├── .galaxy_install_info │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── git-checkout.yml │ │ │ ├── main.yml │ │ │ └── sites.yml │ │ ├── templates │ │ │ ├── apps │ │ │ │ └── drupal │ │ │ │ │ └── drupal.j2 │ │ │ ├── nginx.j2 │ │ │ ├── nginx_status_allowed_hosts.j2 │ │ │ ├── php_fpm_status_allowed_hosts.j2 │ │ │ ├── php_fpm_status_vhost.j2 │ │ │ ├── sites-available │ │ │ │ └── drupal-site.j2 │ │ │ └── upstream_php.j2 │ │ └── vars │ │ │ └── main.yml │ ├── pbuyle.php-composer │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ ├── .galaxy_install_info │ │ │ └── main.yml │ │ ├── tasks │ │ │ └── main.yml │ │ ├── templates │ │ │ └── composer.j2 │ │ └── vars │ │ │ └── main.yml │ ├── revagomes.php-pecl │ │ ├── .travis.yml │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ └── main.yml │ │ ├── templates │ │ │ └── extension.ini.j2 │ │ └── tests │ │ │ ├── inventory │ │ │ └── test.yml │ └── taller.drupal-kw │ │ ├── defaults │ │ └── main.yml │ │ ├── handlers │ │ └── main.yml │ │ ├── tasks │ │ ├── git.yml │ │ ├── main.yml │ │ └── settings.php.yml │ │ └── templates │ │ └── settings.db.j2 │ ├── tasks │ └── common.yml │ └── templates │ ├── post-config.nginx.j2 │ └── solr │ └── schema.xml.j2 ├── cypress.json ├── cypress ├── integration │ └── permissions │ │ ├── artifact_text_private.spec.js │ │ ├── open_content │ │ ├── pece_essay_private_group.spec.js │ │ ├── pece_essay_public_group.spec.js │ │ └── text_artifact │ │ │ └── artifact_text_private_group.spec.js │ │ ├── pece_essay_private.spec.js │ │ └── restricted_content │ │ ├── pece_essay_private_group.spec.js │ │ ├── pece_essay_public_group.spec.js │ │ └── pece_essay_restricted.spec.js └── support │ ├── commands.js │ ├── drupal │ └── drupalCommands.js │ ├── index.d.ts │ └── index.js ├── deploy-dev.sh ├── deploy-travisci.enc ├── docker-compose-dev.override.example.yml ├── docker-compose-dev.yml ├── docker-compose-prod.override.yml.example ├── docker-compose-prod.yml ├── docker-compose.override.example.yml ├── docker-compose.yml ├── docker ├── DockerfileDevelopment ├── DockerfileWeb ├── DockerfileWodbyPHP ├── bash.bashrc ├── docker-entrypoint-prod.sh ├── docker-entrypoint.sh ├── fastcgi.conf ├── matomo │ ├── .gitignore │ ├── Makefile │ ├── docker-compose.yml │ └── matomo.example.env └── nginx.conf ├── gulp ├── lib │ └── util.js └── tasks │ ├── README.md │ ├── bower │ └── install.js │ ├── build.js │ ├── config │ ├── environment.js │ ├── index.js │ └── settings.js │ ├── default.js │ ├── demo.js │ ├── distro │ ├── pack.js │ └── prepare.js │ ├── drush │ ├── cc.js │ ├── kw-apply-module-dependencies.js │ ├── kw-b.js │ ├── kw-s.js │ ├── kw-u.js │ └── si.js │ ├── install.js │ ├── pack-distro.js │ ├── setup.js │ ├── site-install.js │ ├── site-uninstall.js │ ├── styles.js │ ├── tests │ └── e2e.js │ ├── update.js │ ├── watch.js │ └── webdriver │ ├── start.js │ └── update.js ├── gulpfile.js ├── kraftwagenrc.php ├── package-lock.json ├── package-lock.json.bkp ├── package.json ├── scripts └── composer │ └── SetupWizard.php ├── src ├── README.md ├── cnf │ ├── settings.local.base.php │ ├── settings.local.php │ └── settings.php ├── docs │ └── source │ │ ├── .installation.rst.swp │ │ ├── Old Docs │ │ ├── conf.py │ │ ├── contributors.rst │ │ ├── datamanagement.rst │ │ ├── datamodel.rst │ │ ├── img │ │ │ ├── PECE Permissions.png │ │ │ ├── figure1.png │ │ │ ├── figure2.png │ │ │ ├── figure3.png │ │ │ └── figure4.png │ │ ├── index.rst │ │ ├── installation.md │ │ ├── intro.rst │ │ ├── legal.rst │ │ ├── readme.md │ │ ├── team.rst │ │ ├── terminology.rst │ │ ├── todo.rst │ │ └── usersguide.rst │ │ ├── cinder │ │ ├── 404.html │ │ ├── __init__.py │ │ ├── base.html │ │ ├── content.html │ │ ├── css │ │ │ ├── base.css │ │ │ ├── base.min.css │ │ │ ├── bootstrap-custom.css │ │ │ ├── bootstrap-custom.min.css │ │ │ ├── cinder.css │ │ │ ├── cinder.min.css │ │ │ ├── highlight.css │ │ │ └── highlight.min.css │ │ ├── fonts │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ └── fontawesome-webfont.woff │ │ ├── img │ │ │ ├── favicon.ico │ │ │ ├── grid1.png │ │ │ ├── grid10.png │ │ │ ├── grid11.png │ │ │ ├── grid12.png │ │ │ ├── grid13.png │ │ │ ├── grid14.png │ │ │ ├── grid15.png │ │ │ ├── grid16.png │ │ │ ├── grid17.png │ │ │ ├── grid18.png │ │ │ ├── grid19.png │ │ │ ├── grid2.png │ │ │ ├── grid20.png │ │ │ ├── grid3.png │ │ │ ├── grid4.png │ │ │ ├── grid5.png │ │ │ ├── grid6.png │ │ │ ├── grid7.png │ │ │ ├── grid8.png │ │ │ └── grid9.png │ │ ├── js │ │ │ ├── base.js │ │ │ └── bootstrap-3.0.3.min.js │ │ ├── keyboard-modal.html │ │ ├── main.html │ │ ├── mkdocs_theme.yml │ │ ├── nav-sub.html │ │ ├── nav.html │ │ ├── search-modal.html │ │ └── toc.html │ │ ├── docs │ │ ├── about.md │ │ ├── account.md │ │ ├── aims.md │ │ ├── annotations.md │ │ ├── artifacts.md │ │ ├── contributors.md │ │ ├── css │ │ │ └── extra.css │ │ ├── datamanagement.md │ │ ├── datamodel.md │ │ ├── discovery.md │ │ ├── essays.md │ │ ├── glossary.md │ │ ├── groups.md │ │ ├── history.md │ │ ├── index.md │ │ ├── infra │ │ │ └── matomo.md │ │ ├── installation.md │ │ ├── legal.md │ │ ├── licensing.md │ │ ├── logics.md │ │ ├── media │ │ │ ├── 15-steps.png │ │ │ ├── DataThenAndNowTalk.docx │ │ │ ├── about.png │ │ │ ├── addphotoessay.png │ │ │ ├── addterm.png │ │ │ ├── annotations.png │ │ │ ├── artifacts1.png │ │ │ ├── artifacts10.png │ │ │ ├── artifacts2.png │ │ │ ├── artifacts3.png │ │ │ ├── artifacts4.png │ │ │ ├── artifacts5.png │ │ │ ├── artifacts6.png │ │ │ ├── artifacts7.png │ │ │ ├── artifacts8.png │ │ │ ├── artifacts9.png │ │ │ ├── comment.png │ │ │ ├── createanalytic.png │ │ │ ├── datamodel.jpg │ │ │ ├── download.png │ │ │ ├── farhat-bin-aznan.png │ │ │ ├── grouplogics.png │ │ │ ├── lindsay-poirier.png │ │ │ ├── matomo-modules.png │ │ │ ├── matomo-site-id.gif │ │ │ ├── matomo-variables.png │ │ │ ├── pdfdownload.png │ │ │ ├── pece-logo-5.png │ │ │ ├── permissions.png │ │ │ ├── photo_essay_1.png │ │ │ ├── photo_essay_2.png │ │ │ ├── photo_essay_3.png │ │ │ ├── photo_essay_4.png │ │ │ ├── photo_essay_5.png │ │ │ ├── photo_essay_6.png │ │ │ ├── photo_essay_7.png │ │ │ ├── photo_essay_8.png │ │ │ ├── reorderimages.png │ │ │ ├── revisions.png │ │ │ └── tags.png │ │ ├── permissions.md │ │ ├── projects.md │ │ ├── rationale.md │ │ ├── sandbox.md │ │ ├── siteadmin.md │ │ ├── tagging.md │ │ └── usersguide.md │ │ └── mkdocs.yml ├── modules │ ├── README.md │ ├── dev │ │ └── README.md │ ├── features │ │ └── README.md │ ├── kraftwagen │ │ └── README.md │ ├── pece │ │ ├── README.md │ │ ├── pece_about │ │ │ ├── defaults │ │ │ │ └── about.yml │ │ │ ├── pece_about.features.defaultconfig.inc │ │ │ ├── pece_about.features.field_instance.inc │ │ │ ├── pece_about.features.inc │ │ │ ├── pece_about.functions.inc │ │ │ ├── pece_about.info │ │ │ ├── pece_about.install │ │ │ ├── pece_about.module │ │ │ ├── pece_about.panelizer.inc │ │ │ ├── pece_about.strongarm.inc │ │ │ └── templates │ │ │ │ └── pece-about-block.tpl.php │ │ ├── pece_access │ │ │ ├── .gitignore │ │ │ ├── PeceAccessMatrix.php │ │ │ ├── pece_access.features.defaultconfig.inc │ │ │ ├── pece_access.info │ │ │ ├── pece_access.install │ │ │ ├── pece_access.module │ │ │ ├── pece_anonymous_access.test │ │ │ ├── pece_authenticated_access.test │ │ │ ├── pece_authenticatedgroup_access.test │ │ │ ├── pece_researcher_access.test │ │ │ └── pece_researchergroup_access.test │ │ ├── pece_admin │ │ │ ├── images │ │ │ │ └── close.png │ │ │ ├── pece_admin.css │ │ │ ├── pece_admin.features.defaultconfig.inc │ │ │ ├── pece_admin.features.inc │ │ │ ├── pece_admin.info │ │ │ ├── pece_admin.install │ │ │ ├── pece_admin.js │ │ │ ├── pece_admin.module │ │ │ └── pece_admin.pages_default.inc │ │ ├── pece_amber │ │ │ ├── pece_amber.features.defaultconfig.inc │ │ │ ├── pece_amber.features.inc │ │ │ ├── pece_amber.features.menu_links.inc │ │ │ ├── pece_amber.info │ │ │ ├── pece_amber.module │ │ │ └── pece_amber.strongarm.inc │ │ ├── pece_analytics │ │ │ ├── pece_analytics.features.defaultconfig.inc │ │ │ ├── pece_analytics.features.field_base.inc │ │ │ ├── pece_analytics.features.field_instance.inc │ │ │ ├── pece_analytics.features.inc │ │ │ ├── pece_analytics.features.taxonomy.inc │ │ │ ├── pece_analytics.functions.inc │ │ │ ├── pece_analytics.info │ │ │ ├── pece_analytics.install │ │ │ ├── pece_analytics.module │ │ │ ├── pece_analytics.strongarm.inc │ │ │ └── pece_analytics.views_default.inc │ │ ├── pece_annotations │ │ │ ├── assets │ │ │ │ └── css │ │ │ │ │ └── pece_annotations.css │ │ │ ├── pece_annotations.features.defaultconfig.inc │ │ │ ├── pece_annotations.features.field_base.inc │ │ │ ├── pece_annotations.features.field_instance.inc │ │ │ ├── pece_annotations.features.inc │ │ │ ├── pece_annotations.info │ │ │ ├── pece_annotations.install │ │ │ ├── pece_annotations.module │ │ │ ├── pece_annotations.panelizer.inc │ │ │ ├── pece_annotations.strongarm.inc │ │ │ ├── pece_annotations.views_default.inc │ │ │ └── plugins │ │ │ │ └── content_types │ │ │ │ └── annotation.inc │ │ ├── pece_api │ │ │ ├── pece_api.features.defaultconfig.inc │ │ │ ├── pece_api.features.inc │ │ │ ├── pece_api.features.menu_custom.inc │ │ │ ├── pece_api.features.menu_links.inc │ │ │ ├── pece_api.features.user_permission.inc │ │ │ ├── pece_api.info │ │ │ ├── pece_api.module │ │ │ ├── pece_api.services.inc │ │ │ └── pece_api.strongarm.inc │ │ ├── pece_ark │ │ │ ├── pece_ark.admin.inc │ │ │ ├── pece_ark.batches.inc │ │ │ ├── pece_ark.features.inc │ │ │ ├── pece_ark.functions.inc │ │ │ ├── pece_ark.info │ │ │ ├── pece_ark.install │ │ │ ├── pece_ark.module │ │ │ ├── pece_ark.settings.inc │ │ │ ├── pece_ark.test │ │ │ ├── pece_ark.views_default.inc │ │ │ └── plugins │ │ │ │ └── content_types │ │ │ │ └── citation.inc │ │ ├── pece_artifacts │ │ │ ├── modules │ │ │ │ ├── pece_artifacts_audio │ │ │ │ │ ├── pece_artifacts_audio.features.defaultconfig.inc │ │ │ │ │ ├── pece_artifacts_audio.features.field_base.inc │ │ │ │ │ ├── pece_artifacts_audio.features.field_instance.inc │ │ │ │ │ ├── pece_artifacts_audio.features.inc │ │ │ │ │ ├── pece_artifacts_audio.field_group.inc │ │ │ │ │ ├── pece_artifacts_audio.info │ │ │ │ │ ├── pece_artifacts_audio.install │ │ │ │ │ ├── pece_artifacts_audio.module │ │ │ │ │ ├── pece_artifacts_audio.panelizer.inc │ │ │ │ │ └── pece_artifacts_audio.strongarm.inc │ │ │ │ ├── pece_artifacts_bundle │ │ │ │ │ ├── pece_artifacts_bundle.features.defaultconfig.inc │ │ │ │ │ ├── pece_artifacts_bundle.features.field_instance.inc │ │ │ │ │ ├── pece_artifacts_bundle.features.inc │ │ │ │ │ ├── pece_artifacts_bundle.field_group.inc │ │ │ │ │ ├── pece_artifacts_bundle.info │ │ │ │ │ ├── pece_artifacts_bundle.install │ │ │ │ │ ├── pece_artifacts_bundle.module │ │ │ │ │ ├── pece_artifacts_bundle.panelizer.inc │ │ │ │ │ └── pece_artifacts_bundle.strongarm.inc │ │ │ │ ├── pece_artifacts_fieldnote │ │ │ │ │ ├── pece_artifacts_fieldnote.features.defaultconfig.inc │ │ │ │ │ ├── pece_artifacts_fieldnote.features.field_instance.inc │ │ │ │ │ ├── pece_artifacts_fieldnote.features.inc │ │ │ │ │ ├── pece_artifacts_fieldnote.field_group.inc │ │ │ │ │ ├── pece_artifacts_fieldnote.info │ │ │ │ │ ├── pece_artifacts_fieldnote.install │ │ │ │ │ ├── pece_artifacts_fieldnote.module │ │ │ │ │ ├── pece_artifacts_fieldnote.panelizer.inc │ │ │ │ │ ├── pece_artifacts_fieldnote.strongarm.inc │ │ │ │ │ └── pece_artifacts_fieldnote.views_default.inc │ │ │ │ ├── pece_artifacts_image │ │ │ │ │ ├── pece_artifacts_image.features.defaultconfig.inc │ │ │ │ │ ├── pece_artifacts_image.features.field_base.inc │ │ │ │ │ ├── pece_artifacts_image.features.field_instance.inc │ │ │ │ │ ├── pece_artifacts_image.features.inc │ │ │ │ │ ├── pece_artifacts_image.features.user_permission.inc │ │ │ │ │ ├── pece_artifacts_image.field_group.inc │ │ │ │ │ ├── pece_artifacts_image.info │ │ │ │ │ ├── pece_artifacts_image.install │ │ │ │ │ ├── pece_artifacts_image.module │ │ │ │ │ ├── pece_artifacts_image.panelizer.inc │ │ │ │ │ └── pece_artifacts_image.strongarm.inc │ │ │ │ ├── pece_artifacts_pdf │ │ │ │ │ ├── pece_artifacts_pdf.features.defaultconfig.inc │ │ │ │ │ ├── pece_artifacts_pdf.features.field_base.inc │ │ │ │ │ ├── pece_artifacts_pdf.features.field_instance.inc │ │ │ │ │ ├── pece_artifacts_pdf.features.inc │ │ │ │ │ ├── pece_artifacts_pdf.field_group.inc │ │ │ │ │ ├── pece_artifacts_pdf.info │ │ │ │ │ ├── pece_artifacts_pdf.install │ │ │ │ │ ├── pece_artifacts_pdf.module │ │ │ │ │ ├── pece_artifacts_pdf.panelizer.inc │ │ │ │ │ └── pece_artifacts_pdf.strongarm.inc │ │ │ │ ├── pece_artifacts_tabular │ │ │ │ │ ├── pece_artifacts_tabular.features.defaultconfig.inc │ │ │ │ │ ├── pece_artifacts_tabular.features.field_base.inc │ │ │ │ │ ├── pece_artifacts_tabular.features.field_instance.inc │ │ │ │ │ ├── pece_artifacts_tabular.features.inc │ │ │ │ │ ├── pece_artifacts_tabular.features.user_permission.inc │ │ │ │ │ ├── pece_artifacts_tabular.field_group.inc │ │ │ │ │ ├── pece_artifacts_tabular.info │ │ │ │ │ ├── pece_artifacts_tabular.install │ │ │ │ │ ├── pece_artifacts_tabular.module │ │ │ │ │ ├── pece_artifacts_tabular.panelizer.inc │ │ │ │ │ └── pece_artifacts_tabular.strongarm.inc │ │ │ │ ├── pece_artifacts_text │ │ │ │ │ ├── pece_artifacts_text.features.defaultconfig.inc │ │ │ │ │ ├── pece_artifacts_text.features.field_instance.inc │ │ │ │ │ ├── pece_artifacts_text.features.inc │ │ │ │ │ ├── pece_artifacts_text.field_group.inc │ │ │ │ │ ├── pece_artifacts_text.info │ │ │ │ │ ├── pece_artifacts_text.install │ │ │ │ │ ├── pece_artifacts_text.module │ │ │ │ │ ├── pece_artifacts_text.panelizer.inc │ │ │ │ │ └── pece_artifacts_text.strongarm.inc │ │ │ │ ├── pece_artifacts_video │ │ │ │ │ ├── pece_artifacts_video.features.defaultconfig.inc │ │ │ │ │ ├── pece_artifacts_video.features.field_base.inc │ │ │ │ │ ├── pece_artifacts_video.features.field_instance.inc │ │ │ │ │ ├── pece_artifacts_video.features.inc │ │ │ │ │ ├── pece_artifacts_video.field_group.inc │ │ │ │ │ ├── pece_artifacts_video.info │ │ │ │ │ ├── pece_artifacts_video.install │ │ │ │ │ ├── pece_artifacts_video.module │ │ │ │ │ ├── pece_artifacts_video.panelizer.inc │ │ │ │ │ └── pece_artifacts_video.strongarm.inc │ │ │ │ └── pece_artifacts_website │ │ │ │ │ ├── pece_artifacts_website.features.defaultconfig.inc │ │ │ │ │ ├── pece_artifacts_website.features.field_base.inc │ │ │ │ │ ├── pece_artifacts_website.features.field_instance.inc │ │ │ │ │ ├── pece_artifacts_website.features.inc │ │ │ │ │ ├── pece_artifacts_website.field_group.inc │ │ │ │ │ ├── pece_artifacts_website.info │ │ │ │ │ ├── pece_artifacts_website.install │ │ │ │ │ ├── pece_artifacts_website.module │ │ │ │ │ ├── pece_artifacts_website.panelizer.inc │ │ │ │ │ └── pece_artifacts_website.strongarm.inc │ │ │ ├── pece_artifacts.api.php │ │ │ ├── pece_artifacts.features.defaultconfig.inc │ │ │ ├── pece_artifacts.features.field_instance.inc │ │ │ ├── pece_artifacts.features.inc │ │ │ ├── pece_artifacts.field_group.inc │ │ │ ├── pece_artifacts.info │ │ │ ├── pece_artifacts.install │ │ │ ├── pece_artifacts.module │ │ │ ├── pece_artifacts.panelizer.inc │ │ │ ├── pece_artifacts.strongarm.inc │ │ │ └── pece_artifacts.views_default.inc │ │ ├── pece_backup │ │ │ ├── pece_backup.backup_migrate_exportables.inc │ │ │ ├── pece_backup.features.defaultconfig.inc │ │ │ ├── pece_backup.features.inc │ │ │ ├── pece_backup.features.menu_custom.inc │ │ │ ├── pece_backup.features.menu_links.inc │ │ │ ├── pece_backup.features.user_permission.inc │ │ │ ├── pece_backup.info │ │ │ ├── pece_backup.module │ │ │ └── pece_backup.strongarm.inc │ │ ├── pece_biblio │ │ │ ├── pece_biblio.features.defaultconfig.inc │ │ │ ├── pece_biblio.features.field_base.inc │ │ │ ├── pece_biblio.features.field_instance.inc │ │ │ ├── pece_biblio.features.inc │ │ │ ├── pece_biblio.features.taxonomy.inc │ │ │ ├── pece_biblio.features.user_permission.inc │ │ │ ├── pece_biblio.info │ │ │ ├── pece_biblio.install │ │ │ ├── pece_biblio.module │ │ │ └── pece_biblio.views_default.inc │ │ ├── pece_core │ │ │ ├── pece.js │ │ │ ├── pece_core.features.defaultconfig.inc │ │ │ ├── pece_core.features.field_base.inc │ │ │ ├── pece_core.features.field_instance.inc │ │ │ ├── pece_core.features.inc │ │ │ ├── pece_core.features.taxonomy.inc │ │ │ ├── pece_core.features.user_role.inc │ │ │ ├── pece_core.file_default_displays.inc │ │ │ ├── pece_core.functions.admin.inc │ │ │ ├── pece_core.functions.inc │ │ │ ├── pece_core.info │ │ │ ├── pece_core.install │ │ │ ├── pece_core.module │ │ │ ├── pece_core.panelizer.inc │ │ │ ├── pece_core.strongarm.inc │ │ │ └── pece_core.views_default.inc │ │ ├── pece_dashboard │ │ │ ├── pece_dashboard.features.inc │ │ │ ├── pece_dashboard.info │ │ │ ├── pece_dashboard.install │ │ │ ├── pece_dashboard.module │ │ │ ├── pece_dashboard.pages_default.inc │ │ │ ├── pece_dashboard.panels_default.inc │ │ │ └── pece_dashboard.views_default.inc │ │ ├── pece_demo │ │ │ ├── pece_demo.drush.inc │ │ │ ├── pece_demo.info │ │ │ └── pece_demo.module │ │ ├── pece_design_logic │ │ │ ├── defaults │ │ │ │ ├── alt_ontology.yml │ │ │ │ ├── crossing_scales_working_double_binds.yml │ │ │ │ ├── explanatory_pluralism.yml │ │ │ │ ├── files │ │ │ │ │ ├── alt_ontology.jpg │ │ │ │ │ ├── crossing_scales_working_double_binds.jpg │ │ │ │ │ ├── explanatory_pluralism.jpg │ │ │ │ │ ├── juxtapositional_logics.jpg │ │ │ │ │ ├── pursuing_differential_reproduction.jpg │ │ │ │ │ ├── scruffie_contours_and_blurred_focus.jpg │ │ │ │ │ ├── transmuting_ambivalences_of_meaning.png │ │ │ │ │ └── valuing_noise.jpg │ │ │ │ ├── juxtapositional_logics.yml │ │ │ │ ├── pursuing_differential_reproduction.yml │ │ │ │ ├── scruffie_contours_and_blurred_focus.yml │ │ │ │ ├── transmuting_ambivalences_of_meaning.yml │ │ │ │ └── valuing_noise.yml │ │ │ ├── pece_design_logic.features.field_instance.inc │ │ │ ├── pece_design_logic.features.inc │ │ │ ├── pece_design_logic.functions.inc │ │ │ ├── pece_design_logic.info │ │ │ ├── pece_design_logic.install │ │ │ ├── pece_design_logic.module │ │ │ ├── pece_design_logic.views_default.inc │ │ │ └── templates │ │ │ │ └── design-logic.tpl.php │ │ ├── pece_essay │ │ │ ├── pece_essay.features.defaultconfig.inc │ │ │ ├── pece_essay.features.field_instance.inc │ │ │ ├── pece_essay.features.inc │ │ │ ├── pece_essay.field_group.inc │ │ │ ├── pece_essay.fieldable_panels_pane_type.inc │ │ │ ├── pece_essay.functions.inc │ │ │ ├── pece_essay.info │ │ │ ├── pece_essay.install │ │ │ ├── pece_essay.module │ │ │ ├── pece_essay.pages_default.inc │ │ │ ├── pece_essay.panelizer.inc │ │ │ ├── pece_essay.strongarm.inc │ │ │ ├── pece_essay.views_default.inc │ │ │ └── plugins │ │ │ │ └── ctools │ │ │ │ └── content_types │ │ │ │ ├── custom_heading.inc │ │ │ │ └── view_essay_link.inc │ │ ├── pece_frontpage_slideshow │ │ │ ├── pece_frontpage_slideshow.features.defaultconfig.inc │ │ │ ├── pece_frontpage_slideshow.features.field_base.inc │ │ │ ├── pece_frontpage_slideshow.features.field_instance.inc │ │ │ ├── pece_frontpage_slideshow.features.inc │ │ │ ├── pece_frontpage_slideshow.info │ │ │ ├── pece_frontpage_slideshow.install │ │ │ ├── pece_frontpage_slideshow.module │ │ │ ├── pece_frontpage_slideshow.strongarm.inc │ │ │ └── pece_frontpage_slideshow.views_default.inc │ │ ├── pece_groups │ │ │ ├── pece_groups.features.defaultconfig.inc │ │ │ ├── pece_groups.features.field_base.inc │ │ │ ├── pece_groups.features.field_instance.inc │ │ │ ├── pece_groups.features.inc │ │ │ ├── pece_groups.features.og_features_permission.inc │ │ │ ├── pece_groups.features.og_features_role.inc │ │ │ ├── pece_groups.field_group.inc │ │ │ ├── pece_groups.info │ │ │ ├── pece_groups.install │ │ │ ├── pece_groups.module │ │ │ ├── pece_groups.panelizer.inc │ │ │ ├── pece_groups.rules_defaults.inc │ │ │ ├── pece_groups.strongarm.inc │ │ │ ├── pece_groups.views_default.inc │ │ │ └── src │ │ │ │ └── FormBypasser.php │ │ ├── pece_homepage │ │ │ ├── pece_homepage.features.inc │ │ │ ├── pece_homepage.info │ │ │ ├── pece_homepage.module │ │ │ └── pece_homepage.pages_default.inc │ │ ├── pece_importer │ │ │ ├── modules │ │ │ │ ├── pece_imp_artifatcs_audio │ │ │ │ │ ├── pece_imp_artifacts_audio.features.inc │ │ │ │ │ ├── pece_imp_artifacts_audio.feeds_importer_default.inc │ │ │ │ │ ├── pece_imp_artifacts_audio.feeds_tamper_default.inc │ │ │ │ │ ├── pece_imp_artifacts_audio.info │ │ │ │ │ └── pece_imp_artifacts_audio.module │ │ │ │ ├── pece_imp_artifatcs_image │ │ │ │ │ ├── pece_imp_artifacts_image.features.inc │ │ │ │ │ ├── pece_imp_artifacts_image.feeds_importer_default.inc │ │ │ │ │ ├── pece_imp_artifacts_image.feeds_tamper_default.inc │ │ │ │ │ ├── pece_imp_artifacts_image.info │ │ │ │ │ └── pece_imp_artifacts_image.module │ │ │ │ ├── pece_imp_artifatcs_pdf │ │ │ │ │ ├── pece_imp_artifacts_pdf.features.inc │ │ │ │ │ ├── pece_imp_artifacts_pdf.feeds_importer_default.inc │ │ │ │ │ ├── pece_imp_artifacts_pdf.feeds_tamper_default.inc │ │ │ │ │ ├── pece_imp_artifacts_pdf.info │ │ │ │ │ ├── pece_imp_artifacts_pdf.module │ │ │ │ │ └── pece_imp_artifacts_pdf.views_default.inc │ │ │ │ ├── pece_imp_artifatcs_tabular │ │ │ │ │ ├── pece_imp_artifacts_tabular.features.inc │ │ │ │ │ ├── pece_imp_artifacts_tabular.feeds_importer_default.inc │ │ │ │ │ ├── pece_imp_artifacts_tabular.feeds_tamper_default.inc │ │ │ │ │ ├── pece_imp_artifacts_tabular.info │ │ │ │ │ └── pece_imp_artifacts_tabular.module │ │ │ │ ├── pece_imp_artifatcs_text │ │ │ │ │ ├── pece_imp_artifacts_text.features.inc │ │ │ │ │ ├── pece_imp_artifacts_text.feeds_importer_default.inc │ │ │ │ │ ├── pece_imp_artifacts_text.feeds_tamper_default.inc │ │ │ │ │ ├── pece_imp_artifacts_text.info │ │ │ │ │ └── pece_imp_artifacts_text.module │ │ │ │ ├── pece_imp_artifatcs_video │ │ │ │ │ ├── pece_imp_artifacts_video.features.inc │ │ │ │ │ ├── pece_imp_artifacts_video.feeds_importer_default.inc │ │ │ │ │ ├── pece_imp_artifacts_video.feeds_tamper_default.inc │ │ │ │ │ ├── pece_imp_artifacts_video.info │ │ │ │ │ └── pece_imp_artifacts_video.module │ │ │ │ └── pece_imp_artifatcs_website │ │ │ │ │ ├── pece_imp_artifacts_website.features.inc │ │ │ │ │ ├── pece_imp_artifacts_website.feeds_importer_default.inc │ │ │ │ │ ├── pece_imp_artifacts_website.feeds_tamper_default.inc │ │ │ │ │ ├── pece_imp_artifacts_website.info │ │ │ │ │ └── pece_imp_artifacts_website.module │ │ │ ├── pece_importer.info │ │ │ └── pece_importer.module │ │ ├── pece_memo │ │ │ ├── pece_memo.features.defaultconfig.inc │ │ │ ├── pece_memo.features.field_instance.inc │ │ │ ├── pece_memo.features.inc │ │ │ ├── pece_memo.field_group.inc │ │ │ ├── pece_memo.info │ │ │ ├── pece_memo.install │ │ │ ├── pece_memo.module │ │ │ ├── pece_memo.panelizer.inc │ │ │ └── pece_memo.strongarm.inc │ │ ├── pece_node_expiration │ │ │ ├── pece_node_expiration.features.defaultconfig.inc │ │ │ ├── pece_node_expiration.features.inc │ │ │ ├── pece_node_expiration.features.menu_custom.inc │ │ │ ├── pece_node_expiration.features.menu_links.inc │ │ │ ├── pece_node_expiration.info │ │ │ ├── pece_node_expiration.module │ │ │ └── pece_node_expiration.strongarm.inc │ │ ├── pece_notifications │ │ │ ├── modules │ │ │ │ └── pece_notifications_user │ │ │ │ │ ├── pece_notifications_user.features.inc │ │ │ │ │ ├── pece_notifications_user.info │ │ │ │ │ ├── pece_notifications_user.module │ │ │ │ │ ├── pece_notifications_user.rules_defaults.inc │ │ │ │ │ └── pece_notifications_user.strongarm.inc │ │ │ ├── pece_notifications.features.inc │ │ │ ├── pece_notifications.info │ │ │ ├── pece_notifications.module │ │ │ └── pece_notifications.strongarm.inc │ │ ├── pece_panels │ │ │ ├── pece_panels.features.defaultconfig.inc │ │ │ ├── pece_panels.features.field_base.inc │ │ │ ├── pece_panels.features.field_instance.inc │ │ │ ├── pece_panels.info │ │ │ ├── pece_panels.install │ │ │ └── pece_panels.module │ │ ├── pece_photo_essay │ │ │ ├── pece_photo_essay.features.defaultconfig.inc │ │ │ ├── pece_photo_essay.features.field_base.inc │ │ │ ├── pece_photo_essay.features.field_instance.inc │ │ │ ├── pece_photo_essay.features.inc │ │ │ ├── pece_photo_essay.features.user_permission.inc │ │ │ ├── pece_photo_essay.field_group.inc │ │ │ ├── pece_photo_essay.info │ │ │ ├── pece_photo_essay.install │ │ │ ├── pece_photo_essay.module │ │ │ ├── pece_photo_essay.panelizer.inc │ │ │ ├── pece_photo_essay.strongarm.inc │ │ │ └── pece_photo_essay.views_default.inc │ │ ├── pece_profile │ │ │ ├── pece_profile.features.defaultconfig.inc │ │ │ ├── pece_profile.features.features_overrides.inc │ │ │ ├── pece_profile.features.field_base.inc │ │ │ ├── pece_profile.features.field_instance.inc │ │ │ ├── pece_profile.features.inc │ │ │ ├── pece_profile.functions.inc │ │ │ ├── pece_profile.info │ │ │ ├── pece_profile.install │ │ │ ├── pece_profile.module │ │ │ ├── pece_profile.pages_default.inc │ │ │ └── pece_profile.strongarm.inc │ │ ├── pece_projects │ │ │ ├── pece_projects.features.defaultconfig.inc │ │ │ ├── pece_projects.features.field_base.inc │ │ │ ├── pece_projects.features.field_instance.inc │ │ │ ├── pece_projects.features.inc │ │ │ ├── pece_projects.info │ │ │ ├── pece_projects.install │ │ │ ├── pece_projects.module │ │ │ ├── pece_projects.panelizer.inc │ │ │ ├── pece_projects.strongarm.inc │ │ │ └── pece_projects.views_default.inc │ │ ├── pece_repository │ │ │ ├── pece_repository.features.inc │ │ │ ├── pece_repository.info │ │ │ ├── pece_repository.install │ │ │ ├── pece_repository.module │ │ │ └── pece_repository.views_default.inc │ │ ├── pece_security │ │ │ ├── pece_security.features.defaultconfig.inc │ │ │ ├── pece_security.features.inc │ │ │ ├── pece_security.features.user_permission.inc │ │ │ ├── pece_security.info │ │ │ ├── pece_security.install │ │ │ └── pece_security.module │ │ ├── pece_substantive_logic │ │ │ ├── pece_substantive_logic.features.defaultconfig.inc │ │ │ ├── pece_substantive_logic.features.field_base.inc │ │ │ ├── pece_substantive_logic.features.field_instance.inc │ │ │ ├── pece_substantive_logic.features.inc │ │ │ ├── pece_substantive_logic.info │ │ │ ├── pece_substantive_logic.install │ │ │ ├── pece_substantive_logic.module │ │ │ ├── pece_substantive_logic.panelizer.inc │ │ │ ├── pece_substantive_logic.strongarm.inc │ │ │ └── pece_substantive_logic.views_default.inc │ │ ├── pece_tests │ │ │ ├── pece_tests.info │ │ │ └── pece_tests.module │ │ └── pece_timeline_essay │ │ │ ├── assets │ │ │ └── css │ │ │ │ └── tlessay.css │ │ │ ├── pece_timeline_essay.features.defaultconfig.inc │ │ │ ├── pece_timeline_essay.features.field_base.inc │ │ │ ├── pece_timeline_essay.features.field_instance.inc │ │ │ ├── pece_timeline_essay.features.inc │ │ │ ├── pece_timeline_essay.features.user_permission.inc │ │ │ ├── pece_timeline_essay.field_group.inc │ │ │ ├── pece_timeline_essay.functions.inc │ │ │ ├── pece_timeline_essay.info │ │ │ ├── pece_timeline_essay.install │ │ │ ├── pece_timeline_essay.make │ │ │ ├── pece_timeline_essay.module │ │ │ ├── pece_timeline_essay.pages_default.inc │ │ │ ├── pece_timeline_essay.panelizer.inc │ │ │ ├── pece_timeline_essay.strongarm.inc │ │ │ ├── plugins │ │ │ └── ctools │ │ │ │ └── content_types │ │ │ │ ├── timeline_pane.inc │ │ │ │ └── view_timeline_essay_link.inc │ │ │ ├── src │ │ │ └── TimelineEssayItemFormatter.php │ │ │ └── templates │ │ │ └── timeline-pane.tpl.php │ └── sandbox │ │ └── panels_packery │ │ ├── panels_packery.info │ │ ├── panels_packery.make │ │ ├── panels_packery.module │ │ └── plugins │ │ └── panels │ │ └── layouts │ │ └── packery_layout │ │ ├── packery-layout-admin.css │ │ ├── packery-layout-admin.js │ │ ├── packery-layout.css │ │ ├── packery-layout.js │ │ ├── packery-layout.tpl.php │ │ ├── packery_layout.inc │ │ └── packery_layout.png ├── patches │ ├── amber_fix-AmberPDO-class-issue.patch │ ├── amber_fix-deprecated-code-issues.patch │ ├── biblio_zotero-3304957-2.patch │ ├── ctools-save_continue_button.patch │ ├── image_resize_filter-dblog_image_resize_threshold_error.patch │ ├── location-fix_deprecated_var_in_strings-3342876-2.patch │ ├── nodeaccess_userreference-fix_install_phase_requirement_error.patch │ ├── og_ui-membership-pending-request-msg.patch │ ├── panopoly-remove_panelizer_data_alter_callback.patch │ ├── panopoly_wysiwyg-fix-tinymce-broken-download-link.patch │ ├── pdf_reader-keydown_event_page_error.patch │ ├── rules_fix-dependency-list-info-file.patch │ ├── rules_fix-dependency-list-revert-entity_token-namespace-dependency-info-file.patch │ ├── rules_fix-dependency-list-revert-namespace-dependencies-info-files.patch │ ├── search_api_fix-composer-friendly-dependencies-issue.patch │ └── tagclouds_fix-composer-friendly-dependecies-issue.patch ├── pece.css ├── pece.development.make ├── pece.functions.inc ├── pece.info ├── pece.install ├── pece.make ├── pece.png ├── pece.profile ├── themes │ ├── README.md │ ├── contrib │ │ └── scholarly_lite │ │ │ ├── LICENSE.txt │ │ │ ├── comment-wrapper.tpl.php │ │ │ ├── comment.tpl.php │ │ │ ├── fonts │ │ │ ├── alegreya-font.css │ │ │ ├── alegreyasc-font.css │ │ │ ├── cabin-font.css │ │ │ ├── cinzel-font.css │ │ │ ├── crimsontext-font.css │ │ │ ├── droidserif-font.css │ │ │ ├── exo-font.css │ │ │ ├── gentiumbookbasic-font.css │ │ │ ├── josefin-sans-font.css │ │ │ ├── lato-font.css │ │ │ ├── merriweather-font.css │ │ │ ├── notosans-font.css │ │ │ ├── notoserif-font.css │ │ │ ├── opensans-font.css │ │ │ ├── oswald-font.css │ │ │ ├── philosopher-font.css │ │ │ ├── playfair-display-font.css │ │ │ ├── playfairdisplaysc-font.css │ │ │ ├── ptsans-font.css │ │ │ ├── ptserif-blockquote-font.css │ │ │ ├── ptserif-font.css │ │ │ ├── raleway-font.css │ │ │ ├── roboto-condensed-font.css │ │ │ ├── roboto-font.css │ │ │ ├── roboto-slab-font.css │ │ │ ├── sourcecodepro-font.css │ │ │ ├── sourcesanspro-font.css │ │ │ ├── ubuntu-font.css │ │ │ ├── volkhov-font.css │ │ │ └── vollkorn-font.css │ │ │ ├── html.tpl.php │ │ │ ├── ie9.css │ │ │ ├── images │ │ │ ├── block-img.jpg │ │ │ └── footer-logo.png │ │ │ ├── js │ │ │ ├── jquery.mobilemenu-no-optgroups.js │ │ │ ├── jquery.mobilemenu.js │ │ │ └── meanmenu │ │ │ │ ├── README.md │ │ │ │ ├── gpl.txt │ │ │ │ ├── jquery.meanmenu.fork.js │ │ │ │ ├── jquery.meanmenu.js │ │ │ │ ├── jquery.meanmenu.min.js │ │ │ │ ├── meanmenu.css │ │ │ │ └── meanmenu.min.css │ │ │ ├── local.css │ │ │ ├── logo.png │ │ │ ├── maintenance-page.tpl.php │ │ │ ├── node.tpl.php │ │ │ ├── page.tpl.php │ │ │ ├── scholarly_lite.info │ │ │ ├── scholarly_lite.settings.form.css │ │ │ ├── screenshot.png │ │ │ ├── style-blue.css │ │ │ ├── style-gray-green.css │ │ │ ├── style-gray-orange.css │ │ │ ├── style-gray-pink.css │ │ │ ├── style-gray-purple.css │ │ │ ├── style-gray-red.css │ │ │ ├── style-green.css │ │ │ ├── style-orange.css │ │ │ ├── style-pink.css │ │ │ ├── style-purple.css │ │ │ ├── style-red.css │ │ │ ├── style.css │ │ │ ├── template.php │ │ │ ├── theme-settings.php │ │ │ └── webform-form.tpl.php │ └── pece_scholarly_lite │ │ ├── .gitignore │ │ ├── assets │ │ ├── css │ │ │ └── fonts │ │ ├── fonts │ │ │ └── README.txt │ │ ├── images │ │ │ ├── README.txt │ │ │ ├── icon │ │ │ │ ├── icon-apps-active.png │ │ │ │ └── icon-apps.png │ │ │ └── throbber.gif │ │ ├── js │ │ │ ├── color-picker.js │ │ │ ├── dashboard-menu.js │ │ │ ├── modal-slider.js │ │ │ ├── modal.js │ │ │ ├── script.js │ │ │ └── slider.js │ │ ├── overrides │ │ │ ├── scheme_override.base.css │ │ │ ├── scheme_overrides.blue.css │ │ │ ├── scheme_overrides.default.css │ │ │ ├── scheme_overrides.gray-green.css │ │ │ ├── scheme_overrides.gray-orange.css │ │ │ ├── scheme_overrides.gray-pink.css │ │ │ ├── scheme_overrides.gray-red.css │ │ │ ├── scheme_overrides.green.css │ │ │ ├── scheme_overrides.orange.css │ │ │ ├── scheme_overrides.pink.css │ │ │ ├── scheme_overrides.purple.css │ │ │ └── scheme_overrides.red.css │ │ └── sass │ │ │ ├── library │ │ │ ├── components │ │ │ │ ├── box.sass │ │ │ │ ├── buttons.sass │ │ │ │ ├── files.sass │ │ │ │ ├── lists.sass │ │ │ │ └── tags.sass │ │ │ ├── library.sass │ │ │ └── settings │ │ │ │ ├── color-maps.scss │ │ │ │ ├── colors.sass │ │ │ │ ├── extensions.sass │ │ │ │ ├── media.sass │ │ │ │ ├── scholarly-lite-variables.sass │ │ │ │ └── typography.sass │ │ │ ├── partials │ │ │ ├── admin │ │ │ │ ├── admin-dashboard.sass │ │ │ │ ├── base.sass │ │ │ │ ├── diff.sass │ │ │ │ ├── messages.sass │ │ │ │ └── modal.sass │ │ │ ├── base.sass │ │ │ ├── entities │ │ │ │ ├── design-logic.sass │ │ │ │ └── pece-photo-essay-item.sass │ │ │ ├── forms │ │ │ │ ├── autocomplete.sass │ │ │ │ ├── base.sass │ │ │ │ ├── node-edit.sass │ │ │ │ └── panels.sass │ │ │ ├── groups.sass │ │ │ ├── modal.sass │ │ │ ├── nodes │ │ │ │ ├── base.sass │ │ │ │ ├── card.sass │ │ │ │ ├── fields.sass │ │ │ │ ├── icons-map.scss │ │ │ │ ├── icons.sass │ │ │ │ ├── meta-content.sass │ │ │ │ ├── mini-teaser.sass │ │ │ │ ├── page.sass │ │ │ │ ├── pece-artifact--teaser.sass │ │ │ │ ├── pece-artifact-tabular.sass │ │ │ │ ├── pece-artifact-video.sass │ │ │ │ ├── pece-biblio.sass │ │ │ │ ├── pece-group--mini-teaser.sass │ │ │ │ ├── pece-group--most-recent.sass │ │ │ │ ├── pece-memo.sass │ │ │ │ ├── pece-pdf.sass │ │ │ │ ├── pece-photo-essay.sass │ │ │ │ └── pece-project.sass │ │ │ ├── pages │ │ │ │ ├── base.sass │ │ │ │ ├── homepage.sass │ │ │ │ ├── repository.sass │ │ │ │ └── taxonomy.sass │ │ │ ├── panels │ │ │ │ ├── annotate-link.sass │ │ │ │ ├── base.sass │ │ │ │ ├── content-heading.sass │ │ │ │ ├── essay-link.sass │ │ │ │ ├── pece-layout-three-col.sass │ │ │ │ └── question-set.sass │ │ │ ├── print │ │ │ │ ├── annotations.sass │ │ │ │ ├── base.sass │ │ │ │ └── page.sass │ │ │ ├── regions │ │ │ │ ├── base.sass │ │ │ │ └── header.sass │ │ │ ├── tabs.sass │ │ │ ├── users │ │ │ │ ├── base.sass │ │ │ │ ├── mini-teaser.sass │ │ │ │ └── thumbnail.sass │ │ │ └── views │ │ │ │ ├── analytics.sass │ │ │ │ ├── annotations.sass │ │ │ │ ├── base.sass │ │ │ │ ├── dashboard-tabs.sass │ │ │ │ ├── field-diary.sass │ │ │ │ ├── groups.sass │ │ │ │ ├── projects.sass │ │ │ │ └── tags.sass │ │ │ └── sources │ │ │ ├── header_override.sass │ │ │ ├── main.sass │ │ │ └── print.sass │ │ ├── favicon.ico │ │ ├── fonts │ │ ├── includes │ │ ├── preprocess.entity.inc │ │ ├── preprocess.fields.inc │ │ ├── preprocess.inc │ │ └── preprocess.views.inc │ │ ├── layouts │ │ ├── pece_douby_double │ │ │ ├── pece-douby-double.png │ │ │ ├── pece-douby-double.tpl.php │ │ │ └── pece_douby_double.inc │ │ ├── pece_pond │ │ │ ├── pece-pond.png │ │ │ ├── pece-pond.tpl.php │ │ │ └── pece_pond.inc │ │ ├── pece_sidebar_right │ │ │ ├── pece-sidebar-right.png │ │ │ ├── pece-sidebar-right.tpl.php │ │ │ └── pece_sidebar_right.inc │ │ ├── pece_single_column │ │ │ ├── pece-single-column.tpl.php │ │ │ ├── pece_single_column.inc │ │ │ └── pece_single_column.png │ │ ├── pece_sutro │ │ │ ├── pece-sutro.png │ │ │ ├── pece-sutro.tpl.php │ │ │ └── pece_sutro.inc │ │ ├── pece_sutro_double │ │ │ ├── pece-sutro-double.png │ │ │ ├── pece-sutro-double.tpl.php │ │ │ └── pece_sutro_double.inc │ │ └── pece_three_col │ │ │ ├── pece-three-col.tpl.php │ │ │ ├── pece_three_col.inc │ │ │ └── pece_three_col.png │ │ ├── logo.png │ │ ├── logo_ico.png │ │ ├── pece_scholarly_lite.info │ │ ├── plugins │ │ └── styles │ │ │ └── slider.inc │ │ ├── screenshot.png │ │ ├── template.php │ │ ├── templates │ │ ├── README.txt │ │ ├── block │ │ │ └── README.txt │ │ ├── comment │ │ │ └── README.txt │ │ ├── contrib │ │ │ └── README.txt │ │ ├── entity │ │ │ ├── design-logic--design-logic--mini-teaser.tpl.php │ │ │ └── pece-photo-essay-item.tpl.php │ │ ├── field │ │ │ ├── README.txt │ │ │ ├── field--field-pece-photo-essay-items.tpl.php │ │ │ ├── field--og-group-ref.tpl.php │ │ │ └── location.tpl.php │ │ ├── html.tpl.php │ │ ├── node │ │ │ ├── README.txt │ │ │ ├── node--card-full-text.tpl.php │ │ │ ├── node--card.tpl.php │ │ │ ├── node--highlighted.tpl.php │ │ │ ├── node--meta-content.tpl.php │ │ │ ├── node--mini-teaser.tpl.php │ │ │ ├── node--most-recent.tpl.php │ │ │ ├── node--pece-artifact-pdf--card-full-text.tpl.php │ │ │ ├── node--pece-artifact-pdf--card.tpl.php │ │ │ ├── node--pece-essay--card.tpl.php │ │ │ ├── node--pece-timeline-essay--card.tpl.php │ │ │ ├── node--teaser.tpl.php │ │ │ └── node.tpl.php │ │ ├── page │ │ │ ├── README.txt │ │ │ ├── page--home.tpl.php │ │ │ └── page.tpl.php │ │ ├── panel │ │ │ ├── README.txt │ │ │ ├── panels-pane--block--pece-about-about-pece-summary.tpl.php │ │ │ └── panels-pane.tpl.php │ │ ├── system │ │ │ └── README.txt │ │ ├── user │ │ │ ├── README.txt │ │ │ ├── user-profile--mini-teaser.tpl.php │ │ │ ├── user-profile--pece-thumbnail.tpl.php │ │ │ └── user-profile.tpl.php │ │ └── view │ │ │ ├── README.txt │ │ │ ├── views-view--pece-repository--respository-page.tpl.php │ │ │ ├── views-view-list--pece-structured-analytics.tpl.php │ │ │ ├── views-view-unformatted.tpl.php │ │ │ └── views-view.tpl.php │ │ └── theme-settings.php ├── tools │ └── build.make.tpl └── translations │ └── README.md └── tests ├── e2e ├── README.md ├── assets │ ├── audioFile.mp3 │ ├── bigjpeg.jpg │ ├── imageFile.jpg │ ├── pdfFile.pdf │ ├── tabularFile.ods │ ├── textFile.txt │ └── videoFile.mp4 ├── authentication.js ├── config-alter.example.js ├── helpers │ └── helpers.js ├── pages │ ├── add.types.page.js │ ├── analytic.page.js │ ├── annotation.page.js │ ├── artifact.audio.page.js │ ├── artifact.bundle.page.js │ ├── artifact.fieldnote.page.js │ ├── artifact.image.page.js │ ├── artifact.pdf.page.js │ ├── artifact.tabular.page.js │ ├── artifact.text.page.js │ ├── artifact.video.page.js │ ├── artifact.website.page.js │ ├── authentication.page.js │ ├── content.page.js │ ├── field.diary.page.js │ ├── global.js │ ├── group.page.js │ ├── home.page.js │ ├── index.js │ ├── legal.page.js │ ├── memo.page.js │ ├── pece.artifact.page.js │ ├── people.page.js │ ├── registration.page.js │ ├── sample.page.js │ ├── structured.analytics.page.js │ ├── user.access.page.js │ └── user.profile.page.js ├── protractor.conf.js ├── smoke.spec.js ├── spec.js └── specs │ ├── analytic.spec.js │ ├── annotation.spec.js │ ├── artifacts │ ├── artifact.audio.spec.js │ ├── artifact.bundle.spec.js │ ├── artifact.fieldnote.spec.js │ ├── artifact.image.spec.js │ ├── artifact.pdf.spec.js │ ├── artifact.tabular.spec.js │ ├── artifact.text.spec.js │ ├── artifact.video.spec.js │ └── artifact.website.spec.js │ ├── field.diary.spec.js │ ├── group.field.diary.spec.js │ ├── group.spec.js │ ├── homepage.spec.js │ ├── license.spec.js │ ├── memo.spec.js │ ├── registration.spec.js │ ├── structured.analytics.spec.js │ ├── user.access.spec.js │ └── user.profile.spec.js ├── files ├── .empty └── sf.jpg ├── prorunner.json ├── protractor.conf.js ├── scripts └── create_users_for_each_role.sh └── spec.js /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory" : "src/themes/pece_scholarly_lite/assets/lib" 3 | } 4 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | 12 | [*.md] 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.github/config/settings.local.php: -------------------------------------------------------------------------------- 1 | 'drupal', 9 | 'username' => 'root', 10 | 'password' => 'root', 11 | 'prefix' => '', 12 | 'host' => 'mariadb', 13 | 'port' => '', 14 | 'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql', 15 | 'driver' => 'mysql', 16 | ]; 17 | 18 | // Display errors. 19 | $config['system.logging']['error_level'] = 'verbose'; 20 | 21 | if (empty($settings['hash_salt'])) { 22 | $settings['hash_salt'] = 'drupal-ci'; 23 | } 24 | -------------------------------------------------------------------------------- /.node-version: -------------------------------------------------------------------------------- 1 | 18.17 2 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 4.2.1 2 | -------------------------------------------------------------------------------- /DOCKER.md: -------------------------------------------------------------------------------- 1 | # PECE-DOCKER 2 | Drupal Pece with Docker 3 | 4 | --------------------- 5 | ## Requirements 6 | * [GIT](https://git-scm.com/) 7 | * [Docker Compose](https://docs.docker.com/compose/) 8 | 9 | --------------------- 10 | Clone project 11 | ```sh 12 | $ git clone https://github.com/PECE-project/drupal-pece.git 13 | $ cd drupal-pece/ 14 | ``` 15 | 16 | --------------------- 17 | Up virtual machine to work 18 | ```sh 19 | $ make run 20 | ``` 21 | 22 | * Access url [http://localhost:8080](http://localhost:8080) 23 | * Database configurations: 24 | - *Host:* pece-db 25 | - *Database:* pece 26 | - *User:* pece 27 | - *Pece Password:* ZwTuVZzQO90qwYzA 28 | - *Root Password:* Sk82jxYqqpx02jxT 29 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pece", 3 | "authors": [ 4 | "Gabriel Neutzling " 5 | ], 6 | "description": "", 7 | "main": "", 8 | "moduleType": [], 9 | "license": "MIT", 10 | "homepage": "", 11 | "ignore": [ 12 | "**/.*", 13 | "node_modules", 14 | "bower_components", 15 | "test", 16 | "tests" 17 | ], 18 | "dependencies": { 19 | "compass-breakpoint": "~2.6.1", 20 | "bootstrap": "^5.0", 21 | "font-awesome": "^6.1.1", 22 | "slick-carousel": "^1.6.0", 23 | "remodal": "^1.0.7" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /config/server/group_vars/docker: -------------------------------------------------------------------------------- 1 | --- 2 | # DRUPAL 3 | drupal_env: development 4 | drupal_project_branch: dev 5 | 6 | # NGINX: DRUPAL 7 | nginx_drupal_upstream_servers: 8 | - "unix:/var/run/php-fpm.sock" 9 | nginx_drupal_upstream_backup_servers: [] 10 | 11 | # PHP-FPM 12 | php_fpm_memory_limit: "1024M" 13 | php_fpm_pools: 14 | - name: www0 15 | listen: /var/run/php-fpm.sock 16 | user: "{{ www_owner }}" 17 | group: "{{ www_group }}" 18 | listen.owner: "{{ www_owner }}" 19 | listen.group: "{{ www_group }}" 20 | pm: dynamic 21 | pm.max_children: 5 22 | pm.start_servers: 2 23 | pm.min_spare_servers: 1 24 | pm.max_spare_servers: 3 25 | chdir: / -------------------------------------------------------------------------------- /config/server/group_vars/vbox: -------------------------------------------------------------------------------- 1 | --- 2 | # DRUPAL 3 | drupal_env: development 4 | drupal_project_branch: dev 5 | 6 | # NGINX: DRUPAL 7 | nginx_drupal_upstream_servers: 8 | - "unix:/var/run/php-fpm.sock" 9 | nginx_drupal_upstream_backup_servers: [] 10 | 11 | # PHP-FPM 12 | php_fpm_memory_limit: "1024M" 13 | php_fpm_pools: 14 | - name: www0 15 | listen: /var/run/php-fpm.sock 16 | user: "{{ www_owner }}" 17 | group: "{{ www_group }}" 18 | listen.owner: "{{ www_owner }}" 19 | listen.group: "{{ www_group }}" 20 | pm: dynamic 21 | pm.max_children: 5 22 | pm.start_servers: 2 23 | pm.min_spare_servers: 1 24 | pm.max_spare_servers: 3 25 | chdir: / -------------------------------------------------------------------------------- /config/server/providers/dev/inventory: -------------------------------------------------------------------------------- 1 | ; [solr] 2 | ; dev-pece.rpi.dropit.in ansible_ssh_user=ubuntu 3 | 4 | ; [database] 5 | ; dev-pece.rpi.dropit.in ansible_ssh_user=ubuntu 6 | 7 | [drupal] 8 | dev-pece.rpi.dropit.in ansible_ssh_user=ubuntu 9 | 10 | [nodejs] 11 | dev-pece.rpi.dropit.in ansible_ssh_user=ubuntu 12 | 13 | [dev:children] 14 | ; solr 15 | ; database 16 | drupal 17 | nodejs 18 | -------------------------------------------------------------------------------- /config/server/providers/dev/provision.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ( 3 | cd ../../ 4 | ansible-playbook -vvvv playbook.yml -c ssh -i providers/dev/inventory 5 | ) 6 | -------------------------------------------------------------------------------- /config/server/providers/docker/inventory: -------------------------------------------------------------------------------- 1 | ; [solr] 2 | ; pece_solr ansible_ssh_host=localhost ansible_ssh_port=2223 3 | 4 | [database] 5 | pece ansible_ssh_host=localhost ansible_ssh_port=2222 6 | 7 | [drupal] 8 | pece ansible_ssh_host=localhost ansible_ssh_port=2222 9 | 10 | [nodejs] 11 | pece ansible_ssh_host=localhost ansible_ssh_port=2222 12 | 13 | [docker:children] 14 | ; solr 15 | database 16 | drupal 17 | nodejs 18 | -------------------------------------------------------------------------------- /config/server/providers/vbox/inventory: -------------------------------------------------------------------------------- 1 | ; [solr] 2 | ; default ansible_ssh_host=192.168.22.11 3 | 4 | [database] 5 | default ansible_ssh_host=192.168.22.11 6 | 7 | [drupal] 8 | default ansible_ssh_host=192.168.22.11 9 | 10 | [nodejs] 11 | default ansible_ssh_host=192.168.22.11 12 | 13 | [vbox:children] 14 | ; solr 15 | database 16 | drupal 17 | nodejs 18 | -------------------------------------------------------------------------------- /config/server/requirements.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - src: geerlingguy.drush 3 | - src: geerlingguy.git 4 | - src: geerlingguy.java 5 | - src: geerlingguy.mysql 6 | - src: geerlingguy.solr 7 | - src: geerlingguy.tomcat6 8 | - src: jdauphant.nginx 9 | - src: laggyluke.direnv 10 | - src: laggyluke.nodejs-app 11 | - src: https://github.com/NBZ4live/ansible-php-fpm 12 | version: master 13 | name: nbz4live.php-fpm 14 | - src: pbuyle.nginx-drupal 15 | - src: kosssi.composer 16 | - src: revagomes.php-pecl 17 | - src: revagomes.phpsh 18 | -------------------------------------------------------------------------------- /config/server/roles/g-div.nvm/.gitignore: -------------------------------------------------------------------------------- 1 | .vagrant 2 | -------------------------------------------------------------------------------- /config/server/roles/g-div.nvm/Vagrantfile: -------------------------------------------------------------------------------- 1 | # -*- mode: ruby -*- 2 | # vi: set ft=ruby : 3 | 4 | VAGRANTFILE_API_VERSION = "2" 5 | 6 | Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| 7 | #config.vm.box = "ubuntu/trusty64" 8 | config.vm.box = "hashicorp/precise64" 9 | 10 | config.vm.provision "ansible" do |ansible| 11 | ansible.playbook = "test.yml" 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /config/server/roles/g-div.nvm/ansible.cfg: -------------------------------------------------------------------------------- 1 | [defaults] 2 | roles_path = ../ 3 | -------------------------------------------------------------------------------- /config/server/roles/g-div.nvm/defaults/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | nvm_user: 'vagrant' 3 | nvm_version: v0.20.0 4 | nvm_node_version: '0.12.2' 5 | nvm_profile_file: '~/.profile' 6 | nvm_shell: bash 7 | nvm_packages: [] 8 | -------------------------------------------------------------------------------- /config/server/roles/g-div.nvm/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | galaxy_info: 3 | author: Jarno Keskikangas 4 | description: Install nvm and Node.js. 5 | company: Leonidas 6 | license: BSD 7 | min_ansible_version: 1.4 8 | platforms: 9 | - name: Ubuntu 10 | versions: 11 | - trusty 12 | - precise 13 | - quantal 14 | - raring 15 | - saucy 16 | - name: Debian 17 | versions: 18 | - wheezy 19 | categories: 20 | - development 21 | - packaging 22 | - web 23 | 24 | dependencies: [] 25 | -------------------------------------------------------------------------------- /config/server/roles/g-div.nvm/test.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Test playbook for nvm role 3 | hosts: all 4 | sudo: True 5 | 6 | roles: 7 | - role: ansible-nvm 8 | nvm: 9 | version: v0.17.3 10 | node_version: '0.10' 11 | user: vagrant 12 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.drush/meta/.galaxy_install_info: -------------------------------------------------------------------------------- 1 | {install_date: 'Wed Jun 11 20:59:48 2014', version: 1.0.1} 2 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.drush/vars/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | drush_install_path: /usr/local/share/drush 3 | drush_path: /usr/local/bin/drush 4 | drush_version: master 5 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.git/.gitignore: -------------------------------------------------------------------------------- 1 | .LSOverride 2 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.git/defaults/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | workspace: /root 3 | 4 | # If git_install_from_source is set to false, these two variables define whether 5 | # to use an additional repo for the package installation, and which git packages 6 | # will be installed. 7 | git_enablerepo: "" 8 | git_packages: 9 | - git 10 | - git-svn 11 | 12 | # If set to TRUE, git will be installed from source, using the version set with 13 | # the 'git_version' variable instead of using a yum package. 14 | git_install_from_source: false 15 | git_install_path: "/usr" 16 | git_version: "2.1.0" 17 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.git/meta/.galaxy_install_info: -------------------------------------------------------------------------------- 1 | {install_date: 'Thu Oct 2 14:12:34 2014', version: 1.0.3} 2 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.git/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | dependencies: [] 3 | 4 | galaxy_info: 5 | author: geerlingguy 6 | description: Git version control software 7 | company: "Midwestern Mac, LLC" 8 | license: "license (BSD, MIT)" 9 | min_ansible_version: 1.4 10 | platforms: 11 | - name: EL 12 | versions: 13 | - all 14 | - name: Debian 15 | versions: 16 | - all 17 | - name: Ubuntu 18 | versions: 19 | - all 20 | categories: 21 | - development 22 | - system 23 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.git/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Install git packages via yum when git is installed normally. 3 | - name: Ensure git is installed (RedHat). 4 | yum: 5 | name: "{{ item }}" 6 | state: installed 7 | enablerepo: "{{ git_enablerepo }}" 8 | with_items: git_packages 9 | when: (git_install_from_source == false) and (ansible_os_family == 'RedHat') 10 | 11 | - name: Ensure git is installed (Debian). 12 | apt: 13 | name: "{{ item }}" 14 | state: installed 15 | with_items: git_packages 16 | when: (git_install_from_source == false) and (ansible_os_family == 'Debian') 17 | 18 | # Install git from source when git_install_from_source is true. 19 | - include: install-from-source.yml 20 | when: git_install_from_source == true 21 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.git/tests/inventory: -------------------------------------------------------------------------------- 1 | localhost ansible_connection=local 2 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.git/tests/test_install_from_source.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | remote_user: root 4 | vars: 5 | git_install_from_source: true 6 | git_install_path: /usr/local 7 | git_version: 2.1.0 8 | roles: 9 | - ansible-role-git 10 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.git/tests/test_install_package.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | remote_user: root 4 | vars: 5 | git_install_from_source: false 6 | git_install_path: /usr/local 7 | roles: 8 | - ansible-role-git 9 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.git/vars/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # This space intentionally left blank. 3 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.java/defaults/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Set java_packages if you would like to use a different version than the 3 | # default (OpenJDK 1.7). 4 | # java_packages: [] 5 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.java/meta/.galaxy_install_info: -------------------------------------------------------------------------------- 1 | {install_date: 'Fri Mar 27 18:16:51 2015', version: 1.1.0} 2 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.java/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | dependencies: [] 3 | 4 | galaxy_info: 5 | author: geerlingguy 6 | description: Java for Linux 7 | company: "Midwestern Mac, LLC" 8 | license: "license (BSD, MIT)" 9 | min_ansible_version: 1.4 10 | platforms: 11 | - name: EL 12 | versions: 13 | - 6 14 | - 7 15 | - name: Debian 16 | versions: 17 | - all 18 | - name: Ubuntu 19 | versions: 20 | - all 21 | categories: 22 | - development 23 | - system 24 | - web 25 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.java/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Include OS-specific variables. 3 | include_vars: "{{ ansible_os_family }}.yml" 4 | 5 | - name: Define java_packages. 6 | set_fact: 7 | java_packages: "{{ __java_packages | list }}" 8 | when: java_packages is not defined 9 | 10 | # Setup/install tasks. 11 | - include: setup-RedHat.yml 12 | when: ansible_os_family == 'RedHat' 13 | 14 | - include: setup-Debian.yml 15 | when: ansible_os_family == 'Debian' 16 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.java/tasks/setup-Debian.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Update apt cache. 3 | apt: update_cache=yes cache_valid_time=86400 4 | 5 | - name: Ensure Java is installed. 6 | apt: "name={{ item }} state=installed" 7 | with_items: java_packages 8 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.java/tasks/setup-RedHat.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Ensure Java is installed. 3 | yum: "name={{ item }} state=installed" 4 | with_items: java_packages 5 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.java/tests/inventory: -------------------------------------------------------------------------------- 1 | localhost 2 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.java/tests/test.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | remote_user: root 4 | roles: 5 | - ansible-role-java 6 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.java/vars/Debian.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # JDK version options include: 3 | # - java 4 | # - openjdk-6-jdk 5 | # - openjdk-7-jdk 6 | __java_packages: 7 | - openjdk-7-jdk 8 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.java/vars/RedHat.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # JDK version options include: 3 | # - java 4 | # - java-1.6.0-openjdk 5 | # - java-1.7.0-openjdk 6 | __java_packages: 7 | - java-1.7.0-openjdk 8 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.mysql/handlers/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: restart mysql 3 | service: "name={{ mysql_daemon }} state=restarted" 4 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.mysql/meta/.galaxy_install_info: -------------------------------------------------------------------------------- 1 | {install_date: 'Fri Mar 27 17:53:25 2015', version: 1.4.3} 2 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.mysql/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | dependencies: [] 3 | 4 | galaxy_info: 5 | author: geerlingguy 6 | description: MySQL server for RHEL/CentOS 6.x and Debian/Ubuntu 7 | company: "Midwestern Mac, LLC" 8 | license: "license (BSD, MIT)" 9 | min_ansible_version: 1.4 10 | platforms: 11 | - name: EL 12 | versions: 13 | - 6 14 | - 7 15 | - name: Ubuntu 16 | versions: 17 | - all 18 | - name: Debian 19 | versions: 20 | - all 21 | categories: 22 | - database 23 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.mysql/tasks/configure.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Copy my.cnf global MySQL configuration. 3 | template: 4 | src: my.cnf.j2 5 | dest: "{{ mysql_config_file }}" 6 | owner: root 7 | group: root 8 | mode: 0644 9 | notify: restart mysql 10 | 11 | - name: Ensure MySQL is started and enabled on boot. 12 | service: "name={{ mysql_daemon }} state=started enabled={{ mysql_enabled_on_startup }}" 13 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.mysql/tasks/databases.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Ensure MySQL databases are present. 3 | mysql_db: 4 | name: "{{ item.name }}" 5 | collation: "{{ item.collation | default('utf8_general_ci') }}" 6 | encoding: "{{ item.encoding | default('utf8') }}" 7 | state: present 8 | with_items: mysql_databases 9 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.mysql/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Include variables and define needed variables. 3 | - name: Include OS-specific variables. 4 | include_vars: "{{ ansible_os_family }}.yml" 5 | 6 | - name: Define mysql_packages. 7 | set_fact: 8 | mysql_packages: "{{ __mysql_packages | list }}" 9 | when: mysql_packages is not defined 10 | 11 | # Setup/install tasks. 12 | - include: setup-RedHat.yml 13 | when: ansible_os_family == 'RedHat' 14 | 15 | - include: setup-Debian.yml 16 | when: ansible_os_family == 'Debian' 17 | 18 | # Configure MySQL. 19 | - include: configure.yml 20 | - include: secure-installation.yml 21 | - include: databases.yml 22 | - include: users.yml 23 | - include: replication.yml 24 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.mysql/tasks/setup-RedHat.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Update postfix to the latest version (if extra repositories enabled). 3 | yum: "name=postfix state=latest enablerepo={{ mysql_enablerepo }}" 4 | when: mysql_enablerepo != "" 5 | 6 | - name: Ensure MySQL packages are installed. 7 | yum: "name={{ item }} state=installed enablerepo={{ mysql_enablerepo }}" 8 | with_items: mysql_packages 9 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.mysql/tasks/users.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Ensure MySQL users are present. 3 | mysql_user: 4 | name: "{{ item.name }}" 5 | host: "{{ item.host | default('localhost') }}" 6 | password: "{{ item.password }}" 7 | priv: "{{ item.priv | default('*.*:USAGE') }}" 8 | state: present 9 | with_items: mysql_users 10 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.mysql/templates/python-my.cnf.j2: -------------------------------------------------------------------------------- 1 | [client] 2 | user={{ mysql_root_username }} 3 | password={{ mysql_root_password }} 4 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.mysql/tests/inventory: -------------------------------------------------------------------------------- 1 | localhost 2 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.mysql/tests/test.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | remote_user: root 4 | roles: 5 | - ansible-role-mysql 6 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.mysql/vars/Debian.yml: -------------------------------------------------------------------------------- 1 | --- 2 | mysql_daemon: mysql 3 | mysql_config_file: /etc/mysql/my.cnf 4 | __mysql_packages: 5 | - mysql-common 6 | - mysql-server 7 | - python-mysqldb 8 | mysql_socket: /var/run/mysqld/mysqld.sock 9 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.mysql/vars/RedHat.yml: -------------------------------------------------------------------------------- 1 | --- 2 | mysql_daemon: mysqld 3 | mysql_config_file: /etc/my.cnf 4 | __mysql_packages: 5 | - mysql 6 | - mysql-server 7 | - MySQL-python 8 | mysql_socket: /var/lib/mysql/mysql.sock 9 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.solr/defaults/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | workspace: /root 3 | tomcat_user: tomcat 4 | tomcat_lib_path: /usr/share/tomcat6/lib/ 5 | solr_version: "4.10.2" 6 | solr_path: /opt/solr 7 | 8 | # The first core in the list will be set as the default Solr core. For now, this 9 | # list is hardcoded here and shouldn't be overridden unless you know what you're 10 | # doing. Someday, this will be more easily configurable. 11 | solr_cores: 12 | - core0 13 | - core1 14 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.solr/meta/.galaxy_install_info: -------------------------------------------------------------------------------- 1 | {install_date: 'Fri Mar 27 18:16:59 2015', version: 1.0.8} 2 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.solr/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | dependencies: 3 | - { role: geerlingguy.tomcat6 } 4 | 5 | galaxy_info: 6 | author: geerlingguy 7 | description: Apache Solr for RHEL/CentOS and Debian/Ubuntu. 8 | company: "Midwestern Mac, LLC" 9 | license: "license (BSD, MIT)" 10 | min_ansible_version: 1.4 11 | platforms: 12 | - name: EL 13 | versions: 14 | - 6 15 | - 7 16 | - name: Debian 17 | versions: 18 | - all 19 | - name: Ubuntu 20 | versions: 21 | - all 22 | categories: 23 | - development 24 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.solr/templates/Catalina/solr.xml.j2: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.solr/templates/solr.xml.j2: -------------------------------------------------------------------------------- 1 | 2 | 3 | {% for core in solr_cores %} 4 | {% if loop.first %} 5 | 6 | {% endif %} 7 | 8 | {% endfor %} 9 | 10 | 11 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.solr/tests/inventory: -------------------------------------------------------------------------------- 1 | localhost 2 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.solr/tests/test.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | remote_user: root 4 | vars: 5 | tomcat6_enabled: false 6 | tomcat6_catalina_port: 8080 7 | java_packages: 8 | - openjdk-7-jdk 9 | roles: 10 | - geerlingguy.java 11 | - geerlingguy.tomcat6 12 | - ansible-role-solr 13 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.solr/vars/Debian.yml: -------------------------------------------------------------------------------- 1 | --- 2 | tomcat_user: tomcat6 3 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.solr/vars/RedHat.yml: -------------------------------------------------------------------------------- 1 | --- 2 | tomcat_user: tomcat 3 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.tomcat6/defaults/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | tomcat6_enabled: true 3 | tomcat6_hostname: localhost 4 | tomcat6_server_port: 8005 5 | tomcat6_catalina_port: 8983 6 | tomcat6_catalina_redirect_port: 8443 7 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.tomcat6/handlers/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: restart tomcat 3 | service: name=tomcat6 state=restarted 4 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.tomcat6/meta/.galaxy_install_info: -------------------------------------------------------------------------------- 1 | {install_date: 'Fri Mar 27 18:16:55 2015', version: 1.0.6} 2 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.tomcat6/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | dependencies: 3 | - { role: geerlingguy.java } 4 | 5 | galaxy_info: 6 | author: geerlingguy 7 | description: Tomcat 6 for RHEL/CentOS 6.x and Debian/Ubuntu. 8 | company: "Midwestern Mac, LLC" 9 | license: "license (BSD, MIT)" 10 | min_ansible_version: 1.4 11 | platforms: 12 | - name: EL 13 | versions: 14 | - 6 15 | - name: Debian 16 | versions: 17 | - all 18 | - name: Ubuntu 19 | versions: 20 | - all 21 | categories: 22 | - development 23 | - web 24 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.tomcat6/tests/inventory: -------------------------------------------------------------------------------- 1 | localhost 2 | -------------------------------------------------------------------------------- /config/server/roles/geerlingguy.tomcat6/tests/test.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | remote_user: root 4 | vars: 5 | java_packages: 6 | - openjdk-6-jdk 7 | roles: 8 | - geerlingguy.java 9 | - { role: ansible-role-tomcat6, tomcat6_enabled: false } 10 | -------------------------------------------------------------------------------- /config/server/roles/jdauphant.nginx/.travis.yml: -------------------------------------------------------------------------------- 1 | --- 2 | language: python 3 | python: "2.7" 4 | before_install: 5 | - sudo apt-get update -qq 6 | - sudo apt-get install -qq python-apt python-pycurl 7 | install: 8 | - pip install ansible 9 | script: 10 | - echo localhost > inventory 11 | - ansible-playbook --syntax-check -i inventory test.yml 12 | - ansible-playbook -i inventory test.yml --connection=local --sudo -vvvv 13 | -------------------------------------------------------------------------------- /config/server/roles/jdauphant.nginx/handlers/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: restart nginx 3 | service: name=nginx state=restarted 4 | 5 | - name: reload nginx 6 | service: name=nginx state=reloaded 7 | -------------------------------------------------------------------------------- /config/server/roles/jdauphant.nginx/meta/.galaxy_install_info: -------------------------------------------------------------------------------- 1 | {install_date: 'Tue Jun 10 00:35:25 2014', version: master} 2 | -------------------------------------------------------------------------------- /config/server/roles/jdauphant.nginx/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | galaxy_info: 3 | author: "Benno Joy, DAUPHANT Julien" 4 | company: AnsibleWorks 5 | license: BSD 6 | min_ansible_version: 1.4 7 | platforms: 8 | - name: EL 9 | versions: 10 | - 5 11 | - 6 12 | - name: Fedora 13 | versions: 14 | - 16 15 | - 17 16 | - 18 17 | - name: Ubuntu 18 | versions: 19 | - precise 20 | - quantal 21 | - raring 22 | - saucy 23 | categories: 24 | - web 25 | dependencies: [] 26 | 27 | -------------------------------------------------------------------------------- /config/server/roles/jdauphant.nginx/templates/auth_basic.j2: -------------------------------------------------------------------------------- 1 | #{{ ansible_managed }} 2 | 3 | {% for v in nginx_auth_basic_files[item] %} 4 | {{ v }} 5 | {% endfor %} 6 | -------------------------------------------------------------------------------- /config/server/roles/jdauphant.nginx/templates/config.conf.j2: -------------------------------------------------------------------------------- 1 | #{{ ansible_managed }} 2 | 3 | {% for v in nginx_configs[item] %} 4 | {{ v.replace(";",";\n ").replace("{","{\n ").replace("}","\n }\n") }}{% if v.find('{') == -1%} ;{% endif %} 5 | {% endfor %} 6 | -------------------------------------------------------------------------------- /config/server/roles/jdauphant.nginx/templates/nginx.conf.j2: -------------------------------------------------------------------------------- 1 | #{{ ansible_managed }} 2 | user {{ nginx_user }}; 3 | 4 | worker_processes {{ nginx_worker_processes }}; 5 | pid /var/run/nginx.pid; 6 | worker_rlimit_nofile {{ nginx_worker_rlimit_nofile }}; 7 | 8 | events { 9 | worker_connections {{ nginx_max_clients }}; 10 | } 11 | 12 | 13 | http { 14 | 15 | include /etc/nginx/mime.types; 16 | default_type application/octet-stream; 17 | {% for v in nginx_http_params %} 18 | {{ v }}; 19 | {% endfor %} 20 | 21 | include /etc/nginx/conf.d/*.conf; 22 | include /etc/nginx/sites-enabled/*; 23 | } 24 | -------------------------------------------------------------------------------- /config/server/roles/jdauphant.nginx/templates/site.conf.j2: -------------------------------------------------------------------------------- 1 | #{{ ansible_managed }} 2 | server { 3 | 4 | {% for v in nginx_sites[item] %} 5 | {{ v.replace(";",";\n ").replace("{","{\n ").replace("}","\n }\n") }}{% if v.find('{') == -1%};{% endif %} 6 | {% endfor %} 7 | 8 | } 9 | -------------------------------------------------------------------------------- /config/server/roles/jdauphant.nginx/test.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | remote_user: root 4 | vars_files: 5 | - 'example-vars.yml' 6 | - 'vars/main.yml' 7 | - 'defaults/main.yml' 8 | tasks: 9 | - include: 'tasks/main.yml' 10 | handlers: 11 | - include: 'handlers/main.yml' 12 | -------------------------------------------------------------------------------- /config/server/roles/jdauphant.nginx/vars/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | env: 4 | RUNLEVEL: 1 5 | 6 | redhat_pkg: 7 | - nginx 8 | 9 | ubuntu_pkg: 10 | - python-selinux 11 | - nginx 12 | 13 | -------------------------------------------------------------------------------- /config/server/roles/laggyluke.direnv/.gitignore: -------------------------------------------------------------------------------- 1 | /meta/.galaxy_install_info 2 | -------------------------------------------------------------------------------- /config/server/roles/laggyluke.direnv/README.md: -------------------------------------------------------------------------------- 1 | direnv 2 | ====== 3 | 4 | This Ansible role installs [direnv](http://direnv.net/). 5 | -------------------------------------------------------------------------------- /config/server/roles/laggyluke.direnv/defaults/main.yml: -------------------------------------------------------------------------------- 1 | direnv: 2 | bin_url: https://github.com/zimbatm/direnv/releases/download/v2.6.0/direnv.linux-amd64 3 | bin_sha256: 8b9fc5362e8f4d338f73fe022026423ffbf72c316a6ef8447629e08a1488422d 4 | -------------------------------------------------------------------------------- /config/server/roles/laggyluke.direnv/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | galaxy_info: 3 | author: George Miroshnykov 4 | description: install direnv (http://direnv.net/) 5 | min_ansible_version: 1.4 6 | version: 2.5.0 7 | platforms: 8 | - name: Ubuntu 9 | versions: 10 | - all 11 | categories: 12 | - system 13 | -------------------------------------------------------------------------------- /config/server/roles/laggyluke.direnv/tasks/main.yml: -------------------------------------------------------------------------------- 1 | - name: download 2 | sudo: true 3 | get_url: > 4 | url={{ direnv.bin_url }} 5 | sha256sum={{ direnv.bin_sha256 }} 6 | dest=/usr/local/bin/direnv 7 | owner=root 8 | group=root 9 | mode=0755 10 | 11 | - name: install profile hook 12 | sudo: true 13 | copy: > 14 | content='eval "$(direnv hook bash)"' 15 | dest=/etc/profile.d/direnv.sh 16 | owner=root 17 | group=root 18 | mode=0644 19 | -------------------------------------------------------------------------------- /config/server/roles/laggyluke.nodejs-app/.gitignore: -------------------------------------------------------------------------------- 1 | /meta/.galaxy_install_info 2 | -------------------------------------------------------------------------------- /config/server/roles/laggyluke.nodejs-app/README.md: -------------------------------------------------------------------------------- 1 | nodejs-app 2 | ========== 3 | 4 | This Ansible role sets up a Node.js application. 5 | 6 | Role Variables 7 | -------------- 8 | 9 | nodejs_app: 10 | autostart: false 11 | service: nodejs-app 12 | repo: git@github.com:username/repository.git 13 | version: master 14 | dir: /opt/nodejs-app 15 | logdir: /var/log 16 | port: 5000 17 | workers: 1 18 | env: 19 | NODE_ENV: development 20 | 21 | 22 | License 23 | ------- 24 | 25 | BSD 26 | 27 | Author Information 28 | ------------------ 29 | 30 | George Miroshnykov 31 | -------------------------------------------------------------------------------- /config/server/roles/laggyluke.nodejs-app/default/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | nodejs_app_npm_executable: "/usr/local/bin/npm" -------------------------------------------------------------------------------- /config/server/roles/laggyluke.nodejs-app/handlers/main.yml: -------------------------------------------------------------------------------- 1 | - name: restart {{ nodejs_app.service }} 2 | sudo: true 3 | action: service name={{ nodejs_app.service }}-{{ item }} state=restarted 4 | with_sequence: start=1 end={{ nodejs_app.workers }} 5 | when: nodejs_app.autostart 6 | -------------------------------------------------------------------------------- /config/server/roles/laggyluke.nodejs-app/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | galaxy_info: 3 | author: George Miroshnykov 4 | description: provision Node.js app 5 | min_ansible_version: 1.4 6 | version: 0.2.0 7 | platforms: 8 | - name: Ubuntu 9 | versions: 10 | - precise 11 | categories: 12 | - system 13 | - web 14 | # dependencies: 15 | # - laggyluke.nodejs 16 | # - laggyluke.direnv 17 | -------------------------------------------------------------------------------- /config/server/roles/laggyluke.nodejs-app/templates/envrc.j2: -------------------------------------------------------------------------------- 1 | export PATH="./node_modules/.bin:$PATH" 2 | {% for k, v in nodejs_app.env.iteritems() %} 3 | export {{ k }}='{{ v }}' 4 | {% endfor %} 5 | -------------------------------------------------------------------------------- /config/server/roles/laggyluke.nodejs-app/templates/upstart-master.conf.j2: -------------------------------------------------------------------------------- 1 | {% if nodejs_app.autostart %} 2 | start on runlevel [2345] 3 | stop on runlevel [016] 4 | {% endif %} 5 | -------------------------------------------------------------------------------- /config/server/roles/laggyluke.nodejs-app/templates/upstart-worker.conf.j2: -------------------------------------------------------------------------------- 1 | start on starting {{ nodejs_app.service }} 2 | stop on stopping {{ nodejs_app.service }} 3 | 4 | respawn 5 | respawn limit 10 5 6 | 7 | setuid {{ nodejs_app.user }} 8 | setgid {{ nodejs_app.group }} 9 | 10 | env PORT={{ nodejs_app.port|int + item|int - 1 }} 11 | env HOME={{ nodejs_app.env.HOME }} 12 | 13 | chdir {{ nodejs_app.dir }} 14 | exec direnv exec . {{ nodejs_app.start }} >> {{ nodejs_app.logdir }}/{{ nodejs_app.service }}.log 2>&1 15 | -------------------------------------------------------------------------------- /config/server/roles/nbz4live.php-fpm/.travis.yml: -------------------------------------------------------------------------------- 1 | --- 2 | language: python 3 | python: "2.7" 4 | before_install: 5 | - sudo apt-get update -qq 6 | - sudo apt-get install -qq python-apt python-pycurl 7 | install: 8 | - pip install ansible 9 | script: 10 | - echo localhost > inventory 11 | - ansible-playbook --syntax-check -i inventory test.yml 12 | - ansible-playbook -i inventory test.yml --connection=local --sudo 13 | - > 14 | ansible-playbook -i inventory test.yml --connection=local --sudo 15 | | grep -q 'changed=0.*failed=0' 16 | && (echo 'Idempotence test: pass' && exit 0) 17 | || (echo 'Idempotence test: fail' && exit 1) 18 | -------------------------------------------------------------------------------- /config/server/roles/nbz4live.php-fpm/handlers/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: restart php-fpm 3 | service: name={{php_fpm_binary_name}} state=restarted 4 | 5 | - name: reload php-fpm 6 | service: name={{php_fpm_binary_name}} state=reloaded 7 | -------------------------------------------------------------------------------- /config/server/roles/nbz4live.php-fpm/meta/.galaxy_install_info: -------------------------------------------------------------------------------- 1 | {install_date: 'Sat Feb 28 02:25:43 2015', version: 0.2.6} 2 | -------------------------------------------------------------------------------- /config/server/roles/nbz4live.php-fpm/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | galaxy_info: 3 | author: Sergey Fayngold 4 | company: My.com B.V. 5 | license: BSD 6 | min_ansible_version: 1.4 7 | platforms: 8 | - name: EL 9 | versions: 10 | - 6 11 | - name: Ubuntu 12 | versions: 13 | # - all 14 | # - lucid 15 | # - maverick 16 | # - natty 17 | # - oneiric 18 | - precise 19 | # - quantal 20 | # - raring 21 | # - saucy 22 | # - trusty 23 | - name: Debian 24 | versions: 25 | # - all 26 | # - etch 27 | # - lenny 28 | # - squeeze 29 | - wheezy 30 | categories: 31 | #- development 32 | #- monitoring 33 | #- networking 34 | #- packaging 35 | #- system 36 | - web 37 | dependencies: [] 38 | 39 | -------------------------------------------------------------------------------- /config/server/roles/nbz4live.php-fpm/templates/pool.conf.j2: -------------------------------------------------------------------------------- 1 | ;{{ ansible_managed }} 2 | 3 | [{{ item.name }}] 4 | {% for directive, value in item.iteritems() if directive != "name" %} 5 | {{ directive }} = {{ value }} 6 | {% endfor %} 7 | 8 | ; Defaults 9 | {% for directive, value in php_fpm_pool_defaults.iteritems() %} 10 | {{ directive }} = {{ value }} 11 | {% endfor %} -------------------------------------------------------------------------------- /config/server/roles/nbz4live.php-fpm/test.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | remote_user: root 4 | vars_files: 5 | - 'vars/main.yml' 6 | - 'defaults/main.yml' 7 | tasks: 8 | - include: 'tasks/main.yml' 9 | handlers: 10 | - include: 'handlers/main.yml' 11 | -------------------------------------------------------------------------------- /config/server/roles/nbz4live.php-fpm/vars/Debian.yml: -------------------------------------------------------------------------------- 1 | --- 2 | php_fpm_ini_path: /etc/php5/fpm/php.ini 3 | php_fpm_config_path: /etc/php5/fpm/php-fpm.conf 4 | php_fpm_pool_d: /etc/php5/fpm/pool.d 5 | 6 | php_fpm_binary_name: php5-fpm 7 | php_fpm_service_name: php5-fpm 8 | 9 | php_fpm_pid_file: /var/run/php5-fpm.pid -------------------------------------------------------------------------------- /config/server/roles/nbz4live.php-fpm/vars/RedHat.yml: -------------------------------------------------------------------------------- 1 | --- 2 | php_fpm_ini_path: /etc/php.ini 3 | php_fpm_config_path: /etc/php-fpm.conf 4 | php_fpm_pool_d: /etc/php-fpm.d 5 | 6 | php_fpm_binary_name: php-fpm 7 | php_fpm_service_name: php-fpm 8 | 9 | php_fpm_pid_file: /var/run/php-fpm/php-fpm.pid -------------------------------------------------------------------------------- /config/server/roles/nbz4live.php-fpm/vars/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | env: 3 | RUNLEVEL: 1 4 | 5 | -------------------------------------------------------------------------------- /config/server/roles/pbuyle.nginx-drupal/handlers/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # handlers file for nginx-drupal 3 | - name: validate nginx-drupal configuration 4 | shell: nginx -t -------------------------------------------------------------------------------- /config/server/roles/pbuyle.nginx-drupal/meta/.galaxy_install_info: -------------------------------------------------------------------------------- 1 | {install_date: 'Tue Jun 10 00:42:04 2014', version: master} 2 | -------------------------------------------------------------------------------- /config/server/roles/pbuyle.nginx-drupal/tasks/git-checkout.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: "Remove existing configurarion directory" 3 | file: path={{nginx_drupal_config_path}} state=absent 4 | - name: "Checkout configuration directory" 5 | git: dest={{nginx_drupal_config_path}} repo={{nginx_drupal_git.repo}} version={{nginx_drupal_git.version}} 6 | notify: 7 | - reload nginx 8 | - name: "Remove example.com configurarion file" 9 | file: path={{nginx_drupal_config_path}}/sites-available/example.com.conf state=absent -------------------------------------------------------------------------------- /config/server/roles/pbuyle.nginx-drupal/templates/nginx_status_allowed_hosts.j2: -------------------------------------------------------------------------------- 1 | # -*- mode: nginx; mode: flyspell-prog; ispell-local-dictionary: "american" -*- 2 | ## {{ ansible_managed }} 3 | ## Git ref: 81aa86d03f80e8f97d433cb541f63ee292531658 4 | ### Configuration of nginx stub status page. Here we define the 5 | ### allowed hosts using the Geo Module. http://wiki.nginx.org/HttpGeoModule 6 | 7 | geo $dont_show_nginx_status { 8 | default 1; 9 | {% for host in nginx_drupal_nginx_status_allowed_hosts %} 10 | {{host}} 0; 11 | {%- endfor %} 12 | } 13 | -------------------------------------------------------------------------------- /config/server/roles/pbuyle.nginx-drupal/templates/php_fpm_status_allowed_hosts.j2: -------------------------------------------------------------------------------- 1 | # -*- mode: nginx; mode: flyspell-prog; ispell-local-dictionary: "american" -*- 2 | ## {{ ansible_managed }} 3 | ## Git ref: 81aa86d03f80e8f97d433cb541f63ee292531658 4 | ### Configuration of php-fpm status and ping pages. Here we define the 5 | ### allowed hosts using the Geo Module. http://wiki.nginx.org/HttpGeoModule 6 | 7 | geo $dont_show_fpm_status { 8 | default 1; 9 | {%- for host in nginx_drupal_php_fpm_status_allowed_hosts -%} 10 | {{host}} 0; 11 | {%- endfor %} 12 | } 13 | -------------------------------------------------------------------------------- /config/server/roles/pbuyle.nginx-drupal/vars/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # vars file for nginx-drupal 3 | -------------------------------------------------------------------------------- /config/server/roles/pbuyle.php-composer/defaults/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # defaults file for php-composer 3 | 4 | composer_path: /usr/local/bin/composer 5 | composer_user: vagrant 6 | composer_user_home: /home/vagrant 7 | composer_json: [] -------------------------------------------------------------------------------- /config/server/roles/pbuyle.php-composer/handlers/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # handlers file for php-composer 3 | - name: composer global update 4 | shell: /usr/local/bin/composer global update --no-interaction --no-ansi 5 | sudo_user: "{{ composer_user }}" -------------------------------------------------------------------------------- /config/server/roles/pbuyle.php-composer/meta/.galaxy_install_info: -------------------------------------------------------------------------------- 1 | {install_date: 'Wed Jun 11 19:15:42 2014', version: master} 2 | -------------------------------------------------------------------------------- /config/server/roles/pbuyle.php-composer/templates/composer.j2: -------------------------------------------------------------------------------- 1 | {{ composer_json | to_nice_json }} -------------------------------------------------------------------------------- /config/server/roles/pbuyle.php-composer/vars/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # vars file for php-composer 3 | -------------------------------------------------------------------------------- /config/server/roles/revagomes.php-pecl/defaults/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Add extensions to this list to have them installed with this role. 3 | php_pecl_extensions: [] 4 | # - xdebug 5 | -------------------------------------------------------------------------------- /config/server/roles/revagomes.php-pecl/tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Install PECL libaries. 3 | shell: echo "" | pecl install {{ item }} 4 | register: pecl_result 5 | changed_when: "pecl_result.rc == 0" 6 | failed_when: "not (('already installed' in pecl_result.stdout) or ('install ok:' in pecl_result.stdout))" 7 | with_items: php_pecl_extensions 8 | tags: [packages,php] 9 | 10 | - name: Create PECL extensions .ini files (RedHat). 11 | template: src=extension.ini.j2 dest=/etc/php.d/{{ item }}.ini owner=root group=root mode=0644 12 | with_items: php_pecl_extensions 13 | when: ansible_os_family == "RedHat" 14 | notify: 15 | - restart php-fpm 16 | - restart apache 17 | tags: [packages,php] 18 | -------------------------------------------------------------------------------- /config/server/roles/revagomes.php-pecl/templates/extension.ini.j2: -------------------------------------------------------------------------------- 1 | ; {{ ansible_managed }} 2 | ; configuration for php PECL {{ item }} extension 3 | ; priority=20 4 | extension={{ item }}.so 5 | -------------------------------------------------------------------------------- /config/server/roles/revagomes.php-pecl/tests/inventory: -------------------------------------------------------------------------------- 1 | localhost 2 | -------------------------------------------------------------------------------- /config/server/roles/revagomes.php-pecl/tests/test.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | remote_user: root 4 | roles: 5 | - geerlingguy.php 6 | - ansible-role-php-pecl 7 | -------------------------------------------------------------------------------- /config/server/roles/taller.drupal-kw/handlers/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: drupal kraftwagen update 3 | command: > 4 | drush kw-update 5 | chdir={{ drupal_path }} 6 | sudo: yes 7 | sudo_user: "{{ drupal_www_owner }}" 8 | 9 | - name: drupal kraftwagen manifests 10 | command: > 11 | drush kw-m 12 | chdir={{ drupal_path }} 13 | sudo: yes 14 | sudo_user: "{{ drupal_www_owner }}" -------------------------------------------------------------------------------- /config/server/roles/taller.drupal-kw/tasks/git.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Check if the project is already cloned. 3 | stat: "path={{ drupal_project_path }}/.git" 4 | register: drupal_project_cloned_status 5 | 6 | - name: Download Drupal from Git repository. This may take a few minutes... 7 | git: > 8 | repo={{ drupal_source }} 9 | version={{ drupal_project_branch }} 10 | accept_hostkey=yes 11 | dest={{ drupal_project_path }} 12 | register: drupal_project_cloned_status 13 | when: drupal_project_cloned_status.stat.exists == false -------------------------------------------------------------------------------- /config/server/roles/taller.drupal-kw/templates/settings.db.j2: -------------------------------------------------------------------------------- 1 | $databases['default']['default'] = array( 2 | 'host' => '{{ drupal_db.host }}', 3 | 'database' => '{{ drupal_db.database }}', 4 | 'username' => '{{ drupal_db.user }}', 5 | 'password' => '{{ drupal_db.password }}', 6 | 'port' => '{{ drupal_db.port }}', 7 | 'driver' => '{{ drupal_db.driver }}', 8 | 'prefix' => '{{ drupal_db.prefix }}', 9 | ); -------------------------------------------------------------------------------- /config/server/tasks/common.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: Install apt repositories. 3 | apt: 4 | name: python-apt 5 | state: present -------------------------------------------------------------------------------- /config/server/templates/post-config.nginx.j2: -------------------------------------------------------------------------------- 1 | types_hash_max_size 2048; 2 | types_hash_bucket_size 32; -------------------------------------------------------------------------------- /cypress.json: -------------------------------------------------------------------------------- 1 | { 2 | "baseUrl": "http://localhost:8080", 3 | "env": { 4 | "drupalDrushCmdLine": "make drush argument=\"%command\"" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /cypress/support/index.js: -------------------------------------------------------------------------------- 1 | // *********************************************************** 2 | // This example support/index.js is processed and 3 | // loaded automatically before your test files. 4 | // 5 | // This is a great place to put global configuration and 6 | // behavior that modifies Cypress. 7 | // 8 | // You can change the location of this file or turn off 9 | // automatically serving support files with the 10 | // 'supportFile' configuration option. 11 | // 12 | // You can read more here: 13 | // https://on.cypress.io/configuration 14 | // *********************************************************** 15 | 16 | // Import commands.js using ES2015 syntax: 17 | import './commands' 18 | import './drupal/drupalCommands' 19 | 20 | // Alternatively you can use CommonJS syntax: 21 | // require('./commands') 22 | -------------------------------------------------------------------------------- /deploy-dev.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -ev 4 | 5 | ls -lah 6 | 7 | rsync -avzhe "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" \ 8 | ./build ubuntu@159.89.183.62:/home/ubuntu/pece/build 9 | 10 | print "Deploy to DEV environment succeeded \o/" 11 | -------------------------------------------------------------------------------- /deploy-travisci.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/deploy-travisci.enc -------------------------------------------------------------------------------- /docker-compose-dev.override.example.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | 3 | services: 4 | db_mysql: 5 | networks: 6 | pecev1: 7 | 8 | dev_pece: 9 | networks: 10 | pecev1: 11 | labels: 12 | - "traefik.http.routers.${PROJECT_NAME}.rule=Host(`${PROJECT_BASE_URL}`)" 13 | 14 | networks: 15 | pecev1: 16 | external: 17 | name: pecev1 18 | -------------------------------------------------------------------------------- /docker-compose-prod.override.yml.example: -------------------------------------------------------------------------------- 1 | version: "3" 2 | 3 | services: 4 | 5 | php_v1: 6 | environment: 7 | PHP_FPM_CLEAR_ENV: "no" 8 | PHP_XDEBUG: 1 9 | PHP_XDEBUG_DEFAULT_ENABLE: 1 10 | PHP_XDEBUG_REMOTE_CONNECT_BACK: 1 11 | -------------------------------------------------------------------------------- /docker-compose.override.example.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | 3 | services: 4 | mariadb: 5 | networks: 6 | pecev1: 7 | 8 | php: 9 | environment: 10 | PHP_FPM_CLEAR_ENV: "no" 11 | PHP_XDEBUG: 1 12 | PHP_XDEBUG_DEFAULT_ENABLE: 1 13 | PHP_XDEBUG_REMOTE_CONNECT_BACK: 1 14 | 15 | networks: 16 | pecev1: 17 | external: 18 | name: pecev1 19 | -------------------------------------------------------------------------------- /docker/DockerfileWodbyPHP: -------------------------------------------------------------------------------- 1 | ARG PHP_TAG=8.3 2 | ARG NODE_VERSION=18.17.0 3 | 4 | FROM node:${NODE_VERSION}-alpine AS node 5 | FROM wodby/drupal-php:$PHP_TAG 6 | 7 | ### Install Drush 8 | RUN composer global require drush/drush:^8.4.12 9 | 10 | ### INSTALL KRAFTWAGEN 11 | RUN git clone -b local_workflow_improvements --single-branch https://github.com/revagomes/kraftwagen.git ~/.drush/kraftwagen 12 | RUN echo 'Finished Kraftwagen install.' 13 | 14 | ### INSTALL NODE 15 | COPY --from=node /usr/lib /usr/lib 16 | COPY --from=node /usr/local/lib /usr/local/lib 17 | COPY --from=node /usr/local/include /usr/local/include 18 | COPY --from=node /usr/local/bin /usr/local/bin 19 | RUN echo 'Finished Node.js install.' 20 | RUN node -v 21 | -------------------------------------------------------------------------------- /docker/docker-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sudo chown $UID:$UID -R . 4 | sudo chmod +w -R . 5 | while ! nc -q 1 pece-db 3306 /tmp/access-nginx.log 11 | 12 | echo "" 13 | echo "--------------------------------" 14 | echo "------ Database connected ------" 15 | echo "--------------------------------" 16 | echo "" 17 | 18 | if [ ! -d /pece/drupal/node_modules ]; 19 | then 20 | npm install && gulp setup && gulp build && gulp site-install 21 | sudo chmod 775 -Rf /pece/drupal/cnf 22 | fi 23 | 24 | echo "" 25 | echo "------------------------------" 26 | echo "Virtual machine ready to work." 27 | echo "------------------------------" 28 | echo "" 29 | 30 | exec "$@" 31 | -------------------------------------------------------------------------------- /docker/matomo/.gitignore: -------------------------------------------------------------------------------- 1 | database 2 | matomo.env 3 | -------------------------------------------------------------------------------- /docker/matomo/matomo.example.env: -------------------------------------------------------------------------------- 1 | MATOMO_BASE_URL=analytics.v1.pece.local 2 | MYSQL_PASSWORD= 3 | MYSQL_ROOT_PASSWORD= 4 | MYSQL_DATABASE=matomo 5 | MYSQL_USER=matomo 6 | MATOMO_DATABASE_ADAPTER=mysql 7 | MATOMO_DATABASE_TABLES_PREFIX=matomo_ 8 | MATOMO_DATABASE_USERNAME=matomo 9 | MATOMO_DATABASE_PASSWORD=${MYSQL_PASSWORD} 10 | MATOMO_DATABASE_DBNAME=matomo 11 | -------------------------------------------------------------------------------- /gulp/tasks/bower/install.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var bower = require('gulp-bower'); 3 | 4 | function bowerInstall(done) { 5 | return bower(); 6 | } 7 | 8 | gulp.task('bower:install', bowerInstall); 9 | 10 | exports.default = bowerInstall; 11 | -------------------------------------------------------------------------------- /gulp/tasks/build.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | 3 | function build(done) { 4 | gulp.series('bower:install', 'styles', 'drush:kw-b', done)(done); 5 | } 6 | 7 | gulp.task('build', build); 8 | 9 | exports.default = build; 10 | -------------------------------------------------------------------------------- /gulp/tasks/config/index.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | 3 | var configEnvironment = require('./environment').configEnvironment; 4 | var configSettings = require('./settings').configSettings; 5 | 6 | function config(done) { 7 | gulp.series(configEnvironment, configSettings, done)(done); 8 | }; 9 | 10 | exports.config = config; 11 | -------------------------------------------------------------------------------- /gulp/tasks/default.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | 3 | gulp.task('default', function (done) { 4 | // Placeholder since 'default' task is now mandatory. 5 | done(); 6 | }); 7 | -------------------------------------------------------------------------------- /gulp/tasks/demo.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var shell = require('shelljs'); 3 | 4 | var cwd = process.cwd(); 5 | 6 | gulp.task('demo', function () { 7 | shell.cd(cwd + '/build'); 8 | shell.exec('drush pece-demo'); 9 | shell.cd(cwd); 10 | }); 11 | -------------------------------------------------------------------------------- /gulp/tasks/distro/pack.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var shell = require('shelljs'); 3 | var fs = require('fs'); 4 | 5 | var cwd = process.cwd(); 6 | var kwEnvConfigFile = cwd + '/cnf/environment'; 7 | var repo = 'https://github.com/PECE-project/pece-distro.git'; 8 | var commitMessage = 'New release based on master of development repository.'; 9 | 10 | function distroPack() { 11 | gulp.series(distroPrepare, function () { 12 | shell.cd('distro'); 13 | shell.exec('git add -A'); 14 | // shell.exec('git commit -m "' + commitMessage + '"'); 15 | //shell.exec('git push ' + repo + ' master'); 16 | }); 17 | } 18 | 19 | gulp.task('distro:pack', distroPack); 20 | 21 | exports.distroPack = distroPack; 22 | -------------------------------------------------------------------------------- /gulp/tasks/drush/cc.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var shell = require('shelljs'); 3 | 4 | var cwd = process.cwd(); 5 | 6 | gulp.task('drush:cc', function () { 7 | shell.cd(cwd + '/build'); 8 | shell.exec('drush cc all'); 9 | shell.cd(cwd); 10 | }); 11 | -------------------------------------------------------------------------------- /gulp/tasks/drush/kw-apply-module-dependencies.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var shell = require('shelljs'); 3 | var util = require('../../lib/util'); 4 | 5 | var cwd = process.cwd(); 6 | 7 | gulp.task('drush:kw-apply-module-dependencies', function (done) { 8 | util.environment(function (err, env) { 9 | shell.cd('build'); 10 | shell.exec('drush kw-apply-module-dependencies ' + (env || 'production')); 11 | shell.cd(cwd); 12 | done(); 13 | }); 14 | }); 15 | -------------------------------------------------------------------------------- /gulp/tasks/drush/kw-s.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var shell = require('shelljs'); 3 | 4 | gulp.task('drush:kw-s', function () { 5 | shell.exec('drush kw-s'); 6 | }); 7 | -------------------------------------------------------------------------------- /gulp/tasks/drush/kw-u.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var shell = require('shelljs'); 3 | 4 | var cwd = process.cwd(); 5 | 6 | gulp.task('drush:kw-u', function () { 7 | shell.cd(cwd + '/build'); 8 | shell.exec('drush kw-u'); 9 | shell.cd(cwd); 10 | }); 11 | -------------------------------------------------------------------------------- /gulp/tasks/install.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | 3 | gulp.task('install', gulp.series('bower:install')); 4 | -------------------------------------------------------------------------------- /gulp/tasks/setup.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var shell = require('shelljs'); 3 | var prompt = require('gulp-prompt'); 4 | 5 | // Import external tasks. 6 | var drushKw_s = require('./drush/kw-s.js').drushKw_s; 7 | var config = require('./config/index.js').config; 8 | 9 | function setup(done) { 10 | gulp.series(drushKw_s, config)(done); 11 | } 12 | 13 | exports.setup = setup; 14 | -------------------------------------------------------------------------------- /gulp/tasks/site-install.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var sequence = require('gulp-sequence'); 3 | var shell = require('shelljs'); 4 | 5 | gulp.task('site-install', function (done) { 6 | // Avoid site-install if we are just running a build for the distro. 7 | if (process.env.IS_PRODUCTION) { 8 | return done(); 9 | } 10 | sequence('drush:si', 'drush:kw-apply-module-dependencies', 'drush:cc', done) 11 | }); 12 | -------------------------------------------------------------------------------- /gulp/tasks/site-uninstall.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var shell = require('shelljs'); 3 | 4 | var cwd = process.cwd(); 5 | 6 | gulp.task('site-uninstall', function () { 7 | if (shell.test('-d', 'build')) { 8 | shell.cd('build'); 9 | shell.exec('drush sql-drop -y'); 10 | shell.cd(cwd); 11 | } 12 | 13 | shell.rm('-rf', 'cnf/files'); 14 | }); 15 | -------------------------------------------------------------------------------- /gulp/tasks/tests/e2e.js: -------------------------------------------------------------------------------- 1 | 2 | var gulp = require('gulp'); 3 | var protractor = require('gulp-protractor').protractor; 4 | 5 | var webdriverStart = require('../webdriver/start'); 6 | 7 | function e2e(done) { 8 | gulp.series(webdriverStart, function (done) { 9 | return gulp.src('tests/e2e/smoke.spec.js') 10 | .pipe(protractor({ 11 | configFile: 'tests/e2e/smoke.conf.js', 12 | debug: false 13 | })); 14 | }) 15 | } 16 | 17 | gulp.task('test:e2e', e2e); 18 | 19 | exports.default = e2e; 20 | -------------------------------------------------------------------------------- /gulp/tasks/update.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var sequence = require('gulp-sequence'); 3 | 4 | gulp.task('update', function (done) { 5 | sequence(['drush:kw-u', 'bower:install'], 'styles', done); 6 | }); 7 | -------------------------------------------------------------------------------- /gulp/tasks/watch.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var styles = require('./styles'); 3 | 4 | function watchStyles(done) { 5 | gulp.series(styles, function (done) { 6 | gulp.watch('src/themes/pece_scholarly_lite/assets/sass/**/*', gulp.series('styles')); 7 | })(done); 8 | } 9 | 10 | gulp.task('watch:styles', watchStyles); 11 | 12 | gulp.task('watch', gulp.series('watch:styles')); 13 | -------------------------------------------------------------------------------- /gulp/tasks/webdriver/update.js: -------------------------------------------------------------------------------- 1 | 2 | var gulp = require('gulp'); 3 | var spawn = require('child_process').spawn; 4 | var webdriverPath = process.cwd() + '/node_modules/.bin/webdriver-manager'; 5 | 6 | gulp.task('webdriver:update', function (done) { 7 | spawn(webdriverPath, ['update'], { 8 | stdio: 'inherit' 9 | }).once('close', done); 10 | }); 11 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | /* 2 | gulpfile.js 3 | =========== 4 | Rather than manage one giant configuration file responsible 5 | for creating multiple tasks, each task has been broken out into 6 | its own file in gulp/tasks. Any files in that directory get 7 | automatically required below. 8 | To add a new task, simply add a new task file that directory. 9 | gulp/tasks/default.js specifies the default set of tasks to run 10 | when you run `gulp`. 11 | */ 12 | 13 | var requireDir = require('require-dir'); 14 | var shell = require('shelljs'); 15 | 16 | shell.config.fatal = true; 17 | shell.config.verbose = true; 18 | 19 | requireDir('./gulp', { recurse: true }); 20 | -------------------------------------------------------------------------------- /src/README.md: -------------------------------------------------------------------------------- 1 | # pece 2 | -------------------------------------------------------------------------------- /src/cnf/settings.local.base.php: -------------------------------------------------------------------------------- 1 | array ( 5 | 'default' => array ( 6 | 'database' => '%SETTINGS_DATABASE_NAME%', 7 | 'username' => '%SETTINGS_DATABASE_USERNAME%', 8 | 'password' => '%SETTINGS_DATABASE_PASSWORD%', 9 | 'host' => '%SETTINGS_DATABASE_HOST%', 10 | 'port' => '%SETTINGS_DATABASE_PORT%', 11 | 'driver' => '%SETTINGS_DATABASE_DRIVER%', 12 | 'prefix' => '%SETTINGS_DATABASE_PREFIX%', 13 | ), 14 | ), 15 | ); 16 | -------------------------------------------------------------------------------- /src/cnf/settings.local.php: -------------------------------------------------------------------------------- 1 | array ( 5 | 'default' => array ( 6 | 'database' => 'DATABASE_NAME', 7 | 'username' => 'DATABASE_USERNAME', 8 | 'password' => 'DATABASE_PASSWORD', 9 | 'host' => 'localhost', 10 | 'port' => '', 11 | 'driver' => 'mysql', 12 | 'prefix' => '', 13 | ), 14 | ), 15 | ); 16 | 17 | $drupal_hash_salt = 'SOME_REALLY_RANDOM_STRING'; 18 | 19 | $conf['stage_file_proxy_origin'] = 'http://dev-pece.rpi.dropit.in'; 20 | -------------------------------------------------------------------------------- /src/cnf/settings.php: -------------------------------------------------------------------------------- 1 | 11 | Getting Started 12 | Installing PECE 13 | Users' Guide 14 | Site Admins' Guide 15 | Data Management 16 | Legal Documents 17 | Data Model 18 | Contributors' Guide 19 | 20 | -------------------------------------------------------------------------------- /src/docs/source/Old Docs/readme.md: -------------------------------------------------------------------------------- 1 | # PECE Docs 2 | 3 | This directory contains the documentation for the platform. 4 | -------------------------------------------------------------------------------- /src/docs/source/cinder/404.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block content %} 4 | 5 |
6 |
7 |

404

8 |

Page not found

9 |

Home

10 |
11 |
12 | 13 | {% endblock %} 14 | -------------------------------------------------------------------------------- /src/docs/source/cinder/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/__init__.py -------------------------------------------------------------------------------- /src/docs/source/cinder/content.html: -------------------------------------------------------------------------------- 1 | {% if page.meta.source %} 2 | 7 | {% endif %} 8 | 9 | {{ page.content }} 10 | -------------------------------------------------------------------------------- /src/docs/source/cinder/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /src/docs/source/cinder/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /src/docs/source/cinder/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /src/docs/source/cinder/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/favicon.ico -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid1.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid10.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid11.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid12.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid13.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid14.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid15.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid16.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid17.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid18.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid19.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid2.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid20.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid3.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid4.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid5.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid6.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid7.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid8.png -------------------------------------------------------------------------------- /src/docs/source/cinder/img/grid9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/cinder/img/grid9.png -------------------------------------------------------------------------------- /src/docs/source/cinder/main.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {# 4 | The entry point for the MkDocs Theme. 5 | 6 | Any theme customisations should override this file to redefine blocks defined in 7 | the various templates. The custom theme should only need to define a main.html 8 | which `{% extends "base.html" %}` and defines various blocks which will replace 9 | the blocks defined in base.html and its included child templates. 10 | #} -------------------------------------------------------------------------------- /src/docs/source/cinder/mkdocs_theme.yml: -------------------------------------------------------------------------------- 1 | cinder_theme: true 2 | 3 | static_templates: 4 | - 404.html 5 | 6 | include_search_page: false 7 | search_index_only: false 8 | 9 | shortcuts: 10 | help: 191 # ? 11 | next: 78 # n 12 | previous: 80 # p 13 | search: 83 # s 14 | -------------------------------------------------------------------------------- /src/docs/source/cinder/nav-sub.html: -------------------------------------------------------------------------------- 1 | {% if not nav_item.children %} 2 |
  • 3 | {{ nav_item.title }} 4 |
  • 5 | {% else %} 6 | 14 | {% endif %} 15 | -------------------------------------------------------------------------------- /src/docs/source/cinder/toc.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/docs/source/docs/css/extra.css: -------------------------------------------------------------------------------- 1 | .navbar-right li:nth-child(2){ 2 | display:none; 3 | } 4 | .navbar-right li:nth-child(3){ 5 | display:none; 6 | } 7 | .navbar-right li:nth-child(4){ 8 | display:none; 9 | } 10 | img[src*="#logo"] { 11 | width:300px; 12 | } 13 | img[src*="#farhat-headshot"] { 14 | width:150px; 15 | } 16 | .column1 { 17 | float: left; 18 | width: 70%; 19 | padding: 10px; 20 | } 21 | .column2 { 22 | float: left; 23 | width: 30%; 24 | padding: 10px; 25 | } 26 | .row:after { 27 | content: ""; 28 | display: table; 29 | clear: both; 30 | } 31 | .bs-sidebar { 32 | overflow-y: scroll; 33 | } 34 | .no-display{ 35 | visibility: hidden !important; 36 | width:0px !important; 37 | height:50px !important; 38 | } 39 | -------------------------------------------------------------------------------- /src/docs/source/docs/datamanagement.md: -------------------------------------------------------------------------------- 1 | # Coming Soon! 2 | -------------------------------------------------------------------------------- /src/docs/source/docs/datamodel.md: -------------------------------------------------------------------------------- 1 | PECE Data Model 2 | ================ 3 | 4 | ![](media/datamodel.jpg) 5 | -------------------------------------------------------------------------------- /src/docs/source/docs/licensing.md: -------------------------------------------------------------------------------- 1 | Licensing 2 | ====== 3 | 4 | Please review [*this link*](https://creativecommons.org/licenses/) for 5 | an explanation of how to apply Creative Commons licenses to content on 6 | the platform. 7 | -------------------------------------------------------------------------------- /src/docs/source/docs/media/15-steps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/15-steps.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/DataThenAndNowTalk.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/DataThenAndNowTalk.docx -------------------------------------------------------------------------------- /src/docs/source/docs/media/about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/about.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/addphotoessay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/addphotoessay.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/addterm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/addterm.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/annotations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/annotations.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/artifacts1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/artifacts1.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/artifacts10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/artifacts10.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/artifacts2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/artifacts2.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/artifacts3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/artifacts3.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/artifacts4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/artifacts4.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/artifacts5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/artifacts5.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/artifacts6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/artifacts6.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/artifacts7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/artifacts7.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/artifacts8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/artifacts8.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/artifacts9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/artifacts9.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/comment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/comment.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/createanalytic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/createanalytic.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/datamodel.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/datamodel.jpg -------------------------------------------------------------------------------- /src/docs/source/docs/media/download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/download.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/farhat-bin-aznan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/farhat-bin-aznan.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/grouplogics.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/grouplogics.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/lindsay-poirier.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/lindsay-poirier.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/matomo-modules.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/matomo-modules.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/matomo-site-id.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/matomo-site-id.gif -------------------------------------------------------------------------------- /src/docs/source/docs/media/matomo-variables.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/matomo-variables.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/pdfdownload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/pdfdownload.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/pece-logo-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/pece-logo-5.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/permissions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/permissions.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/photo_essay_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/photo_essay_1.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/photo_essay_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/photo_essay_2.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/photo_essay_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/photo_essay_3.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/photo_essay_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/photo_essay_4.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/photo_essay_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/photo_essay_5.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/photo_essay_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/photo_essay_6.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/photo_essay_7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/photo_essay_7.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/photo_essay_8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/photo_essay_8.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/reorderimages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/reorderimages.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/revisions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/revisions.png -------------------------------------------------------------------------------- /src/docs/source/docs/media/tags.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/docs/source/docs/media/tags.png -------------------------------------------------------------------------------- /src/docs/source/mkdocs.yml: -------------------------------------------------------------------------------- 1 | site_name: PECE Documentation 2 | repo_url: https://github.com/PECE-project/pece-distro 3 | nav: 4 | - Home: index.md 5 | - User's Guide: usersguide.md 6 | - Site Admin's Guide: siteadmin.md 7 | - System Admin's Guide: installation.md 8 | - Resources: legal.md 9 | theme: 10 | name: null 11 | custom_dir: 'cinder' 12 | extra_css: 13 | - "css/extra.css" 14 | markdown_extensions: 15 | - admonition 16 | - markdown.extensions.extra 17 | -------------------------------------------------------------------------------- /src/modules/README.md: -------------------------------------------------------------------------------- 1 | This directory contains all the modules. Please read the README.md files in the 2 | subdirectory to find out the purpose of these directories. There should be NO 3 | modules directly in this directory. -------------------------------------------------------------------------------- /src/modules/dev/README.md: -------------------------------------------------------------------------------- 1 | This directory contains the Development modules for pece. 2 | -------------------------------------------------------------------------------- /src/modules/features/README.md: -------------------------------------------------------------------------------- 1 | This directory contains the feature modules for pece. 2 | 3 | Please note that 'feature module' doesn't necessarily mean that the module is 4 | managed by the Features module. It means that the module exposes a specific 5 | feature, instead of being a generic implementation of some functionality. -------------------------------------------------------------------------------- /src/modules/kraftwagen/README.md: -------------------------------------------------------------------------------- 1 | This directory contains the kraftwagen modules for pece. -------------------------------------------------------------------------------- /src/modules/pece/README.md: -------------------------------------------------------------------------------- 1 | This directory should contain the custom developed modules for pece. 2 | 3 | Please note that custom modules still have a generic nature. If it actually just 4 | is for creating, you should place the module in the features directory. -------------------------------------------------------------------------------- /src/modules/pece/pece_about/defaults/about.yml: -------------------------------------------------------------------------------- 1 | title: About 2 | 3 | body: | 4 |

    5 | This is a sample content. 6 |

    7 | -------------------------------------------------------------------------------- /src/modules/pece/pece_about/pece_about.functions.inc: -------------------------------------------------------------------------------- 1 | 'PECE Anonymous Access Matrix', 14 | 'description' => 'Creates PECE Access Matrix to anonymous user', 15 | 'group' => 'PECE', 16 | ); 17 | } 18 | 19 | /** 20 | * Override this function to use the same file folders. 21 | * @return void 22 | */ 23 | // Create setUp method 24 | function setUp() { 25 | $this->userRole = 'anonymous'; 26 | $this->user = NULL; 27 | parent::setUp(); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/modules/pece/pece_access/pece_researchergroup_access.test: -------------------------------------------------------------------------------- 1 | 'PECE Researcher Access Matrix in Group', 14 | 'description' => 'Creates PECE Access Matrix to researcher user in groups', 15 | 'group' => 'PECE', 16 | ); 17 | } 18 | 19 | function setUp() { 20 | parent::setUp(); 21 | $this->addUserInAllGroups($this->user,5); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /src/modules/pece/pece_admin/images/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/modules/pece/pece_admin/images/close.png -------------------------------------------------------------------------------- /src/modules/pece/pece_admin/pece_admin.features.inc: -------------------------------------------------------------------------------- 1 | "1"); 14 | } 15 | } 16 | 17 | /** 18 | * Implements hook_views_api(). 19 | */ 20 | function pece_admin_views_api($module = NULL, $api = NULL) { 21 | return array("api" => "3.0"); 22 | } 23 | -------------------------------------------------------------------------------- /src/modules/pece/pece_admin/pece_admin.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | 3 | Drupal.admin = Drupal.admin || {}; 4 | Drupal.admin.behaviors = Drupal.admin.behaviors || {}; 5 | 6 | /** 7 | * Override hover behavior from admin_menu module to . 8 | */ 9 | delete Drupal.admin.behaviors.hover; 10 | 11 | })(jQuery); 12 | -------------------------------------------------------------------------------- /src/modules/pece/pece_admin/pece_admin.module: -------------------------------------------------------------------------------- 1 | TRUE); 24 | } 25 | -------------------------------------------------------------------------------- /src/modules/pece/pece_amber/pece_amber.features.inc: -------------------------------------------------------------------------------- 1 | "1"); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/modules/pece/pece_amber/pece_amber.module: -------------------------------------------------------------------------------- 1 | array( 14 | 'name' => 'Structured Analytics (Questions set)', 15 | 'machine_name' => 'pece_structured_analytics', 16 | 'description' => 'PECE\'s collection of questions', 17 | 'hierarchy' => 0, 18 | 'module' => 'nodeorder', 19 | 'weight' => 0, 20 | ), 21 | ); 22 | } 23 | -------------------------------------------------------------------------------- /src/modules/pece/pece_analytics/pece_analytics.functions.inc: -------------------------------------------------------------------------------- 1 | entityCondition('entity_type', 'taxonomy_term') 17 | ->entityCondition('bundle', array('pece_structured_analytics')) 18 | ->propertyOrderBy('weight'); 19 | 20 | $result = $query->execute(); 21 | $tids = array_keys($result['taxonomy_term']); 22 | 23 | return $tids; 24 | } 25 | -------------------------------------------------------------------------------- /src/modules/pece/pece_annotations/assets/css/pece_annotations.css: -------------------------------------------------------------------------------- 1 | .annotate-link { 2 | font-size: 1.2em; 3 | font-weight: 900; 4 | } 5 | 6 | .annotate-link:before { 7 | content: "+"; 8 | font-size: 1.5em; 9 | top: 0em; 10 | color: #2FA6E5; 11 | position: relative; 12 | margin-right: 0.1em; 13 | } 14 | 15 | .wizard-trail { 16 | padding: 10px 15px; 17 | border: 1px solid transparent; 18 | border-radius: 3px; 19 | border-color: #ddd; 20 | margin-bottom: 20px; 21 | } 22 | -------------------------------------------------------------------------------- /src/modules/pece/pece_api/pece_api.features.inc: -------------------------------------------------------------------------------- 1 | "3"); 13 | } 14 | if ($module == "strongarm" && $api == "strongarm") { 15 | return array("version" => "1"); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/modules/pece/pece_api/pece_api.features.menu_custom.inc: -------------------------------------------------------------------------------- 1 | 'management', 16 | 'title' => 'Management', 17 | 'description' => 'The Management menu contains links for administrative tasks.', 18 | ); 19 | // Translatables 20 | // Included for use with string extractors like potx. 21 | t('Management'); 22 | t('The Management menu contains links for administrative tasks.'); 23 | 24 | return $menus; 25 | } 26 | -------------------------------------------------------------------------------- /src/modules/pece/pece_api/pece_api.module: -------------------------------------------------------------------------------- 1 | disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ 15 | $strongarm->api_version = 1; 16 | $strongarm->name = 'services_security_update_1'; 17 | $strongarm->value = TRUE; 18 | $export['services_security_update_1'] = $strongarm; 19 | 20 | return $export; 21 | } 22 | -------------------------------------------------------------------------------- /src/modules/pece/pece_ark/pece_ark.features.inc: -------------------------------------------------------------------------------- 1 | "3.0"); 13 | } 14 | -------------------------------------------------------------------------------- /src/modules/pece/pece_ark/pece_ark.info: -------------------------------------------------------------------------------- 1 | name = PECE ARK - Archival Resource Key 2 | description = Provides Archival Resource Key for PECE content. 3 | core = 7.x 4 | package = PECE 5 | dependencies[] = date 6 | dependencies[] = pece_core 7 | dependencies[] = pece_profile 8 | dependencies[] = views 9 | features[ctools][] = views:views_default:3.0 10 | features[features_api][] = api:2 11 | features[views_view][] = pece_ark_content_review 12 | files[] = ark.test 13 | -------------------------------------------------------------------------------- /src/modules/pece/pece_artifacts/modules/pece_artifacts_audio/pece_artifacts_audio.module: -------------------------------------------------------------------------------- 1 | array('field_instance'))); 21 | } 22 | -------------------------------------------------------------------------------- /src/modules/pece/pece_artifacts/modules/pece_artifacts_tabular/pece_artifacts_tabular.features.user_permission.inc: -------------------------------------------------------------------------------- 1 | 'access direct download file', 17 | 'roles' => array( 18 | 'anonymous user' => 'anonymous user', 19 | 'authenticated user' => 'authenticated user', 20 | ), 21 | 'module' => 'download_file', 22 | ); 23 | 24 | return $permissions; 25 | } 26 | -------------------------------------------------------------------------------- /src/modules/pece/pece_artifacts/modules/pece_artifacts_tabular/pece_artifacts_tabular.install: -------------------------------------------------------------------------------- 1 | array('field_instance'))); 14 | } 15 | -------------------------------------------------------------------------------- /src/modules/pece/pece_artifacts/modules/pece_artifacts_text/pece_artifacts_text.module: -------------------------------------------------------------------------------- 1 | "1"); 14 | } 15 | if ($module == "panelizer" && $api == "panelizer") { 16 | return array("version" => "1"); 17 | } 18 | if ($module == "strongarm" && $api == "strongarm") { 19 | return array("version" => "1"); 20 | } 21 | } 22 | 23 | /** 24 | * Implements hook_views_api(). 25 | */ 26 | function pece_artifacts_views_api($module = NULL, $api = NULL) { 27 | return array("api" => "3.0"); 28 | } 29 | -------------------------------------------------------------------------------- /src/modules/pece/pece_artifacts/pece_artifacts.install: -------------------------------------------------------------------------------- 1 | "1"); 13 | } 14 | if ($module == "strongarm" && $api == "strongarm") { 15 | return array("version" => "1"); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/modules/pece/pece_backup/pece_backup.features.menu_custom.inc: -------------------------------------------------------------------------------- 1 | 'management', 16 | 'title' => 'Management', 17 | 'description' => 'The Management menu contains links for administrative tasks.', 18 | ); 19 | // Translatables 20 | // Included for use with string extractors like potx. 21 | t('Management'); 22 | t('The Management menu contains links for administrative tasks.'); 23 | 24 | return $menus; 25 | } 26 | -------------------------------------------------------------------------------- /src/modules/pece/pece_backup/pece_backup.module: -------------------------------------------------------------------------------- 1 | disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ 15 | $strongarm->api_version = 1; 16 | $strongarm->name = 'backup_migrate_profile_id'; 17 | $strongarm->value = ''; 18 | $export['backup_migrate_profile_id'] = $strongarm; 19 | 20 | return $export; 21 | } 22 | -------------------------------------------------------------------------------- /src/modules/pece/pece_biblio/pece_biblio.features.inc: -------------------------------------------------------------------------------- 1 | "1"); 13 | } 14 | } 15 | 16 | /** 17 | * Implements hook_views_api(). 18 | */ 19 | function pece_biblio_views_api($module = NULL, $api = NULL) { 20 | return array("api" => "3.0"); 21 | } 22 | -------------------------------------------------------------------------------- /src/modules/pece/pece_biblio/pece_biblio.features.taxonomy.inc: -------------------------------------------------------------------------------- 1 | array( 13 | 'name' => 'Bibliography collections', 14 | 'machine_name' => 'pece_biblio_collections', 15 | 'description' => 'Collections of bibliography items.', 16 | 'hierarchy' => 0, 17 | 'module' => 'taxonomy', 18 | 'weight' => 0, 19 | ), 20 | ); 21 | } 22 | -------------------------------------------------------------------------------- /src/modules/pece/pece_biblio/pece_biblio.features.user_permission.inc: -------------------------------------------------------------------------------- 1 | 'access biblio content', 16 | 'roles' => array( 17 | 'Contributor' => 'Contributor', 18 | 'Researcher' => 'Researcher', 19 | 'administrator' => 'administrator', 20 | 'anonymous user' => 'anonymous user', 21 | 'authenticated user' => 'authenticated user', 22 | ), 23 | 'module' => 'biblio', 24 | ); 25 | 26 | return $permissions; 27 | } 28 | -------------------------------------------------------------------------------- /src/modules/pece/pece_core/pece.js: -------------------------------------------------------------------------------- 1 | (function ($, undefined) { 2 | 3 | Drupal.behaviors.peceAjaxViewsAutocomplete = { 4 | attach: function (context, settings) { 5 | var $context = $(context); 6 | 7 | $.each(settings.views && settings.views.ajaxViews || {}, function (key, conf) { 8 | if (!conf.view_dom_id) return; 9 | 10 | var selector = '.view-dom-id-' + conf.view_dom_id.replace(/_/g, '-'); 11 | var $view = $context.is(selector) ? $context : $context.find(selector); 12 | var $input = $view.find('input.form-autocomplete'); 13 | var $submit = $view.find('input[type=submit], button[type=submit]').eq(0); 14 | 15 | $input.on('autocompleteSelect', function () { 16 | $submit.trigger('click'); 17 | }); 18 | }); 19 | } 20 | }; 21 | 22 | })(jQuery); 23 | -------------------------------------------------------------------------------- /src/modules/pece/pece_core/pece_core.file_default_displays.inc: -------------------------------------------------------------------------------- 1 | api_version = 1; 16 | $file_display->name = 'image__mini_teaser__file_field_image'; 17 | $file_display->weight = 0; 18 | $file_display->status = TRUE; 19 | $file_display->settings = array( 20 | 'image_link' => '', 21 | 'image_style' => 'pece_mini_teaser', 22 | ); 23 | $export['image__mini_teaser__file_field_image'] = $file_display; 24 | 25 | return $export; 26 | } 27 | -------------------------------------------------------------------------------- /src/modules/pece/pece_dashboard/pece_dashboard.features.inc: -------------------------------------------------------------------------------- 1 | "1"); 14 | } 15 | if ($module == "panels_mini" && $api == "panels_default") { 16 | return array("version" => "1"); 17 | } 18 | } 19 | 20 | /** 21 | * Implements hook_views_api(). 22 | */ 23 | function pece_dashboard_views_api($module = NULL, $api = NULL) { 24 | return array("api" => "3.0"); 25 | } 26 | -------------------------------------------------------------------------------- /src/modules/pece/pece_demo/pece_demo.drush.inc: -------------------------------------------------------------------------------- 1 | 'pece_demo_generate_demo_content', 14 | 'description' => 'Generates PECE demo contents.', 15 | ); 16 | 17 | return $items; 18 | } 19 | -------------------------------------------------------------------------------- /src/modules/pece/pece_demo/pece_demo.info: -------------------------------------------------------------------------------- 1 | name = PECE Demo 2 | description = Allows for the generation and removal of demo content. 3 | core = 7.x 4 | package = PECE 5 | project = pece_demo 6 | version = 7.x-1.0 7 | dependencies[] = devel_generate 8 | -------------------------------------------------------------------------------- /src/modules/pece/pece_design_logic/defaults/files/alt_ontology.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/modules/pece/pece_design_logic/defaults/files/alt_ontology.jpg -------------------------------------------------------------------------------- /src/modules/pece/pece_design_logic/defaults/files/crossing_scales_working_double_binds.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/modules/pece/pece_design_logic/defaults/files/crossing_scales_working_double_binds.jpg -------------------------------------------------------------------------------- /src/modules/pece/pece_design_logic/defaults/files/explanatory_pluralism.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/modules/pece/pece_design_logic/defaults/files/explanatory_pluralism.jpg -------------------------------------------------------------------------------- /src/modules/pece/pece_design_logic/defaults/files/juxtapositional_logics.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/modules/pece/pece_design_logic/defaults/files/juxtapositional_logics.jpg -------------------------------------------------------------------------------- /src/modules/pece/pece_design_logic/defaults/files/pursuing_differential_reproduction.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/modules/pece/pece_design_logic/defaults/files/pursuing_differential_reproduction.jpg -------------------------------------------------------------------------------- /src/modules/pece/pece_design_logic/defaults/files/scruffie_contours_and_blurred_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/modules/pece/pece_design_logic/defaults/files/scruffie_contours_and_blurred_focus.jpg -------------------------------------------------------------------------------- /src/modules/pece/pece_design_logic/defaults/files/transmuting_ambivalences_of_meaning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/modules/pece/pece_design_logic/defaults/files/transmuting_ambivalences_of_meaning.png -------------------------------------------------------------------------------- /src/modules/pece/pece_design_logic/defaults/files/valuing_noise.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/modules/pece/pece_design_logic/defaults/files/valuing_noise.jpg -------------------------------------------------------------------------------- /src/modules/pece/pece_design_logic/pece_design_logic.module: -------------------------------------------------------------------------------- 1 | array( 17 | 'render element' => 'elements', 18 | 'template' => 'design-logic', 19 | 'path' => $path_to_module . '/templates', 20 | ), 21 | ); 22 | } 23 | -------------------------------------------------------------------------------- /src/modules/pece/pece_frontpage_slideshow/pece_frontpage_slideshow.module: -------------------------------------------------------------------------------- 1 | "1"); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/modules/pece/pece_homepage/pece_homepage.info: -------------------------------------------------------------------------------- 1 | name = PECE Homepage 2 | description = PECE's Homepage functionalities. 3 | core = 7.x 4 | package = PECE 5 | version = 7.x-1.1 6 | project = pece_homepage 7 | dependencies[] = ctools 8 | dependencies[] = features 9 | dependencies[] = page_manager 10 | dependencies[] = taxonomy 11 | dependencies[] = views 12 | features[ctools][] = page_manager:pages_default:1 13 | features[features_api][] = api:2 14 | features[page_manager_pages][] = pece_homepage 15 | project path = profiles/pece/modules/pece_homepage 16 | -------------------------------------------------------------------------------- /src/modules/pece/pece_homepage/pece_homepage.module: -------------------------------------------------------------------------------- 1 | module == 'tagclouds' && $data['subject'] == 'Tags in Tags') { 15 | $data['subject'] = 'Terms'; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/modules/pece/pece_importer/modules/pece_imp_artifatcs_audio/pece_imp_artifacts_audio.features.inc: -------------------------------------------------------------------------------- 1 | "1"); 14 | } 15 | if ($module == "feeds_tamper" && $api == "feeds_tamper_default") { 16 | return array("version" => "2"); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/modules/pece/pece_importer/modules/pece_imp_artifatcs_audio/pece_imp_artifacts_audio.module: -------------------------------------------------------------------------------- 1 | "1"); 14 | } 15 | if ($module == "feeds_tamper" && $api == "feeds_tamper_default") { 16 | return array("version" => "2"); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/modules/pece/pece_importer/modules/pece_imp_artifatcs_image/pece_imp_artifacts_image.module: -------------------------------------------------------------------------------- 1 | "1"); 14 | } 15 | if ($module == "feeds_tamper" && $api == "feeds_tamper_default") { 16 | return array("version" => "2"); 17 | } 18 | } 19 | 20 | /** 21 | * Implements hook_views_api(). 22 | */ 23 | function pece_imp_artifacts_pdf_views_api($module = NULL, $api = NULL) { 24 | return array("api" => "3.0"); 25 | } 26 | -------------------------------------------------------------------------------- /src/modules/pece/pece_importer/modules/pece_imp_artifatcs_pdf/pece_imp_artifacts_pdf.module: -------------------------------------------------------------------------------- 1 | "1"); 14 | } 15 | if ($module == "feeds_tamper" && $api == "feeds_tamper_default") { 16 | return array("version" => "2"); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/modules/pece/pece_importer/modules/pece_imp_artifatcs_tabular/pece_imp_artifacts_tabular.module: -------------------------------------------------------------------------------- 1 | "1"); 14 | } 15 | if ($module == "feeds_tamper" && $api == "feeds_tamper_default") { 16 | return array("version" => "2"); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/modules/pece/pece_importer/modules/pece_imp_artifatcs_text/pece_imp_artifacts_text.module: -------------------------------------------------------------------------------- 1 | "1"); 14 | } 15 | if ($module == "feeds_tamper" && $api == "feeds_tamper_default") { 16 | return array("version" => "2"); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/modules/pece/pece_importer/modules/pece_imp_artifatcs_video/pece_imp_artifacts_video.module: -------------------------------------------------------------------------------- 1 | "1"); 14 | } 15 | if ($module == "feeds_tamper" && $api == "feeds_tamper_default") { 16 | return array("version" => "2"); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/modules/pece/pece_importer/modules/pece_imp_artifatcs_website/pece_imp_artifacts_website.module: -------------------------------------------------------------------------------- 1 | array('field_instance'))); 24 | } 25 | -------------------------------------------------------------------------------- /src/modules/pece/pece_memo/pece_memo.module: -------------------------------------------------------------------------------- 1 | "1"); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/modules/pece/pece_node_expiration/pece_node_expiration.features.menu_custom.inc: -------------------------------------------------------------------------------- 1 | 'management', 16 | 'title' => 'Management', 17 | 'description' => 'The Management menu contains links for administrative tasks.', 18 | ); 19 | // Translatables 20 | // Included for use with string extractors like potx. 21 | t('Management'); 22 | t('The Management menu contains links for administrative tasks.'); 23 | 24 | return $menus; 25 | } 26 | -------------------------------------------------------------------------------- /src/modules/pece/pece_node_expiration/pece_node_expiration.module: -------------------------------------------------------------------------------- 1 | "1"); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/modules/pece/pece_notifications/modules/pece_notifications_user/pece_notifications_user.info: -------------------------------------------------------------------------------- 1 | name = PECE User Notifications 2 | core = 7.x 3 | package = PECE 4 | dependencies[] = ctools 5 | dependencies[] = entity 6 | dependencies[] = rules 7 | dependencies[] = strongarm 8 | features[ctools][] = strongarm:strongarm:1 9 | features[features_api][] = api:2 10 | features[rules_config][] = rules_pece_awaiting_approval_email 11 | features[variable][] = user_mail_status_activated_notify 12 | features[variable][] = user_mail_status_blocked_notify 13 | features[variable][] = user_mail_status_canceled_notify 14 | -------------------------------------------------------------------------------- /src/modules/pece/pece_notifications/modules/pece_notifications_user/pece_notifications_user.module: -------------------------------------------------------------------------------- 1 | "1"); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/modules/pece/pece_notifications/pece_notifications.info: -------------------------------------------------------------------------------- 1 | name = PECE Notifications 2 | description = Provide in-system or e-mail notifications. 3 | package = PECE 4 | core = 7.x 5 | version = 7.x-1.0 6 | dependencies[] = ctools 7 | dependencies[] = strongarm 8 | features[ctools][] = strongarm:strongarm:1 9 | features[features_api][] = api:2 10 | features[variable][] = update_check_disabled 11 | features[variable][] = update_check_frequency 12 | features[variable][] = update_notification_threshold 13 | -------------------------------------------------------------------------------- /src/modules/pece/pece_photo_essay/pece_photo_essay.strongarm.inc: -------------------------------------------------------------------------------- 1 | disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ 15 | $strongarm->api_version = 1; 16 | $strongarm->name = 'panelizer_node:pece_photo_essay:page_manager_selection'; 17 | $strongarm->value = 'node:pece_photo_essay:default'; 18 | $export['panelizer_node:pece_photo_essay:page_manager_selection'] = $strongarm; 19 | 20 | return $export; 21 | } 22 | -------------------------------------------------------------------------------- /src/modules/pece/pece_profile/pece_profile.strongarm.inc: -------------------------------------------------------------------------------- 1 | disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ 16 | $strongarm->api_version = 1; 17 | $strongarm->name = 'realname_pattern'; 18 | $strongarm->value = '[user:profile-pece-profile-main:field_pece_full_name]'; 19 | $export['realname_pattern'] = $strongarm; 20 | 21 | return $export; 22 | } 23 | -------------------------------------------------------------------------------- /src/modules/pece/pece_repository/pece_repository.features.inc: -------------------------------------------------------------------------------- 1 | "3.0"); 13 | } 14 | -------------------------------------------------------------------------------- /src/modules/pece/pece_repository/pece_repository.info: -------------------------------------------------------------------------------- 1 | name = PECE Repository 2 | description = PECE's Repository Page. 3 | core = 7.x 4 | package = PECE 5 | version = 7.x-1.0 6 | project = pece_Repository 7 | dependencies[] = better_exposed_filters 8 | dependencies[] = ctools 9 | dependencies[] = entity 10 | dependencies[] = features 11 | dependencies[] = views 12 | dependencies[] = views_content 13 | features[ctools][] = views:views_default:3.0 14 | features[features_api][] = api:2 15 | features[views_view][] = pece_repository 16 | project path = profiles/pece/modules/pece 17 | -------------------------------------------------------------------------------- /src/modules/pece/pece_repository/pece_repository.install: -------------------------------------------------------------------------------- 1 | array('field_instance'))); 16 | } 17 | -------------------------------------------------------------------------------- /src/modules/pece/pece_substantive_logic/pece_substantive_logic.module: -------------------------------------------------------------------------------- 1 | uid) && !empty($context['config']['accept_legal_terms'])) { 14 | $conditions = legal_get_conditions($language->language); 15 | legal_save_accept($conditions['version'], $conditions['revision'], $conditions['language'], $result->uid); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/modules/pece/pece_timeline_essay/assets/css/tlessay.css: -------------------------------------------------------------------------------- 1 | .field-name-field-pece-timeline-type { 2 | display: none; 3 | } 4 | 5 | .tl-headline { 6 | text-transform: initial; 7 | } 8 | 9 | .tl-timeline h6.pece-tle-item-title { 10 | font-size: 1em; 11 | text-transform: initial; 12 | } 13 | 14 | .tl-timemarker .tl-timemarker-content-container .tl-timemarker-content .tl-timemarker-text h2.tl-headline p.pece-tle-item-link { 15 | display: none; 16 | } 17 | 18 | -------------------------------------------------------------------------------- /src/modules/pece/pece_timeline_essay/pece_timeline_essay.make: -------------------------------------------------------------------------------- 1 | core = 7.x 2 | api = 2 3 | 4 | projects[ctools][version] = 1.14 5 | projects[ctools][subdir] = contrib 6 | 7 | projects[libraries][version] = 2.2 8 | projects[libraries][subdir] = contrib 9 | 10 | libraries[timelinejs][download][type] = file 11 | libraries[timelinejs][download][url] = https://github.com/NUKnightLab/TimelineJS3/archive/3.6.5.tar.gz 12 | 13 | libraries[bgrins-spectrum][download][type] = file 14 | libraries[bgrins-spectrum][download][url] = https://github.com/bgrins/spectrum/archive/master.zip 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/modules/pece/pece_timeline_essay/templates/timeline-pane.tpl.php: -------------------------------------------------------------------------------- 1 |
    2 |
    3 | 7 |
    -------------------------------------------------------------------------------- /src/modules/sandbox/panels_packery/panels_packery.info: -------------------------------------------------------------------------------- 1 | name = Panels Packery 2 | description = Packery integration into Panels IPE. 3 | core = 7.x 4 | version = 7.x-1.0 5 | project = panels_packery 6 | dependencies[] = panels 7 | dependencies[] = panels_ipe 8 | dependencies[] = libraries 9 | -------------------------------------------------------------------------------- /src/modules/sandbox/panels_packery/panels_packery.make: -------------------------------------------------------------------------------- 1 | core = 7.x 2 | api = 2 3 | 4 | projects[panels][version] = 3.7 5 | projects[panels][subdir] = contrib 6 | 7 | projects[libraries][version] = 2.2 8 | projects[libraries][subdir] = contrib 9 | 10 | libraries[packery][download][type] = file 11 | libraries[packery][download][url] = https://github.com/metafizzy/packery/archive/v2.1.1.tar.gz 12 | 13 | libraries[draggabilly][download][type] = file 14 | libraries[draggabilly][download][url] = https://github.com/desandro/draggabilly/archive/v2.1.1.tar.gz 15 | -------------------------------------------------------------------------------- /src/modules/sandbox/panels_packery/plugins/panels/layouts/packery_layout/packery-layout.css: -------------------------------------------------------------------------------- 1 | .packery-layout .panel-pane { 2 | padding-left: 10px; 3 | padding-right: 10px; 4 | margin-bottom: 20px; 5 | box-sizing: border-box; 6 | overflow: hidden; 7 | } 8 | -------------------------------------------------------------------------------- /src/modules/sandbox/panels_packery/plugins/panels/layouts/packery_layout/packery-layout.tpl.php: -------------------------------------------------------------------------------- 1 | 7 | 8 |
    > 9 | 10 |
    11 |
    12 | 13 |
    14 |
    15 | 16 |
    17 | -------------------------------------------------------------------------------- /src/modules/sandbox/panels_packery/plugins/panels/layouts/packery_layout/packery_layout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/modules/sandbox/panels_packery/plugins/panels/layouts/packery_layout/packery_layout.png -------------------------------------------------------------------------------- /src/patches/ctools-save_continue_button.patch: -------------------------------------------------------------------------------- 1 | diff --git i/includes/wizard.inc w/includes/wizard.inc 2 | index 1a821a5..e886a75 100644 3 | --- i/includes/wizard.inc 4 | +++ w/includes/wizard.inc 5 | @@ -338,6 +338,15 @@ function ctools_wizard_wrapper($form, &$form_state) { 6 | ); 7 | } 8 | else if (empty($form_state['next']) || !empty($form_info['free trail'])) { 9 | + 10 | + $form['buttons']['save_continue'] = array( 11 | + '#type' => 'submit', 12 | + '#value' => t('Save & Continue'), 13 | + '#wizard type' => 'next', 14 | + '#next' => 'start', 15 | + '#attributes' => $button_attributes, 16 | + ); 17 | + 18 | $form['buttons']['return'] = array( 19 | '#type' => 'submit', 20 | '#value' => $form_info['finish text'], 21 | -------------------------------------------------------------------------------- /src/patches/search_api_fix-composer-friendly-dependencies-issue.patch: -------------------------------------------------------------------------------- 1 | From f40c40332d2daa5ab357e3d3fb218392f0f0c39b Mon Sep 17 00:00:00 2001 2 | From: Renato Vasconcellos 3 | Date: Wed, 10 Jul 2019 17:23:16 -0500 4 | Subject: [PATCH] Fix install issues on non composer Drupal instalations. 5 | 6 | --- 7 | search_api.info | 2 +- 8 | 1 file changed, 1 insertion(+), 1 deletion(-) 9 | 10 | diff --git a/search_api.info b/search_api.info 11 | index 8b11f2c..0e14ed8 100644 12 | --- a/search_api.info 13 | +++ b/search_api.info 14 | @@ -1,6 +1,6 @@ 15 | name = Search API 16 | description = "Provides a generic API for modules offering search capabilities." 17 | -dependencies[] = entity:entity 18 | +dependencies[] = entity 19 | core = 7.x 20 | package = Search 21 | 22 | -- 23 | 2.7.4 24 | 25 | -------------------------------------------------------------------------------- /src/pece.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Stylesheet for PECE Profile 3 | */ 4 | 5 | 6 | #panopoly-apps-check #edit-pantheon img { 7 | float: right; 8 | margin-left: 1em; 9 | margin-bottom: 1em; 10 | } 11 | 12 | body.in-maintenance #branding { 13 | background: #8D36AD; 14 | } 15 | 16 | body.in-maintenance #branding h1 { 17 | color: white; 18 | } 19 | 20 | body.maintenance-page #logo { 21 | background:transparent url(pece.png) no-repeat top left; 22 | height:0; 23 | overflow:hidden; 24 | padding-top: 78px; /* height of logo */ 25 | width: 180px; /* width of logo */ 26 | } 27 | -------------------------------------------------------------------------------- /src/pece.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/pece.png -------------------------------------------------------------------------------- /src/themes/README.md: -------------------------------------------------------------------------------- 1 | This directory contains the themes for pece. 2 | 3 | There is no separation between contributed and custom themes here. Instead of 4 | hundreds of themes, you usually have just two of them. Sometimes when things get 5 | bigger you might have five themes. Therefore, we do not need any separation 6 | here. -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/alegreya-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Alegreya:400italic,700italic,400,700,900&subset=latin,latin-ext); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/alegreyasc-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Alegreya+SC:400,400italic,700,700italic,900&subset=latin,latin-ext); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/cabin-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Cabin:400,700,400italic,700italic); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/cinzel-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Cinzel:400,700,900&subset=latin-ext,latin,greek); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/crimsontext-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,700,600italic); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/droidserif-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/exo-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Exo:400,700,800,400italic,700italic,800italic&subset=latin,greek); 2 | -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/gentiumbookbasic-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Gentium+Book+Basic:400,400italic,700,700italic); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/josefin-sans-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Josefin+Sans:300,400,600,700,400italic,600italic,700italic&subset=latin-ext,latin,greek); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/lato-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Lato:300,400,700,900,300italic,400italic,700italic,900italic); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/merriweather-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Merriweather:400,300italic,300,400italic,700,700italic&subset=latin,greek); 2 | -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/notosans-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic,700italic); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/notoserif-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Noto+Serif:400,700,400italic,700italic&subset=latin,latin-ext,greek); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/opensans-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,800italic,400,800,700&subset=latin,greek); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/oswald-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Oswald:400,300,700&subset=latin,latin-ext); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/philosopher-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Philosopher:400,700,400italic,700italic&subset=latin-ext,latin,greek); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/playfair-display-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Playfair+Display:400,700,400italic,700italic&subset=latin-ext,latin,greek); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/playfairdisplaysc-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Playfair+Display+SC:400,400italic,700,700italic&subset=latin,greek,latin-ext); 2 | -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/ptsans-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic&subset=latin,greek); 2 | -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/ptserif-blockquote-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=PT+Serif); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/ptserif-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=PT+Serif:400,700,400italic,700italic&subset=latin,latin-ext); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/raleway-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Raleway:400,700,500,300&subset=latin-ext,latin,greek); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/roboto-condensed-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Roboto+Condensed:400italic,700italic,400,300,700&subset=latin-ext,latin,greek); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/roboto-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Roboto:400,400italic,700,300,700italic&subset=latin-ext,latin,greek); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/roboto-slab-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Roboto+Slab:400,300,700&subset=latin-ext,latin,greek); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/sourcecodepro-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Source+Code+Pro&subset=latin,latin-ext); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/sourcesanspro-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,900,400italic,700italic,900italic&subset=latin,greek); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/ubuntu-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Ubuntu:400,700,400italic,700italic&subset=latin,greek); 2 | -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/volkhov-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Volkhov:400,400italic,700,700italic); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/fonts/vollkorn-font.css: -------------------------------------------------------------------------------- 1 | @import url(//fonts.googleapis.com/css?family=Vollkorn:400italic,700italic,400,700); -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/ie9.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/contrib/scholarly_lite/ie9.css -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/images/block-img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/contrib/scholarly_lite/images/block-img.jpg -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/images/footer-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/contrib/scholarly_lite/images/footer-logo.png -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/local.css: -------------------------------------------------------------------------------- 1 | /* Custom CSS overrides */ 2 | 3 | -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/contrib/scholarly_lite/logo.png -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/scholarly_lite.settings.form.css: -------------------------------------------------------------------------------- 1 | .theme-settings-title { margin:0 0 -20px 0; font-weight:bold; } -------------------------------------------------------------------------------- /src/themes/contrib/scholarly_lite/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/contrib/scholarly_lite/screenshot.png -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/.gitignore: -------------------------------------------------------------------------------- 1 | .sass-cache 2 | bower_components 3 | node_modules 4 | .vendor/bundle 5 | assets/css 6 | assets/lib 7 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/css/fonts: -------------------------------------------------------------------------------- 1 | ../lib/slick-carousel/slick/fonts/ -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/fonts/README.txt: -------------------------------------------------------------------------------- 1 | 2 | This directory should be used to place downloaded and custom fonts 3 | for your theme. 4 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/images/README.txt: -------------------------------------------------------------------------------- 1 | 2 | This directory should be used to place images for your theme. 3 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/images/icon/icon-apps-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/pece_scholarly_lite/assets/images/icon/icon-apps-active.png -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/images/icon/icon-apps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/pece_scholarly_lite/assets/images/icon/icon-apps.png -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/images/throbber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/pece_scholarly_lite/assets/images/throbber.gif -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/js/modal-slider.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @file 3 | * Custom scripts for theme. 4 | */ 5 | 6 | (function (window, document, $, undefined) { 7 | 8 | $(document).on('opening', '[data-remodal-id]', function (e) { 9 | var $modal = $(this); 10 | var $sliders = $modal.find('.slick-slider'); 11 | 12 | // Handle full-modal sliders. 13 | if ($modal.is('.slick-slider')) $sliders = $sliders.add($modal); 14 | 15 | $sliders.each(function () { 16 | var $slider = $(this) 17 | var Slick = $slider.slick('getSlick'); 18 | var options = Slick && Slick.options; 19 | if (options) $slider.slick('unslick').slick(options); 20 | }); 21 | }); 22 | 23 | })(window, document, jQuery); 24 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/js/script.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @file 3 | * Custom scripts for theme. 4 | */ 5 | (function ($) { 6 | // code here 7 | })(jQuery); 8 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/library/components/box.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Box components 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | // Default box component used on buttons. 8 | %box-button 9 | display: inline-block 10 | margin: 10px 0 11 | padding: 15px 23px 12 | border: none 13 | border-radius: 0px 14 | line-height: 1 15 | font-size: 14px 16 | text-transform: uppercase 17 | text-decoration: none 18 | text-align: center 19 | &:before 20 | display: none 21 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/library/components/buttons.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Button components 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | %button 8 | @extend %box-button 9 | min-width: 130px 10 | transition: all 0.2s ease-in-out 11 | 12 | @each $name, $map in $color-meaningful 13 | %button-#{$name} 14 | @extend %button 15 | color: map-get($map, "contrast") 16 | background-color: map-get($map, "color") 17 | &:hover 18 | background-color: map-get($map, "hover") 19 | color: map-get($map, "contrast") 20 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/library/components/files.sass: -------------------------------------------------------------------------------- 1 | %file-type-icon 2 | display: block 3 | z-index: 20 4 | top: auto 5 | width: 100% 6 | font-family: $font-family-icon 7 | font-size: $font-size-large 8 | font-style: normal 9 | text-align: center 10 | color: white 11 | opacity: 0.8 12 | 13 | %type-icon 14 | width: 100% 15 | font-family: $font-family-icon 16 | font-size: $font-size-large 17 | font-style: normal 18 | text-align: center 19 | color: white 20 | opacity: 0.8 -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/library/components/lists.sass: -------------------------------------------------------------------------------- 1 | %sidebar-list 2 | 3 | ul li 4 | list-style: none 5 | margin-bottom: 0 6 | margin-left: 0 7 | 8 | a 9 | font-size: 15px 10 | line-height: 1 11 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/library/components/tags.sass: -------------------------------------------------------------------------------- 1 | %tags 2 | display: inline 3 | margin-right: 2px 4 | 5 | a 6 | color: #7d7d7d 7 | background-color: #d2d2d2 8 | padding: 6px 8px 9 | line-height: 1 10 | font-size: $font-size-base 11 | -webkit-border-radius: 2px 12 | -moz-border-radius: 2px 13 | border-radius: 2px 14 | display: inline-block 15 | margin: 3px 0 16 | transition: linear .3s 17 | &:hover 18 | background-color: #000 19 | text-decoration: none 20 | color: #fff 21 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/admin/admin-dashboard.sass: -------------------------------------------------------------------------------- 1 | .page-admin-dashboard 2 | .region-content 3 | .pane-content 4 | ul li 5 | list-style: none 6 | margin: 0 7 | border-bottom: 1px dotted $color-gray 8 | padding: 10px 0 9 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/admin/base.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Administrative related styles 4 | *------------------------------------------------------------------------------ 5 | */ 6 | @import messages 7 | @import modal 8 | @import diff 9 | @import admin-dashboard 10 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/admin/diff.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Diff & Content revision styles 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | table.diff 8 | td 9 | &.diff-section-title 10 | padding: 0.5em 11 | &.diff-prevlink, 12 | &.diff-nextlink 13 | line-height: 2em 14 | padding: 0.5em 15 | &.diff-links 16 | display: none 17 | &.diff-deletedline 18 | background-color: #ffffc7 19 | &.diff-addedline 20 | background-color: #d0ffd5 21 | 22 | div.diff-section-title 23 | padding: 0.5em 24 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/admin/modal.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Modal used in upload files. 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | 8 | .ui-dialog button.ui-dialog-titlebar-close 9 | width: 30px 10 | height: 30px 11 | outline: none 12 | 13 | &::before 14 | content: "\f00d" 15 | display: block 16 | font-family: $font-family-icon 17 | font-size: $font-size-large 18 | line-height: 1 19 | color: white 20 | 21 | .ui-widget-overlay 22 | background-repeat: repeat 23 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/base.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Default element styles 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | h1 8 | .field 9 | display: inline-block 10 | 11 | .field-name-field-pece-struct-analytics 12 | padding: 0 .5em 13 | background-color: #E2E2E2 14 | padding: 10px 15 | 16 | a 17 | color: $color-primary 18 | 19 | .element-invisible 20 | display: none 21 | 22 | .field-name-field-pece-tags 23 | @extend %tags 24 | 25 | p, 26 | li 27 | font-size: 18px 28 | 29 | // a 30 | // color: $color-primary !important 31 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/entities/design-logic.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Design logic 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | .entity-design-logic 8 | 9 | .field-name-field-description 10 | +make-md-column(8) 11 | 12 | .design-logic-sidebar 13 | +make-md-column(4) 14 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/forms/node-edit.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Node edit form styles 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | #node-edit 8 | #edit-title 9 | font-size: 1.6em 10 | line-height: 1.6em 11 | width: 100% 12 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/forms/panels.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Panels form styles overrides 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | #fieldable-panels-panes-fieldable-panels-pane-content-type-edit-form 8 | .form-item 9 | &.form-type-select 10 | &.form-item-language 11 | position: static 12 | border: 10px solid red -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/nodes/base.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Node styles 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | @import page 8 | @import icons 9 | @import fields 10 | @import pece-pdf 11 | @import mini-teaser 12 | @import meta-content 13 | @import pece-artifact-video 14 | @import pece-artifact-tabular 15 | @import pece-artifact--teaser 16 | @import pece-memo 17 | @import pece-photo-essay 18 | @import pece-project 19 | @import card 20 | @import pece-biblio 21 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/nodes/fields.sass: -------------------------------------------------------------------------------- 1 | .field-name-field-pece-website-url 2 | text-overflow: ellipsis 3 | word-wrap: break-word 4 | 5 | .field-name-field-pece-crit-commentary 6 | ol 7 | list-style-position: inside 8 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/nodes/icons.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Node related icons 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | @import icons-map 8 | 9 | i, 10 | [class*="node-pece-"] .icon, 11 | .user-profile .icon, 12 | .node-pece-group .icon 13 | &::before 14 | @extend %file-type-icon 15 | 16 | @each $selector, $char in $icon-selectors 17 | #{$selector}::before 18 | content: $char 19 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/nodes/pece-artifact-tabular.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Tabular data Artifact styles 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | .field-name-field-pece-media-tabular, 8 | .field-name-field-pece-media-tablr-attach 9 | .download-file 10 | padding: 0 11 | list-style-type: none 12 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/nodes/pece-artifact-video.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Video Artifact styles 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | .node-type-pece-artifact-video 8 | .field-name-field-pece-media-video 9 | video 10 | width: 100% 11 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/nodes/pece-memo.sass: -------------------------------------------------------------------------------- 1 | .node-type-pece-memo 2 | .pane-node-og-group-ref 3 | .field-label 4 | text-transform: uppercase 5 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/nodes/pece-pdf.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * PECE PDF node styles 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | #pdf_reader 8 | width: 100% 9 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/nodes/pece-photo-essay.sass: -------------------------------------------------------------------------------- 1 | .view-mode-mini-teaser.node-pece-photo-essay h5 2 | width: calc(100% - 200px) 3 | 4 | +breakpoint($breakpoint-max-xs) 5 | width: calc(100% - 70px) 6 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/pages/taxonomy.sass: -------------------------------------------------------------------------------- 1 | .page-taxonomy 2 | h1#page-title 3 | &::before 4 | content: "\f02c" 5 | color: $color-gray 6 | font-family: $font-family-icon 7 | font-size: $font-size-h2 8 | margin-right: 10px 9 | 10 | .view-id-pece_question_term 11 | ul 12 | list-style: none 13 | 14 | li 15 | margin-bottom: 2rem 16 | 17 | h2 a 18 | text-transform: initial 19 | display: inline-block 20 | 21 | &::first-letter 22 | text-transform: uppercase 23 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/panels/annotate-link.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Annotate link pane styles 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | .annotate-link 8 | @extend %button-primary 9 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/panels/base.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Panels styles 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | @import annotate-link 8 | @import essay-link 9 | @import question-set 10 | @import content-heading 11 | @import pece-layout-three-col 12 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/panels/content-heading.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Essay Content heading pane styles 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | // ------------------------------------ 8 | // Settings 9 | // ------------------------------------ 10 | 11 | @import settings/colors 12 | 13 | .essay-heading 14 | border-bottom: 2px solid $color-gray-light 15 | padding-bottom: .3em 16 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/panels/essay-link.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Essay link pane styles 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | .essay-link 8 | @extend %button-primary 9 | 10 | .packery-layout & 11 | display: block 12 | width: 100% 13 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/panels/pece-layout-three-col.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Panelizer Layout Three Column styles 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | // ------------------------------------ 8 | // PECE Essay Three Column layout 9 | // ------------------------------------ 10 | .pece-three-col, 11 | .mccoppin 12 | .panel-pane 13 | margin-bottom: 20px 14 | overflow: hidden 15 | word-wrap: break-word 16 | 17 | .field-name-field-pece-website-url 18 | word-wrap: break-word 19 | text-overflow: ellipsis 20 | 21 | .essay-link 22 | display: block 23 | width: 100% 24 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/print/annotations.sass: -------------------------------------------------------------------------------- 1 | .node-type-pece-analytic 2 | 3 | #views-exposed-form-pece-annotations-pece-question-annotations 4 | display: none 5 | 6 | .view-pece-annotations 7 | .views-field-artifact-meta-content 8 | border: none 9 | background: none 10 | padding: 0 11 | .views-row-inner 12 | padding-left: 0 13 | .views-field-picture 14 | display: none 15 | 16 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/print/base.sass: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | *------------------------------------------------------------------------------ 4 | * Print styles 5 | *------------------------------------------------------------------------------ 6 | */ 7 | 8 | @import page 9 | @import annotations 10 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/print/page.sass: -------------------------------------------------------------------------------- 1 | #header-top, 2 | #header 3 | display: none 4 | 5 | #page 6 | .pece-footer-links-wrapper 7 | display: none 8 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/regions/base.sass: -------------------------------------------------------------------------------- 1 | @import header 2 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/regions/header.sass: -------------------------------------------------------------------------------- 1 | #header-top 2 | background-color: $color-primary 3 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/users/base.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * User styles 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | @import mini-teaser 8 | @import thumbnail 9 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/users/mini-teaser.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * User mini-teaser view mode styles 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | .user-profile.view-mode-mini-teaser 8 | margin: 0 9 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/users/thumbnail.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * User thumbnail view mode styles 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | .profile--thumbnail.view-mode-pece-thumbnail 8 | position: absolute 9 | left: 0 10 | width: 70px 11 | height: 70px 12 | overflow: hidden 13 | 14 | .icon 15 | vertical-align: middle 16 | width: 70px 17 | height: 70px 18 | line-height: 70px 19 | background-color: $color-primary 20 | 21 | .pece-thumbnail 22 | background-color: $color-primary 23 | 24 | &.image 25 | &::before 26 | @extend %file-type-icon 27 | content: "\f03e" 28 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/views/base.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Views styles 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | @import tags 8 | @import groups 9 | @import projects 10 | @import dashboard-tabs 11 | @import annotations 12 | @import field-diary 13 | @import analytics 14 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/views/field-diary.sass: -------------------------------------------------------------------------------- 1 | /* 2 | *------------------------------------------------------------------------------ 3 | * Field diary view styles 4 | *------------------------------------------------------------------------------ 5 | */ 6 | 7 | .view-id-pece_user_field_diary, 8 | .view-id-pece_group_field_diary 9 | ul 10 | list-style: none 11 | 12 | li 13 | margin-left: 0 14 | 15 | .field-name-body 16 | display: inline 17 | 18 | p 19 | display: inline 20 | 21 | .read-more 22 | display: inline 23 | 24 | 25 | .fieldnote-diary-row, 26 | .views-row-odd, 27 | .views-row-even 28 | margin-bottom: 30px 29 | 30 | .views-field-created 31 | font-weight: bold 32 | color: $color-primary 33 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/views/groups.sass: -------------------------------------------------------------------------------- 1 | .view-pece-project-groups 2 | @extend %sidebar-list 3 | 4 | .view-pece-group-members .view-display-id-attach_group_adms 5 | background-color: $gray-lighter 6 | padding: 8px 7 | margin-bottom: 10px 8 | h3 9 | margin-top: 0 10 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/partials/views/projects.sass: -------------------------------------------------------------------------------- 1 | .view-pece-group-projects 2 | @extend %sidebar-list 3 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/sources/header_override.sass: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------------------ 2 | * Theme Color Header styles 3 | *------------------------------------------------------------------------------ 4 | */ 5 | 6 | // ------------------------------------ 7 | // Import colors. 8 | // ------------------------------------ 9 | @import settings/colors 10 | 11 | // ------------------------------------ 12 | // Import header styles. 13 | // ------------------------------------ 14 | 15 | @import regions/header 16 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/assets/sass/sources/print.sass: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------------------ 2 | * Print styles 3 | *------------------------------------------------------------------------------ 4 | */ 5 | 6 | // ------------------------------------ 7 | // Import base library. 8 | // ------------------------------------ 9 | 10 | @import library 11 | 12 | // ------------------------------------ 13 | // Import outputing extensions. 14 | // ------------------------------------ 15 | 16 | // @import bootstrap 17 | 18 | 19 | // ------------------------------------ 20 | // Import partials. 21 | // ------------------------------------ 22 | 23 | @import print/base 24 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/pece_scholarly_lite/favicon.ico -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/fonts: -------------------------------------------------------------------------------- 1 | ../contrib/scholarly_lite/fonts/ -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/layouts/pece_douby_double/pece-douby-double.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/pece_scholarly_lite/layouts/pece_douby_double/pece-douby-double.png -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/layouts/pece_douby_double/pece_douby_double.inc: -------------------------------------------------------------------------------- 1 | t('Douby Double'), 5 | 'icon' => 'pece-douby-double.png', 6 | 'category' => t('PECE'), 7 | 'theme' => 'pece_douby_double', 8 | 'regions' => array( 9 | 'sidebartop' => t('Sidebar Top'), 10 | 'sidebarbottom' => t('Sidebar Bottom'), 11 | 'contentheader' => t('Content Header'), 12 | 'contenttop' => t('Content Top'), 13 | 'contentbottom' => t('Content Bottom'), 14 | 'contentfooter' => t('Content Footer'), 15 | ), 16 | ); 17 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/layouts/pece_pond/pece-pond.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/pece_scholarly_lite/layouts/pece_pond/pece-pond.png -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/layouts/pece_pond/pece_pond.inc: -------------------------------------------------------------------------------- 1 | 'Pond Double', 5 | 'icon' => 'pece-pond.png', 6 | 'category' => 'PECE', 7 | 'theme' => 'pece_pond', 8 | 'regions' => array( 9 | 'header' => t('Header'), 10 | 'column1' => t('Row 1: First Column'), 11 | 'column2' => t('Row 1: Second Column'), 12 | 'column3' => t('Row 1: Third Column'), 13 | 'content' => t('Content'), 14 | 'secondarycolumn1' => t('Row 2: First Column'), 15 | 'secondarycolumn2' => t('Row 2: Second Column'), 16 | 'secondarycolumn3' => t('Row 2: Third Column'), 17 | 'footer' => t('Footer'), 18 | ), 19 | ); 20 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/layouts/pece_sidebar_right/pece-sidebar-right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/pece_scholarly_lite/layouts/pece_sidebar_right/pece-sidebar-right.png -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/layouts/pece_single_column/pece-single-column.tpl.php: -------------------------------------------------------------------------------- 1 | 12 | 13 |
    > 14 | 15 |
    16 |
    17 | 18 |
    19 |
    20 | 21 |
    22 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/layouts/pece_single_column/pece_single_column.inc: -------------------------------------------------------------------------------- 1 | t('Single Column'), 5 | 'icon' => 'pece_single_column.png', 6 | 'category' => t('PECE'), 7 | 'theme' => 'pece-single-column', 8 | 'regions' => array( 9 | 'contentmain' => t('Content'), 10 | ), 11 | ); 12 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/layouts/pece_single_column/pece_single_column.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/pece_scholarly_lite/layouts/pece_single_column/pece_single_column.png -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/layouts/pece_sutro/pece-sutro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/pece_scholarly_lite/layouts/pece_sutro/pece-sutro.png -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/layouts/pece_sutro/pece_sutro.inc: -------------------------------------------------------------------------------- 1 | 'PECE Sutro', 5 | 'icon' => 'pece-sutro.png', 6 | 'category' => 'PECE', 7 | 'theme' => 'pece_sutro', 8 | 'regions' => array( 9 | 'header' => t('Header'), 10 | 'column1' => t('First Column'), 11 | 'column2' => t('Second Column'), 12 | 'footer' => t('Footer'), 13 | ), 14 | ); 15 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/layouts/pece_sutro_double/pece-sutro-double.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/pece_scholarly_lite/layouts/pece_sutro_double/pece-sutro-double.png -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/layouts/pece_sutro_double/pece_sutro_double.inc: -------------------------------------------------------------------------------- 1 | 'Sutro Double', 5 | 'icon' => 'pece-sutro-double.png', 6 | 'category' => 'PECE', 7 | 'theme' => 'pece_sutro_double', 8 | 'regions' => array( 9 | 'header' => t('Header'), 10 | 'column1' => t('First Column'), 11 | 'column2' => t('Second Column'), 12 | 'middle' => t('Middle'), 13 | 'secondcolumn1' => t('Bottom First Column'), 14 | 'secondcolumn2' => t('Bottom Second Column'), 15 | 'footer' => t('Footer'), 16 | ), 17 | ); 18 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/layouts/pece_three_col/pece_three_col.inc: -------------------------------------------------------------------------------- 1 | t('Three Columns'), 6 | 'icon' => 'pece_three_col.png', 7 | 'category' => t('PECE'), 8 | 'theme' => 'pece_three_col', 9 | 'regions' => array( 10 | 'column1' => t('First Column'), 11 | 'column2' => t('Second Column'), 12 | 'column3' => t('Third Column'), 13 | ), 14 | ); 15 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/layouts/pece_three_col/pece_three_col.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/pece_scholarly_lite/layouts/pece_three_col/pece_three_col.png -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/pece_scholarly_lite/logo.png -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/logo_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/pece_scholarly_lite/logo_ico.png -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/themes/pece_scholarly_lite/screenshot.png -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/templates/README.txt: -------------------------------------------------------------------------------- 1 | 2 | This directory should be used to place template files. 3 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/templates/block/README.txt: -------------------------------------------------------------------------------- 1 | 2 | This directory should be used to place block template files. 3 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/templates/comment/README.txt: -------------------------------------------------------------------------------- 1 | 2 | This directory should be used to place comments template files. 3 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/templates/contrib/README.txt: -------------------------------------------------------------------------------- 1 | 2 | This directory should be used to place contrib modules template files. 3 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/templates/field/README.txt: -------------------------------------------------------------------------------- 1 | 2 | This directory should be used to place field template files. 3 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/templates/node/README.txt: -------------------------------------------------------------------------------- 1 | 2 | This directory should be used to place nodes template files. 3 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/templates/node/node--most-recent.tpl.php: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/templates/page/README.txt: -------------------------------------------------------------------------------- 1 | 2 | This directory should be used to place page template files. 3 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/templates/panel/README.txt: -------------------------------------------------------------------------------- 1 | 2 | This directory should be used to place panels template files. 3 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/templates/system/README.txt: -------------------------------------------------------------------------------- 1 | 2 | This directory should be used to place system template files. 3 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/templates/user/README.txt: -------------------------------------------------------------------------------- 1 | 2 | This directory should be used to place user template files. 3 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/templates/view/README.txt: -------------------------------------------------------------------------------- 1 | 2 | This directory should be used to place views template files. 3 | -------------------------------------------------------------------------------- /src/themes/pece_scholarly_lite/templates/view/views-view-unformatted.tpl.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |

    12 | 13 | $row): ?> 14 | > 15 |
    16 | 17 |
    18 | 19 | 20 | -------------------------------------------------------------------------------- /src/tools/build.make.tpl: -------------------------------------------------------------------------------- 1 | core = 7.x 2 | api = 2 3 | 4 | projects[drupal][version] = 7.101 5 | ; Fix Custom logo and favicon stored in private filesystem if it is the default. 6 | projects[drupal][patch][1087250] = https://www.drupal.org/files/issues/1087250.logo-public-filesystem.057-b.patch 7 | ; Installation profiles do not support project:module format for dependencies (backport to D7). 8 | projects[drupal][patch][2905520] = https://www.drupal.org/files/issues/drupal-namespaced-profile-dependencies-2905520-7.patch 9 | 10 | projects[pece][type] = "profile" 11 | projects[pece][download][type] = "kraftwagen_directory" 12 | projects[pece][download][url] = "**SRC_DIR**" 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/translations/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/src/translations/README.md -------------------------------------------------------------------------------- /tests/e2e/README.md: -------------------------------------------------------------------------------- 1 | # protractor-drupal-framework 2 | A test automation framework for Drupal apps, written using Protractor and the PageObjects pattern. 3 | 4 | **Pre-requisites:** 5 | - NodeJS (greater than v0.10.0) 6 | - Java Development Kit (JDK) - for the selenium server 7 | 8 | **Setup:** 9 | 10 | To install protractor globally, use: 11 | 12 | `npm install -g protractor` 13 | 14 | After installing protractor, you will need to update the webdriver-manager. Use: 15 | 16 | `webdriver-manager update` 17 | 18 | To start the selenium server, use: 19 | 20 | `webdriver-manager start` 21 | 22 | **Running tests:** 23 | 24 | For running the protractor tests, execute the below command in the path where the protractor configuration file is located: 25 | 26 | `protractor` 27 | -------------------------------------------------------------------------------- /tests/e2e/assets/audioFile.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/tests/e2e/assets/audioFile.mp3 -------------------------------------------------------------------------------- /tests/e2e/assets/bigjpeg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/tests/e2e/assets/bigjpeg.jpg -------------------------------------------------------------------------------- /tests/e2e/assets/imageFile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/tests/e2e/assets/imageFile.jpg -------------------------------------------------------------------------------- /tests/e2e/assets/pdfFile.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/tests/e2e/assets/pdfFile.pdf -------------------------------------------------------------------------------- /tests/e2e/assets/tabularFile.ods: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/tests/e2e/assets/tabularFile.ods -------------------------------------------------------------------------------- /tests/e2e/assets/textFile.txt: -------------------------------------------------------------------------------- 1 | File content 2 | -------------------------------------------------------------------------------- /tests/e2e/assets/videoFile.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/tests/e2e/assets/videoFile.mp4 -------------------------------------------------------------------------------- /tests/e2e/authentication.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @file authentication.js 3 | */ 4 | 5 | /** 6 | * Define user credentials 7 | */ 8 | var userInfo = { 9 | user: 'admin', 10 | password: '12Admin@PECE#$' 11 | }; 12 | 13 | function getInfo (info) { 14 | return userInfo[info]; 15 | } 16 | 17 | module.exports = { 18 | // Expose functions 19 | getInfo: getInfo, 20 | 21 | // Expose static attribues. 22 | userInfo: userInfo 23 | }; 24 | -------------------------------------------------------------------------------- /tests/e2e/config-alter.example.js: -------------------------------------------------------------------------------- 1 | /** 2 | * This file should be copied to a 'config-alter.js' file so that 3 | * Protractor can correctly load this file. 4 | */ 5 | 6 | /** 7 | * Configuration alter method. 8 | * @param {object} Current Protractor configuration, as defined in 9 | * protractor.confg.js file. 10 | */ 11 | module.exports = function (config) { 12 | config.baseUrl = 'http://pece.local/'; 13 | config.params.admin.password = 'root'; 14 | }; 15 | -------------------------------------------------------------------------------- /tests/e2e/pages/add.types.page.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @file add.types.page.js 3 | */ 4 | 5 | var AddTypesPage = function() { 6 | 7 | // Define add types attributes. 8 | this.inheritanceLink = element(by.cssContainingText('.vertical-tabs-list a', 'Inheritance')); 9 | this.inheritanceCheckBox = element(by.css('#edit-bundle-inherit-inherit')); 10 | this.bundleInheritParentSelect = element(by.css('#edit-bundle-inherit-parent-type')) 11 | 12 | // Define add types methods. 13 | this.get = function () { 14 | browser.get('admin/structure/types/add'); 15 | }; 16 | } 17 | 18 | module.exports = new AddTypesPage; 19 | -------------------------------------------------------------------------------- /tests/e2e/pages/field.diary.page.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @file field.diary.page.js 3 | */ 4 | 5 | var FieldDiaryPage = function() { 6 | 7 | this.emptyResult = $('.view-pece-group-field-diary .view-empty'); 8 | 9 | this.get = function (url) { 10 | browser.get(url); 11 | }; 12 | 13 | }; 14 | 15 | module.exports = new FieldDiaryPage(); 16 | -------------------------------------------------------------------------------- /tests/e2e/pages/global.js: -------------------------------------------------------------------------------- 1 | /** 2 | * When required, this file will make available all page object 3 | * helpers as defined in the 'pages/index.js' file. 4 | */ 5 | 6 | var pages = require('./index'); 7 | 8 | Object.keys(pages).forEach(function (pageName) { 9 | if (typeof global[pageName] !== 'undefined') { 10 | throw '"' + pageName + '" was already defined in the Global scope.'; 11 | } 12 | 13 | global[pageName] = pages[pageName]; 14 | }); 15 | -------------------------------------------------------------------------------- /tests/e2e/pages/group.page.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @file group.page.js 3 | */ 4 | 5 | var GroupPage = function() { 6 | // Define add types methods. 7 | this.get = function () { 8 | browser.get('node/add/pece-group'); 9 | }; 10 | 11 | this.checkThumbnailField = function () { 12 | this.get(); 13 | var message = 'Group thumbnail field is not being displayed in add group form.'; 14 | expect($('#edit-field-pece-media-image').isPresent()).toBe(true, message); 15 | }; 16 | } 17 | 18 | module.exports = new GroupPage; 19 | -------------------------------------------------------------------------------- /tests/e2e/pages/pece.artifact.page.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @file pece.artifact.page.js 3 | */ 4 | 5 | var PeceArtifactPage = function() { 6 | 7 | // Define pece artifacts attributes. 8 | this.licenseField = element(by.css('#edit-field-pece-license-und-0-licence')); 9 | this.licenseFieldDefaultValue = element(by.css('#edit-field-pece-license-und-0-licence option:checked')); 10 | 11 | // Define pece artifact methods. 12 | this.get = function() { 13 | browser.get('node/add/pece-artifact'); 14 | }; 15 | 16 | this.getArtifact = function(node) { 17 | browser.get('content/' + node); 18 | }; 19 | 20 | } 21 | 22 | module.exports = new PeceArtifactPage; 23 | -------------------------------------------------------------------------------- /tests/e2e/specs/group.spec.js: -------------------------------------------------------------------------------- 1 | 2 | describe ('Group', function () { 3 | beforeAll(function() { 4 | AuthenticationPage.logout(); 5 | }); 6 | 7 | it('Should display group thumbnail field', function() { 8 | AuthenticationPage.login(browser.params.admin.user, browser.params.admin.password); 9 | GroupPage.checkThumbnailField(); 10 | }); 11 | 12 | afterAll(function() { 13 | AuthenticationPage.logout(); 14 | }); 15 | }); 16 | -------------------------------------------------------------------------------- /tests/files/.empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/tests/files/.empty -------------------------------------------------------------------------------- /tests/files/sf.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PECE-project/drupal-pece/ddcd312aa021143352874347c09c01cfc4c2f2bf/tests/files/sf.jpg -------------------------------------------------------------------------------- /tests/prorunner.json: -------------------------------------------------------------------------------- 1 | { 2 | "project": { 3 | "name": "PECE" 4 | }, 5 | "environments": { 6 | "dev": ["http://pece.revax.com.br/"] 7 | }, 8 | "drivers": ["chrome"] 9 | } 10 | -------------------------------------------------------------------------------- /tests/protractor.conf.js: -------------------------------------------------------------------------------- 1 | // See https://github.com/angular/protractor/blob/master/docs/referenceConf.js for reference 2 | exports.config = { 3 | // Attach to Selenium server running within the container 4 | seleniumAddress: 'http://localhost:4444/wd/hub', 5 | 6 | // Use Jasmine 2.x 7 | framework : 'jasmine2', 8 | specs: [ 9 | 'spec.js' 10 | ], 11 | 12 | baseUrl: 'http://pece.revax.com.br', 13 | 14 | // Chrome is not allowed to create a SUID sandbox when running inside Docker 15 | capabilities: { 16 | 'browserName': 'chrome', 17 | 'chromeOptions': { 18 | 'args': ['no-sandbox'] 19 | } 20 | } 21 | }; 22 | -------------------------------------------------------------------------------- /tests/scripts/create_users_for_each_role.sh: -------------------------------------------------------------------------------- 1 | drush ucrt cy_owner --mail=owner@email.com --password=123456789 2 | drush ucrt cy_researcher --mail=researcher@email.com --password=123456789 3 | drush ucrt cy_contributor --mail=contributor@email.com --password=123456789 4 | drush ucrt cy_user --mail=user@email.com --password=123456789 5 | drush urol Researcher cy_researcher 6 | drush urol Researcher cy_owner 7 | drush urol Contributor cy_contributor 8 | -------------------------------------------------------------------------------- /tests/spec.js: -------------------------------------------------------------------------------- 1 | // Not an AngularJS environment. 2 | browser.ignoreSynchronization = true; 3 | 4 | describe('PECE', function () { 5 | 6 | it('should have posts on front page', function () { 7 | 8 | browser.get('/'); 9 | 10 | var title = element.all(by.css('div.content article h2')).first(); 11 | expect(title.isDisplayed()).toBe(true); 12 | }); 13 | }); --------------------------------------------------------------------------------