- `/api/v1/info`: get general information on the Shaarli instance
- `/api/v1/links`: get a list of shaared links
- `/api/v1/history`: get a list of latest actions
--Theming:
++ Theming:
- Introduce a new theme
- Allow selecting themes/templates from the configuration page
- New/Edit link form can be submitted using CTRL+Enter in the textarea
- Cleanup: introduce an `ApplicationUtils` class
### Removed
-- - Cleanup: remove `json_encode()` function (built-in since PHP 5.2)
++- Cleanup: remove `json_encode()` function (built-in since PHP 5.2)
### Fixed
-- - Auto-complete more than one tag
-- - Bookmarklet: support titles containing quotes
-- - URL encode links when setting a redirector
++- Auto-complete more than one tag
++- Bookmarklet: support titles containing quotes
++- URL encode links when setting a redirector
## [v0.6.0](https://github.com/shaarli/Shaarli/releases/tag/v0.6.0) - 2015-11-18
- In tag autocomplete, tags are presented in use order
(most used tags first, instead of alphabetical order)
- RSS Feed can now be filtered by tags or fulltext search. Just add to the feed url:
-- - `&searchtags=minecraft+video` for tag filtering
-- - `&searchterm=portal` for fulltext search to the feed url
++ - `&searchtags=minecraft+video` for tag filtering
++ - `&searchterm=portal` for fulltext search to the feed url
## [v0.0.12beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
public function __construct(
$datastore,
$isLoggedIn,
- $hidePublicLinks,
- $redirector = '',
- $redirectorEncode = true
+ $hidePublicLinks
) {
-
++
$this->datastore = $datastore;
$this->loggedIn = $isLoggedIn;
$this->hidePublicLinks = $hidePublicLinks;
$visibility = 'all',
$untaggedonly = false
) {
-
++
// Filter link database according to parameters.
$searchtags = isset($filterRequest['searchtags']) ? escape($filterRequest['searchtags']) : '';
$searchterm = isset($filterRequest['searchterm']) ? escape($filterRequest['searchterm']) : '';