aboutsummaryrefslogtreecommitdiffstats
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feature 2541 multisizervelices2011-12-2713-89/+731
| | | | | | | - core implementation + usage on most public/admin pages - still to do: sync process, upload, gui/persistence for size parameters, migration script, center of interest ... git-svn-id: http://piwigo.org/svn/trunk@12796 68402e56-0260-453c-a942-63ccdbb3a9ee
* simplification of 'startup phase' - multisite.inc.php is not required ↵rvelices2011-12-193-31/+8
| | | | | | anymore / database.inc.php is included after config. git-svn-id: http://piwigo.org/svn/trunk@12768 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2538 transmits messages after comment edition trough SESSION (no ↵mistic1002011-12-192-7/+2
| | | | | | more ugly url displayed, avoid some minor bugs) git-svn-id: http://piwigo.org/svn/trunk@12767 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2538 Make a unified messages managementmistic1002011-12-183-10/+24
| | | | | | use only $page['infos'] and $page['errors'] vars and and necessary template to all main pages git-svn-id: http://piwigo.org/svn/trunk@12764 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12760 from branch 2.3 to trunkplegall2011-12-171-1/+11
| | | | | | | | | | | | | | | bug 2502 fixed: better handling of non-latin tags and multilanguage tags on 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/trunk@12761 68402e56-0260-453c-a942-63ccdbb3a9ee
* better get_boolean function: able to detect "0" as false, (bool)false as falseplegall2011-12-161-8/+11
| | | | | | | and (int)0 as false. git-svn-id: http://piwigo.org/svn/trunk@12752 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2535patdenice2011-12-161-2/+7
| | | | | | Image is not cropped and ressized if requested size is bigger than image size. git-svn-id: http://piwigo.org/svn/trunk@12749 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12747 from branch 2.3 to trunkplegall2011-12-162-4/+16
| | | | | | | | | | bug 2534 fixed: clean (as clean as possible with MySQL+MyISAM) handle of concurrency on user cache refresh. No more error when regenerating several thumbnails at once. git-svn-id: http://piwigo.org/svn/trunk@12748 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12738 from branch 2.3 to trunkplegall2011-12-161-1/+11
| | | | | | | | feature 2489 updated: photos added by synchronization can't update their "file" field git-svn-id: http://piwigo.org/svn/trunk@12739 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12729 from branch 2.3 to trunkplegall2011-12-131-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
* merge r12727 from branch 2.3 to trunkplegall2011-12-131-1/+23
| | | | | | | feature 2532 added: pwg.images.add returns image_id (+url) git-svn-id: http://piwigo.org/svn/trunk@12728 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12725 from branch 2.3 to trunkplegall2011-12-131-11/+14
| | | | | | | 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
* merge r12722 from branch 2.3 into trunkplegall2011-12-131-56/+88
| | | | | | | | | | | | | | 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
* removed unused css rules rvelices2011-11-291-4/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@12670 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2516: compiled_template_cache_language option does not work properly ↵rvelices2011-11-221-2/+2
| | | | | | (again) git-svn-id: http://piwigo.org/svn/trunk@12656 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12629 from branch 2.3 to trunkplegall2011-11-151-14/+23
| | | | | | | | | | | bug 2506 fixed: Batch Manager does not take permissions into account when filtering on tags feature 2507 added: Batch Manager can filter on "all tags" or "any tag" git-svn-id: http://piwigo.org/svn/trunk@12630 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2486: Add an admin view for rates by user rvelices2011-11-142-3/+40
| | | | git-svn-id: http://piwigo.org/svn/trunk@12624 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2500: make 'validate_user_comment' and 'delete_user_comment' working ↵mistic1002011-11-111-5/+23
| | | | | | with array git-svn-id: http://piwigo.org/svn/trunk@12596 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2495 add triggers for comment validation and deletionmistic1002011-11-051-0/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@12556 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2322patdenice2011-11-051-0/+1
| | | | | | | feature:2493 Add a trigger for multi language tags in quick search and url git-svn-id: http://piwigo.org/svn/trunk@12553 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12545 from branch 2.3 to trunkplegall2011-11-042-27/+51
| | | | | | | | | | | | | | feature 2397 added: add details about the album thumbnail for extra templates. 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/trunk@12546 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12539 from branch 2.3 to trunkplegall2011-11-041-1/+2
| | | | | | | | | feature 2352: a bug had been introduced by r12537, the 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/trunk@12544 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12537 from branch 2.3 to trunkplegall2011-11-041-0/+189
| | | | | | | | | | | | | | | feature 2352 added: pwg.categories.getList now returns a tn_url parameter. 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/trunk@12543 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12540 from branch 2.3 to trunkplegall2011-11-041-1/+1
| | | | | | | bug 2492 fixed: no need to transmit ['hit'] to get_thumbnail_title, this parameter becomes optional to avoid errors in plugins git-svn-id: http://piwigo.org/svn/trunk@12541 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2477: Remove unused CSS / html elements from version 2.3 rvelices2011-10-171-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@12479 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2473patdenice2011-10-152-4/+4
| | | | | | Apply trigger render_element_description for thumbnail title git-svn-id: http://piwigo.org/svn/trunk@12451 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2469 compiled_template_cache_language option does not work properly on ↵rvelices2011-10-131-1/+1
| | | | | | some language keys because of double escaping git-svn-id: http://piwigo.org/svn/trunk@12429 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2469 compiled_template_cache_language option does not work properly on ↵rvelices2011-10-131-3/+3
| | | | | | some language keys because of double escaping git-svn-id: http://piwigo.org/svn/trunk@12427 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/trunk@12412 68402e56-0260-453c-a942-63ccdbb3a9ee
* moved up one line of code added in 2.3 (plugin compatibility)rvelices2011-10-081-1/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@12391 68402e56-0260-453c-a942-63ccdbb3a9ee
* next release on trunk is 2.4.0beta1plegall2011-10-041-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@12346 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