Commit graph

71 commits

Author SHA1 Message Date
plegall
2bfedaea5c feature added: pwg.images.add can perform an update on an existing photo.
git-svn-id: http://piwigo.org/svn/trunk@13090 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10 23:48:55 +00:00
mistic100
112d730f3a update Piwigo headers to 2012, last change before the expected (or not) apocalypse
git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 22:48:36 +00:00
plegall
f7421e5789 feature 2548 (multiple sizes): adapt the web API method pwg.images.add (used
by pLoader, Digikam, Lightroom, iPhoto), pwg.images.checkFiles (pLoader only).

The "resize" parameter was removed for pwg.images.add since this behavior
becomes the default behavior in Piwigo 2.4.

Just like pwg.images.addSimple, pwg.images.add now uses the add_uploaded_file
function (next step is to merge pwg.images.add and pwg.images.addSimple)


git-svn-id: http://piwigo.org/svn/trunk@12906 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 00:11:14 +00:00
rvelices
225b45f2b8 feature 2548 multisize - added a page to build missing derivatives
- browser driven, chained ws calls to retrieve urls, visual feedback of progress through slideshow

git-svn-id: http://piwigo.org/svn/trunk@12865 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-08 19:25:52 +00:00
plegall
5bdba6b0bc merge r12729 from branch 2.3 to trunk
feature 2489 added: ability to update "file" info in pwg.images.setInfo


git-svn-id: http://piwigo.org/svn/trunk@12730 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-13 15:21:36 +00:00
plegall
5338ef80ef merge r12725 from branch 2.3 to trunk
feature 2533 added: ability to deactivate uniqueness check on pwg.images.add


git-svn-id: http://piwigo.org/svn/trunk@12726 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-13 14:42:54 +00:00
plegall
4bc17c2e40 merge r12722 from branch 2.3 into trunk
merge r12723 from branch 2.3 into trunk

feature 2531 added: pwg.images.add is able to generate web size + thumbnail
(remote client needs to set "resize" option to something else than 0). When
the "resize" is On, only the "file" must be send with pwg.images.addChunk.

Small improvement compared to code implemented in branch 2.3 : use of
single_insert when resize is Off, single algorithm to update $info_colums (resize On/Off)


git-svn-id: http://piwigo.org/svn/trunk@12724 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-13 14:01:10 +00:00
plegall
cdf47f824c merge r12694 from branch 2.3 to trunk
bug 2529 fixed: Piwigo API can only handle the "rest" requestFormat.
If we try to search for another request format the only result is an
"Unknown request format" error for the client. This error happens when
always_populate_raw_post_data is On (which is not the default Apache
setting).



git-svn-id: http://piwigo.org/svn/trunk@12695 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-05 09:09:55 +00:00
rvelices
2f87684e09 feature 2486: Add an admin view for rates by user
git-svn-id: http://piwigo.org/svn/trunk@12624 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-14 20:10:37 +00:00
plegall
64ba898944 feature 2406 added: if the user wants a new album in the upload form, the album
is created before the start of the upload. The ergonomy is now simpler, the
page is smaller and cleaner.

bug 2373 fixed: now that album is created before upload, uploadify.php gets the
category_id and the level: as soon as it is uploaded (function add_uploaded_file)
the photo gets its final privacy level and is directly associated to the album.
This way, we can have an error on a photo without making orphan all photos of
the same upload group.

feature 2405 added: as soon as a photo is uploaded, its thumbnail is displayed
in the "Uploaded Photos" fieldset, without waiting for other photos to be
uploaded. The latest photos comes first.

I have slighlty changed the integration of colorbox in core. Now we have 2
styles available and by default, we use style2 (overlay in black, title and
control icons outside the popup). It is also used for zooming on bulk manager
in unit mode.

display change: on each uploading photos, instead of showing the transfer
speed, we display the transfer progression in %

bug fixed: the color of the "Start Upload" button was not correct because the
button was not a submit button but a simple type=button.

language: "Upload" button becomes "Start Upload" button.


git-svn-id: http://piwigo.org/svn/trunk@11962 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-17 19:56:07 +00:00
rvelices
86ae4d8b3a rename #images.average_rate to rating_score
git-svn-id: http://piwigo.org/svn/trunk@11893 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-02 19:20:50 +00:00
plegall
0431669642 merge r11745 from branch 2.2 to trunk
feature 2376 added: new method pwg.categories.setRepresentative


