aboutsummaryrefslogtreecommitdiffstats
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* use fatal_error instead of die function (fatal_error leaves a trace in php ↵rvelices2010-03-011-7/+7
| | | | | | error log making easier to see potential problems on "production" galleries) git-svn-id: http://piwigo.org/svn/branches/2.0@5017 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1448 added: ability to set the upload directory (for pwg.images.addplegall2010-03-012-3/+10
| | | | | | | | | 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/branches/2.0@5013 68402e56-0260-453c-a942-63ccdbb3a9ee
* improvement: avoid the use of @ instead of a real testplegall2010-02-281-2/+8
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@5003 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1047 fixed: avoid warnings when the creation date is 0000-00-00 (whichplegall2010-02-261-0/+5
| | | | | | | | | happens when date_creation comes from corrupted EXIF) bug 859 fixed: at display time only. Piwigo still inserts wrong date in the database, to be fixed later. git-svn-id: http://piwigo.org/svn/branches/2.0@4965 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1453 added: ability to check for uniqueness on filename. No change onplegall2010-02-232-16/+68
| | | | | | the default behavior: uniqueness is set on md5sum. git-svn-id: http://piwigo.org/svn/branches/2.0@4953 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 967: optionnaly transmit the original filename to pwg.images.add. Whenplegall2010-02-191-1/+1
| | | | | | transmitted, it fills the images.file column. git-svn-id: http://piwigo.org/svn/branches/2.0@4910 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 0001142: notification on category, current user language depends on ↵rub2010-02-181-49/+39
| | | | | | | | | last group user Thanks to cljosse and Eric for their help! git-svn-id: http://piwigo.org/svn/branches/2.0@4907 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1423 fixed: support for ExtendedDescription (and all the ones using theplegall2010-02-171-0/+15
| | | | | | "render_category_name" event) in category names. git-svn-id: http://piwigo.org/svn/branches/2.0@4902 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1422 fixed: pwg.images.add (and sub methods) can create recursiveplegall2010-02-171-0/+22
| | | | | | | | directories for windows. add trace in ws_logfile for add_file + ws_images_add_chunk git-svn-id: http://piwigo.org/svn/branches/2.0@4899 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1426 fixed : admin help popup use gallery theme instead of admin themenikrou2010-02-151-1/+2
| | | | | | merge from trunk git-svn-id: http://piwigo.org/svn/branches/2.0@4894 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1431: Community users now can see empty categories just like any admin.plegall2010-02-121-5/+15
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@4883 68402e56-0260-453c-a942-63ccdbb3a9ee
* [Branche2] localisationddtddt2010-01-261-0/+6
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@4758 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1381: pwg.images.add automatically synchronizes metadata. Thank you toplegall2010-01-151-0/+4
| | | | | | Jochen Roth (Polly) for the patch. git-svn-id: http://piwigo.org/svn/branches/2.0@4684 68402e56-0260-453c-a942-63ccdbb3a9ee
* 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