Set version to 5.45.alpha1
authorCiviCRM <info@civicrm.org>
Thu, 4 Nov 2021 07:53:51 +0000 (07:53 +0000)
committerCiviCRM <info@civicrm.org>
Thu, 4 Nov 2021 07:53:51 +0000 (07:53 +0000)
24 files changed:
CRM/Upgrade/Incremental/php/FiveFortyFive.php [new file with mode: 0644]
CRM/Upgrade/Incremental/sql/5.45.alpha1.mysql.tpl [new file with mode: 0644]
ext/afform/admin/info.xml
ext/afform/core/info.xml
ext/afform/html/info.xml
ext/afform/mock/info.xml
ext/authx/info.xml
ext/ckeditor4/info.xml
ext/contributioncancelactions/info.xml
ext/eventcart/info.xml
ext/ewaysingle/info.xml
ext/financialacls/info.xml
ext/flexmailer/info.xml
ext/greenwich/info.xml
ext/legacycustomsearches/info.xml
ext/message_admin/info.xml
ext/oauth-client/info.xml
ext/payflowpro/info.xml
ext/recaptcha/info.xml
ext/search_kit/info.xml
ext/sequentialcreditnotes/info.xml
sql/civicrm_generated.mysql
sql/test_data_second_domain.mysql
xml/version.xml

diff --git a/CRM/Upgrade/Incremental/php/FiveFortyFive.php b/CRM/Upgrade/Incremental/php/FiveFortyFive.php
new file mode 100644 (file)
index 0000000..1398d93
--- /dev/null
@@ -0,0 +1,75 @@
+<?php
+/*
+ +--------------------------------------------------------------------+
+ | Copyright CiviCRM LLC. All rights reserved.                        |
+ |                                                                    |
+ | This work is published under the GNU AGPLv3 license with some      |
+ | permitted exceptions and without any warranty. For full license    |
+ | and copyright information, see https://civicrm.org/licensing       |
+ +--------------------------------------------------------------------+
+ */
+
+/**
+ * Upgrade logic for FiveFortyFive */
+class CRM_Upgrade_Incremental_php_FiveFortyFive extends CRM_Upgrade_Incremental_Base {
+
+  /**
+   * Compute any messages which should be displayed beforeupgrade.
+   *
+   * Note: This function is called iteratively for each incremental upgrade step.
+   * There must be a concrete step (eg 'X.Y.Z.mysql.tpl' or 'upgrade_X_Y_Z()').
+   *
+   * @param string $preUpgradeMessage
+   * @param string $rev
+   *   a version number, e.g. '4.4.alpha1', '4.4.beta3', '4.4.0'.
+   * @param null $currentVer
+   */
+  public function setPreUpgradeMessage(&$preUpgradeMessage, $rev, $currentVer = NULL): void {
+    // Example: Generate a pre-upgrade message.
+    // if ($rev == '5.12.34') {
+    //   $preUpgradeMessage .= '<p>' . ts('A new permission, "%1", has been added. This permission is now used to control access to the Manage Tags screen.', array(1 => ts('manage tags'))) . '</p>';
+    // }
+  }
+
+  /**
+   * Compute any messages which should be displayed after upgrade.
+   *
+   * Note: This function is called iteratively for each incremental upgrade step.
+   * There must be a concrete step (eg 'X.Y.Z.mysql.tpl' or 'upgrade_X_Y_Z()').
+   *
+   * @param string $postUpgradeMessage
+   *   alterable.
+   * @param string $rev
+   *   an intermediate version; note that setPostUpgradeMessage is called repeatedly with different $revs.
+   */
+  public function setPostUpgradeMessage(&$postUpgradeMessage, $rev): void {
+    // Example: Generate a post-upgrade message.
+    // if ($rev == '5.12.34') {
+    //   $postUpgradeMessage .= '<br /><br />' . ts("By default, CiviCRM now disables the ability to import directly from SQL. To use this feature, you must explicitly grant permission 'import SQL datasource'.");
+    // }
+  }
+
+  /*
+   * Important! All upgrade functions MUST add a 'runSql' task.
+   * Uncomment and use the following template for a new upgrade version
+   * (change the x in the function name):
+   */
+
+  //  /**
+  //   * Upgrade function.
+  //   *
+  //   * @param string $rev
+  //   */
+  //  public function upgrade_5_0_x($rev): void {
+  //    $this->addTask(ts('Upgrade DB to %1: SQL', [1 => $rev]), 'runSql', $rev);
+  //    $this->addTask('Do the foo change', 'taskFoo', ...);
+  //    // Additional tasks here...
+  //    // Note: do not use ts() in the addTask description because it adds unnecessary strings to transifex.
+  //    // The above is an exception because 'Upgrade DB to %1: SQL' is generic & reusable.
+  //  }
+
+  // public static function taskFoo(CRM_Queue_TaskContext $ctx, ...): bool {
+  //   return TRUE;
+  // }
+
+}
diff --git a/CRM/Upgrade/Incremental/sql/5.45.alpha1.mysql.tpl b/CRM/Upgrade/Incremental/sql/5.45.alpha1.mysql.tpl
new file mode 100644 (file)
index 0000000..feca977
--- /dev/null
@@ -0,0 +1 @@
+{* file to handle db changes in 5.45.alpha1 during upgrade *}
index f88201b4c224c026cbbc039592396653d9a955e9..41ab945bee475b5732f22b2c1ae8712b037128fc 100644 (file)
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-01-09</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <develStage>beta</develStage>
   <compatibility>
     <ver>5.23</ver>
