aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md6
-rw-r--r--application/Updater.php30
-rw-r--r--index.php2
-rw-r--r--shaarli_version.php2
4 files changed, 23 insertions, 17 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 04aacad6..7e98a5ad 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -52,6 +52,12 @@ configuration to enable URL rewriting, see:
52- Fix permalink image alignment in daily page 52- Fix permalink image alignment in daily page
53- Fix the delete button in `editlink` 53- Fix the delete button in `editlink`
54 54
55## [v0.8.3](https://github.com/shaarli/Shaarli/releases/tag/v0.8.3) - 2017-01-20
56
57### Fixed
58
59- PHP 7.1 compatibility: add ConfigManager parameter to anti-bruteforce function call in login template.
60
55## [v0.8.2](https://github.com/shaarli/Shaarli/releases/tag/v0.8.2) - 2016-12-15 61## [v0.8.2](https://github.com/shaarli/Shaarli/releases/tag/v0.8.2) - 2016-12-15
56 62
57### Fixed 63### Fixed
diff --git a/application/Updater.php b/application/Updater.php
index eb03c6d3..90aba745 100644
--- a/application/Updater.php
+++ b/application/Updater.php
@@ -133,21 +133,6 @@ class Updater
133 } 133 }
134 134
135 /** 135 /**
136 * Rename tags starting with a '-' to work with tag exclusion search.
137 */
138 public function updateMethodRenameDashTags()
139 {
140 $linklist = $this->linkDB->filterSearch();
141 foreach ($linklist as $key => $link) {
142 $link['tags'] = preg_replace('/(^| )\-/', '$1', $link['tags']);
143 $link['tags'] = implode(' ', array_unique(LinkFilter::tagsStrToArray($link['tags'], true)));
144 $this->linkDB[$key] = $link;
145 }
146 $this->linkDB->save($this->conf->get('resource.page_cache'));
147 return true;
148 }
149
150 /**
151 * Move old configuration in PHP to the new config system in JSON format. 136 * Move old configuration in PHP to the new config system in JSON format.
152 * 137 *
153 * Will rename 'config.php' into 'config.save.php' and create 'config.json.php'. 138 * Will rename 'config.php' into 'config.save.php' and create 'config.json.php'.
@@ -258,6 +243,21 @@ class Updater
258 } 243 }
259 244
260 /** 245 /**
246 * Rename tags starting with a '-' to work with tag exclusion search.
247 */
248 public function updateMethodRenameDashTags()
249 {
250 $linklist = $this->linkDB->filterSearch();
251 foreach ($linklist as $key => $link) {
252 $link['tags'] = preg_replace('/(^| )\-/', '$1', $link['tags']);
253 $link['tags'] = implode(' ', array_unique(LinkFilter::tagsStrToArray($link['tags'], true)));
254 $this->linkDB[$key] = $link;
255 }
256 $this->linkDB->save($this->conf->get('resource.page_cache'));
257 return true;
258 }
259
260 /**
261 * Initialize API settings: 261 * Initialize API settings:
262 * - api.enabled: true 262 * - api.enabled: true
263 * - api.secret: generated secret 263 * - api.secret: generated secret
diff --git a/index.php b/index.php
index b62149f6..d1eee098 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
1<?php 1<?php
2/** 2/**
3 * Shaarli v0.8.2 - Shaare your links... 3 * Shaarli v0.8.3 - Shaare your links...
4 * 4 *
5 * The personal, minimalist, super-fast, database free, bookmarking service. 5 * The personal, minimalist, super-fast, database free, bookmarking service.
6 * 6 *
diff --git a/shaarli_version.php b/shaarli_version.php
index e93b0e7f..3f79a4c6 100644
--- a/shaarli_version.php
+++ b/shaarli_version.php
@@ -1 +1 @@
<?php /* 0.8.2 */ ?> <?php /* 0.8.3 */ ?>