aboutsummaryrefslogtreecommitdiffhomepage
path: root/application
Commit message (Collapse)AuthorAgeFilesLines
...
* Introduce Bookmark object and Service layer to retrieve themArthurHoaro2020-01-1720-66/+3226
| | | | See https://github.com/shaarli/Shaarli/issues/1307 for details
* Run Unit Tests against PHP 7.4ArthurHoaro2020-01-172-0/+7
| | | | | | | | Bump PHPUnit version and fix unit test - Globals are handled differently and are persistent through tests - Tests without assertions are marked as risky: some of them are just meant to check that no error is raised.
* thumbnailer: add soundcloud.com to list of common media domainsnodiscc2019-09-211-0/+1
| | | OpenGraph thumbnails are well supported on soundcloud.com, displaying an album/track/artist cover image
* Fix RSS permalink included in Markdown blocArthurHoaro2019-09-121-1/+1
| | | | Adds another line break before inserting RSS permalink to avoid including it in markdown blocs, such as blockquote.
* Make sure that bookmark sort is consistent, even with equal timestampsArthurHoaro2019-08-071-2/+5
| | | | Fixes #1348
* Automatically retrieve description for new bookmarksArthurHoaro2019-07-062-4/+82
| | | | | | | | | | | | | | | 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
* Merge pull request #1273 from ArthurHoaro/feature/ban-managerArthurHoaro2019-05-252-86/+227
|\ | | | | Rewrite IP ban management
| * Rewrite IP ban managementArthurHoaro2019-02-092-86/+227
| | | | | | | | | | | | | | 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/+6
|\ \ | | | | | | Bulk action: set visibility
| * | Bulk action: set visibilityArthurHoaro2019-02-091-0/+6
| |/ | | | | | | | | | | Added 2 buttons when link checkboxes are checked to set them either public or private. Related to #572 #1160
* | 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
| |