plegall 17dd6ed3ae merge r4444 from branch 2.0 to trunk
feature 1312 added: pwg.images.setInfo can replace multiple values propreties
(tags/categories). The primary condition is to provide "tag_ids" and/or
"categories" input parameters, ie pwg.images.set won't create emptiness. You
can reduce the set of tags/categories but not remove all tags/categories.

bug 1277 fixed: with a stronger algorithm for adding/replacing categories, we
now avoid to recreate an existing image_category association.

When a remote client calls pwg.images.setInfo, Piwigo returns an error 500 if:
1. the "categories" parameter is malformed (no numeric id inside)
2. one of the input categories does not exist at database level.


git-svn-id: http://piwigo.org/svn/trunk@4445 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-07 22:30:02 +00:00
2009-12-04 18:59:05 +00:00
2009-02-12 23:20:40 +00:00
2009-12-02 20:27:06 +00:00
2009-11-20 14:17:04 +00:00
2009-07-04 21:26:42 +00:00
2009-11-29 12:35:19 +00:00
2009-03-05 21:08:04 +00:00
2009-12-04 18:59:05 +00:00
2009-11-20 14:17:04 +00:00
2009-11-20 14:17:04 +00:00
2009-11-20 14:17:04 +00:00
2009-11-20 14:17:04 +00:00
2009-11-29 12:35:19 +00:00
2009-11-20 14:17:04 +00:00
2009-11-20 14:17:04 +00:00
2009-02-14 02:24:10 +00:00
2009-11-29 12:35:19 +00:00
2009-11-29 12:35:19 +00:00
2009-11-20 14:17:04 +00:00
2009-12-07 22:30:02 +00:00
Languages
PHP 74.4%
HTML 9.7%
JavaScript 7.3%
Go Template 4.7%
CSS 3.3%
Other 0.5%