aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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>
* Refactor session and cookie timeout controlVirtualTam2018-06-021-21/+26
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Move LoginManager and SessionManager to the Security namespaceVirtualTam2018-06-021-2/+2
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* LoginManager: remove unused parameterVirtualTam2018-06-021-1/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Login: update PageBuilder and default/vintage templatesVirtualTam2018-06-021-6/+9
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Pass the client IP ID to LoginManagerVirtualTam2018-06-021-2/+3
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Refactor user credential validation at login timeVirtualTam2018-05-291-106/+38
| | | | | | | | Changed: - move login/password verification to LoginManager - code cleanup Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Refactor PHP session handling during login/logoutVirtualTam2018-05-291-36/+13
| | | | | | | | Changed: - move $_SESSION handling to SessionManager - code cleanup Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Refactor SessionManager::$INACTIVITY_TIMEOUTVirtualTam2018-05-291-24/+24
| | | | | | | | | | | | Changed: - move INACTIVITY_TIMEOUT to SessionManager - inject a dependency to a SessionManager instance in: - fillSessionInfo() - setup_login_state() - check_auth() - cleanup related code and comments Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Refactor client session hijacking protectionVirtualTam2018-05-291-12/+2
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Fix parameter order which was preventing max_dl parameter to work properlyArthurHoaro2018-05-011-1/+1
|
* Fix warning when trying to save redictor setting from the configure pageArthurHoaro2018-03-131-2/+0
| | | | | | It has been removed from the web page. Fixes #1099
* Merge pull request #1096 from ArthurHoaro/feature/download-paramsArthurHoaro2018-03-131-1/+6
|\ | | | | Make max download size and timeout configurable
| * Make max download size and timeout configurableArthurHoaro2018-03-071-1/+6
| | | | | | | | Fixes #1061
* | PSR: use elseif instead of else ifArthurHoaro2018-02-281-2/+2
|/ | | | See https://www.php-fig.org/psr/psr-2/\#51-if-elseif-else