aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feature 2616: HTML5 upload (with plupload 2.1.2). First basic ↵plegall2014-05-271-0/+24
| | | | | | | | | | | implementation. Needs customization. Chunked upload + Drag & drop (no more Flash) use a new specific API method pwg.images.upload git-svn-id: http://piwigo.org/svn/trunk@28545 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r27810 from branch 2.6 to trunkplegall2014-03-171-0/+7
| | | | | | | | | | bug 3055: add security pwg_token on API methods introduced in Piwigo 2.6 (pwg.groups.addUser, pwg.groups.deleteUser, pwg.groups.setInfo, pwg.users.add, pwg.users.setInfo, pwg.permissions.add, pwg.permissions.remove) git-svn-id: http://piwigo.org/svn/trunk@27811 68402e56-0260-453c-a942-63ccdbb3a9ee
* admin rating improvementsrvelices2014-01-171-0/+1
| | | | | | | | - use web service for deletion - use datatables for rating by user - use fontello icons git-svn-id: http://piwigo.org/svn/trunk@26837 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
* feature 2976: ability to set group association with pwg.users.setInfoplegall2013-11-131-1/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@25474 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2976: improve lisiblity of pwg.users.getList options on APi explore ↵mistic1002013-11-131-4/+10
| | | | | | + optimizations (remove in_array()) git-svn-id: http://piwigo.org/svn/trunk@25472 68402e56-0260-453c-a942-63ccdbb3a9ee
* Improve display on ws.htmmistic1002013-11-081-41/+41
| | | | git-svn-id: http://piwigo.org/svn/trunk@25394 68402e56-0260-453c-a942-63ccdbb3a9ee
* post_only for ws admin write methods without token (avoid XSRF)rvelices2013-11-071-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@25382 68402e56-0260-453c-a942-63ccdbb3a9ee
* splits ws_functions.inc.php in 8 files + comments + code cleaningmistic1002013-11-011-56/+71
| | | | git-svn-id: http://piwigo.org/svn/trunk@25281 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2982: pwg.categories.add parent parameter can be 0mistic1002013-10-311-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@25264 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2976: correct description of pwg.permissions.getListmistic1002013-10-301-3/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@25246 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2976: add three methods for permissions managementmistic1002013-10-301-0/+52
| | | | 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-0/+2
| | | | | | | | | 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-2/+5
| | | | 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-11/+28
| | | | git-svn-id: http://piwigo.org/svn/trunk@25195 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2976: can change user status and levelmistic1002013-10-241-15/+16
| | | | | | | 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-3/+160
| | | | | | 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-30/+90
| | | | git-svn-id: http://piwigo.org/svn/trunk@25115 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2982 API: add high-level type checkmistic1002013-10-221-181/+236
| | | | | | | | 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
* completely rewrite the indentation of ws.php, no technical changesmistic1002013-02-181-41/+129
| | | | git-svn-id: http://piwigo.org/svn/trunk@20817 68402e56-0260-453c-a942-63ccdbb3a9ee
* completely rewrite the indentation of ws.php, no technical changesmistic1002013-02-181-434/+376
| | | | git-svn-id: http://piwigo.org/svn/trunk@20815 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2845flop252013-02-181-1/+1
| | | | | | added 'tags' as potential array for pwg.images.addSimple git-svn-id: http://piwigo.org/svn/trunk@20814 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
* merge r17668 from branch 2.4 to trunkplegall2012-08-301-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
* feature 2657: More options for pwg.categories.add mistic1002012-06-201-0/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@15850 68402e56-0260-453c-a942-63ccdbb3a9ee
* git-svn-id: http://piwigo.org/svn/trunk@13544 ↵rvelices2012-03-131-31/+1
| | | | 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature added: pwg.images.add can perform an update on an existing photo.plegall2012-02-101-0/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@13090 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 sizes): adapt the web API method pwg.images.add (usedplegall2012-01-171-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
* feature 2548 multisize - added a page to build missing derivatives rvelices2012-01-081-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
* 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 r12725 from branch 2.3 to trunkplegall2011-12-131-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
* merge r12722 from branch 2.3 into trunkplegall2011-12-131-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
* merge r12694 from branch 2.3 to trunkplegall2011-12-051-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
* feature 2486: Add an admin view for rates by user rvelices2011-11-141-1/+10
| | | | git-svn-id: http://piwigo.org/svn/trunk@12624 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2406 added: if the user wants a new album in the upload form, the albumplegall2011-08-171-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
* 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