c052c6afca
Database can now be automatically updated
Domovoy
2012-07-24 01:21:02 +02:00
0d631cc08c
hopefully better update handling - never update the current DB version or continue with other updates if there was a failure of any individual update.
friendica
2012-07-23 15:57:40 -07:00
ba76af3488
Forgot a ;
Domovoy
2012-07-22 17:50:58 +02:00
36f600aaf2
Moved compression setup in constructor for Imagick
Domovoy
2012-07-22 17:27:09 +02:00
a3df0d9817
get_FormatsMap doesn't need to be static
Domovoy
2012-07-22 17:09:18 +02:00
62cd4dcb77
Set the type to what it will be saved to in the constructor
Domovoy
2012-07-22 17:07:13 +02:00
7a1f15c8da
Always coalesce, if it is not a multi-frame image it won't hurt anyway
Domovoy
2012-07-22 16:27:22 +02:00
c0d3d50fb5
Don't forget to clean frames before saving
Domovoy
2012-07-22 16:22:06 +02:00
ab484ebc76
getExt should not use Imagick format, mapping ext and mime type is more accurate.
Domovoy
2012-07-22 16:19:35 +02:00
83075c2f27
Set the Imagick image format in the constructor, so we can uset [get|set](image)XXX methods as intended
Domovoy
2012-07-22 16:12:47 +02:00
689e3028bf
Use getImageFormat to know the image format in the constructor. Since we don't load the image with Imagick constructor, we need to use the [get|set]imageXXX methods. We should be able to handle the image as if it was loaded from Imagick constructor, so that we don't get lost between the image and its frames.
Domovoy
2012-07-22 15:24:41 +02:00
0acb983be4
guess_image_type now uses Imagick::getImageMimeType()
Domovoy
2012-07-22 15:17:40 +02:00
5d0bd98d2a
Photo::getType() now uses the accurate Imagick::getImageMimeType()
Domovoy
2012-07-22 14:50:19 +02:00
f723f756fd
Photo::scaleImageSquare was giving an inexistent variable to scaleImage.
Domovoy
2012-07-22 14:22:47 +02:00
863617013c
Access image part of siteinfo only if $siteinfo["images"] is actually set. The current code didn't check this so I was getting an error Warning: Invalid argument supplied for foreach() in /home/vasudev/Public/friendica/mod/parse_url.php on line 305
Vasudev Kamath
2012-07-22 12:41:07 +05:30
717fd8539b
add alt_pager function, add ability to use new pager logic on network, profile, community, and search.
Michael Johnston
2012-07-14 14:21:58 -04:00
8d7d46ae7a
Bugfix: multiple linefeeds were generated when items where written in the editor. The existing fix didn't really work
Michael Vogel
2012-07-14 19:54:27 +02:00
72f430ae58
parse_url: Problem when resizing images
Michael Vogel
2012-07-14 13:59:42 +02:00