Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Panels expire settings #81

Merged
merged 3 commits into from
Mar 10, 2017
Merged

Panels expire settings #81

merged 3 commits into from
Mar 10, 2017

Conversation

teosibileau
Copy link
Contributor

@teosibileau teosibileau commented Feb 6, 2017

Issue #CIVIC-5585:

Description

Integrates the NuCivic/dkan_acquia_expire#1 PR into dkan_starter so client sites can have Panel expiration settings

QA Tests

  • Go to admin/config/system/expire
  • Click Panels expiration
  • It should look like:

screen shot 2017-02-06 at 4 01 39 pm

In situ Acquia expire test

  • Deploy this code to an acquia instance
  • Repeat the steps in "QA Tests"
  • Update the front page panel
  • Visit the site using another browser
  • You should be able to see the update in the panel

Merge Instructions

Copy link
Contributor

@dkinzer dkinzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR does fix changes to the front page as requested. Although for some reason changes to the search page are not affected even though they too are a panel. I am merging for the fix it does provide.

@dkinzer dkinzer merged commit e56cb91 into master Mar 10, 2017
@dkinzer dkinzer deleted the civic_5585_panels_expiration branch March 10, 2017 21:48
dkinzer added a commit that referenced this pull request Mar 24, 2017
* Add sql-drop step before database import (#72)

* Fix circle.rb script

Fix error thrown when dictionary not present.

* Only fail build in circle.

REF See: https://jira.govdelivery.com/browse/CIVIC-5128
avoids disabling workflow in probo environments just go get build not to fail.

* Change line endings in circle.yml and htaccess

* Make git ignore asset files folder

* Enables https purge and disables http purge when https everywhere is on

* Fix extra spaces in ahoy dkan uli output

* Add registry_rebuild to CircleCi environment

Also delegate circle.yml template writing to ruby. This will help avoid the ^M
chars we are getting when using shell redirect.

* Fix broken search index brakes  DB pruning script.

REF CIVIC-5634

An indexing error thrown during the DB pruning script process causes the script
to stop midway without pruning the DB.  This changes moves disabling the index
to a higher point in the call stack in order to avoid this issue.

* Enable dkan_workflow via config.yml

* Update config/config.php

* Upgrade dkan to 1.13 (#57)

* Rebuild dkan.

* Abstract upgrade/deploy script.

We need to able to run upgrade uprade scripts on a one off basis.

* Fix upgrade script.

* Update composer.json

* Update features_master.

* Try to fix class  not found error.

* Remove dkan_harvest and migrate overrides.

These modules are now part of DKAN oob.

* Fix clamav test.

* Avoid upgrade 1.13 build exceptions.

* Add module to features_master_temp_disabled_modules

* Make sure frushclam is run after installing clamav (#60)

* Disable dkan_workflow module in CIRCLECI environment.

REF https://jira.govdelivery.com/browse/CIVIC-5128

* Add upgrade step.

* Remake dkan_starter with dkan 1.13-beta3

* Fix composer.json

* Remove second deployment call.

* Fix CI deployment.

Fix QA users not in probo and CI and local environments

* Change line endings in circle.yml and htaccess

* Always allow cli access.

We cannot disable drush access to sites using shield configuration.

* Create table if not exists in mysql script. (#55)

* Create table if not exists in mysql script.

Avoids error thrown that breaks the rest of the script if table does not exist.

* Only create watchdog table.

Also make sure watchdog table is workable in case users re-enable logging locally.

* Changes to Docker docs (#59)

* Create docker-changes.rst

* Update index.rst

* Update docker-changes.rst

* Remove .dkan_starter (#62)

* Delete config.yml (#61)

* Fix ahoy build new (#63)

* Update build.ahoy.yml

* Update build.ahoy.yml

* Update remote.ahoy.yml (#64)

* Fix redirect.

* Make circle.yml configurable via config.yml

* Add drupal extension patch for some custom tests.

* Clean up db when vis_entity modules are disabled CIVIC-5290 (#66)

* Clean up db when vis_entity modules are disabled

* Remove extra menu rebuilds

* Update the CHANGELOG.

* Add back missing templating class.

* Update changelog.

* Fix circle template.

* Add sql-drop step before database import (#72)

* Remake dkan_starter with dkan 1.13-beta3

* Fix composer.json

* Remove second deployment call.

* Fix circle.rb script

Fix error thrown when dictionary not present.

* Only fail build in circle.

REF See: https://jira.govdelivery.com/browse/CIVIC-5128
avoids disabling workflow in probo environments just go get build not to fail.

* Fix CI deployment.

Fix QA users not in probo and CI and local environments

* Change line endings in circle.yml and htaccess

* disabled clamav for local environments

* Fix syntaxt error into composer.json

* Point back to 7.x-1.x since it needs more development

* Execute ahoy build remake

* Fixing upgrade script to v13 and convert panel page to front page. Change machine name to the correct page name

* Fixed typo on circle.rb.

* Fixed typo in composer.json.

* Avoid removal of update module.

* Update to latest dkan 7.x-1.x

* Convert panel page just when needed.

* Remove unnecesary setting for clamav.

* Update dkan_starter build with dkan upstream

* Update customizable tests

* Disable dkan dataset api and enable open data schema

* Remove deprecated modules from features master

* Remove drafty from temp_disabled_modules list.

* Fix update function name

* Make skip_tags configurable.

REF CIVIC-5613

Makes it possible to specific skip tags in config.yml for skipping features
tests in the circle environment.

* Make test skippable.

REF CIVIC-5613

* Enable dkan_workflow via config.yml

* Move 1.13 specific actions to upgrade script.

* Add drafty dependency.

* Add dkan_workflow dependency to temp disabled list on CI.

* ahoy build remake dkan_starter

* patch 1710 was merged upstream

NuCivic/dkan/commit/d3b2417b40216dd1bf3d75aa29552e1eade3c0ee

* Remove INSTALL and README files from sites. (#94)

REF CIVIC-3122

* Make skip_tags configurable. (#90)

REF CIVIC-5613

Makes it possible to specific skip tags in config.yml for skipping features
tests in the circle environment.

* Remake with dkan 7.x-1.13 (#96)

* Remake with dkan 7.x-1.13

* Update CHANGELOG.md

* Civic 4534 - Fixed dkan starter documentation (#97)

* Change GovDelivery for Granicus.

* Fix typos in dkan-starter-annotated.

* Fixed links and change data_starter to dkan_starter in releases page.

* Fixed rst syntax.

* Fixed typos, links and content to read Granicus instead of GovDelivery, also, change ways of contacting us in project plan page.

* Added puntuaction signs in creating-a-new-project page.

* Added config.yml settings info to custom-site-configuration.

* Changed NuCivic for Granicus in docker-changes.rst.

* Fixed code blocks, links and typos in installation.rst.

* Changed DKAN for DKAN Starter in ahoy.md.

* Added aclaration note in add-client-custom-config.rst.

* Fixed link to angular in add-contrib-library.rst.

* Removed broken link and fixed code block in add-contrib-module.

* Fixed links, code blocks and code highlights in build-contrib-or-dkan-module-a-client-project.rst.

* Added code highlight in change-local-container-settings.rst.

* Fixed typos, links syntax, broken links and code blocks in enable-or-disable-a-module.rst.

* Fixed wrong punctuation # getting-content-into-a-probo-site.md.

* Fixed typo and added code highlight in override-and-upstream-behat-suite-config.md.

* Added link to update dkan starter docs in patching-or-overriding-dkan.rst.

* Fixed link and change ahoy custom setup to ahoy ci setup in setting-up-local-project.rst.

* Changed ahoy build custom for ahoy build config in update-config.yml-settings.rst.

* Change data_starter for dkan_starter and added right command for upgrades in update-data-starter.rst.

* Changed data_starter for dkan_starter in update-to-latest-dkan.rst.

* Added code highlight in devinci.rst.

* Fixed typo and added a link for Hands free deployments in environment.rst.

* Fixed broken link in features-override.rst.

* Fixed typos, changed data_starter for dkan_starter and NuCivic for Granicus in deployment/index.rst.

* Add a tag @defaultHomepage to make a topic test skippable. (#99)

* Fix backup database reuse (#98)

* Check if docroot/sites/all/libraries directory exists before executing drush make for custom libs. (#102)

* Add example.config.yml on update.

REF CIVIC-5816

* Update workflow config to mach data_config (#105)

* Remake with dkan 1.13.1 (#106)

* Remake with dkan 1.13.1

REF CIVIC-5813

* Update CHANGELOG.

* Fixed call of homepage conversion function on upgrade script (#107)

* Fixed call of homepage conversion function

* Updated CHANGELOG

* Fix pass NULL in data_config_enabled_modules().

data_config_enabled_modules() is failing to load proper file source file and
also trying to pass NULL internally causing errors.

* Do not disable dkan_sitewide_demo_front via script.

We are already taking care of this via features_master list and disabling here
before running front page conversion breaks some sites.

* Added 'no-main-menu' tag on tests (#112)

* Added 'no-main-menu' tag on general feature

* Added patch on DKAN to add no-main-menu tag on tests

* Updated patches

* Dkan patches and test fixes (#114)

* Added DKAN patch

* Run build remake

* Test file added back

* Run DKAN remake

* Added patch on DKAN

* Run DKAN remake

* Added patch to DKAN

* Added patch on DKAN

* Added patch to DKAN

* Added patch to DKAN

* Added patch to DKAN

* Add dataset test patch`

* Update dkan acquia cache settings.

REF CIVIC-5966

Apply cache update for acquia cache expire settings.

Resource references on datasets should update when resource is updated.

* Update CHANGELOG.md

* Conditionally increase memory when  odfe is enabled. (#95)

* Conditionally increase memory when  odfe is enabled.

REF CIVIC-4036

* Conditionally increase memory for datastore endpoint

* Clean code for increase memory limit for some paths

* Panels expire settings (#81)

* Issue #CIVIC-5585: Panels expire settings

* Disable expire_panels on local

* Don't build PR after running ahoy build dkan <ref> (#121)

We need to reutilize this ahoy command for the syncing PRs behaviour between dkan and dkan_starter

* Added patch on DKAN

* Correctly apply extra GA code.

REF CIVIC-5862.

When no client specific GA code is set use a default code if it's available.

If a default GA code is available and it's not being used as the main code, then
apply it as an extra GA code.

* Added DKAN patch

* Run build remake

* Do not use default examples.

* Update dkan to 1.13.4 (#136)

* Update dkan to 1.13.4

* Update changelog.

* Update dkan to 1.13.2 (#139)

Rerelease.

* Enable open_data_federal_extra via config.

REF CIVIC-5707

* Fix ape search settings for search page.

REF CIVIC-4012

The lifetime of search pages was not being set correctly because of spaces in the configuration.

QA Steps
===
- [ ] curl search request and verify header this header is set `Cache-Control: public, max-age=300`

* [CIVIC-5862] Tracking data not being sent to GovDelivery GA account (#143)

* Enable GA only in production

* Disable GA modules on non production sites

Plus some code clean-up.

* Civic 5761 fast import (#142)

* Fixed circle.yml to include database option.

* Set the load data type to load_data_infile instead of load_data_local_infile.

* Move fast import configuration from settings.php to acquia.settings.php.

* Fixed circle.yml template to include database pre commands.

* Add patch to use latest version of dkan_datastore_api (#156)

* Update dkan to 1.12.14 and dkan_starter to latest changes.

* Reset .ahoy tools.

* Update test config.

* Update to dkan 1.12.14.

* Update features_master_list

* Update test file structure.

REF CIVIC-5758

* Update CHANGELOG.

* Undo change.
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants