Commit graph

382 commits

Author SHA1 Message Date
patdenice
491e8adc74 feature:2271
Merge autoupdate plugin into piwigo core.

git-svn-id: http://piwigo.org/svn/trunk@10511 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-20 14:52:52 +00:00
plegall
cb2b12b3a6 merge r10425 from branch 2.2 to trunk
bug 2242 fixed: default theme is changed if upgrade.php deactivated the previous theme.



git-svn-id: http://piwigo.org/svn/trunk@10426 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-16 17:41:41 +00:00
patdenice
8ae1f19fc5 round is better than ceil for resizing pictures.
git-svn-id: http://piwigo.org/svn/trunk@10383 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-15 13:10:58 +00:00
patdenice
b5592c8228 feature:2260
Keep only two states for plugins (active and inactive)

git-svn-id: http://piwigo.org/svn/trunk@10293 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-11 10:30:56 +00:00
mistic100
797ddead2a bug:1791 display hd dimensions instead of websize dimensions
git-svn-id: http://piwigo.org/svn/trunk@10157 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-08 09:09:13 +00:00
patdenice
a1071794d9 feature:2250
Remove useless query for delete.

git-svn-id: http://piwigo.org/svn/trunk@10129 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-07 09:42:13 +00:00
patdenice
49dd77f05b feature:2250
Add expire parameter.
Clean code.

git-svn-id: http://piwigo.org/svn/trunk@10128 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-07 09:11:11 +00:00
patdenice
0ab5e51a15 bug:2251
Bug corrected for fcbkcomplete

git-svn-id: http://piwigo.org/svn/trunk@10110 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-06 15:17:09 +00:00
patdenice
0dd800150b feature:2250
Incompatible plugins and obsolete plugins may not be activated.

git-svn-id: http://piwigo.org/svn/trunk@10098 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-06 09:43:46 +00:00
patdenice
33697fcf58 feature:2239
Support GIF format in the upload form (only in GD)

git-svn-id: http://piwigo.org/svn/trunk@9952 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-31 14:26:16 +00:00
plegall
4f058c1c72 change the way Piwigo checks Imagick availability to make it easier to call ImageMagick with exec() in a plugin
git-svn-id: http://piwigo.org/svn/trunk@9844 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-24 13:11:25 +00:00
plegall
59b87ac06b bug 2218: deactivate non core themes after upgrade
git-svn-id: http://piwigo.org/svn/trunk@9597 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-10 10:50:11 +00:00
patdenice
8b64b57a27 feature:2114
Simplify all admin templates.

git-svn-id: http://piwigo.org/svn/trunk@9586 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-09 14:22:48 +00:00
patdenice
99634e035b bug:2213
Default language must be set to guest AND default user 

git-svn-id: http://piwigo.org/svn/trunk@9549 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-06 08:58:33 +00:00
patdenice
47809c86df feature:2210
Update language from piwigo.org extension repository

git-svn-id: http://piwigo.org/svn/trunk@9520 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-04 11:35:38 +00:00
patdenice
2e44cc79de feature:2210
Improve language management.

git-svn-id: http://piwigo.org/svn/trunk@9518 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-04 10:41:36 +00:00
patdenice
9802ddaa10 Add themes autmatic update functionality.
git-svn-id: http://piwigo.org/svn/trunk@9472 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-02 09:33:58 +00:00
plegall
e79538be5c feature 2189 added: ability to update a photo (the JPEG/PNG file) with
pwg.images.addSimple, simply by adding an $image_id as argument.


git-svn-id: http://piwigo.org/svn/trunk@9191 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-11 22:57:23 +00:00
plegall
1dc5c7ccfd bug 270 fixed: (yes "270", submitted in 2006), time (hour:minute:second) added
in the date_creation field and in the synchronization from EXIF metadata.


git-svn-id: http://piwigo.org/svn/trunk@9073 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-03 08:18:38 +00:00
plegall
a27421cca1 no need to check the availability of a GD function in the ImageMagick resize algorithm
git-svn-id: http://piwigo.org/svn/trunk@9022 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-31 22:43:41 +00:00
plegall
aae2301da9 bug 2164 fixed: disable automatic rotation if we can't read EXIF data
git-svn-id: http://piwigo.org/svn/trunk@9021 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-31 22:40:58 +00:00
plegall
92fe29daa7 merge r8966 from branch 2.1 to trunk
bug 2142 fixed: make sure you cannot move a category into itself



git-svn-id: http://piwigo.org/svn/trunk@8967 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-28 22:56:32 +00:00
plegall
dff8596f66 bug 2119 fixed: no crash when calling pwg.categories.delete on an empty album
git-svn-id: http://piwigo.org/svn/trunk@8848 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-23 00:10:29 +00:00
plegall
dfb0b9d1fa bug 937 fixed: makes sure a user won't see the thumbnail of a photo that has a
higher privacy level than user privacy level.

For an acceptable solution at performance level, I have implemented a cache:
for a given user, each album has a representative_picture_id. This cache also
avoids to perform numerous "order by rand()" SQL queries which is the case
when $conf['allow_random_representative'] = true;


git-svn-id: http://piwigo.org/svn/trunk@8802 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-20 13:32:34 +00:00
plegall
714219f490 feature 2040: to finish the "automatic rotation" feature, I had configuration
setting. I choose to have it in the configuration file and not in the web
interface because it is a bit too technical and useful only in very specific
cases (when buggy software performed a rotation before without updating the
EXIF "orientation" tag)


git-svn-id: http://piwigo.org/svn/trunk@8763 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-19 14:00:38 +00:00
plegall
1b7781c866 feature 1289 added: easy "delete orphan tags" function. On the "tags"
administration page, a warning message is displayed if you have at least
one orphan tag + direct action to delete them.


