aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/bookmark/LinkUtilsTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Improve metadata retrieval (performances and accuracy)ArthurHoaro2020-10-151-115/+108
| | | | | - Use dedicated function to download headers to avoid apply multiple regexps on headers - Also try to extract title from meta tags
* Merge pull request #1540 from ArthurHoaro/fix/metadata-regexesArthurHoaro2020-10-131-0/+89
|\ | | | | Improve regex to extract HTML metadata (title, description, etc.)
| * Improve regex to extract HTML metadata (title, description, etc.)ArthurHoaro2020-09-031-0/+89
| | | | | | | | | | | | Also added a bunch of tests to cover more use cases. Fixes #1375
* | Merge pull request #1575 from ArthurHoaro/feature/php8ArthurHoaro2020-10-031-11/+11
|\ \
| * | Compatibility with PHPUnit 9ArthurHoaro2020-09-291-11/+11
| |/
* / Fix warning if the encoding retrieved from external headers is invalidArthurHoaro2020-09-301-0/+13
|/ | | | Also fixed the regex to support this failing header: charset="utf-8"\r\n"
* Slim router: handle add tag routeArthurHoaro2020-07-231-3/+1
|
* Add and update unit test for the new system (Bookmark + Service)ArthurHoaro2020-01-181-9/+0
| | | | See #1307
* Automatically retrieve description for new bookmarksArthurHoaro2019-07-061-11/+193
| | | | | | | | | | | | | | | 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 #1271 from ArthurHoaro/hotfix/thumb-note-retrieveArthurHoaro2019-03-021-0/+20
|\ | | | | Do not try to retrieve thumbnails for internal link
| * Do not try to retrieve thumbnails for internal linkArthurHoaro2019-02-241-0/+20
| | | | | | | | Also adds a helper function to determine if a link is a note and apply it across multiple files.
* | Remove the redirector settingArthurHoaro2019-02-091-35/+6
|/ | | | Fixes #1239
* namespacing: move LinkUtils along \Shaarli\Bookmark classesVirtualTam2019-01-121-0/+333
Signed-off-by: VirtualTam <virtualtam@flibidi.net>