aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Helper/DownloadImages.php
Commit message (Collapse)AuthorAgeFilesLines
* Update depsJeremy Benoist2019-11-121-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also CS (because cs-fixer got an update) Package operations: 0 installs, 26 updates, 0 removals - Updating twig/twig (v2.12.1 => v2.12.2) - Updating symfony/symfony (v3.4.33 => v3.4.34) - Updating doctrine/event-manager (v1.0.0 => 1.1.0) - Updating doctrine/collections (v1.6.2 => 1.6.3) - Updating doctrine/cache (v1.8.1 => 1.9.0) - Updating doctrine/persistence (1.1.1 => 1.2.0) - Updating doctrine/inflector (v1.3.0 => 1.3.1) - Updating symfony/mime (v4.3.5 => v4.3.7) - Updating swiftmailer/swiftmailer (v6.2.1 => v6.2.3) - Updating symfony/swiftmailer-bundle (v3.3.0 => v3.3.1) - Updating doctrine/dbal (v2.9.2 => v2.9.3) - Updating doctrine/instantiator (1.2.0 => 1.3.0) - Updating j0k3r/graby-site-config (1.0.93 => 1.0.94) - Updating phpoption/phpoption (1.5.0 => 1.5.2) - Updating symfony/http-client-contracts (v1.1.7 => v1.1.8) - Updating symfony/http-client (v4.3.5 => v4.3.7) - Updating sensiolabs/security-checker (v6.0.2 => v6.0.3) - Updating paragonie/constant_time_encoding (v2.2.3 => v2.3.0) - Updating scheb/two-factor-bundle (v4.7.1 => v4.8.0) - Updating symfony/phpunit-bridge (v4.3.6 => v4.3.7) - Updating composer/xdebug-handler (1.3.3 => 1.4.0) - Updating friendsofphp/php-cs-fixer (v2.15.3 => v2.16.0) - Updating doctrine/data-fixtures (v1.3.2 => 1.3.3) - Updating nette/schema (v1.0.0 => v1.0.1) - Updating nikic/php-parser (v4.2.4 => v4.3.0) - Updating sentry/sentry (2.2.2 => 2.2.4)
* Drop SimplePieJeremy Benoist2019-05-291-16/+15
| | | | | It was only used to make an absolute url when downloading images. The deps is still there (in the `composer.lock`) because Graby use it (not for absolute but for encoding).
* CSJeremy Benoist2019-05-281-1/+1
|
* Use httplugadev2019-05-281-8/+13
|
* Set first picture as preview picturenicofrand2019-05-211-8/+21
|
* Fallback to default solution if Imagick failsJeremy Benoist2019-05-101-4/+9
|
* Use Imagick to keep GIF animationJeremy Benoist2019-05-101-1/+10
| | | | | If Imagick is available, GIF will be saved using it to keep animation. Otherwise the previous method will be used and the animation won't be kept.
* 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)