index 75b438f29b1c39e1acff9b6c679e19ea17119958..a4f00b7f26be1d78a5eee3377d5ba64b1fcbace4 100644 (file)
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-01-09</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <develStage>beta</develStage>
   <compatibility>
     <ver>5.23</ver>
index e580be59c9aedf4b7453b7b51bbe857e947076e9..6e7c241ffa367443994697d5f103c57e3556c210 100644 (file)
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-01-09</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <develStage>alpha</develStage>
   <compatibility>
     <ver>5.23</ver>
index c358876f4e38481f14ffa408e2eaf6dcd8bf4e8e..eedee1eccaaabe59420b3c1365215dec249cb478 100644 (file)
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-01-09</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
index 312e97ae2af369fcd92d4a039ce819efc598ed0b..3e22c78d22391300d85f00f799c6817c9413b764 100644 (file)
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2021-02-11</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <develStage>alpha</develStage>
   <compatibility>
     <ver>5.0</ver>
index 69554883014b7e448d6a057bfcc4c2d2e948a57f..35710d5a363a882a96aa48e47821d64e3d57e1d9 100644 (file)
@@ -15,7 +15,7 @@
     <url desc="Licensing">https://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2021-05-23</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <develStage>stable</develStage>
   <compatibility>
     <ver>5.39</ver>
index 7b6631d481a26ea9663e315a4c621f8282ebd1a4..bc6c34144ac732daa86a625d1ac157d2f864c7f4 100644 (file)
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-10-12</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <develStage>stable</develStage>
   <compatibility>
     <ver>5.32</ver>
index a63fed2a8951bd8b4995ef86ca4b520f6f3c403f..2997c0cba7181d930d86bea252239c48d3b6b4e4 100644 (file)
@@ -13,7 +13,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-08-03</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
index 2859ad6a0cfa37c7f934ff1f7f9f5fda5fca91c6..e4130715f58848e9837026b187450f18749ffa8c 100644 (file)
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-10-07</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
index 982a08ad71e8336b3cd94f8703bb20300eefa02a..3f1427846e8b384bb669f181231b5f1f0ee6460f 100644 (file)
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-08-27</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <develStage>stable</develStage>
   <compatibility>
     <ver>5.30</ver>
index b9c49430e295204880fc45e19d4510b3dde2aebd..e6ff04466089f5a3ee3c106eaf7169e23613a94a 100644 (file)
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-08-05</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <develStage>stable</develStage>
   <comments>
     FlexMailer is an email delivery engine which replaces the internal guts
