aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/render
Commit message (Collapse)AuthorAgeFilesLines
* Feature: support any tag separatorArthurHoaro2020-11-051-0/+1
| | | | | | | | So it allows to have multiple words tags. Breaking change: commas ',' are no longer a default separator. Fixes #594
* Fix compatiliby issue on login with PHP 7.1ArthurHoaro2020-10-281-1/+1
| | | | session_set_cookie_params does not return any value in PHP 7.1
* Feature: bulk creation of bookmarksArthurHoaro2020-10-271-0/+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
* Move utils classes to Shaarli\Helper namespace and folderArthurHoaro2020-10-271-1/+1
|
* Use PSR-3 logger for login attemptsArthurHoaro2020-10-201-9/+20
| | | | Fixes #1122
* Support using Shaarli without URL rewritingArthurHoaro2020-10-161-1/+3
| | | | | | | | | - 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
* Security: fix multiple XSS vulnerabilities + fix search tags with special charsArthurHoaro2020-10-061-1/+1
| | | | | | 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.
* Avoid using global variablesKeith Carangelo2020-08-311-1/+1
| | | Co-authored-by: ArthurHoaro <arthur@hoa.ro>
* Added $links_per_page variable to template and display on defaultKeith Carangelo2020-08-291-0/+2
|
* New basePath: fix officiel plugin paths and vintage templateArthurHoaro2020-07-261-20/+12
|
* Move PHP and config init to dedicated fileArthurHoaro2020-07-231-20/+0
| | | | in order to keep index.php as minimal as possible
* Process main page (linklist) through Slim controllerArthurHoaro2020-07-232-0/+42
| | | | | Including a bunch of improvements on the container, and helper used across new controllers.
* Explicitly define base and asset path in templatesArthurHoaro2020-07-231-0/+4
| | | | | | | 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.
* Process configure page through Slim controllerArthurHoaro2020-07-231-0/+4
|
* Process password change controller through SlimArthurHoaro2020-07-231-5/+21
|
* Process Daily RSS feed through Slim controllerArthurHoaro2020-07-231-1/+16
| | | | The daily RSS template has been entirely rewritten to handle the whole feed through the template engine.
* Migrate cache purge function to a proper classArthurHoaro2020-07-231-0/+45
| | | | | | And update dependencies and tests. Note that SESSION['tags'] has been removed a log ago
* Render login page through Slim controllerArthurHoaro2020-01-261-0/+17
|
* Apply the new system (Bookmark + Service) to the whole code baseArthurHoaro2020-01-181-11/+13
| | | | See https://github.com/shaarli/Shaarli/issues/1307
* Accessibility: specify the HTML lang attributeArthurHoaro2019-02-091-0/+2
| | | | | | The lang is based on the user defined one. If the language is automatic, no language will be specified. Fixes #1216
* Optimize and cleanup importsVirtualTam2019-01-131-2/+2
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\ApplicationUtilsVirtualTam2019-01-121-1/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Bookmark\LinkDBVirtualTam2019-01-121-1/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Render\{PageBuilder,ThemeUtils}VirtualTam2019-01-122-0/+247
Signed-off-by: VirtualTam <virtualtam@flibidi.net>