Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor photo_driver to use namespaces. | Klaus Weidenbach | 2019-02-14 | 3 | -833/+12 |
| | | | | Add simple UnitTest, but it is not yet very meaningful. | ||||
* | Clean up and documentation in photo_drive. | Klaus Weidenbach | 2019-02-14 | 1 | -242/+271 |
| | |||||
* | missing closing parenthesis | Mario Vavti | 2019-01-03 | 1 | -1/+1 |
| | |||||
* | fix content type check | Mario Vavti | 2019-01-03 | 1 | -5/+8 |
| | |||||
* | Revert "Merge branch 'check_content_type' into 'dev'" | Max Kostikov | 2019-01-03 | 1 | -7/+4 |
| | | | This reverts merge request !1453 | ||||
* | check suppported type if we get content type from header | Mario Vavti | 2019-01-02 | 1 | -4/+7 |
| | |||||
* | return on readImageBlob() exception | Mario Vavti | 2018-12-11 | 1 | -0/+1 |
| | |||||
* | catch exception if readImageBlob() receives bogus data | Mario Vavti | 2018-12-03 | 1 | -3/+7 |
| | | | (cherry picked from commit 443d7684dbe8c1c3540df5aeb719403d67789747) | ||||
* | Add Expires field support | Max Kostikov | 2018-12-03 | 1 | -11/+16 |
| | |||||
* | Add flag to allow to save image without validation | Max Kostikov | 2018-12-02 | 1 | -2/+2 |
| | |||||
* | strlen($this->imageString()) does not return the correct size when dealing ↵ | Mario Vavti | 2018-11-16 | 1 | -2/+2 |
| | | | | | with os_storage images. use filesize() instead. (cherry picked from commit afc75af62f759181bbe6a806b523c6ca52126f5f) | ||||
* | Update photo_driver.php | Max Kostikov | 2018-11-10 | 1 | -1/+1 |
| | |||||
* | Fixed wrong value assign on compare with 0 | Max Kostikov | 2018-11-10 | 1 | -1/+1 |
| | |||||
* | Preserve received image modification date on caching | Max Kostikov | 2018-11-09 | 1 | -11/+16 |
| | |||||
* | remove image type double guess by checking HTTP headers | Max Kostikov | 2018-11-08 | 1 | -23/+7 |
| | |||||
* | Return image modification date using HTTP 'Last-Modified' and '304 Not ↵ | Max Kostikov | 2018-11-08 | 1 | -115/+159 |
| | | | | Modified' on remote fetch for caching | ||||
* | imagemagick preserves exif when scaling. GD does not. We do not want to ↵ | zotlabs | 2018-04-22 | 3 | -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; ↵ | zotlabs | 2018-03-14 | 1 | -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 ↵ | zotlabs | 2018-03-13 | 1 | -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 ↵ | zotlabs | 2017-11-21 | 1 | -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 mode | zotlabs | 2017-11-19 | 1 | -47/+62 |
| | |||||
* | sort out a few more large image upload issues | zotlabs | 2017-11-14 | 1 | -4/+12 |
| | |||||
* | ensure we have an observer hash | zotlabs | 2017-10-03 | 1 | -1/+1 |
| | |||||
* | hubzilla issue #868 | zotlabs | 2017-10-03 | 1 | -0/+21 |
| | |||||
* | provide default photo mimetype | zotlabs | 2017-09-20 | 1 | -0/+1 |
| | |||||
* | provide a hook for importing a channel photo at channel creation time | zotlabs | 2017-09-14 | 1 | -0/+30 |
| | |||||
* | some doco fixes and other real minor stuff to improve logreading ability | zotlabs | 2017-08-09 | 1 | -2/+2 |
| | |||||
* | guess_image_type - ignore scheme when checking for urls | zotlabs | 2017-06-25 | 1 | -1/+1 |
| | |||||
* | mastodon reshares can be either posts or comments; silence warning from ↵ | zotlabs | 2017-06-25 | 1 | -1/+11 |
| | | | | guess_image_type when handed a URL to a non-existent resource. | ||||
* | whitespace | zotlabs | 2017-06-05 | 1 | -3/+5 |
| | |||||
* | cleanup only | zotlabs | 2017-05-31 | 1 | -3/+2 |
| | |||||
* | photo size-0 issue | zotlabs | 2017-04-07 | 1 | -0/+1 |
| | |||||
* | add os_path and display_path to photos, fix some issues with multiple path ↵ | zotlabs | 2017-03-14 | 1 | -86/+2 |
| | | | | separators after cloud/nickname in the content field of attach and photos | ||||
* | do not choke if photo_factory() returns null | Mario Vavti | 2017-01-15 | 1 | -1/+3 |
| | |||||
* | correct encoding | zotlabs | 2016-10-23 | 1 | -2/+2 |
| | |||||
* | remove the rest of the backticks from sql queries; replace with TQUOT const ↵ | zotlabs | 2016-10-12 | 1 | -50/+50 |
| | | | | which is driver dependent | ||||
* | issue #526 | redmatrix | 2016-09-22 | 1 | -2/+9 |
| | |||||
* | issue #519 | redmatrix | 2016-09-20 | 1 | -2/+5 |
| | |||||
* | the rest of the schema updates - WARNING: some third party plugins may fail; ↵ | redmatrix | 2016-06-01 | 1 | -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. | ||||
* | code cleanup | redmatrix | 2016-05-24 | 1 | -5/+1 |
| | |||||
* | deprecate $a->get_baseurl() | redmatrix | 2016-03-30 | 1 | -6/+6 |
| | |||||
* | some initial work on uploading and cropping cover photos | redmatrix | 2016-01-13 | 3 | -0/+38 |
| | |||||
* | issue #154 | redmatrix | 2015-11-12 | 1 | -0/+11 |
| | |||||
* | make sure we only have one profile photo for a cloned channel | Mario Vavti | 2015-11-01 | 1 | -1/+6 |
| | |||||
* | fix photo item for search_item.tpl and a minor css fix | Mario Vavti | 2015-10-30 | 1 | -1/+1 |
| | |||||
* | move it up | Mario Vavti | 2015-10-29 | 1 | -1/+1 |
| | |||||
* | possibly better fox for profil photo image type issue | Mario Vavti | 2015-10-29 | 1 | -5/+1 |
| | |||||
* | re-enable pathinfo() check and try with getimagesize() if we have not got a ↵ | Mario Vavti | 2015-10-28 | 1 | -3/+2 |
| | | | | result | ||||
* | pathinfo() does not work in this case. getimagesize() seems more reliabel. ↵ | Mario Vavti | 2015-10-28 | 1 | -0/+8 |
| | | | | this fixes transparent png avatars having a black background. | ||||
* | import_xchan_photo: check the return headers to ensure it's an image ↵ | redmatrix | 2015-09-26 | 1 | -45/+63 |
| | | | | content-type of some form as imagick chucks a wobbly if you try to initialise an image with an html error page. |