diff --git a/.editorconfig b/.editorconfig
index e291365a9..198996b96 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -2,7 +2,7 @@ root = true
[*]
charset = utf-8
-indent_style = space
+indent_style = tab
indent_size = 4
end_of_line = lf
insert_final_newline = true
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 518496483..d06814107 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -53,7 +53,7 @@ jobs:
sudo apt install make openssl -y
echo "###### installing nextcloud"
mkdir ~/html
- git clone https://github.com/nextcloud/server.git --recursive --depth 1 -b master ~/html/nextcloud
+ git clone https://github.com/nextcloud/server.git --recursive --depth 1 -b stable21 ~/html/nextcloud
sed -i $'s|if (substr($fullPath, 0, strlen($root) + 1) === $root . \'/\')|if (is_string($root) and substr($fullPath, 0, strlen($root) + 1) === $root . \'/\')|g' ~/html/nextcloud/lib/autoloader.php
cp -r $GITHUB_WORKSPACE ~/html/nextcloud/apps/${APP_ID}
php ~/html/nextcloud/occ maintenance:install --database "sqlite" --admin-user "admin" --admin-pass "password"
@@ -115,4 +115,4 @@ jobs:
DOWNLOAD_URL=https://github.com/${{ github.repository }}/releases/download/v${VERSION}/${APP_ID}-${VERSION}.tar.gz
curl -X POST -H "Authorization: Token $APPSTORE_TOKEN" https://apps.nextcloud.com/api/v1/apps/releases -H "Content-Type: application/json" -d '{"download":"'${DOWNLOAD_URL}'", "signature": "'${SIGNATURE}'", "nightly": true}'
env:
- APPSTORE_TOKEN: ${{ secrets.APPSTORE_TOKEN }}
\ No newline at end of file
+ APPSTORE_TOKEN: ${{ secrets.APPSTORE_TOKEN }}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8253a7bca..ebe2fb5f0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,21 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
+## 0.1.9 – 2021-06-29
+### Added
+- GitHub automated release action
+
+### Fixed
+- fix tracks not loading
+ [#587](https://github.com/nextcloud/maps/pull/587) @Ablu
+ [#574](https://github.com/nextcloud/maps/issues/574) @Tazzios
+- fix images not loading
+ [#559](https://github.com/nextcloud/maps/pull/559) @tacruc
+ [#543](https://github.com/nextcloud/maps/issues/543) @beardhatcode
+- fix db-related install problems on NC 21
+ [#568](https://github.com/nextcloud/maps/pull/568) @eneiluj
+ [#541](https://github.com/nextcloud/maps/issues/541) @J0WI
+
## 0.1.8 – 2020-10-03
### Fixed
- controllers not being declared soon enough in some cases
diff --git a/appinfo/info.xml b/appinfo/info.xml
index 2ab572c68..a681940cd 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -33,7 +33,7 @@
https://raw.githubusercontent.com/nextcloud/maps/master/screenshots/screenshot3.png
exif
-
+
diff --git a/lib/Migration/Version000009Date20190625000800.php b/lib/Migration/Version000009Date20190625000800.php
index 4565efa98..b148d05b6 100644
--- a/lib/Migration/Version000009Date20190625000800.php
+++ b/lib/Migration/Version000009Date20190625000800.php
@@ -56,7 +56,8 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
'length' => 10,
]);
$table->addColumn('looked_up', 'boolean', [
- 'notnull' => true,
+ 'notnull' => false,
+ 'default' => false,
]);
$table->setPrimaryKey(['id']);
$table->addIndex(['adr'], 'maps_adr');
diff --git a/lib/Migration/Version000012Date20190722184716.php b/lib/Migration/Version000012Date20190722184716.php
index 8b5d64be8..ce8701373 100644
--- a/lib/Migration/Version000012Date20190722184716.php
+++ b/lib/Migration/Version000012Date20190722184716.php
@@ -65,7 +65,8 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
'length' => 10,
]);
$table->addColumn('looked_up', 'boolean', [
- 'notnull' => true,
+ 'notnull' => false,
+ 'default' => false,
]);
$table->setPrimaryKey(['id']);
$table->addIndex(['adr'], 'maps_adr');