aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_functions.inc.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feature 2548 (multiple size): better delete derivatives in add_uploaded_fileplegall2012-01-171-3/+0
| | | | | | | function when performing an update of a photo. git-svn-id: http://piwigo.org/svn/trunk@12907 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 (multiple sizes): adapt the web API method pwg.images.add (usedplegall2012-01-171-137/+154
| | | | | | | | | | | | | 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
* feature 2548 multisize - added a page to build missing derivatives rvelices2012-01-081-31/+117
| | | | | | - 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
* feature 2548 multisize - improved picture.php display (original...) + code ↵rvelices2012-01-051-1/+4
| | | | | | cleanup git-svn-id: http://piwigo.org/svn/trunk@12855 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisizervelices2012-01-031-10/+3
| | | | | | - rewrote local site sync + metadata sync git-svn-id: http://piwigo.org/svn/trunk@12831 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12809 from branch 2.3 to trunkplegall2011-12-301-1/+1
| | | | | | | bug 2543 fixed: the representative_picture_id was missing in the SQL query for pwg.categories.getList git-svn-id: http://piwigo.org/svn/trunk@12810 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2541 multisizervelices2011-12-271-34/+31
| | | | | | | - core implementation + usage on most public/admin pages - still to do: sync process, upload, gui/persistence for size parameters, migration script, center of interest ... git-svn-id: http://piwigo.org/svn/trunk@12796 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2535patdenice2011-12-161-2/+7
| | | | | | Image is not cropped and ressized if requested size is bigger than image size. git-svn-id: http://piwigo.org/svn/trunk@12749 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12738 from branch 2.3 to trunkplegall2011-12-161-1/+11
| | | | | | | | feature 2489 updated: photos added by synchronization can't update their "file" field git-svn-id: http://piwigo.org/svn/trunk@12739 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12729 from branch 2.3 to trunkplegall2011-12-131-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
* merge r12727 from branch 2.3 to trunkplegall2011-12-131-1/+23
| | | | | | | feature 2532 added: pwg.images.add returns image_id (+url) git-svn-id: http://piwigo.org/svn/trunk@12728 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12725 from branch 2.3 to trunkplegall2011-12-131-11/+14
| | | | | | | 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
* merge r12722 from branch 2.3 into trunkplegall2011-12-131-56/+88
| | | | | | | | | | | | | | 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
* feature 2486: Add an admin view for rates by user rvelices2011-11-141-0/+39
| | | | git-svn-id: http://piwigo.org/svn/trunk@12624 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12539 from branch 2.3 to trunkplegall2011-11-041-1/+2
| | | | | | | | | feature 2352: a bug had been introduced by r12537, the piwigo_user_cache_categories.count_categories was missing (the list of albums was not refreshing correctly on the upload form) git-svn-id: http://piwigo.org/svn/trunk@12544 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12537 from branch 2.3 to trunkplegall2011-11-041-0/+189
| | | | | | | | | | | | | | | feature 2352 added: pwg.categories.getList now returns a tn_url parameter. This is the album thumbnail. Warning: if the API method is called with $params['public'], the album thumbnail may be not accurate. The thumbnail can be viewed by the connected user, but maybe not by the guest. Changing the filtering method would be too complicated for now. We will simply avoid to persist the user_representative_picture_id in the database if $params['public'] git-svn-id: http://piwigo.org/svn/trunk@12543 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2441 added: no need to have the HD to regenerate the websize if theplegall2011-09-171-3/+34
| | | | | | | | current websize is bigger than resize settings. When it occurs, we move the current websize as HD and create the new websize from it. git-svn-id: http://piwigo.org/svn/trunk@12175 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2406 added: if the user wants a new album in the upload form, the albumplegall2011-08-171-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* rename #images.average_rate to rating_scorervelices2011-08-021-44/+44
| | | | git-svn-id: http://piwigo.org/svn/trunk@11893 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2384: improve average rating calculation (still need to update ↵rvelices2011-07-251-3/+9
| | | | | | language files) git-svn-id: http://piwigo.org/svn/trunk@11827 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r11755 from branch 2.2 to trunkplegall2011-07-151-0/+4
| | | | | | | feature 2243 added: pwg.session.getStatus returns current date (used for images.date_available field, ie database time) git-svn-id: http://piwigo.org/svn/trunk@11756 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r11745 from branch 2.2 to trunkplegall2011-07-141-0/+72
| | | | | | | 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/+112
| | | | | | | | | | 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 r11152 from branch 2.2 to trunkplegall2011-05-311-15/+39
| | | | | | | | | 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
* merge r11117 from branch 2.2 to trunkplegall2011-05-301-0/+5
| | | | | | | bug 2299 fixed: web API, method pwg.images.addSimple returns a clean error when parameter "image" is missing git-svn-id: http://piwigo.org/svn/trunk@11118 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r11115 from branch 2.2 to trunkplegall2011-05-301-4/+4
| | | | | | | | | | feature 2244 added: web API methods pwg.categories.getImages, pwg.tags.getImages and pwg.images.search now give the date_creation and date_available for each returned photo. git-svn-id: http://piwigo.org/svn/trunk@11116 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2284patdenice2011-05-031-1/+1
| | | | | | Add param library for websize resize web service. git-svn-id: http://piwigo.org/svn/trunk@10747 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2259patdenice2011-04-291-52/+60
| | | | | | 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
* Insert upload form parameters in database during installation.patdenice2011-04-281-1/+0
| | | | | | Remove prepare_upload_configuration function. git-svn-id: http://piwigo.org/svn/trunk@10653 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2284patdenice2011-04-271-8/+13
| | | | | | Create a class to manipulate images. git-svn-id: http://piwigo.org/svn/trunk@10641 68402e56-0260-453c-a942-63ccdbb3a9ee
* Only reset one type of extension.patdenice2011-04-231-5/+12
| | | | git-svn-id: http://piwigo.org/svn/trunk@10596 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2274patdenice2011-04-221-24/+47
| | | | | | 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-3/+5
| | | | | | 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/+37
| | | | | | | | 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/+136
| | | | | | Merge autoupdate plugin into piwigo core. git-svn-id: http://piwigo.org/svn/trunk@10511 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2259patdenice2011-04-171-0/+5
| | | | | | Add "Regenerate Websize Photos" action. git-svn-id: http://piwigo.org/svn/trunk@10454 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2259patdenice2011-04-101-0/+72
| | | | | | Add web service method: pwg.images.resize git-svn-id: http://piwigo.org/svn/trunk@10235 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:1791 update webservices upload methodsmistic1002011-04-081-0/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@10160 68402e56-0260-453c-a942-63ccdbb3a9ee
* ws_getInfos is restricted to adminsmistic1002011-04-051-5/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@10061 68402e56-0260-453c-a942-63ccdbb3a9ee
* add pwg.getInfos method in PWG APImistic1002011-04-031-0/+67
| | | | git-svn-id: http://piwigo.org/svn/trunk@10017 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug fixed: for metadata synchronization, use the same behavior inplegall2011-03-301-0/+13
| | | | | | | | | pwg.images.addSimple as in pwg.images.add, ie the metadata mapping is prioritary compared to values given to the web API methods (author, description, title...) git-svn-id: http://piwigo.org/svn/trunk@9944 68402e56-0260-453c-a942-63ccdbb3a9ee
* ws_getVersion -> add test for admin , sendResponse -> add a trigger for debug wscljosse2011-03-171-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@9742 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2195: webservices f_min_date_available not working rvelices2011-03-081-4/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@9576 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2189 added: ability to update a photo (the JPEG/PNG file) withplegall2011-02-111-13/+34
| | | | | | | 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
* bug 2105 : Browsing tags is slow if tags contains many photos rvelices2011-01-171-52/+33
| | | | git-svn-id: http://piwigo.org/svn/trunk@8726 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2095 added: new column images.added_by (foreign key on users.id)plegall2011-01-041-1/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@8464 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2085 added: new method pwg.themes.performActionplegall2010-12-241-0/+32
| | | | git-svn-id: http://piwigo.org/svn/trunk@8297 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2060: remove adivser mode on web API methods imported from the ↵plegall2010-12-231-4/+4
| | | | | | pwg.images.addSimple plugin git-svn-id: http://piwigo.org/svn/trunk@8274 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2084 added: new method pwg.plugins.getList and pwg.plugins.performActionplegall2010-12-231-0/+75
| | | | git-svn-id: http://piwigo.org/svn/trunk@8273 68402e56-0260-453c-a942-63ccdbb3a9ee