aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md14
-rw-r--r--application/bookmark/LinkDB.php4
-rw-r--r--application/updater/Updater.php2
-rw-r--r--index.php8
-rw-r--r--tests/updater/UpdaterTest.php1
5 files changed, 19 insertions, 10 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index abf802ea..e4991c4d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -339,7 +339,7 @@ configuration to enable URL rewriting, see:
339 - `/api/v1/info`: get general information on the Shaarli instance 339 - `/api/v1/info`: get general information on the Shaarli instance
340 - `/api/v1/links`: get a list of shaared links 340 - `/api/v1/links`: get a list of shaared links
341 - `/api/v1/history`: get a list of latest actions 341 - `/api/v1/history`: get a list of latest actions
342Theming: 342 Theming:
343 - Introduce a new theme 343 - Introduce a new theme
344 - Allow selecting themes/templates from the configuration page 344 - Allow selecting themes/templates from the configuration page
345 - New/Edit link form can be submitted using CTRL+Enter in the textarea 345 - New/Edit link form can be submitted using CTRL+Enter in the textarea
@@ -637,12 +637,12 @@ Please use our release archives, or follow the
637- Cleanup: introduce an `ApplicationUtils` class 637- Cleanup: introduce an `ApplicationUtils` class
638 638
639### Removed 639### Removed
640 - Cleanup: remove `json_encode()` function (built-in since PHP 5.2) 640- Cleanup: remove `json_encode()` function (built-in since PHP 5.2)
641 641
642### Fixed 642### Fixed
643 - Auto-complete more than one tag 643- Auto-complete more than one tag
644 - Bookmarklet: support titles containing quotes 644- Bookmarklet: support titles containing quotes
645 - URL encode links when setting a redirector 645- URL encode links when setting a redirector
646 646
647 647
648## [v0.6.0](https://github.com/shaarli/Shaarli/releases/tag/v0.6.0) - 2015-11-18 648## [v0.6.0](https://github.com/shaarli/Shaarli/releases/tag/v0.6.0) - 2015-11-18
@@ -1279,8 +1279,8 @@ Initial release on GitHub.
1279- In tag autocomplete, tags are presented in use order 1279- In tag autocomplete, tags are presented in use order
1280 (most used tags first, instead of alphabetical order) 1280 (most used tags first, instead of alphabetical order)
1281- RSS Feed can now be filtered by tags or fulltext search. Just add to the feed url: 1281- RSS Feed can now be filtered by tags or fulltext search. Just add to the feed url:
1282 - `&searchtags=minecraft+video` for tag filtering 1282 - `&searchtags=minecraft+video` for tag filtering
1283 - `&searchterm=portal` for fulltext search to the feed url 1283 - `&searchterm=portal` for fulltext search to the feed url
1284 1284
1285 1285
1286## [v0.0.12beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history) 1286## [v0.0.12beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
diff --git a/application/bookmark/LinkDB.php b/application/bookmark/LinkDB.php
index efde8468..76ba95f0 100644
--- a/application/bookmark/LinkDB.php
+++ b/application/bookmark/LinkDB.php
@@ -102,7 +102,7 @@ class LinkDB implements Iterator, Countable, ArrayAccess
102 $isLoggedIn, 102 $isLoggedIn,
103 $hidePublicLinks 103 $hidePublicLinks
104 ) { 104 ) {
105 105
106 $this->datastore = $datastore; 106 $this->datastore = $datastore;
107 $this->loggedIn = $isLoggedIn; 107 $this->loggedIn = $isLoggedIn;
108 $this->hidePublicLinks = $hidePublicLinks; 108 $this->hidePublicLinks = $hidePublicLinks;
@@ -415,7 +415,7 @@ You use the community supported version of the original Shaarli project, by Seba
415 $visibility = 'all', 415 $visibility = 'all',
416 $untaggedonly = false 416 $untaggedonly = false
417 ) { 417 ) {
418 418
419 // Filter link database according to parameters. 419 // Filter link database according to parameters.
420 $searchtags = isset($filterRequest['searchtags']) ? escape($filterRequest['searchtags']) : ''; 420 $searchtags = isset($filterRequest['searchtags']) ? escape($filterRequest['searchtags']) : '';
421 $searchterm = isset($filterRequest['searchterm']) ? escape($filterRequest['searchterm']) : ''; 421 $searchterm = isset($filterRequest['searchterm']) ? escape($filterRequest['searchterm']) : '';
diff --git a/application/updater/Updater.php b/application/updater/Updater.php
index beb9ea9b..30e5247b 100644
--- a/application/updater/Updater.php
+++ b/application/updater/Updater.php
@@ -268,6 +268,8 @@ class Updater
268 } 268 }
269 269
270 /** 270 /**
271<<<<<<< HEAD
272=======
271 * Rename tags starting with a '-' to work with tag exclusion search. 273 * Rename tags starting with a '-' to work with tag exclusion search.
272 */ 274 */
273 public function updateMethodRenameDashTags() 275 public function updateMethodRenameDashTags()
diff --git a/index.php b/index.php
index 9e473936..3a5c35c4 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,12 @@
1<?php 1<?php
2/** 2/**
3<<<<<<< HEAD
4 * Shaarli v0.8.7 - Shaare your links...
5 *
6 * The personal, minimalist, super-fast, database free, bookmarking service.
7=======
3 * Shaarli - The personal, minimalist, super-fast, database free, bookmarking service. 8 * Shaarli - The personal, minimalist, super-fast, database free, bookmarking service.
9>>>>>>> v0.9.7
4 * 10 *
5 * Friendly fork by the Shaarli community: 11 * Friendly fork by the Shaarli community:
6 * - https://github.com/shaarli/Shaarli 12 * - https://github.com/shaarli/Shaarli
@@ -1179,6 +1185,8 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history, $sessionManager,
1179 $link['thumbnail'] = $thumbnailer->get($url); 1185 $link['thumbnail'] = $thumbnailer->get($url);
1180 } 1186 }
1181 1187
1188 $link['sticky'] = isset($link['sticky']) ? $link['sticky'] : false;
1189
1182 $pluginManager->executeHooks('save_link', $link); 1190 $pluginManager->executeHooks('save_link', $link);
1183 1191
1184 $LINKSDB[$id] = $link; 1192 $LINKSDB[$id] = $link;
diff --git a/tests/updater/UpdaterTest.php b/tests/updater/UpdaterTest.php
index 93bc86c1..738b7361 100644
--- a/tests/updater/UpdaterTest.php
+++ b/tests/updater/UpdaterTest.php
@@ -507,7 +507,6 @@ $GLOBALS[\'privateLinkByDefault\'] = true;';
507 $this->assertFalse($this->conf->get('security.markdown_escape')); 507 $this->assertFalse($this->conf->get('security.markdown_escape'));
508 } 508 }
509 509
510
511 /** 510 /**
512 * Test updateMethodEscapeMarkdown with markdown plugin disabled 511 * Test updateMethodEscapeMarkdown with markdown plugin disabled
513 * => setting markdown_escape set to true. 512 * => setting markdown_escape set to true.