Set version to 5.46.alpha1
authorCiviCRM <info@civicrm.org>
Tue, 7 Dec 2021 21:48:15 +0000 (21:48 +0000)
committerCiviCRM <info@civicrm.org>
Tue, 7 Dec 2021 21:48:15 +0000 (21:48 +0000)
24 files changed:
CRM/Upgrade/Incremental/php/FiveFortySix.php [new file with mode: 0644]
CRM/Upgrade/Incremental/sql/5.46.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/FiveFortySix.php b/CRM/Upgrade/Incremental/php/FiveFortySix.php
new file mode 100644 (file)
index 0000000..6b94c78
--- /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 FiveFortySix */
+class CRM_Upgrade_Incremental_php_FiveFortySix 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.46.alpha1.mysql.tpl b/CRM/Upgrade/Incremental/sql/5.46.alpha1.mysql.tpl
new file mode 100644 (file)
index 0000000..5d4f7c2
--- /dev/null
@@ -0,0 +1 @@
+{* file to handle db changes in 5.46.alpha1 during upgrade *}
index c21c0f4e24b7c7638d1860984e9cc9208793d160..0e05b8ea13e8efc033b93a7a7958de8a2bfabf34 100644 (file)
@@ -13,7 +13,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-01-09</releaseDate>
-  <version>5.45.beta1</version>
+  <version>5.46.alpha1</version>
   <develStage>beta</develStage>
   <compatibility>
     <ver>5.23</ver>
index 218fd1a64de7d39449843961ff35d6a4e4990dac..29a5a87145d1ba386eab917cc991936892b0dfa5 100644 (file)
@@ -13,7 +13,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-01-09</releaseDate>
-  <version>5.45.beta1</version>
+  <version>5.46.alpha1</version>
   <develStage>beta</develStage>
   <compatibility>
     <ver>5.23</ver>
index 808afc2843c46cd9f42ec4005d8557527dbc7089..3982fe41de2ba99e206d5cafe93feac877f9ed3d 100644 (file)
@@ -13,7 +13,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-01-09</releaseDate>
-  <version>5.45.beta1</version>
+  <version>5.46.alpha1</version>
   <develStage>alpha</develStage>
   <compatibility>
     <ver>5.23</ver>
index 4bace94914a895f9508af6d3d6bf512a67c1da8d..e987f731027366d37ad5539da436feecf0ce16e4 100644 (file)
@@ -12,7 +12,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2020-01-09</releaseDate>
-  <version>5.45.beta1</version>
+  <version>5.46.alpha1</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
index fd93b09a278eca41fc6cf8eb23ccf70c1c415421..a3a3f1ebf565e4ae7e686b76dd951e5109160053 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.45.beta1</version>
+  <version>5.46.alpha1</version>
   <develStage>alpha</develStage>
   <compatibility>
     <ver>5.0</ver>
index 3fc46186a04393b675e94ea9282e2f361487378a..91875ce1addd8367e4b926019516a494834fd111 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.45.beta1</version>
+  <version>5.46.alpha1</version>
   <develStage>stable</develStage>
   <compatibility>
     <ver>5.39</ver>
index 00ad9edcbaff5e6f37b07b44b4e5d6bfbd0ed23c..ca84f7601caae7aecf99606381004e734eee2841 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.45.beta1</version>
+  <version>5.46.alpha1</version>
   <develStage>stable</develStage>
   <compatibility>
     <ver>5.32</ver>
index 2b79a3933effea6098833bb6a86e7fdb714598d5..edda96322a87252ae24a187d0a5340fd90a18735 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.45.beta1</version>
+  <version>5.46.alpha1</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
index 060f4281408afc8f8c7cca057ac11ebecae708f8..cebd56af2612fb3f3eb13b120265f8112db3fb20 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.45.beta1</version>
+  <version>5.46.alpha1</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
index e2e684ae3d08b4a6e0fb496fa296c6a17899743d..516c8f2f98dd2905426fb846ee25d0a3fe0476ca 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.45.beta1</version>
+  <version>5.46.alpha1</version>
   <develStage>stable</develStage>
   <compatibility>
     <ver>5.30</ver>
