aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Photo.php
Commit message (Collapse)AuthorAgeFilesLines
...
* $data only contains the link to the image if the image is in os storage. The ↵Mario Vavti2018-11-081-1/+2
| | | | size is calculatet wrong in this case and the download fails. rely on filesize from the db for content-length
* Disable image caching if personal or group permissions enabledMax Kostikov2018-11-071-6/+6
|
* Added `If-Modified-Since` header support for better image caching and fixed ↵Max Kostikov2018-11-071-6/+14
| | | | absent 404 for photos
* Revert "remove 'Expiries' HTTP header"Max Kostikov2018-11-071-1/+2
| | | This reverts commit 40d9277ef38ef1200db59cd2f8c6b9e2a80bc332
* remove 'Expiries' HTTP header Max Kostikov2018-11-061-2/+1
|
* Update Photo.phpMax Kostikov2018-11-061-2/+2
|
* Update Photo.phpMax Kostikov2018-11-061-4/+2
|
* Update Photo.phpMax Kostikov2018-11-061-2/+3
|
* 'Last-Modified' and 'Content-Length' HTTP headers added for better image cachingMax Kostikov2018-11-061-9/+18
|
* Update Photo.phpMax Kostikov2018-11-051-1/+1
|
* Use modern get_config() syntaxMax Kostikov2018-11-051-4/+2
|
* wrong default param for pubstream_incl (this checkin also picked up a few ↵zotlabs2018-05-181-2/+3
| | | | minor and hopefully non-significant changes)
* missing includeMario Vavti2018-05-161-0/+1
|
* provide function to fetch photo contents from urlzotlabs2018-05-151-7/+4
|
* we must now provide the full path to the profile image for the cavatar ↵Mario Vavti2018-05-151-6/+6
| | | | plugin to work
* Back in the day there were good reasons for showing a permission denied ↵zotlabs2018-05-061-8/+9
| | | | photo instead of a null img. It distinguished a 403 from a 404 in an unmistakable way. What we've discovered is that nothing that is gained from this knowledge and it mostly just annoys and confuses people who can't really do anything about it except to express their annoyance/confusion. So just do a 403/404 instead.
* parent folder permissions weren't being checked back to the cloud root ↵zotlabs2018-04-301-49/+21
| | | | directory in all cases
* errorzotlabs2017-05-081-1/+1
|
* cleanup of last checkinzotlabs2017-05-071-2/+4
|
* cover photo was unintentionally disabled when block_public in effectzotlabs2017-05-071-3/+4
|
* add get_photo hook to go along with get_profile_photo hook. This allows a ↵zotlabs2016-10-171-11/+12
| | | | plugin to over-ride the permissions for cover photos or insert a different photo in place of that requested
* more backquotes - this should take care of most except for the array import ↵zotlabs2016-10-091-1/+1
| | | | queries
* fix wrong array key for profile photo resloutionMario Vavti2016-09-281-1/+1
|
* make the fetching of the default profile photo hookable, and document the hookredmatrix2016-09-271-17/+31
|
* only check permissions on normal photos and force cover photos as well as ↵redmatrix2016-08-301-0/+9
| | | | profile photos to be public. As a side effect 'thing' photos will also be considered public.
* stream large photos through buffered I/O if possibleredmatrix2016-06-291-3/+27
|
* db statement debuggingredmatrix2016-06-221-2/+2
|
* the rest of the schema updates - WARNING: some third party plugins may fail; ↵redmatrix2016-06-011-9/+9
| | | | 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.
* module updatesredmatrix2016-04-181-0/+250