Skip to content

Commit

Permalink
Merge pull request #744 from Joomla-Bible-Study/development
Browse files Browse the repository at this point in the history
v9.0.16
  • Loading branch information
bcordis authored May 11, 2017
2 parents af4ece0 + cc21a6e commit c3832dc
Show file tree
Hide file tree
Showing 30 changed files with 44 additions and 36 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ Status
<tr>
<td align="center"><a href="https://travis-ci.org/Joomla-Bible-Study/Joomla-Bible-Study" target="_blank"><img src="https://travis-ci.org/Joomla-Bible-Study/Joomla-Bible-Study.png?branch=development"/></a></td>
<td align="center">Development</td>
<td align="center">9.0.16</td>
<td align="center">9.0.17</td>
<td align="center">TBD</td>
<td align="center">3.4+</td>
</tr>
<tr>
<td align="center"><a href="https://travis-ci.org/Joomla-Bible-Study/Joomla-Bible-Study" target="_blank"><img src="https://travis-ci.org/Joomla-Bible-Study/Joomla-Bible-Study.png?branch=master"/></a></td>
<td align="center">Master</td>
<td align="center">9.0.15</td>
<td align="center">March 9, 2017</td>
<td align="center">9.0.16</td>
<td align="center">May 11, 2017</td>
<td align="center">3.4+</td>
</tr>
</table>
Expand Down
Binary file modified build/packages/component/com_biblestudy.zip
Binary file not shown.
Binary file modified build/packages/modules/mod_biblestudy.zip
Binary file not shown.
Binary file modified build/packages/modules/mod_biblestudy_podcast.zip
Binary file not shown.
Binary file modified build/packages/pkg_biblestudy.zip
Binary file not shown.
Binary file modified build/packages/plugins/plg_biblestudy_backup.zip
Binary file not shown.
Binary file modified build/packages/plugins/plg_biblestudy_finder.zip
Binary file not shown.
Binary file modified build/packages/plugins/plg_biblestudy_podcast.zip
Binary file not shown.
Binary file modified build/packages/plugins/plg_biblestudy_search.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions build/pkg_biblestudy_package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://www.joomlabiblestudy.org</authorUrl>
<copyright>(C) 2007 - 2017 Joomla Bible Study All rights reserved.</copyright>
<version>9.0.15</version>
<creationDate>May 9, 2017</creationDate>
<version>9.0.16</version>
<creationDate>May 11, 2017</creationDate>
<license>http://www.gnu.org/licenses/gpl.html</license>
<packager>Tom Fuller</packager>
<packagerurl>https://www.joomlabiblestudy.org</packagerurl>
Expand Down
2 changes: 1 addition & 1 deletion com_biblestudy/admin/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
define('JBSM_PROFILER', 0);

// Version information
define('BIBLESTUDY_VERSION', '9.0.15');
define('BIBLESTUDY_VERSION', '9.0.16');
define('BIBLESTUDY_VERSION_UPDATEFILE', 'JBS Version ' . BIBLESTUDY_VERSION);