git-svn-id: http://piwigo.org/svn/trunk@11746 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-14 21:44:14 +00:00
plegall
d11eb3a6be merge r11371 from branch 2.2 to trunk
bug 2345 fixed: ability to update the rank of a photo for an existing
category. I haven't modified pwg.images.setInfo, I've just added a new
method pwg.images.setRank which does this very specific job.



git-svn-id: http://piwigo.org/svn/trunk@11372 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14 13:54:05 +00:00
plegall
cb25d20be5 merge r11365 from branch 2.2 to trunk
bug 2343 fixed: pwg.images.setInfo, the "level" should not be mandatory. If
the caller doesn't send this property, the level is unchanged.



git-svn-id: http://piwigo.org/svn/trunk@11366 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14 12:07:32 +00:00
plegall
257808402b merge r11152 from branch 2.2 to trunk
feature 1622 added: pwg.categories.getList is now able to return a tree with
the new "tree_output" option. Only compatible with json/php output formats.



git-svn-id: http://piwigo.org/svn/trunk@11155 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-31 20:25:40 +00:00
patdenice
0db141fc62 feature:2259
Create two different methods in webservice to create/regenerate thumbnail and to regenerate websize.

git-svn-id: http://piwigo.org/svn/trunk@10686 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-29 17:38:59 +00:00
patdenice
90825d08ea feature:2284
Rename $conf['image_library'] into $conf['graphics_library']
Display library used in admin intro page.

git-svn-id: http://piwigo.org/svn/trunk@10684 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-29 17:10:00 +00:00
patdenice
d95ddb7c61 feature:2284
Create a class to manipulate images.

git-svn-id: http://piwigo.org/svn/trunk@10641 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-27 17:03:25 +00:00
patdenice
10ff3f2f06 feature:2274
pwg.images.resize method is able to create or regenerate image from image path. 

git-svn-id: http://piwigo.org/svn/trunk@10563 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-22 11:34:57 +00:00
patdenice
17a04fcd39 feature:2273
Add crop functionality to webservice and batch manager.

git-svn-id: http://piwigo.org/svn/trunk@10553 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-21 22:35:16 +00:00
patdenice
f5ef4fddd7 feature:2271
Add pwg.extensions.checkUpdates method to webservices.
Add a warning message on intro page if update is availble for piwigo or extensions.
Add an "Ignore All" button on extensions update page.

git-svn-id: http://piwigo.org/svn/trunk@10538 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-21 15:12:38 +00:00
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
rvelices
9b0677ec33 ws method parameters that are required should not have a default value
git-svn-id: http://piwigo.org/svn/trunk@10502 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-19 20:06:39 +00:00
patdenice
89803639ac feature:2259
Add web service method: pwg.images.resize

git-svn-id: http://piwigo.org/svn/trunk@10235 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-10 08:59:02 +00:00
mistic100
53dc1f5460 add pwg.getInfos method in PWG API
git-svn-id: http://piwigo.org/svn/trunk@10017 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-03 12:36:32 +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
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
9ec33d9ab9 feature 2085: forgotten file for r8297
git-svn-id: http://piwigo.org/svn/trunk@8309 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-26 22:52:35 +00:00
plegall
ae5438fbce feature 2084 added: new method pwg.plugins.getList and pwg.plugins.performAction
git-svn-id: http://piwigo.org/svn/trunk@8273 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 23:12:03 +00:00
plegall
c1d517c285 feature 2082 added: new method pwg.categories.move from the pwg.images.addSimple plugin
git-svn-id: http://piwigo.org/svn/trunk@8272 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 22:41:28 +00:00
plegall
130c83652e feature 2080 added: add methods pwg.images.delete and pwg.categories.delete from
pwg.images.addSimple plugin. pwg.categories.delete implements the new
photo_deletion_mode (see feature:2081) and set it to "delete_orphans" by default.


git-svn-id: http://piwigo.org/svn/trunk@8266 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23 20:51:33 +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
plegall
2de8344c97 bug 1635 fixed: new API method pwg.images.checkUpload tells pLoader if Piwigo
is ready for upload (currently, it checks write access on the upload directory)

