]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Merge pull request #769 from ArthurHoaro/api/getlinks-visibility
authorArthurHoaro <arthur@hoa.ro>
Mon, 13 Feb 2017 07:41:12 +0000 (08:41 +0100)
committerGitHub <noreply@github.com>
Mon, 13 Feb 2017 07:41:12 +0000 (08:41 +0100)
REST API - getLinks: support the visibility parameter

CHANGELOG.md
application/Updater.php
index.php
shaarli_version.php

index 04aacad6287d0c60a656093c9351d9d88e454b34..7e98a5ad0d1dd4beee9b18df6a46b07cccfa757c 100644 (file)
@@ -52,6 +52,12 @@ configuration to enable URL rewriting, see:
 - Fix permalink image alignment in daily page
 - Fix the delete button in `editlink`
 
+## [v0.8.3](https://github.com/shaarli/Shaarli/releases/tag/v0.8.3) - 2017-01-20
+
+### Fixed
+
+- PHP 7.1 compatibility: add ConfigManager parameter to anti-bruteforce function call in login template.
+
 ## [v0.8.2](https://github.com/shaarli/Shaarli/releases/tag/v0.8.2) - 2016-12-15
 
 ### Fixed
index eb03c6d3afe6cc6be66062fb2050ac6dfe3170b5..90aba74508faa33472d3bc6a754f127cf1a8e066 100644 (file)
@@ -132,21 +132,6 @@ class Updater
         return true;
     }
 
-    /**
-     * Rename tags starting with a '-' to work with tag exclusion search.
-     */
-    public function updateMethodRenameDashTags()
-    {
-        $linklist = $this->linkDB->filterSearch();
-        foreach ($linklist as $key => $link) {
-            $link['tags'] = preg_replace('/(^| )\-/', '$1', $link['tags']);
-            $link['tags'] = implode(' ', array_unique(LinkFilter::tagsStrToArray($link['tags'], true)));
-            $this->linkDB[$key] = $link;
-        }
-        $this->linkDB->save($this->conf->get('resource.page_cache'));
-        return true;
-    }
-
     /**
      * Move old configuration in PHP to the new config system in JSON format.
      *
@@ -257,6 +242,21 @@ class Updater
         return true;
     }
 
+    /**
+     * Rename tags starting with a '-' to work with tag exclusion search.
+     */
+    public function updateMethodRenameDashTags()
+    {
+        $linklist = $this->linkDB->filterSearch();
+        foreach ($linklist as $key => $link) {
+            $link['tags'] = preg_replace('/(^| )\-/', '$1', $link['tags']);
+            $link['tags'] = implode(' ', array_unique(LinkFilter::tagsStrToArray($link['tags'], true)));
+            $this->linkDB[$key] = $link;
+        }
+        $this->linkDB->save($this->conf->get('resource.page_cache'));
+        return true;
+    }
+
     /**
      * Initialize API settings:
      *   - api.enabled: true
index b62149f647f469556d1f1a5c99120e22a9702aac..d1eee09850e1dac86531be917c7c5c3a3d3e12ec 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
 <?php
 /**
- * Shaarli v0.8.2 - Shaare your links...
+ * Shaarli v0.8.3 - Shaare your links...
  *
  * The personal, minimalist, super-fast, database free, bookmarking service.
  *
index e93b0e7faddefb59af197be1d967edc72b01e369..3f79a4c608cf6ebdbb80baee552d86d423da0332 100644 (file)
@@ -1 +1 @@
-<?php /* 0.8.2 */ ?>
+<?php /* 0.8.3 */ ?>