aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_functions.inc.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* happy new year 2016, all headers updatedplegall2016-01-141-1/+1
|
* feature 3221 Add Logger classmistic1002015-04-241-19/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@31102 68402e56-0260-453c-a942-63ccdbb3a9ee
* Update headers to 2014. Happy new year!!mistic1002014-01-051-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
* splits ws_functions.inc.php in 8 files + comments + code cleaningmistic1002013-11-011-3773/+10
| | | | git-svn-id: http://piwigo.org/svn/trunk@25281 68402e56-0260-453c-a942-63ccdbb3a9ee
* syntax error fixedplegall2013-11-011-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@25276 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2976: add three methods for permissions managementmistic1002013-10-301-0/+206
| | | | git-svn-id: http://piwigo.org/svn/trunk@25245 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1668, user manager redesign: ability to add a new user (call to ↵plegall2013-10-301-1/+18
| | | | | | | | | pwg.users.add through AJAX) Move the "send connection settings" code to function register_user (avoid code duplication). git-svn-id: http://piwigo.org/svn/trunk@25237 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2976: add 'display' parameter for pwg.users.getListmistic1002013-10-281-10/+69
| | | | git-svn-id: http://piwigo.org/svn/trunk@25196 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2976: new options for pwg.users.setInfo + user_id can be an arraymistic1002013-10-281-45/+145
| | | | git-svn-id: http://piwigo.org/svn/trunk@25195 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2976: can change user status and levelmistic1002013-10-241-4/+36
| | | | | | | fix saving problem of groups.is_default value use WS_PARAM_OPTIONAL when possible (TODO: use for old methods) git-svn-id: http://piwigo.org/svn/trunk@25118 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2976: API methods for users and groups managementmistic1002013-10-241-4/+464
| | | | | | TODO : methods to manage albums permissions git-svn-id: http://piwigo.org/svn/trunk@25117 68402e56-0260-453c-a942-63ccdbb3a9ee
* two new options for API methods : 'admin_only' and 'post_only'mistic1002013-10-241-188/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@25115 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2982 API: add high-level type checkmistic1002013-10-221-200/+88
| | | | | | | | introduces some constants fro bool, int, float, positive and notnull parameters types are tested in PwgServer::invoke and no in each method + some optimizations + update methods descriptions git-svn-id: http://piwigo.org/svn/trunk@25077 68402e56-0260-453c-a942-63ccdbb3a9ee
* replace some mass_updates/inserts by single_update/insertmistic1002013-10-191-29/+18
| | | | git-svn-id: http://piwigo.org/svn/trunk@25019 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove all array_push (50% slower than []) + some changes missing for ↵mistic1002013-10-191-31/+23
| | | | | | feature:2978 git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2978: remove useless sprintf in the coremistic1002013-10-191-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r23059 from branch 2.5 to trunkplegall2013-06-051-0/+1
| | | | | | | | | | bug 2917 fixed: invalidate user cache each time pwg.images.delete is called, to avoid blocking errors on gallery side if deleted photo is set as album thumbnail. git-svn-id: http://piwigo.org/svn/trunk@23060 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2900: Improve web service output rvelices2013-05-181-167/+136
| | | | git-svn-id: http://piwigo.org/svn/trunk@22729 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r22301 from branch 2.5 to trunkplegall2013-04-191-1/+11
| | | | | | | | | bug 2892 fixed: no more error when tag_ids input parameter is empty (but provided) on pwg.images.setInfo. git-svn-id: http://piwigo.org/svn/trunk@22302 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix unquoted string + better image sql filterrvelices2013-03-231-5/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@21799 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2846: pwg.images.search sql error when called with f_* parameters rvelices2013-02-241-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@20999 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2845flop252013-02-181-4/+15
| | | | | | added 'tags' as potential array for pwg.images.addSimple git-svn-id: http://piwigo.org/svn/trunk@20814 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2845flop252013-02-131-2/+2
| | | | | | | use of \ to escape the comma "a, b\, 1" will give Array ( [0] => a [1] => b, 1 ) whatever the number of \ git-svn-id: http://piwigo.org/svn/trunk@20741 68402e56-0260-453c-a942-63ccdbb3a9ee
* update Piwigo headers to 2013 (the end of the world didn't occur as ↵plegall2013-01-011-1/+1
| | | | | | expected on r12922) git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
* add page_url (canonical picture url) for web service methods images.search, ↵rvelices2012-10-241-1/+7
| | | | | | tags.getImages, images.getInfo, categories.getImages git-svn-id: http://piwigo.org/svn/trunk@18732 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2725: Piwigo isn't compatible with suPHP + better handling of watermark ↵rvelices2012-08-301-18/+2
| | | | | | upload errors git-svn-id: http://piwigo.org/svn/trunk@17675 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r17668 from branch 2.4 to trunkplegall2012-08-301-29/+20
| | | | | | | | | 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
* small fix on element_url returned from web service calls (now coherent with ↵rvelices2012-08-071-6/+9
| | | | | | picture.php) git-svn-id: http://piwigo.org/svn/trunk@17469 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r17016 from branch 2.4 to trunkplegall2012-07-251-0/+6
| | | | | | | | bug 2706 fixed: pwg.getMissingDerivatives correctly manages galleries with not a single photo. git-svn-id: http://piwigo.org/svn/trunk@17017 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2657: previous commit may work, but badly codedmistic1002012-06-201-5/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@15852 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2657: make sure admins can access the new category (see r11727)mistic1002012-06-201-0/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@15851 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2657: More options for pwg.categories.add mistic1002012-06-201-0/+27
| | | | git-svn-id: http://piwigo.org/svn/trunk@15850 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r15585 from branch 2.3 to trunkplegall2012-06-071-1/+1
| | | | | | | | | | bug 2648 fixed: pwg.categories.getList, avoid to throw an error when representative_picture_id is missing for an album, which makes parsing the JSON output impossible. git-svn-id: http://piwigo.org/svn/trunk@15586 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2615 php notice in calendar amd web servicervelices2012-04-141-1/+1
| | | | | | multisize improve handling of cases where the original is smaller than a requested derivative, but rotation/watermarking is required git-svn-id: http://piwigo.org/svn/trunk@14143 68402e56-0260-453c-a942-63ccdbb3a9ee
* git-svn-id: http://piwigo.org/svn/trunk@13544 ↵rvelices2012-03-131-151/+4
| | | | 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature added: pwg.images.add can perform an update on an existing photo.plegall2012-02-101-1/+19
| | | | git-svn-id: http://piwigo.org/svn/trunk@13090 68402e56-0260-453c-a942-63ccdbb3a9ee
* - remove square/thumb from choices on picture rvelices2012-02-091-3/+33
| | | | | | | | | - fix content margin on password register - purge derivative cache by type of derivative - session saved infos/messages are not given to the page on html redirections - shorter/faster code in functions_xxx git-svn-id: http://piwigo.org/svn/trunk@13074 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove obsolete function add_fileplegall2012-01-311-60/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@13003 68402e56-0260-453c-a942-63ccdbb3a9ee
* update Piwigo headers to 2012, last change before the expected (or not) ↵mistic1002012-01-171-1/+1
| | | | | | apocalypse git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
* 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