aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_functions.inc.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-07-14merge r11745 from branch 2.2 to trunkplegall1-0/+72
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/+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
2011-05-31merge r11152 from branch 2.2 to trunkplegall1-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
2011-05-30merge r11117 from branch 2.2 to trunkplegall1-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
2011-05-30merge r11115 from branch 2.2 to trunkplegall1-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
2011-05-03feature:2284patdenice1-1/+1
Add param library for websize resize web service. git-svn-id: http://piwigo.org/svn/trunk@10747 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-29feature:2259patdenice1-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
2011-04-28Insert upload form parameters in database during installation.patdenice1-1/+0
Remove prepare_upload_configuration function. git-svn-id: http://piwigo.org/svn/trunk@10653 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-27feature:2284patdenice1-8/+13
Create a class to manipulate images. git-svn-id: http://piwigo.org/svn/trunk@10641 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-23Only reset one type of extension.patdenice1-5/+12
git-svn-id: http://piwigo.org/svn/trunk@10596 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-22feature:2274patdenice1-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
2011-04-21feature:2273patdenice1-3/+5
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/+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
2011-04-20feature:2271patdenice1-0/+136
Merge autoupdate plugin into piwigo core. git-svn-id: http://piwigo.org/svn/trunk@10511 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-17feature:2259patdenice1-0/+5
Add "Regenerate Websize Photos" action. git-svn-id: http://piwigo.org/svn/trunk@10454 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-10feature:2259patdenice1-0/+72
Add web service method: pwg.images.resize git-svn-id: http://piwigo.org/svn/trunk@10235 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-08bug:1791 update webservices upload methodsmistic1001-0/+4
git-svn-id: http://piwigo.org/svn/trunk@10160 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-05ws_getInfos is restricted to adminsmistic1001-5/+5
git-svn-id: http://piwigo.org/svn/trunk@10061 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-03add pwg.getInfos method in PWG APImistic1001-0/+67
git-svn-id: http://piwigo.org/svn/trunk@10017 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-30bug fixed: for metadata synchronization, use the same behavior inplegall1-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
2011-03-17ws_getVersion -> add test for admin , sendResponse -> add a trigger for debug wscljosse1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@9742 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-08bug 2195: webservices f_min_date_available not working rvelices1-4/+4
git-svn-id: http://piwigo.org/svn/trunk@9576 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-11feature 2189 added: ability to update a photo (the JPEG/PNG file) withplegall1-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
2011-01-18Happy new year 2011plegall1-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
2011-01-17bug 2105 : Browsing tags is slow if tags contains many photos rvelices1-52/+33
git-svn-id: http://piwigo.org/svn/trunk@8726 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-04feature 2095 added: new column images.added_by (foreign key on users.id)plegall1-1/+2
git-svn-id: http://piwigo.org/svn/trunk@8464 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-24feature 2085 added: new method pwg.themes.performActionplegall1-0/+32
git-svn-id: http://piwigo.org/svn/trunk@8297 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23feature 2060: remove adivser mode on web API methods imported from the ↵plegall1-4/+4
pwg.images.addSimple plugin git-svn-id: http://piwigo.org/svn/trunk@8274 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23feature 2084 added: new method pwg.plugins.getList and pwg.plugins.performActionplegall1-0/+75
git-svn-id: http://piwigo.org/svn/trunk@8273 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23feature 2082 added: new method pwg.categories.move from the ↵plegall1-0/+121
pwg.images.addSimple plugin git-svn-id: http://piwigo.org/svn/trunk@8272 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23feature 2080 added: add methods pwg.images.delete and pwg.categories.delete fromplegall1-0/+107
pwg.images.addSimple plugin. pwg.categories.delete implements the new photo_deletion_mode (see feature:2081) and set it to "delete_orphans" by default. git-svn-id: http://piwigo.org/svn/trunk@8266 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23feature 2083 added: implement method pwg.images.addSimple in coreplegall1-60/+99
makes admin/include/function_upload.inc.php not dependant from include/ws_functions.inc.php (moves functions file_path_for_type and ready_for_upload_message) cleaner method to initialize the upload settings git-svn-id: http://piwigo.org/svn/trunk@8249 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14feature 2060: Remove adviser mode.patdenice1-11/+11
First commit: only php files. git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-15merge r7781 from branch 2.1 to trunkplegall1-1/+1
bug 2035 fixed: avoid sending multiple line error code in HTTP header. This was breaking the JSON parsing on pwg.images.addComment response from Piwigo because of an raw HTML warning. git-svn-id: http://piwigo.org/svn/trunk@7782 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-03merge r7612 from branch 2.1 to trunkplegall1-3/+2
bug 2003 fixed: random failure on calling invalidate_user_cache. I move the include of admin functions outside conditional blocks, even if we should also enter the first block. git-svn-id: http://piwigo.org/svn/trunk@7613 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-01merge r7549 from branch 2.1 to trunkplegall1-0/+17
bug 1986 fixed: add category description in pwg.categories.getList and pwg.categories.getAdminList. git-svn-id: http://piwigo.org/svn/trunk@7550 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-30feature 1915: add protection on user registration against robots rvelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@7495 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-15merge r7210 from branch 2.1 to trunkplegall1-0/+1
feature 1756 added: returns the security token in method pwg.session.getStatus git-svn-id: http://piwigo.org/svn/trunk@7212 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-03Bug 1754 fixed : The keyword AS is mandatory for alias in PostgreSQL queriesnikrou1-3/+3
git-svn-id: http://piwigo.org/svn/trunk@6652 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-09Bug 1716 fixed : Check upgrades failed in intronikrou1-3/+3
Incorrect use of database dependant functions. Fixed same problem for ws functions git-svn-id: http://piwigo.org/svn/trunk@6500 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-01- do not remove slashes before calling insert_user_comment (homogeneity with ↵rvelices1-3/+3
update_user_comment and general use of slashes in piwigo) - when using a modifier on a non array variable use @| instead of | (generated code is simpler and faster) git-svn-id: http://piwigo.org/svn/trunk@6437 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-08Amend bug 1559. standard deviation was not removed in some places.nikrou1-1/+0
So, sqlite crashed because std function has been removed. git-svn-id: http://piwigo.org/svn/trunk@6125 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03improvement: use the same code to check upload readiness in admin>photos>addplegall1-11/+18
screen and in web API. bug fixed: UploadForm partly takes into account the configurable upload directory (must be propagated everywhere in the UploadForm process) git-svn-id: http://piwigo.org/svn/trunk@6051 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03bug 1635 fixed: new API method pwg.images.checkUpload tells pLoader if Piwigoplegall1-0/+48
is ready for upload (currently, it checks write access on the upload directory) git-svn-id: http://piwigo.org/svn/trunk@6049 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-20Fix missing argument for pwg_db_changes()nikrou1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@5930 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19increase copyright year to 2010plegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-02Feature 1451 : localization with gettextnikrou1-1/+1
Use php-gettext (developpement version rev43, because of php5.3) as fallback Use native language (english) instead of key for translation Keep directory en_UK for english customization Need some refactoring for plurals Todo : managing plugins in the same way git-svn-id: http://piwigo.org/svn/trunk@5021 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-01merge r5013 from branch 2.0 to trunkplegall1-3/+7
feature 1448 added: ability to set the upload directory (for pwg.images.add API method). Warning: due to risk on img src construction, the upload_dir must be relative to the Piwigo directory itself. git-svn-id: http://piwigo.org/svn/trunk@5014 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-02-23merge r4953 from branch 2.0 to trunkplegall1-16/+64
feature 1453 added: ability to check for uniqueness on filename. No change on the default behavior: uniqueness is set on md5sum. git-svn-id: http://piwigo.org/svn/trunk@4954 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-02-19merge r4910 from branch 2.0 to trunkplegall1-1/+1
feature 967: optionnaly transmit the original filename to pwg.images.add. When transmitted, it fills the images.file column. git-svn-id: http://piwigo.org/svn/trunk@4911 68402e56-0260-453c-a942-63ccdbb3a9ee