--- /dev/null
+<?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 the 5.51.x series.
+ *
+ * Each minor version in the series is handled by either a `5.51.x.mysql.tpl` file,
+ * or a function in this class named `upgrade_5_51_x`.
+ * If only a .tpl file exists for a version, it will be run automatically.
+ * If the function exists, it must explicitly add the 'runSql' task if there is a corresponding .mysql.tpl.
+ *
+ * This class may also implement `setPreUpgradeMessage()` and `setPostUpgradeMessage()` functions.
+ */
+class CRM_Upgrade_Incremental_php_FiveFiftyOne extends CRM_Upgrade_Incremental_Base {
+
+ /**
+ * Upgrade step; adds tasks including 'runSql'.
+ *
+ * @param string $rev
+ * The version number matching this function name
+ */
+ public function upgrade_5_51_alpha1($rev): void {
+ $this->addTask(ts('Upgrade DB to %1: SQL', [1 => $rev]), 'runSql', $rev);
+ }
+
+}
--- /dev/null
+{* file to handle db changes in 5.51.alpha1 during upgrade *}
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2020-01-09</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<develStage>beta</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<comments>Form Builder provides a UI to administer and edit forms. It is an optional admin tool and not required for the forms to function.</comments>
<requires>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2020-01-09</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<develStage>beta</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<comments>The Form Core extension is required to use any dynamic form. To administer and edit forms, also install the Form Builder extension.</comments>
<civix>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2020-01-09</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<develStage>alpha</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<requires>
<ext>org.civicrm.afform</ext>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2020-01-09</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<tags>
<tag>mgmt:hidden</tag>
</tags>
<develStage>alpha</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<requires>
<ext>org.civicrm.afform</ext>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2021-02-11</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<develStage>alpha</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<comments>AuthX enables remote applications to connect to CiviCRM. Use it to enable and disable different forms of authentication (such as username-password, API key, and/or JWT).</comments>
<classloader>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2022-01-02</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<develStage>alpha</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<requires>
<ext>org.civicrm.search_kit</ext>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2021-11-11</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<develStage>stable</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<comments>CiviGrant was originally a core component before migrating to an extension</comments>
<requires>
<url desc="Licensing">https://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2021-05-23</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<develStage>stable</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<comments>This is the version of CKEditor that originally shipped with CiviCRM core</comments>
<classloader>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2020-10-12</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<develStage>stable</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<comments>This code has been moved from core to a separate extension in 5.32. Note that if you disable it failed or cancelled contributions will not cause related memberships and participant records to be updated</comments>
<classloader>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2020-08-03</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<tags>
<tag>mgmt:hidden</tag>
</tags>
<develStage>stable</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<classloader>
<psr4 prefix="Civi\" path="Civi"/>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2020-10-07</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<tags>
<tag>mgmt:hidden</tag>
</tags>
<develStage>stable</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<comments>This is an extension to contain the eWAY Single Currency Payment Processor</comments>
<classloader>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2020-08-27</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<develStage>stable</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<tags>
<tag>mgmt:hidden</tag>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2020-08-05</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<develStage>stable</develStage>
<comments>
FlexMailer is an email delivery engine which replaces the internal guts
to provide richer email features.
</comments>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<classloader>
<psr4 prefix="Civi\FlexMailer\" path="src"/>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2020-07-21</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<tags>
<tag>mgmt:hidden</tag>
</tags>
<develStage>stable</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<classloader>
<psr4 prefix="Civi\" path="Civi"/>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2021-07-25</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<develStage>stable</develStage>
<tags>
<tag>mgmt:hidden</tag>
</tags>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<comments>This is hidden on install to give extensions that require it time to add it to their requires and to allow us to get it out of GroupContact load</comments>
<classloader>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2021-06-12</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<tags>
<tag>mgmt:hidden</tag>
</tags>
<develStage>alpha</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<requires>
<ext>org.civicrm.afform</ext>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2020-10-23</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<develStage>stable</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<requires>
<ext version="~4.5">org.civicrm.afform</ext>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2021-04-13</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<develStage>stable</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<comments>This extension is extraction of the original Core Payflow Pro Payment Processor</comments>
<classloader>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2021-04-03</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<tags>
<tag>mgmt:hidden</tag>
</tags>
<develStage>stable</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<classloader>
<psr4 prefix="Civi\" path="Civi"/>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2021-01-06</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<develStage>stable</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<comments>This extension is still in beta. Click on the chat link above to discuss development, report problems or ask questions.</comments>
<classloader>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2020-01-28</releaseDate>
- <version>5.50.beta1</version>
+ <version>5.51.alpha1</version>
<tags>
<tag>mgmt:hidden</tag>
</tags>
<develStage>stable</develStage>
<compatibility>
- <ver>5.50</ver>
+ <ver>5.51</ver>
</compatibility>
<mixins>
<mixin>setting-php@1.0.0</mixin>
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.50.beta1',1,NULL,'a:1:{s:5:\"en_US\";a:0:{}}');
+ (1,'Default Domain Name',NULL,'5.51.alpha1',1,NULL,'a:1:{s:5:\"en_US\";a:0:{}}');
/*!40000 ALTER TABLE `civicrm_domain` ENABLE KEYS */;
UNLOCK TABLES;
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.50.beta1';
+UPDATE civicrm_domain SET version = '5.51.alpha1';
<?xml version="1.0" encoding="iso-8859-1" ?>
<version>
- <version_no>5.50.beta1</version_no>
+ <version_no>5.51.alpha1</version_no>
</version>