From 345f50994537a5e60bc8cd17683aeafd9c2efd73 Mon Sep 17 00:00:00 2001 From: Kevin Cristiano <kcristiano@tadpole.cc> Date: Thu, 26 Apr 2018 06:30:00 -0400 Subject: [PATCH] civicrm: 5.0.2 release Signed-off-by: Kevin Cristiano <kcristiano@tadpole.cc> --- civicrm.php | 2 +- .../CRM/Upgrade/Incremental/sql/5.0.2.mysql.tpl | 1 + civicrm/bower_components/jquery-ui/.bower.json | 2 +- civicrm/civicrm-version.php | 2 +- civicrm/release-notes/5.0.1.md | 6 ++++++ civicrm/release-notes/5.0.2.md | 6 ++++++ civicrm/sql/civicrm_data.mysql | 2 +- civicrm/sql/civicrm_generated.mysql | 2 +- civicrm/templates/CRM/common/footer.tpl | 2 +- civicrm/vendor/autoload.php | 2 +- civicrm/vendor/composer/autoload_real.php | 14 +++++++------- civicrm/vendor/composer/autoload_static.php | 10 +++++----- civicrm/xml/version.xml | 2 +- 13 files changed, 33 insertions(+), 20 deletions(-) create mode 100644 civicrm/CRM/Upgrade/Incremental/sql/5.0.2.mysql.tpl create mode 100644 civicrm/release-notes/5.0.1.md create mode 100644 civicrm/release-notes/5.0.2.md diff --git a/civicrm.php b/civicrm.php index 176d897501..6c6db6312d 100644 --- a/civicrm.php +++ b/civicrm.php @@ -2,7 +2,7 @@ /* Plugin Name: CiviCRM Description: CiviCRM - Growing and Sustaining Relationships -Version: 5.0.1 +Version: 5.0.2 Author: CiviCRM LLC Author URI: https://civicrm.org/ Plugin URI: https://wiki.civicrm.org/confluence/display/CRMDOC/Installing+CiviCRM+for+WordPress diff --git a/civicrm/CRM/Upgrade/Incremental/sql/5.0.2.mysql.tpl b/civicrm/CRM/Upgrade/Incremental/sql/5.0.2.mysql.tpl new file mode 100644 index 0000000000..d33cec936b --- /dev/null +++ b/civicrm/CRM/Upgrade/Incremental/sql/5.0.2.mysql.tpl @@ -0,0 +1 @@ +{* file to handle db changes in 5.0.2 during upgrade *} diff --git a/civicrm/bower_components/jquery-ui/.bower.json b/civicrm/bower_components/jquery-ui/.bower.json index 69ba102964..2373c86bc6 100644 --- a/civicrm/bower_components/jquery-ui/.bower.json +++ b/civicrm/bower_components/jquery-ui/.bower.json @@ -16,6 +16,6 @@ "commit": "dec4c50123193d4f7c8ae6cd0bff45478e1ad276" }, "_source": "https://github.com/components/jqueryui.git", - "_target": ">=1.9", + "_target": "~1.12", "_originalSource": "jquery-ui" } \ No newline at end of file diff --git a/civicrm/civicrm-version.php b/civicrm/civicrm-version.php index 165c088f25..e8daba5a19 100644 --- a/civicrm/civicrm-version.php +++ b/civicrm/civicrm-version.php @@ -1,6 +1,6 @@ <?php function civicrmVersion( ) { - return array( 'version' => '5.0.1', + return array( 'version' => '5.0.2', 'cms' => 'Wordpress', 'revision' => '' ); } diff --git a/civicrm/release-notes/5.0.1.md b/civicrm/release-notes/5.0.1.md new file mode 100644 index 0000000000..6658c20851 --- /dev/null +++ b/civicrm/release-notes/5.0.1.md @@ -0,0 +1,6 @@ +# CiviCRM 5.0.1 + +Released Apr 18, 2018 + +- **Backport: Dedupe - Fix for recent regression causing dedupe screen to fail on WordPress. ([11975](https://github.com/civicrm/civicrm-core/pull/11975))** +- **Backport: VersionCheck - Get more nuanced messages from latest.civicrm.org. ([11991](https://github.com/civicrm/civicrm-core/pull/11991))** diff --git a/civicrm/release-notes/5.0.2.md b/civicrm/release-notes/5.0.2.md new file mode 100644 index 0000000000..59b4f95ea2 --- /dev/null +++ b/civicrm/release-notes/5.0.2.md @@ -0,0 +1,6 @@ +# CiviCRM 5.0.2 + +Released Apr 25, 2018 + +- **Backport: Use current formula for hyperlinking release notes ([12008](https://github.com/civicrm/civicrm-core/pull/12008))** +- **Add missing release notes for 5.0.1** diff --git a/civicrm/sql/civicrm_data.mysql b/civicrm/sql/civicrm_data.mysql index 3d3523f973..c78c583d77 100644 --- a/civicrm/sql/civicrm_data.mysql +++ b/civicrm/sql/civicrm_data.mysql @@ -23961,4 +23961,4 @@ INSERT INTO `civicrm_report_instance` ( `domain_id`, `title`, `report_id`, `description`, `permission`, `form_values`) VALUES ( @domainID, 'Survey Details', 'survey/detail', 'Detailed report for canvassing, phone-banking, walk lists or other surveys.', 'access CiviReport', 'a:39:{s:6:"fields";a:2:{s:9:"sort_name";s:1:"1";s:6:"result";s:1:"1";}s:22:"assignee_contact_id_op";s:2:"eq";s:25:"assignee_contact_id_value";s:0:"";s:12:"sort_name_op";s:3:"has";s:15:"sort_name_value";s:0:"";s:17:"street_number_min";s:0:"";s:17:"street_number_max";s:0:"";s:16:"street_number_op";s:3:"lte";s:19:"street_number_value";s:0:"";s:14:"street_name_op";s:3:"has";s:17:"street_name_value";s:0:"";s:15:"postal_code_min";s:0:"";s:15:"postal_code_max";s:0:"";s:14:"postal_code_op";s:3:"lte";s:17:"postal_code_value";s:0:"";s:7:"city_op";s:3:"has";s:10:"city_value";s:0:"";s:20:"state_province_id_op";s:2:"in";s:23:"state_province_id_value";a:0:{}s:13:"country_id_op";s:2:"in";s:16:"country_id_value";a:0:{}s:12:"survey_id_op";s:2:"in";s:15:"survey_id_value";a:0:{}s:12:"status_id_op";s:2:"eq";s:15:"status_id_value";s:1:"1";s:11:"custom_1_op";s:2:"in";s:14:"custom_1_value";a:0:{}s:11:"custom_2_op";s:2:"in";s:14:"custom_2_value";a:0:{}s:17:"custom_3_relative";s:1:"0";s:13:"custom_3_from";s:0:"";s:11:"custom_3_to";s:0:"";s:11:"description";s:75:"Detailed report for canvassing, phone-banking, walk lists or other surveys.";s:13:"email_subject";s:0:"";s:8:"email_to";s:0:"";s:8:"email_cc";s:0:"";s:10:"permission";s:17:"access CiviReport";s:6:"groups";s:0:"";s:9:"domain_id";i:1;}'); -UPDATE civicrm_domain SET version = '5.0.1'; +UPDATE civicrm_domain SET version = '5.0.2'; diff --git a/civicrm/sql/civicrm_generated.mysql b/civicrm/sql/civicrm_generated.mysql index 15ce682ead..136b4951d6 100644 --- a/civicrm/sql/civicrm_generated.mysql +++ b/civicrm/sql/civicrm_generated.mysql @@ -398,7 +398,7 @@ UNLOCK TABLES; LOCK TABLES `civicrm_domain` WRITE; /*!40000 ALTER TABLE `civicrm_domain` DISABLE KEYS */; -INSERT INTO `civicrm_domain` (`id`, `name`, `description`, `config_backend`, `version`, `contact_id`, `locales`, `locale_custom_strings`) VALUES (1,'Default Domain Name',NULL,NULL,'5.0.1',1,NULL,'a:1:{s:5:\"en_US\";a:0:{}}'); +INSERT INTO `civicrm_domain` (`id`, `name`, `description`, `config_backend`, `version`, `contact_id`, `locales`, `locale_custom_strings`) VALUES (1,'Default Domain Name',NULL,NULL,'5.0.2',1,NULL,'a:1:{s:5:\"en_US\";a:0:{}}'); /*!40000 ALTER TABLE `civicrm_domain` ENABLE KEYS */; UNLOCK TABLES; diff --git a/civicrm/templates/CRM/common/footer.tpl b/civicrm/templates/CRM/common/footer.tpl index 62ae51abf5..d9ddb0d2de 100644 --- a/civicrm/templates/CRM/common/footer.tpl +++ b/civicrm/templates/CRM/common/footer.tpl @@ -31,7 +31,7 @@ <div class="crm-footer" id="civicrm-footer"> {crmVersion assign=version} - {ts}Powered by CiviCRM{/ts} <a href="https://github.com/civicrm/civicrm-core/blob/{$version}/release-notes/{$version}.md">{$version}</a>. + {ts}Powered by CiviCRM{/ts} <a href="https://download.civicrm.org/about/{$version}">{$version}</a>. {if !empty($footer_status_severity)} <span class="status{if $footer_status_severity gt 3} crm-error{elseif $footer_status_severity gt 2} crm-warning{else} crm-ok{/if}"> <a href="{crmURL p='civicrm/a/#/status'}">{$footer_status_message}</a> diff --git a/civicrm/vendor/autoload.php b/civicrm/vendor/autoload.php index 15d1dba86e..fba7079725 100644 --- a/civicrm/vendor/autoload.php +++ b/civicrm/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit62f1930279a40fbaeb8565f03e643e77::getLoader(); +return ComposerAutoloaderInitb241e108718908c2e104fc6a22d5523d::getLoader(); diff --git a/civicrm/vendor/composer/autoload_real.php b/civicrm/vendor/composer/autoload_real.php index b8a9a24cc3..dfb80a93f3 100644 --- a/civicrm/vendor/composer/autoload_real.php +++ b/civicrm/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit62f1930279a40fbaeb8565f03e643e77 +class ComposerAutoloaderInitb241e108718908c2e104fc6a22d5523d { private static $loader; @@ -19,9 +19,9 @@ class ComposerAutoloaderInit62f1930279a40fbaeb8565f03e643e77 return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit62f1930279a40fbaeb8565f03e643e77', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInitb241e108718908c2e104fc6a22d5523d', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(); - spl_autoload_unregister(array('ComposerAutoloaderInit62f1930279a40fbaeb8565f03e643e77', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInitb241e108718908c2e104fc6a22d5523d', 'loadClassLoader')); $includePaths = require __DIR__ . '/include_paths.php'; $includePaths[] = get_include_path(); @@ -31,7 +31,7 @@ class ComposerAutoloaderInit62f1930279a40fbaeb8565f03e643e77 if ($useStaticLoader) { require_once __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit62f1930279a40fbaeb8565f03e643e77::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInitb241e108718908c2e104fc6a22d5523d::getInitializer($loader)); } else { $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { @@ -52,19 +52,19 @@ class ComposerAutoloaderInit62f1930279a40fbaeb8565f03e643e77 $loader->register(true); if ($useStaticLoader) { - $includeFiles = Composer\Autoload\ComposerStaticInit62f1930279a40fbaeb8565f03e643e77::$files; + $includeFiles = Composer\Autoload\ComposerStaticInitb241e108718908c2e104fc6a22d5523d::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequire62f1930279a40fbaeb8565f03e643e77($fileIdentifier, $file); + composerRequireb241e108718908c2e104fc6a22d5523d($fileIdentifier, $file); } return $loader; } } -function composerRequire62f1930279a40fbaeb8565f03e643e77($fileIdentifier, $file) +function composerRequireb241e108718908c2e104fc6a22d5523d($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { require $file; diff --git a/civicrm/vendor/composer/autoload_static.php b/civicrm/vendor/composer/autoload_static.php index bb73ad416f..9d7737e30b 100644 --- a/civicrm/vendor/composer/autoload_static.php +++ b/civicrm/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit62f1930279a40fbaeb8565f03e643e77 +class ComposerStaticInitb241e108718908c2e104fc6a22d5523d { public static $files = array ( 'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php', @@ -371,10 +371,10 @@ class ComposerStaticInit62f1930279a40fbaeb8565f03e643e77 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit62f1930279a40fbaeb8565f03e643e77::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit62f1930279a40fbaeb8565f03e643e77::$prefixDirsPsr4; - $loader->prefixesPsr0 = ComposerStaticInit62f1930279a40fbaeb8565f03e643e77::$prefixesPsr0; - $loader->classMap = ComposerStaticInit62f1930279a40fbaeb8565f03e643e77::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInitb241e108718908c2e104fc6a22d5523d::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInitb241e108718908c2e104fc6a22d5523d::$prefixDirsPsr4; + $loader->prefixesPsr0 = ComposerStaticInitb241e108718908c2e104fc6a22d5523d::$prefixesPsr0; + $loader->classMap = ComposerStaticInitb241e108718908c2e104fc6a22d5523d::$classMap; }, null, ClassLoader::class); } diff --git a/civicrm/xml/version.xml b/civicrm/xml/version.xml index 2119a44bd3..23fc4ebb50 100644 --- a/civicrm/xml/version.xml +++ b/civicrm/xml/version.xml @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="iso-8859-1" ?> <version> - <version_no>5.0.1</version_no> + <version_no>5.0.2</version_no> </version> -- GitLab