aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Helper/DownloadImages.php
Commit message (Collapse)AuthorAgeFilesLines
* Replace continue; with break; to avoid PHP 7.3 warningsphp73Thomas Citharel2019-01-121-1/+1
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* php-cs-fixerKevin Decherf2018-09-051-2/+2
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* More robust srcset image attribute handlingSimounet2018-07-121-3/+8
| | | | Linked to HTMLawed PR https://github.com/kesar/HTMLawed/pull/17
* Fix image downloading on null image pathSimounet2018-07-051-0/+4
|
* Fix srcset attribute on images downloadedSimounet2018-06-011-3/+33
|
* Add a real configuration for CS-FixerJeremy Benoist2017-07-011-22/+22
|
* Use an alternative way to detect imageJeremy Benoist2017-06-051-5/+45
| | | | | | | When parsing content to retrieve images to save locally, we only check for the content-type of the image response. In some case, that value is empty. Now we’re also checking for the first few bytes of the content as an alternative to detect if it’s an image wallabag can handle. We might get higher image supports using that alternative method.
* CSJeremy Benoist2017-06-011-3/+2
|
* Replace images with &Jeremy Benoist2017-06-011-1/+7
| | | | | | Images with `&` in the path weren’t well replaced because they might be with `&amp;` in the html instead. Replacing `&` with `&amp;` fix the problem.
* Save alpha channel when downloading PNG imagesKevin Decherf2017-03-291-0/+2
| | | | | | Fixes #2805 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Replaced chmod for download pictures featureNicolas Lœuillet2016-12-081-1/+1
|
* CleanupJeremy Benoist2016-11-031-3/+3
|
* Use custom event instead of Doctrine onesJeremy Benoist2016-11-011-33/+51
| | | | This give us ability to use Entry ID to determine where to store images and it’s then more easy to remove them when we remove the entry.
* Add instance url to the downloaded imagesJeremy Benoist2016-10-301-1/+13
|
* Fixing testsJeremy Benoist2016-10-301-8/+13
|
* Use doctrine event to download imagesJeremy Benoist2016-10-301-122/+126
|
* CSJeremy Benoist2016-10-291-36/+41
|
* WorkingThomas Citharel2016-10-291-1/+43
|
* Download pictures successfullyThomas Citharel2016-10-291-0/+147
Needs to rewrite them properly (get base url)