aboutsummaryrefslogtreecommitdiffstats
path: root/include/photo
Commit message (Collapse)AuthorAgeFilesLines
* handle imagick readImageBlob() exceptionMario2024-03-011-1/+8
|
* fix php warningMario2023-04-161-1/+1
|
* fix php warningsMario2022-10-201-0/+1
|
* php8: warning fixesMario2022-09-141-5/+12
|
* php8: fix warningsMario2022-09-111-0/+8
|
* add an optional force flag to actor_store()Mario2021-08-301-1/+0
|
* Revalidate imported profile photo on each request (patch provided by Max)Mario2021-03-241-1/+2
|
* get devHilmar R2021-03-011-52/+64
|
* Implement Imagemagick resources consumption limitingMax Kostikov2020-12-301-0/+4
| | | (cherry picked from commit 36d89d02e13ed856de6bace89bfbed05205005db)
* Support remote host cache directives on profile photo fetchingMax Kostikov2020-09-131-41/+85
|
* Add .webp image format supportMax Kostikov2019-12-071-0/+2
|
* Refactor photo_driver to use namespaces.Klaus Weidenbach2019-02-143-833/+12
| | | | Add simple UnitTest, but it is not yet very meaningful.
* Clean up and documentation in photo_drive.Klaus Weidenbach2019-02-141-242/+271
|
* missing closing parenthesisMario Vavti2019-01-031-1/+1
|
* fix content type checkMario Vavti2019-01-031-5/+8
|
* Revert "Merge branch 'check_content_type' into 'dev'"Max Kostikov2019-01-031-7/+4
| | | This reverts merge request !1453
* check suppported type if we get content type from headerMario Vavti2019-01-021-4/+7
|
* return on readImageBlob() exceptionMario Vavti2018-12-111-0/+1
|
* catch exception if readImageBlob() receives bogus dataMario Vavti2018-12-031-3/+7
| | | (cherry picked from commit 443d7684dbe8c1c3540df5aeb719403d67789747)
* Add Expires field supportMax Kostikov2018-12-031-11/+16
|
* Add flag to allow to save image without validationMax Kostikov2018-12-021-2/+2
|
* strlen($this->imageString()) does not return the correct size when dealing ↵Mario Vavti2018-11-161-2/+2
| | | | | with os_storage images. use filesize() instead. (cherry picked from commit afc75af62f759181bbe6a806b523c6ca52126f5f)
* Update photo_driver.phpMax Kostikov2018-11-101-1/+1
|
* Fixed wrong value assign on compare with 0Max Kostikov2018-11-101-1/+1
|
* Preserve received image modification date on cachingMax Kostikov2018-11-091-11/+16
|
* remove image type double guess by checking HTTP headersMax Kostikov2018-11-081-23/+7
|
* Return image modification date using HTTP 'Last-Modified' and '304 Not ↵Max Kostikov2018-11-081-115/+159
| | | | Modified' on remote fetch for caching
* imagemagick preserves exif when scaling. GD does not. We do not want to ↵zotlabs2018-04-223-0/+19
| | | | preserve exif on thumbnails which we have rotated, as a browser reading the exif information could rotate them yet again. This checkin adds an abstract function to the generic photo driver which makes the behaviour consistent by stripping EXIF from imagick processed images. However, we will attempt to preserve any ICC colour profiles. See http://php.net/manual/en/imagick.stripimage.php
* use original exif_read_data() parameters which were lost in a regression; ↵zotlabs2018-03-141-1/+1
| | | | unset automatic nsfw category generated for Mastodon content warning posts, as people use CW as a spoiler mechanism 99% of the time and flagging inappropriate content 1% of the time.
* somewhere along the line the output of exif_read_data() changed and it no ↵zotlabs2018-03-131-2/+2
| | | | longer provides populated sections. Adjust for the new format and allow for the old because I cannot find documentation of this change anywhere. This affects photo rotation and the photo map feature.
* allow toggle to 'SMBC' scaling mode. 'SMBC' mode is named thusly for ↵zotlabs2017-11-211-3/+10
| | | | Saturday Morning Breakfast Cereal cartoons which are very tall. If you scale the image to constrain both dimensions, the cartoon text is illegible. So we allow the height to float and only constrain the width. The new flag allows you to overide this mode and force both dimensions to always be evaluated and constrained to the provided limit.
* text thumbnails in cloud tile modezotlabs2017-11-191-47/+62
|
* sort out a few more large image upload issueszotlabs2017-11-141-4/+12
|
* ensure we have an observer hashzotlabs2017-10-031-1/+1
|
* hubzilla issue #868zotlabs2017-10-031-0/+21
|
* provide default photo mimetypezotlabs2017-09-201-0/+1
|
* provide a hook for importing a channel photo at channel creation timezotlabs2017-09-141-0/+30
|
* some doco fixes and other real minor stuff to improve logreading abilityzotlabs2017-08-091-2/+2
|
* guess_image_type - ignore scheme when checking for urlszotlabs2017-06-251-1/+1
|
* mastodon reshares can be either posts or comments; silence warning from ↵zotlabs2017-06-251-1/+11
| | | | guess_image_type when handed a URL to a non-existent resource.
* whitespacezotlabs2017-06-051-3/+5
|
* cleanup onlyzotlabs2017-05-311-3/+2
|
* photo size-0 issuezotlabs2017-04-071-0/+1
|
* add os_path and display_path to photos, fix some issues with multiple path ↵zotlabs2017-03-141-86/+2
| | | | separators after cloud/nickname in the content field of attach and photos
* do not choke if photo_factory() returns nullMario Vavti2017-01-151-1/+3
|
* correct encodingzotlabs2016-10-231-2/+2
|
* remove the rest of the backticks from sql queries; replace with TQUOT const ↵zotlabs2016-10-121-50/+50
| | | | which is driver dependent
* issue #526redmatrix2016-09-221-2/+9
|
* issue #519redmatrix2016-09-201-2/+5
|
* the rest of the schema updates - WARNING: some third party plugins may fail; ↵redmatrix2016-06-011-25/+25
| | | | e.g. embedphotos and chess. $item['object'] is now $item['obj'] and $photo['type'] is $photo['mimetype'], $photo['scale'] is $photo['imgscale'] and $photo['data'] is now $photo['content']. There are a number of other changes, but these are the ones noted to cause issues with third-party plugins. The project plugins have been updated. Please note any new issues as this effort touched a lot of code in a lot of files.