aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/render/PageBuilder.php
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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-231-0/+9
| | | | | 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
|
* 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-121-0/+213
Signed-off-by: VirtualTam <virtualtam@flibidi.net>