index 6300474161dfed05c15f7b38ca8b85d710619074..58fca323267fe32a5d331a8d32afdbb84401e8cd 100644 (file)
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-07-21</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
index b84c5c3ce2ef3b45ae19888448f2f9ef938d13d7..6df186baf55cfd5d3d02db890c73054cdf9a471b 100644 (file)
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2021-07-25</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <develStage>stable</develStage>
   <tags>
     <tag>mgmt:hidden</tag>
index fe6084c541183091828116d4b23ecc8481f3eeae..aed58fc759bb6e1522fd30799dccdc670352cfe8 100644 (file)
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2021-06-12</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
index ff90bb2b699926701bf8cf976cad8a1301a320ed..4e03aac1f56326725b74d87bca7fb2dd282b6519 100644 (file)
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-10-23</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <develStage>stable</develStage>
   <compatibility>
     <ver>5.38</ver>
index 30c3bdf3814eefca105fb62ca5d2da37e95145f6..f65bc78e02cff9440fd826cb4ff3d76577aee9d1 100644 (file)
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2021-04-13</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <develStage>stable</develStage>
   <compatibility>
     <ver>5.0</ver>
index 8c541a3d25448bcc0bc6d539423ece8d29e07979..a94f7c74fbfc81a8ba1f78c2a391073883e4ba68 100644 (file)
@@ -13,7 +13,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2021-04-03</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
index 997b977e4bb23a0dad3c85696744ae3bbe7feb9a..d1831dc030fef3b7fc356c26659c384bc1ad3d99 100644 (file)
@@ -14,7 +14,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2021-01-06</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <develStage>beta</develStage>
   <compatibility>
     <ver>5.38</ver>
index 7b189fead946868e86d307b5592c13ecb61c70a9..dbdc66e9eeca75ba65ae0ecaeb06996980e73a4c 100644 (file)
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-01-28</releaseDate>
-  <version>5.44.beta1</version>
+  <version>5.45.alpha1</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
index 9b57b9b79d007c558e9b9af0ae8ac5574d90bd73..984484e618706bd347b473c2ab5a64d9b40bc0b0 100644 (file)
@@ -2874,7 +2874,7 @@ UNLOCK TABLES;
 LOCK TABLES `civicrm_domain` WRITE;
 /*!40000 ALTER TABLE `civicrm_domain` DISABLE KEYS */;
 INSERT INTO `civicrm_domain` (`id`, `name`, `description`, `version`, `contact_id`, `locales`, `locale_custom_strings`) VALUES
- (1,'Default Domain Name',NULL,'5.44.beta1',1,NULL,'a:1:{s:5:\"en_US\";a:0:{}}');
+ (1,'Default Domain Name',NULL,'5.45.alpha1',1,NULL,'a:1:{s:5:\"en_US\";a:0:{}}');
 /*!40000 ALTER TABLE `civicrm_domain` ENABLE KEYS */;
 UNLOCK TABLES;
 
index 63045391ffbed42cb902857bd8f5f12c4d6ff0ec..5715f69fb5611306a47634e2ad3e7a4ae062af26 100644 (file)
@@ -963,4 +963,4 @@ INSERT INTO civicrm_navigation
 VALUES
     ( @domainID, CONCAT('civicrm/report/instance/', @instanceID,'&reset=1'), 'Mailing Detail Report', 'Mailing Detail Report', 'administer CiviMail', 'OR', @reportlastID, '1', NULL, @instanceID+2 );
 UPDATE civicrm_report_instance SET navigation_id = LAST_INSERT_ID() WHERE id = @instanceID;
-UPDATE civicrm_domain SET version = '5.44.beta1';
+UPDATE civicrm_domain SET version = '5.45.alpha1';
index ceb60488e5f66cd0e83e70e7001890ef20f886ec..ce6bee5ee230de06cff8c778f32425a0abaf2697 100644 (file)
@@ -1,4 +1,4 @@
 <?xml version="1.0" encoding="iso-8859-1" ?>
 <version>
-  <version_no>5.44.beta1</version_no>
+  <version_no>5.45.alpha1</version_no>
 </version>