aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
Commit message (Collapse)AuthorAgeFilesLines
* Render login page through Slim controllerArthurHoaro2020-01-261-37/+29
|
* Rollback breaking change in REST API routesArthurHoaro2020-01-261-5/+5
|
* Session cookie setting being set while session is activeArthurHoaro2020-01-231-0/+2
| | | | | Trying to do will raise a warning since PHP 7.2, and it never worked as intented. See: https://bugs.php.net/bug.php\?id\=75650
* Fix an issue with private tags and fix nomarkdown tag (#1399)ArthurHoaro2020-01-181-15/+24
|\ | | | | Fix an issue with private tags and fix nomarkdown tag
| * Fix an issue with private tags and fix nomarkdown tagArthurHoaro2020-01-181-15/+24
| | | | | | | | | | | | | | | | The new bookmark service wasn't handling private tags properly. nomarkdown tag is now shown only for logged in user in bookmarks, and hidden for everyone in tag clouds/lists. Fixes #726
* | Fix an issue with bookmark visibility filterArthurHoaro2020-01-181-1/+1
|/
* Add and update unit test for the new system (Bookmark + Service)ArthurHoaro2020-01-181-3/+3
| | | | See #1307
* Apply the new system (Bookmark + Service) to the whole code baseArthurHoaro2020-01-181-277/+278
| | | | See https://github.com/shaarli/Shaarli/issues/1307
* Bump PHP version check in index.phpArthurHoaro2019-08-101-3/+1
| | | | Fixes #1249
* Fixes a Undefined index: thumbnail in daily page.kalvn2019-08-041-1/+1
|
* Persist sticky status on bookmark updateArthurHoaro2019-07-271-14/+10
| | | | Fixes #1331
* WIP - Plugin to override default template colorsArthurHoaro2019-07-081-0/+1
| | | | | | | | | | * Adds a new core plugin to override default template colors * Adds a new hook when plugin settings are saved (`save_plugin_parameters`) * Use CSS native variables for main colors instead of SASS variables * Disable SASS sort order rules due to a bug in the plugin Fixes #1312
* Automatically retrieve description for new bookmarksArthurHoaro2019-07-061-1/+4
| | | | | | | | | | | | | | | If the option is enabled, it will try to find a meta tag containing the page description and keywords, just like we do for the page title. It will either look for regular meta tag or OpenGraph ones. The option is disabled by default. Note that keywords meta tags is mostly not used. In `configure` template, the variable associated with this setting is `$retrieve_description`. Fixes #1302
* Daily - display the current day instead of the previous oneArthurHoaro2019-05-251-1/+8
| | | | | | | Also mention if it's today or yesterday for clarity using `dayDesc` variable Fixes #1299
* Merge pull request #1273 from ArthurHoaro/feature/ban-managerArthurHoaro2019-05-251-1/+1
|\ | | | | Rewrite IP ban management
| * Rewrite IP ban managementArthurHoaro2019-02-091-1/+1
| | | | | | | | | | | | | | This adds a dedicated manager class to handle all ban interactions, which is instantiated and handled by LoginManager. IPs are now stored in the same format as the datastore, through FileUtils. Fixes #1032 #587
* | Merge pull request #1276 from ArthurHoaro/feature/bulk-visibilityArthurHoaro2019-04-221-0/+45
|\ \ | | | | | | Bulk action: set visibility
| * | Bulk action: set visibilityArthurHoaro2019-02-091-0/+45
| |/ | | | | | | | | | | Added 2 buttons when link checkboxes are checked to set them either public or private. Related to #572 #1160
* | Hotfix: History controller for the REST API has been renamed in a previous ↵ArthurHoaro2019-04-151-1/+1
| | | | | | | | | | | | commit but the class name hasn't been updated in index.php
* | Merge pull request #1272 from ArthurHoaro/feature/html-langArthurHoaro2019-03-021-1/+0
|\ \ | | | | | | Accessibility: specify the HTML lang attribute
| * | Accessibility: specify the HTML lang attributeArthurHoaro2019-02-091-1/+0
| |/ | | | | | | | | | | The lang is based on the user defined one. If the language is automatic, no language will be specified. Fixes #1216
* | Merge pull request #1271 from ArthurHoaro/hotfix/thumb-note-retrieveArthurHoaro2019-03-021-3/+5
|\ \ | | | | | | Do not try to retrieve thumbnails for internal link
| * | Do not try to retrieve thumbnails for internal linkArthurHoaro2019-02-241-3/+5
| |/ | | | | | | Also adds a helper function to determine if a link is a note and apply it across multiple files.
* | Merge pull request #1270 from ArthurHoaro/hotfix/sticky-warningArthurHoaro2019-02-241-0/+2
|\ \ | | | | | | Fix a warning if links sticky status isn't set
| * | Fix a warning if links sticky status isn't setArthurHoaro2019-02-091-0/+2
| |/ | | | | | | | | - initiate its status to false when the link is created - if not defined, initiate its status to false (can happen if the updater hasn't run)
* / Remove the redirector settingArthurHoaro2019-02-091-22/+5
|/ | | | Fixes #1239
* namespacing: \Shaarli\Plugin\PluginManagerVirtualTam2019-01-121-1/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Netscape\NetscapeBookmarkUtilsVirtualTam2019-01-121-1/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\RouterVirtualTam2019-01-121-2/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\ApplicationUtilsVirtualTam2019-01-121-2/+2
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\UpdaterVirtualTam2019-01-121-1/+2
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: move LinkUtils along \Shaarli\Bookmark classesVirtualTam2019-01-121-1/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Bookmark\LinkFilterVirtualTam2019-01-121-1/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Bookmark\LinkDBVirtualTam2019-01-121-1/+2
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Render\{PageBuilder,ThemeUtils}VirtualTam2019-01-121-2/+2
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: move HTTP utilities along \Shaarli\Http\ classesVirtualTam2019-01-121-2/+2
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Feed\{Cache,CachedPage,FeedBuilder}VirtualTam2019-01-121-4/+4
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\HistoryVirtualTam2019-01-121-0/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* lint: fix line-length warningsVirtualTam2018-12-021-11/+38
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* lint: apply phpcbf to index.phpVirtualTam2018-12-021-116/+115
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Update session start conditionBish Erbas2018-10-311-1/+1
| | | | | Recommended method for PHP >= 5.4.0 as seen here https://stackoverflow.com/questions/6249707/check-if-php-session-has-already-started Per https://shaarli.readthedocs.io/en/master/Server-configuration/ Shaarli supports PHP >= 5.6
* Add a button to set links as stickyArthurHoaro2018-10-061-0/+19
| | | | | | Meaning that they always appear on top of all links Fixes #186
* Merge pull request #1207 from ArthurHoaro/feature/corsArthurHoaro2018-09-201-0/+8
|\ | | | | Add CORS headers to REST API responses
| * Add CORS headers to REST API responsesArthurHoaro2018-08-131-0/+8
| | | | | | | | Fixes #1174
* | Fix a JS bug preventing AJAX tag deletion to workArthurHoaro2018-08-161-1/+2
| | | | | | | | Fixes #1214
* | History: fix a bug on bulk deletion where only one deletion were registredArthurHoaro2018-08-131-1/+1
|/
* Fix issue 'You are not authorized to add a link' with thumbnails enabledArthurHoaro2018-08-101-2/+2
| | | | | | Do not try to alter the datastore by updating thumbnails if the user isn't logged in. Also, do not enable thumbnails if PHP GD extension is not installed/loaded
* Fix fatal error on daily page: use new thumbnail systemArthurHoaro2018-07-291-3/+6
| | | | | | | | | Also fix: * include the login manager in the daily RSS feed function * remove redirector setting in the vintage theme Fixes #1190
* Merge pull request #687 from ArthurHoaro/web-thumbArthurHoaro2018-07-281-429/+98
|\ | | | | Use web-thumbnailer to retrieve thumbnails
| * Bunch of improvement for thumbnails integration:ArthurHoaro2018-07-171-3/+6
| | | | | | | | | | | | | | | | - add a default thumb size value (125x90px) - improve private vertical bar visual, especially with thumbnails - translations - add a sync thumbs button in tool and empty picwall page - fixes WT download mode in JSON config