aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-08-30merge r17668 from branch 2.4 to trunkplegall1-2/+2
bug 2733 fixed: when creating a sub-album in a private album with pwg.categories.add, it is automatically private too. git-svn-id: http://piwigo.org/svn/trunk@17669 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-20feature 2657: More options for pwg.categories.add mistic1001-0/+4
git-svn-id: http://piwigo.org/svn/trunk@15850 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-13git-svn-id: http://piwigo.org/svn/trunk@13544 ↵rvelices1-31/+1
68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10feature added: pwg.images.add can perform an update on an existing photo.plegall1-0/+1
git-svn-id: http://piwigo.org/svn/trunk@13090 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17update Piwigo headers to 2012, last change before the expected (or not) ↵mistic1001-1/+1
apocalypse git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17feature 2548 (multiple sizes): adapt the web API method pwg.images.add (usedplegall1-1/+0
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-08feature 2548 multisize - added a page to build missing derivatives rvelices1-3/+22
- 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
2011-12-13merge r12729 from branch 2.3 to trunkplegall1-0/+1
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-13merge r12725 from branch 2.3 to trunkplegall1-0/+1
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-13merge r12722 from branch 2.3 into trunkplegall1-1/+2
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-05merge r12694 from branch 2.3 to trunkplegall1-17/+1
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-11-14feature 2486: Add an admin view for rates by user rvelices1-1/+10
git-svn-id: http://piwigo.org/svn/trunk@12624 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-17feature 2406 added: if the user wants a new album in the upload form, the albumplegall1-0/+1
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-02rename #images.average_rate to rating_scorervelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@11893 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-14merge r11745 from branch 2.2 to trunkplegall1-1/+11
feature 2376 added: new method pwg.categories.setRepresentative git-svn-id: http://piwigo.org/svn/trunk@11746 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14merge r11371 from branch 2.2 to trunkplegall1-0/+11
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-14merge r11365 from branch 2.2 to trunkplegall1-1/+1
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-05-31merge r11152 from branch 2.2 to trunkplegall1-1/+2
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-04-29feature:2259patdenice1-13/+23
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-29feature:2284patdenice1-1/+1
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-27feature:2284patdenice1-0/+2
Create a class to manipulate images. git-svn-id: http://piwigo.org/svn/trunk@10641 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-22feature:2274patdenice1-2/+4
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-21feature:2273patdenice1-1/+3
Add crop functionality to webservice and batch manager. git-svn-id: http://piwigo.org/svn/trunk@10553 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-21feature:2271patdenice1-0/+7
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-20feature:2271patdenice1-0/+27
Merge autoupdate plugin into piwigo core. git-svn-id: http://piwigo.org/svn/trunk@10511 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-19ws method parameters that are required should not have a default valuervelices1-9/+9
git-svn-id: http://piwigo.org/svn/trunk@10502 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-10feature:2259patdenice1-0/+15
Add web service method: pwg.images.resize git-svn-id: http://piwigo.org/svn/trunk@10235 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-03add pwg.getInfos method in PWG APImistic1001-0/+3
git-svn-id: http://piwigo.org/svn/trunk@10017 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-11feature 2189 added: ability to update a photo (the JPEG/PNG file) withplegall1-1/+2
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-01-18Happy new year 2011plegall1-2/+2
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
2010-12-26feature 2085: forgotten file for r8297plegall1-0/+11
git-svn-id: http://piwigo.org/svn/trunk@8309 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23feature 2084 added: new method pwg.plugins.getList and pwg.plugins.performActionplegall1-0/+20
git-svn-id: http://piwigo.org/svn/trunk@8273 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23feature 2082 added: new method pwg.categories.move from the ↵plegall1-0/+11
pwg.images.addSimple plugin git-svn-id: http://piwigo.org/svn/trunk@8272 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23feature 2080 added: add methods pwg.images.delete and pwg.categories.delete fromplegall1-1/+23
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-23feature 2083 added: implement method pwg.images.addSimple in coreplegall1-0/+17
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-05-03bug 1635 fixed: new API method pwg.images.checkUpload tells pLoader if Piwigoplegall1-0/+7
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-03-19increase copyright year to 2010plegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-02-23merge r4953 from branch 2.0 to trunkplegall1-1/+2
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-19merge r4910 from branch 2.0 to trunkplegall1-0/+1
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
2009-12-18merge -r4512 from branch 2.0 to trunkrvelices1-4/+4
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-09merge r4459 from branch 2.0 to trunkplegall1-2/+5
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-07merge r4444 from branch 2.0 to trunkplegall1-0/+1
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-11-22merge r4345 from branch 2.0 to trunkplegall1-1/+12
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-22merge r4344 from branch 2.0 to trunkplegall1-0/+12
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-06-24merge r3453 from branch 2.0 to trunkplegall1-0/+12
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-03-12merge r3192 from branch 2.0 to trunkplegall1-3/+13
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-09fix html warnings. unclosed monotagsnikrou1-4/+4
git-svn-id: http://piwigo.org/svn/trunk@3185 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-08merge r3064 from branch 2.0 to trunkplegall1-0/+1
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-04Administration: happy new year 2009, all PHP headers updated. plegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-03merge r2722 from branch 2.0 to trunkplegall1-0/+21
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