aboutsummaryrefslogtreecommitdiffstats
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bug 2502 fixed: better handling of non-latin tags and multilanguage tags onplegall2011-12-171-1/+11
| | | | | | | | | | | | | tags.php with mode letter. We can't rely on url_name because it always start with "_" when the tag looks like "[lang...". Instead we compute a str2url on the name, but once it has been rendered by Extended Description. To avoid useless computations, I have added a cache on the tag_alpha_compare function. Tested on a 175 tags set, speed is good. git-svn-id: http://piwigo.org/svn/branches/2.3@12760 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12749 from trunk to branch 2.3patdenice2011-12-161-2/+7
| | | | | | | bug:2535 Image is not cropped and ressized if requested size is bigger than image size. git-svn-id: http://piwigo.org/svn/branches/2.3@12750 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2534 fixed: clean (as clean as possible with MySQL+MyISAM) handle ofplegall2011-12-162-4/+16
| | | | | | | | concurrency on user cache refresh. No more error when regenerating several thumbnails at once. git-svn-id: http://piwigo.org/svn/branches/2.3@12747 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2489 updated: photos added by synchronization can't update their ↵plegall2011-12-161-1/+11
| | | | | | "file" field git-svn-id: http://piwigo.org/svn/branches/2.3@12738 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2489 added: ability to update "file" info in pwg.images.setInfoplegall2011-12-131-0/+1
| | | | git-svn-id: http://piwigo.org/svn/branches/2.3@12729 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2532 added: pwg.images.add returns image_id (+url)plegall2011-12-131-0/+22
| | | | git-svn-id: http://piwigo.org/svn/branches/2.3@12727 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2533 added: ability to deactivate uniqueness check on pwg.images.addplegall2011-12-131-11/+14
| | | | git-svn-id: http://piwigo.org/svn/branches/2.3@12725 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2531: bug fixed, need to be sure functions_upload.inc.php is loaded ↵plegall2011-12-131-0/+2
| | | | | | before using add_uploaded_file() git-svn-id: http://piwigo.org/svn/branches/2.3@12723 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2531 added: pwg.images.add is able to generate web size + thumbnailplegall2011-12-131-65/+113
| | | | | | | | (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. git-svn-id: http://piwigo.org/svn/branches/2.3@12722 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -r12656 from trunk bug 2516: compiled_template_cache_language option ↵rvelices2011-11-221-2/+2
| | | | | | does not work properly (again) git-svn-id: http://piwigo.org/svn/branches/2.3@12657 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2486 merge from trunk -r12624,12625,12650 Add an admin view for ↵rvelices2011-11-212-3/+40
| | | | | | rates by user (improvement) git-svn-id: http://piwigo.org/svn/branches/2.3@12651 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2506 fixed: Batch Manager does not take permissions into account whenplegall2011-11-151-14/+23
| | | | | | | | | filtering on tags feature 2507 added: Batch Manager can filter on "all tags" or "any tag" git-svn-id: http://piwigo.org/svn/branches/2.3@12629 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12596 from trunk: feature 2500: make 'validate_user_comment' and ↵mistic1002011-11-111-5/+23
| | | | | | 'delete_user_comment' working with array git-svn-id: http://piwigo.org/svn/branches/2.3@12597 68402e56-0260-453c-a942-63ccdbb3a9ee
* next version is 2.3.2plegall2011-11-081-1/+1
| | | | git-svn-id: http://piwigo.org/svn/branches/2.3@12587 68402e56-0260-453c-a942-63ccdbb3a9ee
* next version is 2.3.1plegall2011-11-071-1/+1
| | | | git-svn-id: http://piwigo.org/svn/branches/2.3@12577 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12556 from trunk (feature:2495 add triggers for comment validation ↵mistic1002011-11-051-0/+4
| | | | | | and deletion) git-svn-id: http://piwigo.org/svn/branches/2.3@12557 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12553 from trunk to branch 2.3patdenice2011-11-051-0/+1
| | | | | | | | feature:2322 feature:2493 Add a trigger for multi language tags in quick search and url git-svn-id: http://piwigo.org/svn/branches/2.3@12555 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2397 added: add details about the album thumbnail for extra templates.plegall2011-11-042-27/+51
| | | | | | | | | | | Algorithm changed for FILE_HAS_HD : we don't care about the $user['enabled_high'] Fields added in category_default : high_filesize, high_width, high_height, rating_score We send the same fields on category_cats but for album thumbnail only. git-svn-id: http://piwigo.org/svn/branches/2.3@12545 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2492 fixed: no need to transmit ['hit'] to get_thumbnail_title, this ↵plegall2011-11-041-1/+1
| | | | | | parameter becomes optional to avoid errors in plugins git-svn-id: http://piwigo.org/svn/branches/2.3@12540 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2352: a bug had been introduced by r12537, the ↵plegall2011-11-031-1/+2
| | | | | | | | | piwigo_user_cache_categories.count_categories was missing (the list of albums was not refreshing correctly on the upload form) git-svn-id: http://piwigo.org/svn/branches/2.3@12539 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2352 added: pwg.categories.getList now returns a tn_url parameter.plegall2011-11-031-0/+189
| | | | | | | | | | | | | This is the album thumbnail. Warning: if the API method is called with $params['public'], the album thumbnail may be not accurate. The thumbnail can be viewed by the connected user, but maybe not by the guest. Changing the filtering method would be too complicated for now. We will simply avoid to persist the user_representative_picture_id in the database if $params['public'] git-svn-id: http://piwigo.org/svn/branches/2.3@12537 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2477: Remove unused CSS / html elements from version 2.3 (merge from ↵rvelices2011-10-171-1/+1
| | | | | | trunk) git-svn-id: http://piwigo.org/svn/branches/2.3@12480 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12451 from trunk to branch 2.3patdenice2011-10-152-4/+4
| | | | | | | feature:2473 Apply trigger render_element_description for thumbnail title git-svn-id: http://piwigo.org/svn/branches/2.3@12452 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2469 (merge from trunk) compiled_template_cache_language option does not ↵rvelices2011-10-131-1/+1
| | | | | | work properly on some language keys because of double escaping git-svn-id: http://piwigo.org/svn/branches/2.3@12430 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2469 (merge from trunk) compiled_template_cache_language option does not ↵rvelices2011-10-131-3/+3
| | | | | | work properly on some language keys because of double escaping git-svn-id: http://piwigo.org/svn/branches/2.3@12428 68402e56-0260-453c-a942-63ccdbb3a9ee
* avoid division by 0 warning when there are no rates in the databaservelices2011-10-111-2/+5
| | | | git-svn-id: http://piwigo.org/svn/branches/2.3@12413 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -r12391 from trunk moved up one line of code added in 2.3 (plugin ↵rvelices2011-10-081-1/+2
| | | | | | compatibility) git-svn-id: http://piwigo.org/svn/branches/2.3@12392 68402e56-0260-453c-a942-63ccdbb3a9ee
* change default configuration settings for a stable branch. Developers who ↵plegall2011-10-041-4/+4
| | | | | | need previous configuration settings can modify them in their local configuration git-svn-id: http://piwigo.org/svn/branches/2.3@12345 68402e56-0260-453c-a942-63ccdbb3a9ee
* postpone warning on is_adviser to Piwigo 2.4 to avoid breaking compatibility ↵plegall2011-10-041-2/+4
| | | | | | with plugins git-svn-id: http://piwigo.org/svn/trunk@12339 68402e56-0260-453c-a942-63ccdbb3a9ee
* next version is 2.3.0plegall2011-10-011-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@12294 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2439: ability to sync more metadata from plusigns (send the mapping ↵rvelices2011-09-291-1/+1
| | | | | | to plugins) git-svn-id: http://piwigo.org/svn/trunk@12254 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2441 added: no need to have the HD to regenerate the websize if theplegall2011-09-171-3/+34
| | | | | | | | current websize is bigger than resize settings. When it occurs, we move the current websize as HD and create the new websize from it. git-svn-id: http://piwigo.org/svn/trunk@12175 68402e56-0260-453c-a942-63ccdbb3a9ee
* change version number to 2.3.0RC3plegall2011-09-121-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@12137 68402e56-0260-453c-a942-63ccdbb3a9ee
* [trunk] - language - add key - feature:2428ddtddt2011-09-121-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@12131 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix protection against session hijacking for IPv4; ti be done later for ipv6rvelices2011-09-081-6/+9
| | | | git-svn-id: http://piwigo.org/svn/trunk@12119 68402e56-0260-453c-a942-63ccdbb3a9ee
* - reoptimize queries for MySqlrvelices2011-09-085-67/+30
| | | | | | - week starts on monday/sunday applies also to weekly calendar git-svn-id: http://piwigo.org/svn/trunk@12118 68402e56-0260-453c-a942-63ccdbb3a9ee
* change version number to 2.3.0RC2plegall2011-09-081-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@12101 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 2433 : resizing of php.ini parameter pcre.backtrack_limit for remote ↵laurent.duretz2011-09-061-1/+1
| | | | | | site synchronisation git-svn-id: http://piwigo.org/svn/trunk@12067 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12022 from branch 2.2 to trunkplegall2011-08-311-0/+5
| | | | | | | | bug 2421 fixed: no more warning on comments.php when $_SERVER['QUERY_STRING'] is not defined git-svn-id: http://piwigo.org/svn/trunk@12023 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12009 from branch 2.2 to trunkplegall2011-08-301-1/+1
| | | | | | | | | | bug 2416 fixed: the CAST function in MySQL seems to return unexpected results, depending on MySQL version. As a consequence it was producing virtual years in calendar display. git-svn-id: http://piwigo.org/svn/trunk@12010 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2420 added: automatically use the gallery title in the page banner.plegall2011-08-301-3/+8
| | | | | | | | | Just write %gallery_title% in the page banner (this is written by default). The default gallery title and tagline are now localized. git-svn-id: http://piwigo.org/svn/trunk@12008 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1797 added: use photo title for thumbnail ALT attribute if possibleplegall2011-08-261-11/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@11999 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1729: protect thumbnail title against HTML special charsplegall2011-08-261-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@11998 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1729: avoid too long description in tooltipsplegall2011-08-261-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@11997 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1729: rewrite function get_thumbnail_title to provide a complete tooltipplegall2011-08-262-12/+51
| | | | | | | | to the template file. It include the name of the photo, details such as number of visits, number of comments, rating score, and the description. git-svn-id: http://piwigo.org/svn/trunk@11996 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2027 implemented: the "lost password" feature was rewritten.plegall2011-08-241-0/+48
| | | | | | | | | | | | | | | The algorithm is highly inspired from WordPress : 1) in a single field, you give a username or an email 2) Piwigo sends an email with the activation key 3) the user clicks on the link in the email (with the activation key) and is able to set a new password The "lost password" feature is no longer limited to "classic" users: administrators and webmasters can use it too (no need to tell webmasters that they can only change their password in the database) git-svn-id: http://piwigo.org/svn/trunk@11992 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2359: simpler function single_update and single_insertplegall2011-08-244-78/+108
| | | | git-svn-id: http://piwigo.org/svn/trunk@11991 68402e56-0260-453c-a942-63ccdbb3a9ee
* replace tabs by spaces for indentation introduced in rplegall2011-08-221-28/+29
| | | | git-svn-id: http://piwigo.org/svn/trunk@11981 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug fix quick search - file name was not correctly search (typo error)rvelices2011-08-221-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@11979 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2413 added: move gallery_url configuration parameter from database toplegall2011-08-221-0/+5
| | | | | | | local configuration file. git-svn-id: http://piwigo.org/svn/trunk@11978 68402e56-0260-453c-a942-63ccdbb3a9ee