aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Thumbnails: add a common mode to only retrieve thumbs from popular media ↵ArthurHoaro2018-07-051-10/+12
| | | | | | | | websites
| * Add a page to update all thumbnails through AJAX requests in both templatesArthurHoaro2018-07-051-30/+51
| |
| * Take code review into accountArthurHoaro2018-07-051-1/+3
| | | | | | | | Upgrade web-thumbnailer and display thumbs right after download
| * Update thumbnail integration after rebasing the branchArthurHoaro2018-07-051-23/+16
| |
| * Use web-thumbnailer to retrieve thumbnailsArthurHoaro2018-07-051-421/+69
| | | | | | | | | | | | | | | | | | | | * requires PHP 5.6 * use blazy on linklist since a lot more thumbs are retrieved * thumbnails can be disabled * thumbs size is now 120x120 * thumbs are now cropped to fit the expected size Fixes #345 #425 #487 #543 #588 #590
* | Docs: rename 'How-to' section to 'Guides'VirtualTam2018-07-121-1/+1
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Merge pull request #1141 from ArthurHoaro/api/tagsArthurHoaro2018-07-101-0/+6
|\ \ | |/ |/| Implements Tags endpoints for Shaarli's REST API
| * Implements Tags endpoints for Shaarli's REST APIArthurHoaro2018-06-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Endpoints: * List All Tags [GET] * Get a tag [GET] * Update a tag [PUT] * Delete a tag [DELETE] Fixes #904 References shaarli/api-documentation#34
* | Fix broken documentation links and list formattingVirtualTam2018-06-261-1/+1
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Fixes an error during the installArthurHoaro2018-06-071-2/+3
|/ | | | was out of scope
* Refactor LoginManager stay-signed-in token managementVirtualTam2018-06-021-7/+5
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>