From 98088f6b13dd34a203cea4b80645ff1bdc0e18ac Mon Sep 17 00:00:00 2001 From: lastlink Date: Thu, 30 Aug 2018 09:12:17 -0400 Subject: [PATCH 1/4] update readme for tags --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 46eb24d..0785520 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ version=0.2.6 To run a new build type `make`. NOTE: this only zips files in the last commit in the branch you are on. If you haven't commited your changes these won't be included in the zip. -After testing create a new tag in github or via cli. `git tag -a 0.2.6 -m "Translations Updates"` Then upload the new **Wiki-version.zip**. Then do a pull request on https://github.com/kanboard/website for the plugins.json to update the plugin url. The `version` & `download` attributes are important to be correct. +After testing create a new tag in github or via cli. `git tag -a 0.2.6 -m "Translations Updates"`. Then `git push origin --tags` Then upload the new **Wiki-version.zip** produced from `make`. Then do a pull request on https://github.com/kanboard/website for the plugins.json to update the plugin url. The `version` & `download` attributes are important to be correct. ```json { From bd52ba4602ac5d6e3485a5082d55b96f837567ce Mon Sep 17 00:00:00 2001 From: lastlink Date: Thu, 30 Aug 2018 09:16:57 -0400 Subject: [PATCH 2/4] update issue template to include language --- .github/issue_template.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/issue_template.md b/.github/issue_template.md index 22892e8..dcfed05 100644 --- a/.github/issue_template.md +++ b/.github/issue_template.md @@ -26,3 +26,4 @@ This issue is: - PHP version: - OS: - Browser: +- Application settings Language: From 0bf9e3aec984f124d09c01b7c2b8b75be0bdc03d Mon Sep 17 00:00:00 2001 From: Taylor Funk Date: Thu, 30 Aug 2018 14:52:37 +0000 Subject: [PATCH 3/4] Mysql.php edited online with Bitbucket --- Schema/Mysql.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Schema/Mysql.php b/Schema/Mysql.php index f6e1aef..50fafa3 100644 --- a/Schema/Mysql.php +++ b/Schema/Mysql.php @@ -4,7 +4,16 @@ use PDO; -const VERSION = 6; +const VERSION = 7; +function version_6(PDO $pdo){ + // insert persistEditions into settings + $pdo->exec("SET foreign_key_checks = 0;"); + // double check if utf8 correct type for foreign letter support + $pdo->exec("ALTER TABLE wikipage CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin;"); + $pdo->exec("ALTER TABLE wikipage_editions CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin;"); + $pdo->exec("SET foreign_key_checks = 1;"); + +} function version_6(PDO $pdo){ // insert persistEditions into settings From 5a882f3376afa29b08815894016cf5c5ebd642c9 Mon Sep 17 00:00:00 2001 From: lastlink Date: Thu, 4 Oct 2018 19:43:39 -0400 Subject: [PATCH 4/4] fix postgres migration --- Schema/Postgres.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Schema/Postgres.php b/Schema/Postgres.php index 82ed3f4..18955ce 100644 --- a/Schema/Postgres.php +++ b/Schema/Postgres.php @@ -8,9 +8,9 @@ function version_3(PDO $pdo) { - $pdo->exec('ALTER TABLE files ADD COLUMN "date" INTEGER NOT NULL DEFAULT 0'); - $pdo->exec('ALTER TABLE files ADD COLUMN "user_id" INTEGER NOT NULL DEFAULT 0'); - $pdo->exec('ALTER TABLE files ADD COLUMN "size" INTEGER NOT NULL DEFAULT 0'); + $pdo->exec('ALTER TABLE wikipage_has_files ADD COLUMN "date" INTEGER NOT NULL DEFAULT 0'); + $pdo->exec('ALTER TABLE wikipage_has_files ADD COLUMN "user_id" INTEGER NOT NULL DEFAULT 0'); + $pdo->exec('ALTER TABLE wikipage_has_files ADD COLUMN "size" INTEGER NOT NULL DEFAULT 0'); } function version_2(PDO $pdo)