Compare commits

...

7 Commits

Author SHA1 Message Date
Julius Härtl
7cd2d981c0 Fix drone to build version 0.2.* against NC12
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-11-26 11:37:08 +01:00
Julius Härtl
5435200152 Bump version to 0.2.8
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-11-26 11:12:44 +01:00
Julius Härtl
37b1f8303c AppInfo: NC13 will be supported in >0.3.x only
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-11-17 08:59:51 +01:00
Julius Härtl
ffb6a2de9c Bump version to 0.2.7
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-11-10 14:05:26 +01:00
Julius Härtl
13332ecef6 Add default for injected value since out app container is not queried during update
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-11-10 14:04:20 +01:00
Julius Härtl
4f090c5b6e Bump version to 0.2.6
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-11-10 12:02:00 +01:00
Julius Härtl
4dd9ad2fa3 Card: Set dbtype when updating
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-11-10 09:29:37 +01:00
4 changed files with 27 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ pipeline:
image: nextcloudci/php5.6:php5.6-3
environment:
- APP_NAME=deck
- CORE_BRANCH=master
- CORE_BRANCH=stable12
- DB=sqlite
commands:
# Pre-setup steps
@@ -26,7 +26,7 @@ pipeline:
image: nextcloudci/php7.0:php7.0-2
environment:
- APP_NAME=deck
- CORE_BRANCH=master
- CORE_BRANCH=stable12
- DB=sqlite
commands:
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
@@ -40,7 +40,7 @@ pipeline:
image: nextcloudci/php5.6:php5.6-3
environment:
- APP_NAME=deck
- CORE_BRANCH=master
- CORE_BRANCH=stable12
- DB=sqlite
commands:
# Pre-setup steps
@@ -56,7 +56,7 @@ pipeline:
image: nextcloudci/php7.0:php7.0-2
environment:
- APP_NAME=deck
- CORE_BRANCH=master
- CORE_BRANCH=stable12
- DB=sqlite
commands:
# Pre-setup steps
@@ -72,7 +72,7 @@ pipeline:
image: nextcloudci/php5.6:php5.6-7
environment:
- APP_NAME=deck
- CORE_BRANCH=master
- CORE_BRANCH=stable12
- DB=sqlite
commands:
- apt update && apt-get -y install php5-xdebug
@@ -98,7 +98,7 @@ pipeline:
image: nextcloudci/php7.0:php7.0-8
environment:
- APP_NAME=deck
- CORE_BRANCH=master
- CORE_BRANCH=stable12
- DB=sqlite
commands:
# Pre-setup steps
@@ -117,7 +117,7 @@ pipeline:
image: nextcloudci/php7.1:php7.1-11
environment:
- APP_NAME=deck
- CORE_BRANCH=master
- CORE_BRANCH=stable12
- DB=sqlite
commands:
# Pre-setup steps
@@ -136,7 +136,7 @@ pipeline:
image: nextcloudci/integration-php7.0:integration-php7.0-3
environment:
- APP_NAME=deck
- CORE_BRANCH=master
- CORE_BRANCH=stable12
- DB=sqlite
commands:
# Pre-setup steps

View File

@@ -1,6 +1,21 @@
# Changelog
All notable changes to this project will be documented in this file.
## 0.2.8 - 2017-11-26
### Fixed
- Drop support for NC 13, since that will only be supported by the next version of Deck
## 0.2.7 - 2017-11-10
### Fixed
- Fix bug that caused update to fail
## 0.2.6 - 2017-11-10
### Fixed
- Fix duedates not being updated with MySQL databases
## 0.2.5 - 2017-11-08
### Fixed

View File

@@ -16,7 +16,7 @@
💥 This is still alpha software: it may not be stable enough for production!
</description>
<version>0.2.5</version>
<version>0.2.8</version>
<licence>agpl</licence>
<author>Julius Härtl</author>
<namespace>Deck</namespace>
@@ -27,7 +27,7 @@
<screenshot>https://download.bitgrid.net/nextcloud/deck/screenshots/Deck_Board.png</screenshot>
<screenshot>https://download.bitgrid.net/nextcloud/deck/screenshots/Deck_Details.png</screenshot>
<dependencies>
<nextcloud min-version="11" max-version="13" />
<nextcloud min-version="11" max-version="12" />
</dependencies>
<background-jobs>
<job>OCA\Deck\Cron\DeleteCron</job>

View File

@@ -38,7 +38,7 @@ class CardMapper extends DeckMapper implements IPermissionMapper {
IDBConnection $db,
LabelMapper $labelMapper,
IUserManager $userManager,
$databaseType
$databaseType = 'sqlite'
) {
parent::__construct($db, 'deck_cards', '\OCA\Deck\Db\Card');
$this->labelMapper = $labelMapper;
@@ -54,6 +54,7 @@ class CardMapper extends DeckMapper implements IPermissionMapper {
}
public function update(Entity $entity) {
$entity->setDatabaseType($this->databaseType);
$entity->setLastModified(time());
return parent::update($entity);
}