git-svn-id: http://piwigo.org/svn/trunk@6049 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03 09:09:40 +00:00
plegall
86ad1d5b49 increase copyright year to 2010
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 22:37:10 +00:00
plegall
570c905556 merge r4953 from branch 2.0 to trunk
feature 1453 added: ability to check for uniqueness on filename. No change on
the default behavior: uniqueness is set on md5sum.


git-svn-id: http://piwigo.org/svn/trunk@4954 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-02-23 14:41:45 +00:00
plegall
6ba826eb32 merge r4910 from branch 2.0 to trunk
feature 967: optionnaly transmit the original filename to pwg.images.add. When
transmitted, it fills the images.file column.


git-svn-id: http://piwigo.org/svn/trunk@4911 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-02-19 09:20:11 +00:00
rvelices
8c051ea526 merge -r4512 from branch 2.0 to trunk
web method images.setPrivacyLevel (ws_images_setPrivacyLevel) is POST only

git-svn-id: http://piwigo.org/svn/trunk@4513 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-18 21:12:41 +00:00
plegall
57db55318a merge r4459 from branch 2.0 to trunk
feature 1316 added: we now have the ability to only fill the single value
properties that are currently empty in the database instead of automatically
replacing.

feature 1312: as a matter of consistency, I have changed the replace_mode
(that was only for multiple values properties) into multiple_value_mode +
single_value_mode.


git-svn-id: http://piwigo.org/svn/trunk@4460 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-09 22:19:06 +00:00
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
plegall
f974668ef5 merge r4345 from branch 2.0 to trunk
feature 1051: ability to add/update a file for an existing photo. For example,
you can add the "high" later. Another example is to update the "web resized"
file (new dimensions is a common example). It also works for thumbnails.
Updating an existing file has no impact on the logical level (list of tags,
list of categories, title, description and so on).


git-svn-id: http://piwigo.org/svn/trunk@4348 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-22 23:59:14 +00:00
plegall
858b43e87a merge r4344 from branch 2.0 to trunk
feature 1051: new API method pwg.images.checkFiles. This method will be useful
before asking for an update on photo files.

Enhancement in code factorization.


git-svn-id: http://piwigo.org/svn/trunk@4347 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-22 23:58:44 +00:00
plegall
9b16d67c22 merge r3453 from branch 2.0 to trunk
feature 1033 added: new API method pwg.categories.setInfo makes possible to
change the name and comment of a given category.


git-svn-id: http://piwigo.org/svn/trunk@3454 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-24 23:01:35 +00:00
plegall
f94ff8b8e1 merge r3192 from branch 2.0 to trunk
bug 941 fixed: to be able to upload heavy photo, chunk the files, send parts
one by one, and then pwg.images.add merge chunks together. Now big uploads
works and you can even have a fine progress bar on client side.


git-svn-id: http://piwigo.org/svn/trunk@3193 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-12 23:14:50 +00:00
nikrou
bea3462f56 fix html warnings. unclosed monotags
git-svn-id: http://piwigo.org/svn/trunk@3185 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-09 19:41:45 +00:00
plegall
83275fd036 merge r3064 from branch 2.0 to trunk
bug 912 fixed: we need an extra original_sum to pwg.images.add API method to
check photo existence. Using the file_sum was a bad idea.


git-svn-id: http://piwigo.org/svn/trunk@3065 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-08 23:33:35 +00:00
plegall
1b711ad236 Administration: happy new year 2009, all PHP headers updated.
git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-04 23:28:36 +00:00
plegall
4fc7acc18b merge r2722 from branch 2.0 to trunk
feature 892 added: pwg.images.setInfo added so that once we have discovered
the photo was already in the database (thanks to pwg.images.exist), we can
only set the photo metadata.


git-svn-id: http://piwigo.org/svn/trunk@2919 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-03 22:55:17 +00:00
plegall
3eecf04629 feature 889 added: pwg.images.exist check the existence of a photo in the
database based on its md5sum. (avoid failing on pwg.images.add).


git-svn-id: http://piwigo.org/svn/trunk@2683 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-07 22:01:14 +00:00
plegall
b53cddbf6a feature 885 added: pwg.images.add web API method now supports additional
high resolution format.


git-svn-id: http://piwigo.org/svn/trunk@2670 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-05 21:22:57 +00:00
plegall
600e2d87ec feature 874 added: new Web API method pwg.tags.add.
git-svn-id: http://piwigo.org/svn/trunk@2634 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-01 21:08:51 +00:00