aboutsummaryrefslogtreecommitdiffstats
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feature 2548 multisize - code cleanup + better usage in category_cats + ↵rvelices2012-01-177-123/+115
| | | | | | i.php logs memory usage peak git-svn-id: http://piwigo.org/svn/trunk@12920 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisize - implement delete_element_derivativesrvelices2012-01-171-3/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@12917 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisize - ability to choose displayed size on index pagervelices2012-01-175-44/+39
| | | | | | -added some logs on i.php (configurable) to measure the perf git-svn-id: http://piwigo.org/svn/trunk@12908 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 (multiple size): better delete derivatives in add_uploaded_fileplegall2012-01-171-3/+0
| | | | | | | function when performing an update of a photo. git-svn-id: http://piwigo.org/svn/trunk@12907 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 (multiple sizes): adapt the web API method pwg.images.add (usedplegall2012-01-171-137/+154
| | | | | | | | | | | | | by pLoader, Digikam, Lightroom, iPhoto), pwg.images.checkFiles (pLoader only). The "resize" parameter was removed for pwg.images.add since this behavior becomes the default behavior in Piwigo 2.4. Just like pwg.images.addSimple, pwg.images.add now uses the add_uploaded_file function (next step is to merge pwg.images.add and pwg.images.addSimple) git-svn-id: http://piwigo.org/svn/trunk@12906 68402e56-0260-453c-a942-63ccdbb3a9ee
* feaure:2379 option to display user comments sorted new>old instead of old>new mistic1002012-01-151-1/+27
| | | | git-svn-id: http://piwigo.org/svn/trunk@12894 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2549 Allow to disable comments for everybody mistic1002012-01-142-8/+11
| | | | git-svn-id: http://piwigo.org/svn/trunk@12887 68402e56-0260-453c-a942-63ccdbb3a9ee
* revert css name change from previous commitrvelices2012-01-141-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@12881 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2553 hide menubar/register on indentification page if gallery is locked ↵rvelices2012-01-121-7/+10
| | | | | | or guest_access is false git-svn-id: http://piwigo.org/svn/trunk@12878 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2554 php warning PHPWG_URL is not defined in page_tail.inc.php rvelices2012-01-111-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@12875 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2544 upgrade css minifier to version 3.0.1 (Embedded cssmin is ↵rvelices2012-01-112-857/+24
| | | | | | imcompatible with font-face syntax) git-svn-id: http://piwigo.org/svn/trunk@12874 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2552patdenice2012-01-101-1/+2
| | | | | | Apply trigger render_element_description for thumbnail title (for picture description) git-svn-id: http://piwigo.org/svn/trunk@12870 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisize - added a page to build missing derivatives rvelices2012-01-082-31/+122
| | | | | | - browser driven, chained ws calls to retrieve urls, visual feedback of progress through slideshow git-svn-id: http://piwigo.org/svn/trunk@12865 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisize - improved picture.php display (original...) + code ↵rvelices2012-01-055-156/+53
| | | | | | cleanup git-svn-id: http://piwigo.org/svn/trunk@12855 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisize - sharpen + watermarks (partially implemented / no ↵rvelices2012-01-052-3/+45
| | | | | | test with imagick extension) git-svn-id: http://piwigo.org/svn/trunk@12851 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisizervelices2012-01-033-14/+14
| | | | | | - rewrote local site sync + metadata sync git-svn-id: http://piwigo.org/svn/trunk@12831 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2541 multisizervelices2012-01-012-18/+53
| | | | | | - admin GUI for choosing derivative parameters + persistence git-svn-id: http://piwigo.org/svn/trunk@12820 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12809 from branch 2.3 to trunkplegall2011-12-301-1/+1
| | | | | | | bug 2543 fixed: the representative_picture_id was missing in the SQL query for pwg.categories.getList git-svn-id: http://piwigo.org/svn/trunk@12810 68402e56-0260-453c-a942-63ccdbb3a9ee
* fetaure 2542 replace $conf['local_data_dir'] with $conf['data_location'] and ↵rvelices2011-12-297-23/+26
| | | | | | move combined files and image derivatives from local to _data git-svn-id: http://piwigo.org/svn/trunk@12802 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2541: fix bug on PHPWG_ROOT_PATH and includesplegall2011-12-271-3/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@12798 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2541 multisizervelices2011-12-273-7/+47
| | | | | | | - nicer presentation on picture.php - added a maintenance purge derivatives action git-svn-id: http://piwigo.org/svn/trunk@12797 68402e56-0260-453c-a942-63ccdbb3a9ee
* 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