// Default values
Expand Down
2 changes: 1 addition & 1 deletion com_biblestudy/admin/install/sql/install.sql
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CREATE TABLE `#__bsms_update` (

INSERT INTO `#__bsms_update` (`id`, `version`)
VALUES
(1, '9.0.15');
(1, '9.0.16');

-- --------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion com_biblestudy/admin/install/sql/updates/mysql/9.0.10.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ CREATE TABLE IF NOT EXISTS `#__bsms_update` (
) DEFAULT CHARSET=utf8;

INSERT INTO `#__bsms_update` (id, version) VALUES ('23', '9.0.10')
ON DUPLICATE KEY UPDATE version = '9.0.10';
ON DUPLICATE KEY UPDATE version = '9.0.10';
2 changes: 1 addition & 1 deletion com_biblestudy/admin/install/sql/updates/mysql/9.0.11.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ CREATE TABLE IF NOT EXISTS `#__bsms_update` (
) DEFAULT CHARSET=utf8;

INSERT INTO `#__bsms_update` (id, version) VALUES ('24', '9.0.11')
ON DUPLICATE KEY UPDATE version = '9.0.11';
ON DUPLICATE KEY UPDATE version = '9.0.11';
2 changes: 1 addition & 1 deletion com_biblestudy/admin/install/sql/updates/mysql/9.0.12.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ INSERT INTO `#__bsms_update` (id, version) VALUES ('25', '9.0.12')
ON DUPLICATE KEY UPDATE version = '9.0.12';


ALTER TABLE `#__bsms_series` ADD COLUMN `pc_show` INT(3) NOT NULL DEFAULT '1' COMMENT 'For displaying on podcasts page' AFTER `landing_show`;
ALTER TABLE `#__bsms_series` ADD COLUMN `pc_show` INT(3) NOT NULL DEFAULT '1' COMMENT 'For displaying on podcasts page' AFTER `landing_show`;
2 changes: 1 addition & 1 deletion com_biblestudy/admin/install/sql/updates/mysql/9.0.13.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ CREATE TABLE IF NOT EXISTS `#__bsms_update` (
) DEFAULT CHARSET=utf8;

INSERT INTO `#__bsms_update` (id, version) VALUES ('26', '9.0.13')
ON DUPLICATE KEY UPDATE version = '9.0.13';
ON DUPLICATE KEY UPDATE version = '9.0.13';
2 changes: 1 addition & 1 deletion com_biblestudy/admin/install/sql/updates/mysql/9.0.14.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ CREATE TABLE IF NOT EXISTS `#__bsms_update` (
) DEFAULT CHARSET=utf8;

INSERT INTO `#__bsms_update` (id, version) VALUES ('27', '9.0.14')
ON DUPLICATE KEY UPDATE version = '9.0.14';
ON DUPLICATE KEY UPDATE version = '9.0.14';
2 changes: 1 addition & 1 deletion com_biblestudy/admin/install/sql/updates/mysql/9.0.15.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ CREATE TABLE IF NOT EXISTS `#__bsms_update` (
) DEFAULT CHARSET=utf8;

INSERT INTO `#__bsms_update` (id, version) VALUES ('28', '9.0.15')
ON DUPLICATE KEY UPDATE version = '9.0.15';
ON DUPLICATE KEY UPDATE version = '9.0.15';
8 changes: 8 additions & 0 deletions com_biblestudy/admin/install/sql/updates/mysql/9.0.16.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
CREATE TABLE IF NOT EXISTS `#__bsms_update` (
id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
version VARCHAR(255) DEFAULT NULL,
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8;

INSERT INTO `#__bsms_update` (id, version) VALUES ('29', '9.0.16')
ON DUPLICATE KEY UPDATE version = '9.0.16';
2 changes: 1 addition & 1 deletion com_biblestudy/admin/install/sql/updates/mysql/9.0.2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ CREATE TABLE IF NOT EXISTS `#__bsms_update` (
) DEFAULT CHARSET=utf8;

INSERT INTO `#__bsms_update` (id, version) VALUES ('20', '9.0.2')
ON DUPLICATE KEY UPDATE version = '9.0.2';
ON DUPLICATE KEY UPDATE version = '9.0.2';
2 changes: 1 addition & 1 deletion com_biblestudy/admin/install/sql/updates/mysql/9.0.8.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ CREATE TABLE IF NOT EXISTS `#__bsms_update` (
) DEFAULT CHARSET=utf8;

INSERT INTO `#__bsms_update` (id, version) VALUES ('21', '9.0.8')
ON DUPLICATE KEY UPDATE version = '9.0.8';
ON DUPLICATE KEY UPDATE version = '9.0.8';
2 changes: 1 addition & 1 deletion com_biblestudy/admin/install/sql/updates/mysql/9.0.9.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ CREATE TABLE IF NOT EXISTS `#__bsms_update` (
) DEFAULT CHARSET=utf8;

INSERT INTO `#__bsms_update` (id, version) VALUES ('22', '9.0.9')
ON DUPLICATE KEY UPDATE version = '9.0.9';
ON DUPLICATE KEY UPDATE version = '9.0.9';
12 changes: 6 additions & 6 deletions com_biblestudy/admin/models/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function startScanning()
$this->versionStack = array();
}

ksort($this->versionStack);
asort($this->versionStack);

$this->saveStack();

Expand Down Expand Up @@ -345,13 +345,13 @@ private function getSteps()
self::correctVersions();
/* Find Last updated Version in Update table */
$query = $this->_db->getQuery(true);
$query->select('*')
$query->select('version')
->from('#__bsms_update')
->order($this->_db->qn('version') . ' desc');
$this->_db->setQuery($query);
->order($this->_db->qn('id') . ' DESC');
$this->_db->setQuery($query, 0, 1);
$updates = $this->_db->loadObject();
$version = $updates->version;
$this->versionSwitch = $version;
$this->versionSwitch = $version;

$this->callstack['subversiontype_version'] = $version;
break;
Expand Down Expand Up @@ -794,7 +794,7 @@ private function RealRun()

while (!empty($this->versionStack) && $this->haveEnoughTime())
{
$version = array_shift($this->versionStack);
$version = array_pop($this->versionStack);
$this->running = $version;
$this->doneSteps++;
$run = $this->allUpdate($version);
Expand Down
4 changes: 2 additions & 2 deletions com_biblestudy/biblestudy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://www.joomlabiblestudy.org</authorUrl>
<copyright>(C) 2007 - 2017 Joomla Bible Study All rights reserved.</copyright>
<version>9.0.15</version>
<creationDate>May 9, 2017</creationDate>
<version>9.0.16</version>
<creationDate>May 11, 2017</creationDate>
<license>http://www.gnu.org/licenses/gpl.html</license>
<description>JBS_INS_XML_DESCRIPTION</description>

Expand Down
4 changes: 2 additions & 2 deletions mod_biblestudy/mod_biblestudy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://www.joomlabiblestudy.org</authorUrl>
<copyright>(C) 2007 - 2017 Joomla Bible Study All rights reserved.</copyright>
<version>9.0.15</version>
<creationDate>May 9, 2017</creationDate>
<version>9.0.16</version>
<creationDate>May 11, 2017</creationDate>
<license>http://www.gnu.org/licenses/gpl.html</license>
<description>JBS_MDL_DESCRIPTION</description>
<files>
Expand Down
4 changes: 2 additions & 2 deletions mod_biblestudy_podcast/mod_biblestudy_podcast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://www.joomlabiblestudy.org</authorUrl>
<copyright>(C) 2007 - 2017 Joomla Bible Study All rights reserved.</copyright>
<version>9.0.15</version>
<creationDate>May 9, 2017</creationDate>
<version>9.0.16</version>
<creationDate>May 11, 2017</creationDate>
<license>http://www.gnu.org/licenses/gpl.html</license>
<description>JBS_MDL_PODCAST_XML_DESCRIPTION</description>
<files>
Expand Down
4 changes: 2 additions & 2 deletions plg_biblestudy_backup/jbsbackup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://www.joomlabiblestudy.org</authorUrl>
<copyright>(C) 2007 - 2017 Joomla Bible Study All rights reserved.</copyright>
<version>9.0.15</version>
<creationDate>May 9, 2017</creationDate>
<version>9.0.16</version>
<creationDate>May 11, 2017</creationDate>
<license>http://www.gnu.org/licenses/gpl.html</license>
<description>JBS_PLG_BACKUP_XML_DESCRIPTION</description>

Expand Down
4 changes: 2 additions & 2 deletions plg_biblestudy_finder/biblestudy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://www.joomlabiblestudy.org</authorUrl>
<copyright>(C) 2007 - 2017 Joomla Bible Study All rights reserved.</copyright>
<version>9.0.15</version>
<creationDate>May 9, 2017</creationDate>
<version>9.0.16</version>
<creationDate>May 11, 2017</creationDate>
<license>http://www.gnu.org/licenses/gpl.html</license>
<description>JBS_PLG_FINDER_XML_DESCRIPTION</description>
<files>
Expand Down
4 changes: 2 additions & 2 deletions plg_biblestudy_podcast/jbspodcast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://www.joomlabiblestudy.org</authorUrl>
<copyright>(C) 2007 - 2017 Joomla Bible Study All rights reserved.</copyright>
<version>9.0.15</version>
<creationDate>May 9, 2017</creationDate>
<version>9.0.16</version>
<creationDate>May 11, 2017</creationDate>
<license>http://www.gnu.org/licenses/gpl.html</license>
<description>JBS_PLG_PODCAST_XML_DESCRIPTION</description>

Expand Down
4 changes: 2 additions & 2 deletions plg_biblestudy_search/biblestudysearch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://www.joomlabiblestudy.org</authorUrl>
<copyright>(C) 2007 - 2017 Joomla Bible Study All rights reserved.</copyright>
<version>9.0.15</version>
<creationDate>May 9, 2017</creationDate>
<version>9.0.16</version>
<creationDate>May 11, 2017</creationDate>
<license>http://www.gnu.org/licenses/gpl.html</license>
<description>JBS_PLG_SEARCH_XML_DESCRIPTION</description>
<files>
Expand Down

0 comments on commit c3832dc

Please sign in to comment.