aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Url
Commit message (Collapse)AuthorAgeFilesLines
* Fixes #531 - Title retrieving is failing with multiple use caseArthurHoaro2016-05-031-0/+15
| | | | see https://github.com/shaarli/Shaarli/issues/531 for details
* Refactor and rebase #380: Firefox reader view linksArthurHoaro2016-03-261-0/+7
| | | | | Fixes #366 Closes #380
* Fixes #410 - Retrieve title fails in multiple casesArthurHoaro2016-01-111-0/+18
| | | | | | | | | * `get_http_url()` renamed to `get_http_response()`. * Use the same HTTP context to retrieve response headers and content. * Follow HTTP 301 and 302 redirections to retrieve the title (default max 3 redirections). * Add `LinkUtils` to extract titles and charset. * Try to retrieve charset from HTTP headers first (new), then HTML content. * Use mb_string to re-encode title if necessary.
* Wallabag plugin improvementArthurHoaro2015-12-271-0/+11
| | | | | | | | * Fixes a bug where URL weren't properly encoded. * Adds Wallabag V2 support. * Adds a URL function to handle trailing slash. * UT. * README updated.
* cleanup: remove the executable bit from source scriptsVirtualTam2015-11-111-0/+0
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Url: introduce global helper functions for cleanup and scheme detectionGuillaume Virlet2015-09-084-0/+286
Relates to #314 & #326 Additions: - add global `cleanup_url()` and `get_url_scheme()` functions Modifications: - replace `Url` usage in `index.php` by calls to global functions - fix `Url` tests not being run: PHPUnit expects a single test class per file - move classes to separate files