1300 Commits

Author SHA1 Message Date
plegall a4ab4ddca1 next release is 2.3.5
git-svn-id: http://piwigo.org/svn/branches/2.3@15794 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-16 21:04:14 +00:00
plegall e160f4f086 bug 2648 fixed: pwg.categories.getList, avoid to throw an error when
representative_picture_id is missing for an album, which makes parsing
the JSON output impossible.


git-svn-id: http://piwigo.org/svn/branches/2.3@15585 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-07 13:08:37 +00:00
patdenice 9aa13bd5ef Merged r15583 from trunk to branch 23
bug:2647
Test 1and1 server with $_SERVER['SCRIPT_FILENAME']

git-svn-id: http://piwigo.org/svn/branches/2.3@15584 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-07 10:52:43 +00:00
patdenice 1aaee9c883 merge r15575 from trunk to branch 23
bug:2647
External ImageMagick does not work anymore on 1and1 servers


git-svn-id: http://piwigo.org/svn/branches/2.3@15576 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-06 15:43:40 +00:00
mistic100 0a454adbf6 merge r15570 from trunk
bug:2645 author field is kept when comment not validated

git-svn-id: http://piwigo.org/svn/branches/2.3@15571 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-05 19:55:23 +00:00
plegall cf448a85e3 next release is 2.3.4
git-svn-id: http://piwigo.org/svn/branches/2.3@13969 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-07 21:45:30 +00:00
plegall fab6a3ad4f feature 2566 added: pwg.images.add can perform an update on an existing photo.
The additional parameter is image_id and it can be used only combined with
option resize=1.


git-svn-id: http://piwigo.org/svn/branches/2.3@13083 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10 15:31:42 +00:00
patdenice b5c0e17822 merge r12870 from trunk to branch 2.3
feature:2552
Apply trigger render_element_description for thumbnail title (for picture description)

git-svn-id: http://piwigo.org/svn/branches/2.3@12871 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-10 15:31:09 +00:00
plegall 43968c37f4 bug 2543 fixed: the representative_picture_id was missing in the SQL query for pwg.categories.getList
git-svn-id: http://piwigo.org/svn/branches/2.3@12809 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-30 21:25:01 +00:00
plegall aaae06429d next version is 2.3.3
git-svn-id: http://piwigo.org/svn/branches/2.3@12772 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-19 23:53:23 +00:00
plegall f2ebe2bb57 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/branches/2.3@12760 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-17 22:51:20 +00:00
patdenice 39410697f5 merge r12749 from trunk to branch 2.3
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
2011-12-16 17:02:16 +00:00
plegall 2372b25a1c 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/branches/2.3@12747 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-16 13:52:40 +00:00
plegall 6bc0ec4e28 feature 2489 updated: photos added by synchronization can't update their "file" field
git-svn-id: http://piwigo.org/svn/branches/2.3@12738 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-16 09:10:00 +00:00
plegall ae9d066d3a feature 2489 added: ability to update "file" info in pwg.images.setInfo
git-svn-id: http://piwigo.org/svn/branches/2.3@12729 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-13 15:21:09 +00:00
plegall 9303b10de8 feature 2532 added: pwg.images.add returns image_id (+url)
git-svn-id: http://piwigo.org/svn/branches/2.3@12727 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-13 14:58:39 +00:00
plegall df9bc84102 feature 2533 added: ability to deactivate uniqueness check on pwg.images.add
git-svn-id: http://piwigo.org/svn/branches/2.3@12725 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-13 14:41:59 +00:00
plegall 5dca66c7d1 feature 2531: bug fixed, need to be sure functions_upload.inc.php is loaded before using add_uploaded_file()
git-svn-id: http://piwigo.org/svn/branches/2.3@12723 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-13 13:56:19 +00:00
plegall 094bb7e682 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.


