aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rename #images.average_rate to rating_scorervelices2011-08-021-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@11893 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r11745 from branch 2.2 to trunkplegall2011-07-141-1/+11
| | | | | | | feature 2376 added: new method pwg.categories.setRepresentative git-svn-id: http://piwigo.org/svn/trunk@11746 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r11371 from branch 2.2 to trunkplegall2011-06-141-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
* merge r11365 from branch 2.2 to trunkplegall2011-06-141-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
* merge r11152 from branch 2.2 to trunkplegall2011-05-311-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
* feature:2259patdenice2011-04-291-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
* feature:2284patdenice2011-04-291-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
* feature:2284patdenice2011-04-271-0/+2
| | | | | | Create a class to manipulate images. git-svn-id: http://piwigo.org/svn/trunk@10641 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2274patdenice2011-04-221-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
* feature:2273patdenice2011-04-211-1/+3
| | | | | | Add crop functionality to webservice and batch manager. git-svn-id: http://piwigo.org/svn/trunk@10553 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2271patdenice2011-04-211-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
* feature:2271patdenice2011-04-201-0/+27
| | | | | | Merge autoupdate plugin into piwigo core. git-svn-id: http://piwigo.org/svn/trunk@10511 68402e56-0260-453c-a942-63ccdbb3a9ee
* ws method parameters that are required should not have a default valuervelices2011-04-191-9/+9
| | | | git-svn-id: http://piwigo.org/svn/trunk@10502 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2259patdenice2011-04-101-0/+15
| | | | | | Add web service method: pwg.images.resize git-svn-id: http://piwigo.org/svn/trunk@10235 68402e56-0260-453c-a942-63ccdbb3a9ee
* add pwg.getInfos method in PWG APImistic1002011-04-031-0/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@10017 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2189 added: ability to update a photo (the JPEG/PNG file) withplegall2011-02-111-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
* Happy new year 2011plegall2011-01-181-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
* feature 2085: forgotten file for r8297plegall2010-12-261-0/+11
| | | | git-svn-id: http://piwigo.org/svn/trunk@8309 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2084 added: new method pwg.plugins.getList and pwg.plugins.performActionplegall2010-12-231-0/+20
| | | | git-svn-id: http://piwigo.org/svn/trunk@8273 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2082 added: new method pwg.categories.move from the ↵plegall2010-12-231-0/+11
| | | | | | pwg.images.addSimple plugin git-svn-id: http://piwigo.org/svn/trunk@8272 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2080 added: add methods pwg.images.delete and pwg.categories.delete fromplegall2010-12-231-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
* feature 2083 added: implement method pwg.images.addSimple in coreplegall2010-12-231-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
* bug 1635 fixed: new API method pwg.images.checkUpload tells pLoader if Piwigoplegall2010-05-031-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
* increase copyright year to 2010plegall2010-03-191-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4953 from branch 2.0 to trunkplegall2010-02-231-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
* merge r4910 from branch 2.0 to trunkplegall2010-02-191-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
* merge -r4512 from branch 2.0 to trunkrvelices2009-12-181-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
* merge r4459 from branch 2.0 to trunkplegall2009-12-091-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
* merge r4444 from branch 2.0 to trunkplegall2009-12-071-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
* merge r4345 from branch 2.0 to trunkplegall2009-11-221-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
* merge r4344 from branch 2.0 to trunkplegall2009-11-221-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
* merge r3453 from branch 2.0 to trunkplegall2009-06-241-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
* merge r3192 from branch 2.0 to trunkplegall2009-03-121-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
* fix html warnings. unclosed monotagsnikrou2009-03-091-4/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@3185 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3064 from branch 2.0 to trunkplegall2009-01-081-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
* Administration: happy new year 2009, all PHP headers updated. plegall2009-01-041-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r2722 from branch 2.0 to trunkplegall2008-12-031-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
* feature 889 added: pwg.images.exist check the existence of a photo in theplegall2008-10-071-0/+9
| | | | | | | 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
* feature 885 added: pwg.images.add web API method now supports additionalplegall2008-10-051-0/+2
| | | | | | | high resolution format. git-svn-id: http://piwigo.org/svn/trunk@2670 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 874 added: new Web API method pwg.tags.add.plegall2008-10-011-0/+9
| | | | git-svn-id: http://piwigo.org/svn/trunk@2634 68402e56-0260-453c-a942-63ccdbb3a9ee
* new: WebService method pwg.tags.getAdminList was added. The difference withplegall2008-09-241-0/+7
| | | | | | | | pwg.tags.getList is that this new method doesn't take permissions into account, and so is available only for administrator connected users. git-svn-id: http://piwigo.org/svn/trunk@2584 68402e56-0260-453c-a942-63ccdbb3a9ee
* new: WebService method pwg.categories.add so that pLoader can create aplegall2008-09-241-0/+10
| | | | | | | virtual category. git-svn-id: http://piwigo.org/svn/trunk@2583 68402e56-0260-453c-a942-63ccdbb3a9ee
* improvement: WebService method pwg.images.add can set fill #images tableplegall2008-09-221-8/+16
| | | | | | | | | columns. rank is directly related to a category and several categories can be linked at once. Basic technical metadata {filesize, width, height} are automaticaly filled. git-svn-id: http://piwigo.org/svn/trunk@2569 68402e56-0260-453c-a942-63ccdbb3a9ee
* new: webservice method pwg.categories.getAdminList was added so that pLoaderplegall2008-09-211-0/+7
| | | | | | | | can see the list of categories as you can see in the administration interface : not filtered by individual permissions. git-svn-id: http://piwigo.org/svn/trunk@2563 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature added: ability to set rank from webservice upload.plegall2008-09-111-1/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@2520 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove ws access table/partners functionalityrvelices2008-09-111-6/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@2516 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 839, first step : early proof of concept, no error handling. Aplegall2008-07-301-5/+23
| | | | | | | | | | | | | remote client can add a photo in a category thanks to the web API. A new "upload" directory is created (write access required on the base directory). Uploaded photo have path such as upload/<year>/<month>/<day>/<datetime>-random.jpg. The thumbnail must come with the "web sized" photo. The photo has no storage_category_id. Bugs still need to be fixed and a discussion must occur before next steps. git-svn-id: http://piwigo.org/svn/trunk@2463 68402e56-0260-453c-a942-63ccdbb3a9ee
* - image rating on picture page done through ajax (tested safari/ie 6&7/ff)rvelices2008-07-151-3/+10
| | | | git-svn-id: http://piwigo.org/svn/trunk@2435 68402e56-0260-453c-a942-63ccdbb3a9ee
* - add to caddie on picture page done through ajaxrvelices2008-07-121-0/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@2429 68402e56-0260-453c-a942-63ccdbb3a9ee
* - first use of web services as Ajax: change the privacy level directly from ↵rvelices2008-07-021-0/+6
| | | | | | the picture page git-svn-id: http://piwigo.org/svn/trunk@2413 68402e56-0260-453c-a942-63ccdbb3a9ee