Commit graph

33 commits

Author SHA1 Message Date
nobody
ad3f33d69f php8 stuff 2021-03-08 17:51:41 -08:00
nobody
f9bf9547f5 code consolidation: as_return_and_die() function created to handle signing ActivityStreams output in a number of places 2020-11-16 21:39:49 -08:00
zotlabs
86a6eaa9d3 we probably are not using AS fetches to /photo at present, but clean up the actor representation anyway from the old way of doing it 2020-03-24 19:09:47 -07:00
zotlabs
e227d46e5a wrong time format specifier 2019-11-08 12:16:29 -08:00
zotlabs
553a818d1f add signed date header for pixelfed who seem to have not yet have learned that distributed date/time checking is a can of worms which will only cause them grief in the long run. Let's help them learn. 2019-11-03 15:07:49 -08:00
zotlabs
93fe2eba52 activitypub default enable 2019-10-26 15:53:43 -07:00
zotlabs
fda87e35bb latest security work 2019-10-15 20:16:25 -07:00
zotlabs
08f57092e2 cleanup, prepare for ocap private media, improve format of group relay posts 2019-10-15 16:41:54 -07:00
DM42.Net Zap Dev
085eefc3a0 Add rev to profile photos / make s-maxcache dependent upon max-cache 2019-10-14 15:26:12 -04:00
zotlabs
29a4777452 cleanup 2019-10-13 20:30:12 -07:00
M. Dent
524b2948ea Tweaks to image caching to compensate for infrastructure caches. 2019-10-14 02:56:02 +02:00
zotlabs
ffc43e1c7d heavy lifting for the next big development effort 2019-09-09 21:03:33 -07:00
zotlabs
e9f5edbd28 missing local AS context in a couple of places 2019-05-12 22:29:16 -07:00
zotlabs
89af6ee5ff port photo lib updates 2019-04-15 23:43:06 -07:00
zotlabs
7e3c8e46e7 turn photos into proper AS objects (still need to fix the places where they were turned into Note for short-term compatibility) 2018-10-28 20:39:01 -07:00
zotlabs
dae89ce91c wrong default param for pubstream_incl (this checkin also picked up a few minor and hopefully non-significant changes) 2018-05-18 16:57:45 -07:00
Mario Vavti
12c571a187 missing include 2018-05-16 10:47:18 +02:00
zotlabs
aac5fd96cc provide function to fetch photo contents from url 2018-05-15 16:51:04 -07:00
Mario Vavti
de63e40a70 we must now provide the full path to the profile image for the cavatar plugin to work 2018-05-15 10:20:20 +02:00
zotlabs
83c18f4d4a Back in the day there were good reasons for showing a permission denied 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. 2018-05-06 16:12:06 -07:00
zotlabs
32423a7706 parent folder permissions weren't being checked back to the cloud root directory in all cases 2018-04-30 22:30:59 -07:00
zotlabs
2e531c103f error 2017-05-08 02:00:00 -07:00
zotlabs
1a05939e0b cleanup of last checkin 2017-05-07 18:05:29 -07:00
zotlabs
acb8e85b61 cover photo was unintentionally disabled when block_public in effect 2017-05-07 17:25:38 -07:00
zotlabs
17091bd38c add get_photo hook to go along with get_profile_photo hook. This allows a plugin to over-ride the permissions for cover photos or insert a different photo in place of that requested 2016-10-17 22:09:41 -07:00
zotlabs
e7233c0c94 more backquotes - this should take care of most except for the array import queries 2016-10-09 16:31:04 -07:00
Mario Vavti
f0e8c9ead9 fix wrong array key for profile photo resloution 2016-09-28 11:13:30 +02:00
redmatrix
eff2e6c795 make the fetching of the default profile photo hookable, and document the hook 2016-09-27 18:11:04 -07:00
redmatrix
bf3a409569 only check permissions on normal photos and force cover photos as well as profile photos to be public. As a side effect 'thing' photos will also be considered public. 2016-08-30 20:54:54 -07:00
redmatrix
2e93a09d83 stream large photos through buffered I/O if possible 2016-06-29 17:31:48 -07:00
redmatrix
1267d995ef db statement debugging 2016-06-22 19:08:59 -07:00
redmatrix
a9d7acda27 the rest of the schema updates - WARNING: some third party plugins may fail; 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. 2016-06-01 21:48:54 -07:00
redmatrix
2a4e8972e0 module updates 2016-04-18 20:38:38 -07:00