aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-12-18web method images.setPrivacyLevel (ws_images_setPrivacyLevel) is POST onlyrvelices1-4/+4
git-svn-id: http://piwigo.org/svn/branches/2.0@4512 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-09feature 1316 added: we now have the ability to only fill the single valueplegall1-2/+5
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/branches/2.0@4459 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-07feature 1312 added: pwg.images.setInfo can replace multiple values propretiesplegall1-0/+1
(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/branches/2.0@4444 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-22feature 1051: ability to add/update a file for an existing photo. For example,plegall1-1/+12
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/branches/2.0@4345 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-22feature 1051: new API method pwg.images.checkFiles. This method will be usefulplegall1-0/+12
before asking for an update on photo files. Enhancement in code factorization. git-svn-id: http://piwigo.org/svn/branches/2.0@4344 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-24feature 1033 added: new API method pwg.categories.setInfo makes possible toplegall1-0/+12
change the name and comment of a given category. git-svn-id: http://piwigo.org/svn/branches/2.0@3453 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-12bug 941 fixed: to be able to upload heavy photo, chunk the files, send partsplegall1-3/+13
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/branches/2.0@3192 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-08bug 912 fixed: we need an extra original_sum to pwg.images.add API method toplegall1-0/+1
check photo existence. Using the file_sum was a bad idea. git-svn-id: http://piwigo.org/svn/branches/2.0@3064 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/branches/2.0@3046 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-11feature 892 added: pwg.images.setInfo added so that once we have discoveredplegall1-0/+21
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/branches/2.0@2722 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-07feature 889 added: pwg.images.exist check the existence of a photo in theplegall1-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
2008-10-05feature 885 added: pwg.images.add web API method now supports additionalplegall1-0/+2
high resolution format. git-svn-id: http://piwigo.org/svn/trunk@2670 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-01feature 874 added: new Web API method pwg.tags.add.plegall1-0/+9
git-svn-id: http://piwigo.org/svn/trunk@2634 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-24new: WebService method pwg.tags.getAdminList was added. The difference withplegall1-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
2008-09-24new: WebService method pwg.categories.add so that pLoader can create aplegall1-0/+10
virtual category. git-svn-id: http://piwigo.org/svn/trunk@2583 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-22improvement: WebService method pwg.images.add can set fill #images tableplegall1-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
2008-09-21new: webservice method pwg.categories.getAdminList was added so that pLoaderplegall1-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
2008-09-11feature added: ability to set rank from webservice upload.plegall1-1/+2
git-svn-id: http://piwigo.org/svn/trunk@2520 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-11remove ws access table/partners functionalityrvelices1-6/+1
git-svn-id: http://piwigo.org/svn/trunk@2516 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-07-30feature 839, first step : early proof of concept, no error handling. Aplegall1-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
2008-07-15- image rating on picture page done through ajax (tested safari/ie 6&7/ff)rvelices1-3/+10
git-svn-id: http://piwigo.org/svn/trunk@2435 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-07-12- add to caddie on picture page done through ajaxrvelices1-0/+6
git-svn-id: http://piwigo.org/svn/trunk@2429 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-07-02- first use of web services as Ajax: change the privacy level directly from ↵rvelices1-0/+6
the picture page git-svn-id: http://piwigo.org/svn/trunk@2413 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-02Resolved issue 0000823: Enhance upload functionalitiesrub1-1/+1
First commit, others will be follow. Not hesitate to change my translations. Add upload configuration tabsheet (move and add configuration) Change and add define for access level Can show upload link every time Can restrict access upload.class.php Can choice category on upload page Add upload class not use for the moment Review quickly and temporary style of upload.tpl git-svn-id: http://piwigo.org/svn/trunk@2325 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-05Bug fixed: as rvelices notified me by email, my header replacement script wasplegall1-23/+0
bugged (r2297 was repeating new and old header). By the way, I've also removed the replacement keywords. We were using them because it was a common usage with CVS but it is advised not to use them with Subversion. Personnaly, it is a problem when I search differences between 2 Piwigo installations outside Subversion. git-svn-id: http://piwigo.org/svn/trunk@2299 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-04Modification: new header on PHP files, PhpWebGallery renamed Piwigo.plegall1-0/+21
git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-05Resolved issue 0000697: with generic user a author name is necessary to ↵rub1-1/+1
comment picture. + Change way to determinate if user is a guest (use functions like is_admin) git-svn-id: http://piwigo.org/svn/trunk@2029 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-22 o Proposition: improved display of 'x images in y sub-categories' or 'x ↵rub1-0/+1
images in this category' for cases when categories contain both images and sub-categories o Good idea of this new way for way conf['guest_access'], but I kept last implementation for access methods (Could be useful on future development) git-svn-id: http://piwigo.org/svn/trunk@1851 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-22- user comments are not saved in the database with htmlspecialchars anymorervelices1-3/+18
- web service: added the possibility to enter a user comment using the service... - new comment functions from picture_comment.inc.php git-svn-id: http://piwigo.org/svn/trunk@1849 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-19web service: added method to query search elementsrvelices1-0/+21
picture: small correction on my last commit monthly calendar nice view: always use getimagesize instead of guessing the size query search: improved results (filename is searched separately) and sometimes less sql queries than before git-svn-id: http://piwigo.org/svn/trunk@1837 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-06web services:rvelices1-2/+8
- respect conf['allow_web_services'] - added conf['ws_max_images_per_page'] to limit the number of images returned per web call - fixes for Vincent's partners - added comments git-svn-id: http://piwigo.org/svn/trunk@1781 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-29web services: give vincent the calling partner idrvelices1-1/+12
git-svn-id: http://piwigo.org/svn/trunk@1768 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-24- plugins with own independent scripts work now (cookie_path and url root arervelices1-5/+5
correct) - prepare a bit some url functions so that later we can fully embed pwg in scripts located outside pwg - remove some unnecessary language strings git-svn-id: http://piwigo.org/svn/trunk@1750 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-06Web service first version.rvelices1-0/+183
git-svn-id: http://piwigo.org/svn/trunk@1698 68402e56-0260-453c-a942-63ccdbb3a9ee