index 4b710f1ca3f31ae1a8bfd112cfe140b563861868..4805c9b86cb4539f3a6e3a08e272667cc6f1440c 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.45.beta1</version>
+  <version>5.46.alpha1</version>
   <develStage>stable</develStage>
   <comments>
     FlexMailer is an email delivery engine which replaces the internal guts
index 21d4de44fc0918510aacc468449b49e500fb11ee..dad76aca38b11230f012d2a845d725aec01f52ff 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.45.beta1</version>
+  <version>5.46.alpha1</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
index d4740ed222d549b549c80529da39f9e48731f5db..f0621f6704e26f1fc80e4519e4573911d4f939a8 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.45.beta1</version>
+  <version>5.46.alpha1</version>
   <develStage>stable</develStage>
   <tags>
     <tag>mgmt:hidden</tag>
index abc28b43a5e481e302e8cc87b2fa7bdfaaac8f6c..ab46cb385298eb2a2a7b2b726491cf25792d32fb 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.45.beta1</version>
+  <version>5.46.alpha1</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
index c4f6c57e111877bc4e73767e2dc072e49e60d556..310685c36558c44fa7afad2295d92e7004738083 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.45.beta1</version>
+  <version>5.46.alpha1</version>
   <develStage>stable</develStage>
   <compatibility>
     <ver>5.38</ver>
index db0800d6875b66be1c2ac0eab7124c5db1ad50a3..642f995b694b9246a982da9f5850fdc4ccede301 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.45.beta1</version>
+  <version>5.46.alpha1</version>
   <develStage>stable</develStage>
   <compatibility>
     <ver>5.0</ver>
index 64b0399c3ec0d16ace2208434ae04f4e019ce9d2..5d97c0e6a5f22db843666dc564978c0aa68d7b56 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.45.beta1</version>
+  <version>5.46.alpha1</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
index 67013aefb01d27320adc4f97ce2c99f9123f7403..2b061a59539fd649d9f07b2e0ae9eb634f6f8a76 100644 (file)
@@ -15,7 +15,7 @@
     <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
   </urls>
   <releaseDate>2021-01-06</releaseDate>
-  <version>5.45.beta1</version>
+  <version>5.46.alpha1</version>
   <develStage>beta</develStage>
   <compatibility>
     <ver>5.38</ver>
index c323ebb28bece0e15fb47a2b315dc88f734bb4ae..c685280e862709ebba38df4f235d4b37e97cfd2a 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.45.beta1</version>
+  <version>5.46.alpha1</version>
   <tags>
     <tag>mgmt:hidden</tag>
   </tags>
index d9203e453666c70f223535754d63e61e0520ae42..c493061f3b25d13d2b0a69d49c4ed51d660239dc 100644 (file)
@@ -2896,7 +2896,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.45.beta1',1,NULL,'a:1:{s:5:\"en_US\";a:0:{}}');
+ (1,'Default Domain Name',NULL,'5.46.alpha1',1,NULL,'a:1:{s:5:\"en_US\";a:0:{}}');
 /*!40000 ALTER TABLE `civicrm_domain` ENABLE KEYS */;
 UNLOCK TABLES;
 
index 2b28cade0b5bbe5f76359f55b50918237348481a..95e0907f64d49534dc0b7a69a20b7f6e2f303abe 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.45.beta1';
+UPDATE civicrm_domain SET version = '5.46.alpha1';
index a867798ef4459d6d9d17a49cc52717c0f6d5dd91..6125c30d23c3429b03e7f834de61ab6e46de0807 100644 (file)
@@ -1,4 +1,4 @@
 <?xml version="1.0" encoding="iso-8859-1" ?>
 <version>
-  <version_no>5.45.beta1</version_no>
+  <version_no>5.46.alpha1</version_no>
 </version>