aboutsummaryrefslogtreecommitdiffstats
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* web method images.setPrivacyLevel (ws_images_setPrivacyLevel) is POST onlyrvelices2009-12-181-23/+28
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@4512 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1334 fixed: for POST mode on pwg.categories.setInfo, pwg.images.setInfo,plegall2009-12-181-0/+15
| | | | | | pwg.images.addChunk web API methods. git-svn-id: http://piwigo.org/svn/branches/2.0@4510 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1328: implements check_pwg_token for comment deletion on picture.phpplegall2009-12-171-1/+2
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@4509 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1328: implement check_pwg_token for emails on user comments management.plegall2009-12-172-15/+40
| | | | | | | | | | The check_pwg_token and get_pwg_token functions were moved to the public side (for use on comments.php) The email sent to admins on new user comment does not directly includes validate/delete actions. git-svn-id: http://piwigo.org/svn/branches/2.0@4508 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1329 fixed: add a check_input_parameter function to prevent hackingplegall2009-12-152-0/+46
| | | | | | attempts. git-svn-id: http://piwigo.org/svn/branches/2.0@4495 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1316 added: we now have the ability to only fill the single valueplegall2009-12-091-17/+38
| | | | | | | | | | | properties that are currently empty in the database instead of automatically replacing. feature 1312: as a matter of consistency, I have changed the replace_mode (that was only for multiple values properties) into multiple_value_mode + single_value_mode. git-svn-id: http://piwigo.org/svn/branches/2.0@4459 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1312 added: pwg.images.setInfo can replace multiple values propretiesplegall2009-12-071-46/+122
| | | | | | | | | | | | | | | (tags/categories). The primary condition is to provide "tag_ids" and/or "categories" input parameters, ie pwg.images.set won't create emptiness. You can reduce the set of tags/categories but not remove all tags/categories. bug 1277 fixed: with a stronger algorithm for adding/replacing categories, we now avoid to recreate an existing image_category association. When a remote client calls pwg.images.setInfo, Piwigo returns an error 500 if: 1. the "categories" parameter is malformed (no numeric id inside) 2. one of the input categories does not exist at database level. git-svn-id: http://piwigo.org/svn/branches/2.0@4444 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1211 fixed: with PHP 5.3, the get_class function requires the inputplegall2009-12-045-9/+9
| | | | | | | parameter to be an object, or else throws a E_WARNING message. In webservices files, I have replaced all "get_class" calls by "@get_class". git-svn-id: http://piwigo.org/svn/branches/2.0@4426 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1210 fixed: check if the memory_get_usage function is available beforeplegall2009-12-041-3/+9
| | | | | | using it. git-svn-id: http://piwigo.org/svn/branches/2.0@4424 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1051: ability to add/update a file for an existing photo. For example,plegall2009-11-221-0/+84
| | | | | | | | | you can add the "high" later. Another example is to update the "web resized" file (new dimensions is a common example). It also works for thumbnails. Updating an existing file has no impact on the logical level (list of tags, list of categories, title, description and so on). git-svn-id: http://piwigo.org/svn/branches/2.0@4345 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1051: new API method pwg.images.checkFiles. This method will be usefulplegall2009-11-221-19/+85
| | | | | | | | before asking for an update on photo files. Enhancement in code factorization. git-svn-id: http://piwigo.org/svn/branches/2.0@4344 68402e56-0260-453c-a942-63ccdbb3a9ee
* improvement: to prepare feature 1051, the code to add a single file (works forplegall2009-11-201-127/+83
| | | | | | | | | | | | the 3 picture types, ie thumb/file/high) has been factorized into a single add_file function. bug fixed: when a function not directly called by the API (such as merge_chunks or the new add_file function) returning a PwgError, it was not stopping the execution, it just sets the error code/message. Now we don't return PwgError, we only create one and then exit(). git-svn-id: http://piwigo.org/svn/branches/2.0@4328 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -r4261 from trunkrvelices2009-11-131-1/+1
| | | | | | quick search on image file name is not case sensitive anymore git-svn-id: http://piwigo.org/svn/branches/2.0@4262 68402e56-0260-453c-a942-63ccdbb3a9ee
* [branche 2] new: de.piwigo.org/forum / es.piwigo.org/forum are online, ↵ddtddt2009-10-151-0/+6
| | | | | | PHPWG_DOMAIN updated inside Piwigo. git-svn-id: http://piwigo.org/svn/branches/2.0@4046 68402e56-0260-453c-a942-63ccdbb3a9ee
* Replace another depreciated functions.patdenice2009-10-141-2/+2
| | | | | | Depreciated functions were removed in trunk in commit 3747 by Eric. git-svn-id: http://piwigo.org/svn/branches/2.0@4036 68402e56-0260-453c-a942-63ccdbb3a9ee
* Replace some ereg function (depreciated) by preg_match.patdenice2009-10-141-2/+2
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@4035 68402e56-0260-453c-a942-63ccdbb3a9ee
* set_magic_quote_runtime and get_magic_quote_gpc are depreciated and can ↵patdenice2009-10-091-2/+2
| | | | | | | | | produce notices from PHP 5.3. Add a @ to avoid this notices. This functions need to be removed with PHP 6 git-svn-id: http://piwigo.org/svn/branches/2.0@4005 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3927, r3928, r3951, r3953 from trunk to branch 2.0patdenice2009-10-091-5/+72
| | | | | | | | | r3927: Add Smarty's prefilter capability. see topic:16219 (FR). r3928: Improve template prefilter functions r3951: Allow to add prefilters, postfilters and output filters to templates. r3953: Simplification of commit 3951. git-svn-id: http://piwigo.org/svn/branches/2.0@3998 68402e56-0260-453c-a942-63ccdbb3a9ee
* [Bug 1041] Merged form trunk to branch : Switchable double/single password ↵Eric2009-09-291-0/+3
| | | | | | input with text or password type in admin using new $conf git-svn-id: http://piwigo.org/svn/branches/2.0@3945 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1176: Mail are not sent on Free sitesrub2009-09-282-88/+101
| | | | | | Add text/plain like alternative content-type git-svn-id: http://piwigo.org/svn/branches/2.0@3937 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1176: Mail are not sent on Free sitesrub2009-09-271-6/+0
| | | | | | "To: undisclosed-recipients: ;" are removed git-svn-id: http://piwigo.org/svn/branches/2.0@3925 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c3798 from trunk to branch 2.0rub2009-08-262-4/+3
| | | | | | | Bug 1145: Mails are sent in double git-svn-id: http://piwigo.org/svn/branches/2.0@3799 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3703 from trunk - fix smarty debugging info (not important)rvelices2009-07-301-6/+11
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@3704 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1071: improve log system on API calls. The log can be activated by aplegall2009-07-212-19/+21
| | | | | | | | | | configuration setting. The log file can be changed also with a configuration setting. improvement: pwg.images.add API methods gets a cleaner way to log received parameters. git-svn-id: http://piwigo.org/svn/branches/2.0@3661 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1070: fix a pLoader bug on Piwigo side. Catch the bad communication:plegall2009-07-211-1/+1
| | | | | | don't try to find tags if tag_ids parameter is empty (but not null). git-svn-id: http://piwigo.org/svn/branches/2.0@3659 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug fix (use uasort for computed categories instead of usort) - I think ↵rvelices2009-07-201-1/+1
| | | | | | this is an old bug and somehow it worked before) git-svn-id: http://piwigo.org/svn/branches/2.0@3643 68402e56-0260-453c-a942-63ccdbb3a9ee
* correct bug in commit r3623 ( feature 1053 )rvelices2009-07-201-3/+3
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@3641 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3622 from trunk to branch 2.0rvelices2009-07-181-41/+51
| | | | | | - feature 1053: hide categories that contain no photo due to privacy level git-svn-id: http://piwigo.org/svn/branches/2.0@3623 68402e56-0260-453c-a942-63ccdbb3a9ee
* Update smarty to 2.6.26patdenice2009-07-156-61/+90
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@3583 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1043 fixed: avoid warning when merging chunks. This warning was preventingplegall2009-07-031-0/+2
| | | | | | the PwgError to work correctly and the error code was not transmitted. git-svn-id: http://piwigo.org/svn/branches/2.0@3513 68402e56-0260-453c-a942-63ccdbb3a9ee
* Reverse of 3484vdigital2009-07-011-6/+2
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@3490 68402e56-0260-453c-a942-63ccdbb3a9ee
* New: Extend of available fields within a category page for a ↵vdigital2009-07-011-2/+6
| | | | | | | | | | | template-extension simple usage. Add thumbnail dimensions to remove as much as possible some PHP in tpl extensions. {$thumbnails.FILE_TN_WIDTH} {$thumbnails.FILE_TN_HEIGHT} git-svn-id: http://piwigo.org/svn/branches/2.0@3484 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1033 added: new API method pwg.categories.setInfo makes possible toplegall2009-06-241-0/+53
| | | | | | change the name and comment of a given category. git-svn-id: http://piwigo.org/svn/branches/2.0@3453 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge from trunk;bug fix 1024 : the way to discover protocol (http/https) ↵nikrou2009-06-091-3/+4
| | | | | | was not correct git-svn-id: http://piwigo.org/svn/branches/2.0@3404 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1020 added: ability to subscribe to Piwigo Announcement Newsletter fromplegall2009-05-311-0/+3
| | | | | | | Piwigo itself. Admins can perform this action at the end of installation or on administration panel index. git-svn-id: http://piwigo.org/svn/branches/2.0@3381 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 968 fixed: charset is set in HTTP header.plegall2009-05-061-2/+2
| | | | | | | improvement: in the "this gallery is locked" message, the link to the "sign in" page is on the whole sentence, not only on the final dot. git-svn-id: http://piwigo.org/svn/branches/2.0@3276 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 981 added: ability to set the compression level for thumbnail creation.plegall2009-05-051-0/+4
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@3270 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c3261 from trunk to branch 2.0rub2009-04-261-4/+30
| | | | | | Resolved issue 0000977: Error on sendmail with smtp git-svn-id: http://piwigo.org/svn/branches/2.0@3262 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c3259 from trunk to branch 2.0rub2009-04-261-4/+4
| | | | | | Remove " " after ":" on smtp_mail git-svn-id: http://piwigo.org/svn/branches/2.0@3260 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c3257 from trunk to branch 2.0rub2009-04-261-1/+3
| | | | | | Rollback "Missing <ul> on NBM" in order to dd <ul> on feed too. git-svn-id: http://piwigo.org/svn/branches/2.0@3258 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 949 fixed: to avoid memory limit on server side, base64 encode chunks oneplegall2009-04-141-9/+18
| | | | | | | by one on client side and base64 decode chunks one by one on server side. git-svn-id: http://piwigo.org/svn/branches/2.0@3239 68402e56-0260-453c-a942-63ccdbb3a9ee
* new: it.piwigo.org/forum is online, PHPWG_DOMAIN updated inside Piwigo.plegall2009-03-171-1/+4
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@3210 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3207 from trunk to branch 2.0.patdenice2009-03-161-1/+1
| | | | | | Add "tags" parameter for template extensions git-svn-id: http://piwigo.org/svn/branches/2.0@3208 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3203 from trunk to branch 2.0.patdenice2009-03-162-1/+1
| | | | | | | | Move template class inclusion to common.inc.php. Add forum link in upgrade page. Install and upgrade try to configure PHP5. git-svn-id: http://piwigo.org/svn/branches/2.0@3204 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 926 fixed: change links to piwigo.org so that they go to existing URLs.plegall2009-03-132-3/+9
| | | | | | | new: if the current language is french, the links go to fr.piwigo.org insted. git-svn-id: http://piwigo.org/svn/branches/2.0@3196 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 941 fixed: to be able to upload heavy photo, chunk the files, send partsplegall2009-03-121-23/+111
| | | | | | | | one by one, and then pwg.images.add merge chunks together. Now big uploads works and you can even have a fine progress bar on client side. git-svn-id: http://piwigo.org/svn/branches/2.0@3192 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge part of r3190 from trunk to branch 2.0.patdenice2009-03-121-1/+1
| | | | | | URL parameter for template extensions can be used in slideshow. git-svn-id: http://piwigo.org/svn/branches/2.0@3191 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3169 from trunk to branch 2.0patdenice2009-03-031-1/+1
| | | | | | | User's template extension must not be included in admin pages. git-svn-id: http://piwigo.org/svn/branches/2.0@3170 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 913 fixed: ability to connect with an IPv6 address was added.plegall2009-02-261-2/+10
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@3165 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge 3145-3146 from trunkrvelices2009-02-145-102/+32
| | | | | | | | | | Last (I hope) paranoic optims ... - move get_uysername and get_groupname from public to admin/functions.inc.php - optim in index.php - tags.tpl does not need smarty modifier included - move func get_comment_post_key from functions_comment to functions (avoid extra inclusion every time on picture page) git-svn-id: http://piwigo.org/svn/branches/2.0@3147 68402e56-0260-453c-a942-63ccdbb3a9ee