aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-23add IN_WS constant in ws.phpmistic1001-0/+1
git-svn-id: http://piwigo.org/svn/trunk@29250 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-27feature 2616: HTML5 upload (with plupload 2.1.2). First basic ↵plegall1-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
2014-03-17merge r27810 from branch 2.6 to trunkplegall1-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
2014-01-17admin rating improvementsrvelices1-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
2014-01-05Update headers to 2014. Happy new year!!mistic1001-1/+1
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-13feature 2976: ability to set group association with pwg.users.setInfoplegall1-1/+3
git-svn-id: http://piwigo.org/svn/trunk@25474 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-13feature 2976: improve lisiblity of pwg.users.getList options on APi explore ↵mistic1001-4/+10
+ optimizations (remove in_array()) git-svn-id: http://piwigo.org/svn/trunk@25472 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-08Improve display on ws.htmmistic1001-41/+41
git-svn-id: http://piwigo.org/svn/trunk@25394 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-07post_only for ws admin write methods without token (avoid XSRF)rvelices1-2/+2
git-svn-id: http://piwigo.org/svn/trunk@25382 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-01splits ws_functions.inc.php in 8 files + comments + code cleaningmistic1001-56/+71
git-svn-id: http://piwigo.org/svn/trunk@25281 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-31bug 2982: pwg.categories.add parent parameter can be 0mistic1001-1/+1
git-svn-id: http://piwigo.org/svn/trunk@25264 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-30feature 2976: correct description of pwg.permissions.getListmistic1001-3/+2
git-svn-id: http://piwigo.org/svn/trunk@25246 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-30feature 2976: add three methods for permissions managementmistic1001-0/+52
git-svn-id: http://piwigo.org/svn/trunk@25245 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-30feature 1668, user manager redesign: ability to add a new user (call to ↵plegall1-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
2013-10-28feature 2976: add 'display' parameter for pwg.users.getListmistic1001-2/+5
git-svn-id: http://piwigo.org/svn/trunk@25196 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-28feature 2976: new options for pwg.users.setInfo + user_id can be an arraymistic1001-11/+28
git-svn-id: http://piwigo.org/svn/trunk@25195 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24feature 2976: can change user status and levelmistic1001-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
2013-10-24feature 2976: API methods for users and groups managementmistic1001-3/+160
TODO : methods to manage albums permissions git-svn-id: http://piwigo.org/svn/trunk@25117 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24two new options for API methods : 'admin_only' and 'post_only'mistic1001-30/+90
git-svn-id: http://piwigo.org/svn/trunk@25115 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-22feature:2982 API: add high-level type checkmistic1001-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
2013-02-18completely rewrite the indentation of ws.php, no technical changesmistic1001-41/+129
git-svn-id: http://piwigo.org/svn/trunk@20817 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-18completely rewrite the indentation of ws.php, no technical changesmistic1001-434/+376
git-svn-id: http://piwigo.org/svn/trunk@20815 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-18bug:2845flop251-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
2013-01-01 update Piwigo headers to 2013 (the end of the world didn't occur as ↵plegall1-1/+1
expected on r12922) git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-30merge r17668 from branch 2.4 to trunkplegall1-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
2012-06-20feature 2657: More options for pwg.categories.add mistic1001-0/+4
git-svn-id: http://piwigo.org/svn/trunk@15850 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-13git-svn-id: http://piwigo.org/svn/trunk@13544 ↵rvelices1-31/+1
68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10feature added: pwg.images.add can perform an update on an existing photo.plegall1-0/+1
git-svn-id: http://piwigo.org/svn/trunk@13090 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17update Piwigo headers to 2012, last change before the expected (or not) ↵mistic1001-1/+1
apocalypse git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17feature 2548 (multiple sizes): adapt the web API method pwg.images.add (usedplegall1-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
2012-01-08feature 2548 multisize - added a page to build missing derivatives rvelices1-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
2011-12-13merge r12729 from branch 2.3 to trunkplegall1-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
2011-12-13merge r12725 from branch 2.3 to trunkplegall1-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
2011-12-13merge r12722 from branch 2.3 into trunkplegall1-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
2011-12-05merge r12694 from branch 2.3 to trunkplegall1-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
2011-11-14feature 2486: Add an admin view for rates by user rvelices1-1/+10
git-svn-id: http://piwigo.org/svn/trunk@12624 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-17feature 2406 added: if the user wants a new album in the upload form, the albumplegall1-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
2011-08-02rename #images.average_rate to rating_scorervelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@11893 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-14merge r11745 from branch 2.2 to trunkplegall1-1/+11
feature 2376 added: new method pwg.categories.setRepresentative git-svn-id: http://piwigo.org/svn/trunk@11746 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14merge r11371 from branch 2.2 to trunkplegall1-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
2011-06-14merge r11365 from branch 2.2 to trunkplegall1-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
2011-05-31merge r11152 from branch 2.2 to trunkplegall1-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
2011-04-29feature:2259patdenice1-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
2011-04-29feature:2284patdenice1-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
2011-04-27feature:2284patdenice1-0/+2
Create a class to manipulate images. git-svn-id: http://piwigo.org/svn/trunk@10641 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-22feature:2274patdenice1-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
2011-04-21feature:2273patdenice1-1/+3
Add crop functionality to webservice and batch manager. git-svn-id: http://piwigo.org/svn/trunk@10553 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-21feature:2271patdenice1-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
2011-04-20feature:2271patdenice1-0/+27
Merge autoupdate plugin into piwigo core. git-svn-id: http://piwigo.org/svn/trunk@10511 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-19ws method parameters that are required should not have a default valuervelices1-9/+9
git-svn-id: http://piwigo.org/svn/trunk@10502 68402e56-0260-453c-a942-63ccdbb3a9ee