aboutsummaryrefslogtreecommitdiffhomepage
path: root/application
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1272 from ArthurHoaro/feature/html-langArthurHoaro2019-03-021-0/+2
|\ | | | | Accessibility: specify the HTML lang attribute
| * 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
* | Merge pull request #1271 from ArthurHoaro/hotfix/thumb-note-retrieveArthurHoaro2019-03-024-4/+17
|\ \ | | | | | | Do not try to retrieve thumbnails for internal link
| * | Do not try to retrieve thumbnails for internal linkArthurHoaro2019-02-244-4/+17
| |/ | | | | | | 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-1/+5
|\ \ | | | | | | Fix a warning if links sticky status isn't set
| * | Fix a warning if links sticky status isn't setArthurHoaro2019-02-091-1/+5
| |/ | | | | | | | | - 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)
* | Merge pull request #1269 from ArthurHoaro/feature/remove-redirectorArthurHoaro2019-02-246-64/+22
|\ \ | | | | | | Remove the redirector setting
| * | Remove the redirector settingArthurHoaro2019-02-096-64/+22
| |/ | | | | | | Fixes #1239
* / Fix thumbnails disabling if PHP GD is not installedArthurHoaro2019-02-091-1/+1
|/
* Merge pull request #1182 from ArthurHoaro/feature/session-protection-stay-loginArthurHoaro2019-02-091-0/+3
|\ | | | | Do not check the IP address with session protection disabled
| * Do not check the IP address with session protection disabledArthurHoaro2018-07-171-0/+3
| | | | | | | | | | | | This allows the user to stay logged in if his IP changes. Fixes #1106
* | Optimize and cleanup importsVirtualTam2019-01-1314-20/+12
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\Plugin\PluginManagerVirtualTam2019-01-122-25/+37
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\Netscape\NetscapeBookmarkUtilsVirtualTam2019-01-121-11/+16
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\RouterVirtualTam2019-01-121-21/+22
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\ApplicationUtilsVirtualTam2019-01-123-37/+42
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\UpdaterVirtualTam2019-01-124-110/+125
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: move LinkUtils along \Shaarli\Bookmark classesVirtualTam2019-01-121-2/+2
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\Bookmark\LinkFilterVirtualTam2019-01-124-37/+47
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\Bookmark\LinkDBVirtualTam2019-01-1210-38/+57
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\FileUtilsVirtualTam2019-01-123-7/+7
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\Render\{PageBuilder,ThemeUtils}VirtualTam2019-01-122-7/+15
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: move HTTP utilities along \Shaarli\Http\ classesVirtualTam2019-01-123-4/+4
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\Http\UrlVirtualTam2019-01-123-216/+222
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\Http\Base64UrlVirtualTam2019-01-122-4/+4
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\Feed\{Cache,CachedPage,FeedBuilder}VirtualTam2019-01-123-18/+23
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\Exceptions\IOExceptionVirtualTam2019-01-127-4/+13
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\HistoryVirtualTam2019-01-123-5/+11
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | lint: fix line-length warningsVirtualTam2018-12-026-10/+34
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | lint: apply phpcbf to application/VirtualTam2018-12-0223-93/+98
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Merge pull request #1205 from ArthurHoaro/feature/opengraphArthurHoaro2018-10-061-1/+1
|\ \ | | | | | | Add OpenGraph meta tags on permalink page
| * | Add OpenGraph meta tags on permalink pageArthurHoaro2018-08-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Includes: - og:title - og:type -> article - og:image -> if there is a thumbnail - og:url -> permalink - og:description -> first 300 chars of raw description - article:published_time - article:modified_time - article:tag -> one OG meta tag for each shaare tag Fixes #258
* | | Add a button to set links as stickyArthurHoaro2018-10-063-0/+29
| | | | | | | | | | | | | | | | | | Meaning that they always appear on top of all links Fixes #186
* | | Fix issue 'You are not authorized to add a link' with thumbnails enabledArthurHoaro2018-08-101-1/+1
|/ / | | | | | | | | | | 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
* | Merge pull request #687 from ArthurHoaro/web-thumbArthurHoaro2018-07-285-10/+258
|\ \ | |/ |/| Use web-thumbnailer to retrieve thumbnails
| * Bunch of improvement for thumbnails integration:ArthurHoaro2018-07-172-1/+4
| | | | | | | | | | | | | | | | - 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-053-5/+60
| | | | | | | | websites
| * Add a page to update all thumbnails through AJAX requests in both templatesArthurHoaro2018-07-054-14/+58
| |
| * Take code review into accountArthurHoaro2018-07-051-0/+17
| | | | | | | | Upgrade web-thumbnailer and display thumbs right after download
| * Update thumbnail integration after rebasing the branchArthurHoaro2018-07-052-2/+25
| |
| * ConfigManager: add a method to remove an entryArthurHoaro2018-07-051-1/+49
| |
| * Use web-thumbnailer to retrieve thumbnailsArthurHoaro2018-07-053-0/+58
| | | | | | | | | | | | | | | | | | | | * 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
* | Implements Tags endpoints for Shaarli's REST APIArthurHoaro2018-06-044-4/+213
|/ | | | | | | | | | | | Endpoints: * List All Tags [GET] * Get a tag [GET] * Update a tag [PUT] * Delete a tag [DELETE] Fixes #904 References shaarli/api-documentation#34
* Merge pull request #1143 from ArthurHoaro/sort-equal-tagsArthurHoaro2018-06-041-8/+21
|\ | | | | Fix order of tags with the same number of occurrences
| * Tag sort - UT + comment + fix filter and visibilityArthurHoaro2018-05-291-7/+18
| | | | | | | | Before this, linksCountPerTag call without would have ignored visibility parameter
| * Fix order of tags with the same number of occurrencesArthurHoaro2018-05-191-2/+4
| | | | | | | | Fixes #1142
* | SessionManager+LoginManager: fix checkLoginState logicVirtualTam2018-06-022-2/+5
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Add test coverage for LoginManager methodsVirtualTam2018-06-021-5/+4
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | SessionManager: remove unused UID tokenVirtualTam2018-06-021-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There already are dedicated tokens for: - CSRF protection - user stay-signed-in feature, via cookie This token was most likely intended as a randomly generated, server-side, secret key to be used when generating hashes. See http://sebsauvage.net/wiki/doku.php?id=php:session [FR] Relevant section: Une clé secrète unique aléatoire est générée côté serveur (et jamais envoyée). Elle peut servir pour signer les formulaires (HMAC) ou générer des token de formulaires (protection contre XSRF). Voir $_SESSION['uid']. Translation: A unique, server-side secret key is randomly generated (and never transmitted). It can be used to sign forms (HMAC) or generate form tokens (protection against XSRF). See $_SESSION['uid'] Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Refactor LoginManager stay-signed-in token managementVirtualTam2018-06-022-7/+33
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>