git-svn-id: http://piwigo.org/svn/trunk@8762 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-19 13:19:16 +00:00
plegall
69ce218575 bug fixed: no more categories.uploadable column when creating a new category
split the admin/photos_add_direct.php script into
admin/include/photos_add_direct_prepare.php (prepare the upload form)
+ admin/include/photos_add_direct_process.inc.php (process the submitted form)
: it makes the upload form backend easier to reuse in the future Community
plugin.


git-svn-id: http://piwigo.org/svn/trunk@8734 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 14:03:00 +00:00
plegall
6db359c622 Happy new year 2011
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery"


git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 00:02:52 +00:00
plegall
fe569ab1bf feature 2108 added: user upload removed from core. It will come back as a
"new generation" user upload in the Community plugin.


git-svn-id: http://piwigo.org/svn/trunk@8651 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-13 15:24:18 +00:00
plegall
b4d2a1362f feature 2095 added: new column images.added_by (foreign key on users.id)
git-svn-id: http://piwigo.org/svn/trunk@8464 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-04 10:55:08 +00:00
plegall
38aad287eb feature 2089: finish removing element_set, now it's time for batch_manager
git-svn-id: http://piwigo.org/svn/trunk@8417 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-31 15:19:11 +00:00
plegall
877a4e6e2e feature 2081 added: ability to choose what to do with photos when deleting an
album : no_delete, delete_orphans, force_delete. Backend only.


git-svn-id: http://piwigo.org/svn/trunk@8265 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 20:48:28 +00:00
plegall
c266feea0b simpler code, useless to convert value twice
git-svn-id: http://piwigo.org/svn/trunk@8253 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 14:14:40 +00:00
plegall
16371ed5fd feature 2083 added: implement method pwg.images.addSimple in core
makes admin/include/function_upload.inc.php not dependant from include/ws_functions.inc.php (moves functions file_path_for_type and ready_for_upload_message)

cleaner method to initialize the upload settings


git-svn-id: http://piwigo.org/svn/trunk@8249 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 10:22:51 +00:00
rvelices
732eb6bfba removed unused files / code / css; shorter code
git-svn-id: http://piwigo.org/svn/trunk@8247 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 05:22:19 +00:00
plegall
088801add4 feature 2048 removed (and was never released): no data are sent anonymously to piwigo.org for statistics purpose
git-svn-id: http://piwigo.org/svn/trunk@8238 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-22 21:57:50 +00:00
plegall
902c8f1927 feature 2077 added: when ImageMagick is active, ability to remove or resize
the high definition version of the photo.


git-svn-id: http://piwigo.org/svn/trunk@8227 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-22 15:15:35 +00:00
plegall
709515bccd feature 2076 added: automatically use ImageMagick (imagick) instead of GD if
Imagick extension is available. ImageMagick does not strip EXIF/IPTC metadata
from "web size" version of the photo.

We force remove EXIF/IPTC from the thumbnails to save space and bandwith.


git-svn-id: http://piwigo.org/svn/trunk@8219 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-21 21:55:04 +00:00
patdenice
731f8888a4 feature 2060: Remove adviser mode.
First commit: only php files.

git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 13:47:24 +00:00
patdenice
bf1aa6fcf1 merge r8124 from branch 2.1 to trunk
feature 2048: remove urlencode for technicals details (already escaped with http_build_query).

git-svn-id: http://piwigo.org/svn/trunk@8125 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 13:04:33 +00:00
patdenice
4448b8db7f merge r8089 from branch 2.1 to trunk
feature 2057: use http_build_query instead of add_url_params for GET data.

git-svn-id: http://piwigo.org/svn/trunk@8090 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-12 10:16:12 +00:00
patdenice
1b5260522e feature 2048: send technical details only to get_version_list.php of PEM API.
git-svn-id: http://piwigo.org/svn/trunk@8084 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 21:20:12 +00:00
patdenice
ea64e421cb feature 2057: use $get_data parameter to send GET data.
git-svn-id: http://piwigo.org/svn/trunk@8083 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 21:08:43 +00:00
patdenice
4ae512231a feature 2048: add $conf['send_hosting_technical_details'] parameter
git-svn-id: http://piwigo.org/svn/trunk@8082 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 20:09:18 +00:00
patdenice
2a741321ba Use POST to send server data
git-svn-id: http://piwigo.org/svn/trunk@8080 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 20:01:35 +00:00
patdenice
914045aad4 feature 2057: fetchRemote can send POST data
git-svn-id: http://piwigo.org/svn/trunk@8079 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 19:50:05 +00:00
patdenice
fd456db99a Feature 2048: send piwigo version
git-svn-id: http://piwigo.org/svn/trunk@8022 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-07 13:22:14 +00:00
patdenice
41c4a947b2 Feature 2048: Send data to piwigo server anonymously (like php and mysql versions)
git-svn-id: http://piwigo.org/svn/trunk@8020 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-07 12:37:37 +00:00
plegall
73b83574b9 feature 2040 added: automatic rotation of the photo based on EXIF Orientation.
The code could have been shorter but this one 1) checks the resize dimension
with the rotation in mind 2) rotates the photo once resized to reduce memory
used.


git-svn-id: http://piwigo.org/svn/trunk@7868 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-24 12:45:16 +00:00
ddtddt
64125a60d4 [trunk] merge 7723 - nl_NL - add subscribe for NL to newsletter
git-svn-id: http://piwigo.org/svn/trunk@7724 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-09 08:13:53 +00:00