| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Currently the cache is only invalidated when the datastore changes, while it should rely on selected period of time.
Fixes #1659
|
| |
|
|
|
|
|
|
|
|
| |
So it allows to have multiple words tags.
Breaking change: commas ',' are no longer a default separator.
Fixes #594
|
|
|
|
| |
session_set_cookie_params does not return any value in PHP 7.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes creates a new form in addlink page allowing to create
multiple bookmarks at once more easily. It focuses on re-using as much
existing code and template component as possible.
These changes includes:
- a new form in addlink (hidden behind a button by default),
containing a text area for URL, and tags/private status to apply to
created links
- this form displays a new template called editlink.batch, itself
including editlink template multiple times
- User interation in this new templates are handle by a new JS script
(shaare-batch.js) making AJAX requests, and therefore does not need page
reloading
- ManageShaareController has been split into 3 distinct controllers:
+ ShaareAdd: displays addlink template
+ ShaareManage: various operation applied on existing shaares
(change visibility, pin, deletion, etc.)
+ ShaarePublish: handles creation/edit forms and saving Shaare's
form
- Updated translations
Fixes #137
|
| |
|
|
|
|
| |
Fixes #1122
|
|
|
|
|
|
|
|
|
| |
- Shaarli can be fully used by prefixing any URL with /index.php/
- {$base_path} used in templates already works with this configuration
- Assets path (outside of theme's assets) must be prefixed with {$root_url}/
- Documentation section in « Server configuration »
Fixes #1590
|
|
|
|
|
|
| |
XSS vulnerabilities fixed in editlink, linklist, tag.cloud and tag.list.
Also fixed tag search with special characters: urlencode function needs to be applied on raw data, before espaping, otherwise the rendered URL is wrong.
|
|
|
| |
Co-authored-by: ArthurHoaro <arthur@hoa.ro>
|
| |
|
| |
|
|
|
|
| |
in order to keep index.php as minimal as possible
|
|
|
|
|
| |
Including a bunch of improvements on the container,
and helper used across new controllers.
|
|
|
|
|
|
|
| |
With the new routes, all pages are not all at the same folder level anymore
(e.g. /shaare and /shaare/123), so we can't just use './' everywhere.
The most consistent way to handle this is to prefix all path with the proper variable,
and handle the actual path in controllers.
|
| |
|
| |
|
|
|
|
| |
The daily RSS template has been entirely rewritten to handle the whole feed through the template engine.
|
|
|
|
|
|
| |
And update dependencies and tests.
Note that SESSION['tags'] has been removed a log ago
|
| |
|
|
|
|
| |
See https://github.com/shaarli/Shaarli/issues/1307
|
|
|
|
|
|
| |
The lang is based on the user defined one. If the language is automatic, no language will be specified.
Fixes #1216
|
|
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|