git-svn-id: http://piwigo.org/svn/branches/2.3@12722 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-13 13:43:18 +00:00
rvelices 8f3ea20466 merge -r12656 from trunk bug 2516: compiled_template_cache_language option does not work properly (again)
git-svn-id: http://piwigo.org/svn/branches/2.3@12657 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-22 21:19:11 +00:00
rvelices aa87a2583b feature 2486 merge from trunk -r12624,12625,12650 Add an admin view for rates by user (improvement)
git-svn-id: http://piwigo.org/svn/branches/2.3@12651 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-21 20:48:37 +00:00
plegall bc16508161 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/branches/2.3@12629 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-15 11:48:37 +00:00
mistic100 ebd35f045a merge r12596 from trunk: feature 2500: make 'validate_user_comment' and 'delete_user_comment' working with array
git-svn-id: http://piwigo.org/svn/branches/2.3@12597 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-11 10:21:58 +00:00
plegall 1094b76f6b next version is 2.3.2
git-svn-id: http://piwigo.org/svn/branches/2.3@12587 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-08 00:02:59 +00:00
plegall ff687492bb next version is 2.3.1
git-svn-id: http://piwigo.org/svn/branches/2.3@12577 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-07 11:02:27 +00:00
mistic100 8fcd8dfc06 merge r12556 from trunk (feature:2495 add triggers for comment validation and deletion)
git-svn-id: http://piwigo.org/svn/branches/2.3@12557 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-05 23:02:13 +00:00
patdenice 7343f339bd merge r12553 from trunk to branch 2.3
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
2011-11-05 16:34:26 +00:00
plegall ff8e5dc9e3 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/branches/2.3@12545 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-04 23:49:03 +00:00
plegall a9d3ee0e4d 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/branches/2.3@12540 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-04 10:12:01 +00:00
plegall 60dd33f030 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/branches/2.3@12539 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-03 20:47:10 +00:00
plegall 869d73d92c 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/branches/2.3@12537 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-03 15:43:03 +00:00
rvelices 151dd62ca5 feature 2477: Remove unused CSS / html elements from version 2.3 (merge from trunk)
git-svn-id: http://piwigo.org/svn/branches/2.3@12480 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-17 20:52:57 +00:00
patdenice 0db23fdb18 merge r12451 from trunk to branch 2.3
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
2011-10-15 15:29:31 +00:00
rvelices 70d61ebeef bug 2469 (merge from trunk) compiled_template_cache_language option does not 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
2011-10-13 18:18:54 +00:00
rvelices 3af2b3b004 bug 2469 (merge from trunk) compiled_template_cache_language option does not 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
2011-10-13 18:03:53 +00:00
rvelices 4d8cd5a9e3 avoid division by 0 warning when there are no rates in the database
git-svn-id: http://piwigo.org/svn/branches/2.3@12413 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-11 20:14:11 +00:00
rvelices 6acbf6dfc3 merge -r12391 from trunk moved up one line of code added in 2.3 (plugin compatibility)
git-svn-id: http://piwigo.org/svn/branches/2.3@12392 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-08 20:02:38 +00:00
plegall a2af3cb982 change default configuration settings for a stable branch. Developers who 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
2011-10-04 13:44:01 +00:00
plegall c1dd676c5c postpone warning on is_adviser to Piwigo 2.4 to avoid breaking compatibility with plugins
git-svn-id: http://piwigo.org/svn/trunk@12339 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-04 09:06:22 +00:00
plegall 2b607f0b0f next version is 2.3.0
git-svn-id: http://piwigo.org/svn/trunk@12294 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-01 22:44:21 +00:00
rvelices cf2fc7a424 feature 2439: ability to sync more metadata from plusigns (send the mapping to plugins)
git-svn-id: http://piwigo.org/svn/trunk@12254 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-29 04:11:26 +00:00
plegall fafb6c3368 feature 2441 added: no need to have the HD to regenerate the websize if the
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
2011-09-17 21:03:58 +00:00
plegall eac273db56 change version number to 2.3.0RC3
git-svn-id: http://piwigo.org/svn/trunk@12137 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-12 13:06:18 +00:00
ddtddt 1c0f3d46c4 [trunk] - language - add key - feature:2428
git-svn-id: http://piwigo.org/svn/trunk@12131 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-12 06:19:51 +00:00
rvelices bfd6bc92dd - fix protection against session hijacking for IPv4; ti be done later for ipv6
git-svn-id: http://piwigo.org/svn/trunk@12119 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-08 18:47:30 +00:00
rvelices 1d3fc9005f - reoptimize queries for MySql
- week starts on monday/sunday applies also to weekly calendar

git-svn-id: http://piwigo.org/svn/trunk@12118 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-08 18:22:27 +00:00
plegall 6a4096f8b9 change version number to 2.3.0RC2
git-svn-id: http://piwigo.org/svn/trunk@12101 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-08 09:30:16 +00:00
laurent.duretz b470527e68 Issue 2433 : resizing of php.ini parameter pcre.backtrack_limit for remote site synchronisation
git-svn-id: http://piwigo.org/svn/trunk@12067 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-06 14:45:14 +00:00
plegall a4cfa43b26 merge r12022 from branch 2.2 to trunk
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
2011-08-31 20:30:59 +00:00
plegall 9983af7336 merge r12009 from branch 2.2 to trunk
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
2011-08-30 08:48:12 +00:00