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

Commit

Permalink
Add admin_views to data_config features master CIVIC-5982 (#216)
Browse files Browse the repository at this point in the history
* Add admin_views to data_config features master

* Update changelog

* Remake dkan to 1.14-RC1.
  • Loading branch information
janette authored and dkinzer committed Sep 19, 2017
1 parent 2f18702 commit 236dee4
Show file tree
Hide file tree
Showing 427 changed files with 12,545 additions and 4,373 deletions.
Binary file removed .build-dkan.make.swp
Binary file not shown.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Change log

## [1.14.0.0]
- Add admin_views to features master in data_config

## [1.13.7.0]
- Update to dkan version 1.13.7
- Fix ODSM Memory Error #402
Expand Down
1 change: 1 addition & 0 deletions assets/modules/data_config/data_config.module
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function data_config_enabled_modules() {
'admin_menu' => 'admin_menu',
'admin_menu_source' => 'admin_menu_source',
'admin_menu_toolbar' => 'admin_menu_toolbar',
'admin_views' => 'admin_views',
'adminrole' => 'adminrole',
'ape' => 'ape',
'autocomplete_deluxe' => 'autocomplete_deluxe',
Expand Down
4 changes: 1 addition & 3 deletions build-dkan.make
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@ includes[core] = dkan/drupal-org-core.make
projects[dkan][type] = profile
projects[dkan][download][type] = git
projects[dkan][download][url] = https://github.com/NuCivic/dkan.git
projects[dkan][download][tag] = 7.x-1.13.7
projects[dkan][download][tag] = 7.x-1.14-RC1

projects[dkan][patch][] = https://patch-diff.githubusercontent.com/raw/NuCivic/dkan/pull/1976.diff
projects[dkan][patch][] = https://patch-diff.githubusercontent.com/raw/NuCivic/dkan/pull/2095.diff
5 changes: 4 additions & 1 deletion dkan/.ahoy/.scripts/.ht.router.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @file
* Routing-script for the built-in PHP web server.
Expand All @@ -26,17 +25,21 @@
// Serve the requested resource as-is.
return FALSE;
}

// The use of a router-script means that a number of $_SERVER variables has to
// be updated to point to the index-file.
$index_file_absolute = $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'index.php';
$index_file_relative = DIRECTORY_SEPARATOR . 'index.php';

// SCRIPT_FILENAME will point to the router-script itself, it should point to
// the full path to index.php.
$_SERVER['SCRIPT_FILENAME'] = $index_file_absolute;

// SCRIPT_NAME and PHP_SELF will either point to /index.php or contain the full
// virtual path being requested depending on the url being requested. They
// should always point to index.php relative to document root.
$_SERVER['SCRIPT_NAME'] = $index_file_relative;
$_SERVER['PHP_SELF'] = $index_file_relative;

// Require the main index-file and let core take over.
require $index_file_absolute;
11 changes: 11 additions & 0 deletions dkan/.ahoy/.scripts/mysql-reconnect.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
SETTINGS_PATH=docroot/sites/default/settings.php
DIR=$(dirname $SETTINGS_PATH)
chmod +w $SETTINGS_PATH
chmod +w $DIR
echo ".. Reconnect mysql."
MYSQL_IP=`echo $1 | sed 's/.*@\(.*\)\/.*/\1/g'`
sed -i "s/\(^\s*\)'host' => \(.*\),/\1'host' => '$MYSQL_IP',/g" $SETTINGS_PATH

chmod -w $SETTINGS_PATH
chmod -w $DIR

2 changes: 1 addition & 1 deletion dkan/.ahoy/.scripts/server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ cp ./dkan/.ahoy/.scripts/.ht.router.php ./docroot/
cd ./docroot

echo $HOST
php -S $HOST:8888 .ht.router.php
php -S $HOST:8888 .ht.router.php
8 changes: 6 additions & 2 deletions dkan/.ahoy/dkan.ahoy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ commands:
if [ -d docroot ]
then
ahoy confirm "./docroot folder alredy exists. Delete it and reinstall drupal?" && chmod -R 777 docroot/sites/default && rm -rf docroot ||
{ echo ".. skipping installation"; exit 1;}
{
echo ".. skipping installation";
ahoy cmd-proxy bash dkan/.ahoy/.scripts/mysql-reconnect.sh $ARGS
exit 1;
}
fi
ahoy cmd-proxy bash dkan/.ahoy/.scripts/drupal-rebuild.sh $ARGS
Expand All @@ -46,7 +50,7 @@ commands:
if [ ! -d backups ]; then
mkdir backups
fi
if [ -f backups/last_install.sql ] && ahoy confirm "An existing installation backup exists at backups/last_install.sql, do you want to use that instead of reinstalling from scratch?"; then
if [ -f backups/last_install.sql ] && ahoy confirm "{{args}} An existing installation backup exists at backups/last_install.sql, do you want to use that instead of reinstalling from scratch?"; then
ahoy drush sql-drop -y && \
echo "... Removed tables, restoring DB"
Expand Down
116 changes: 0 additions & 116 deletions dkan/.ahoy/site/.ahoy.yml

This file was deleted.

59 changes: 0 additions & 59 deletions dkan/.ahoy/site/.mysqlscripts/sanitize.sql

This file was deleted.

42 changes: 0 additions & 42 deletions dkan/.ahoy/site/.scripts/config.php

This file was deleted.

13 changes: 0 additions & 13 deletions dkan/.ahoy/site/.scripts/drush.alias.sh

This file was deleted.

32 changes: 0 additions & 32 deletions dkan/.ahoy/site/.scripts/overrides.php

This file was deleted.

Loading

0 comments on commit 236dee4

Please sign in to comment.