Commit graph

1268 commits

Author SHA1 Message Date
patdenice
c6406762f0 feature:2473
Apply trigger render_element_description for thumbnail title

git-svn-id: http://piwigo.org/svn/trunk@12451 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-15 15:27:33 +00:00
rvelices
1cd0cda111 bug 2469 compiled_template_cache_language option does not work properly on some language keys because of double escaping
git-svn-id: http://piwigo.org/svn/trunk@12429 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-13 18:18:05 +00:00
rvelices
143637d30e bug 2469 compiled_template_cache_language option does not work properly on some language keys because of double escaping
git-svn-id: http://piwigo.org/svn/trunk@12427 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-13 18:00:53 +00:00
rvelices
0320e1f874 avoid division by 0 warning when there are no rates in the database
git-svn-id: http://piwigo.org/svn/trunk@12412 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-11 20:09:08 +00:00
rvelices
2967d4d11b moved up one line of code added in 2.3 (plugin compatibility)
git-svn-id: http://piwigo.org/svn/trunk@12391 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-08 20:01:20 +00:00
plegall
7ad0971cf7 next release on trunk is 2.4.0beta1
git-svn-id: http://piwigo.org/svn/trunk@12346 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-04 13:46:45 +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
plegall
f8226de8e6 feature 2420 added: automatically use the gallery title in the page banner.
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
2011-08-30 08:24:42 +00:00
plegall
37156b5053 feature 1797 added: use photo title for thumbnail ALT attribute if possible
git-svn-id: http://piwigo.org/svn/trunk@11999 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-26 12:24:32 +00:00
plegall
540c1d5aa0 feature 1729: protect thumbnail title against HTML special chars
git-svn-id: http://piwigo.org/svn/trunk@11998 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-26 12:20:51 +00:00
plegall
12ec1dcf5b feature 1729: avoid too long description in tooltips
git-svn-id: http://piwigo.org/svn/trunk@11997 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-26 12:09:05 +00:00
plegall
5861549e51 feature 1729: rewrite function get_thumbnail_title to provide a complete tooltip
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
2011-08-26 11:02:11 +00:00
plegall
2de0f01dce feature 2027 implemented: the "lost password" feature was rewritten.
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
2011-08-24 20:03:53 +00:00
plegall
c1d7fbebdd feature 2359: simpler function single_update and single_insert
git-svn-id: http://piwigo.org/svn/trunk@11991 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-24 19:50:54 +00:00
plegall
fc1d139741 replace tabs by spaces for indentation introduced in r
git-svn-id: http://piwigo.org/svn/trunk@11981 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-22 21:08:14 +00:00
rvelices
ab8deea23b bug fix quick search - file name was not correctly search (typo error)
git-svn-id: http://piwigo.org/svn/trunk@11979 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-22 19:14:11 +00:00
plegall
58b18bff0f feature 2413 added: move gallery_url configuration parameter from database to
local configuration file.


git-svn-id: http://piwigo.org/svn/trunk@11978 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-22 17:14:13 +00:00
plegall
71848746ba tiny bug fixed in ['graphics_library'] parameter description
git-svn-id: http://piwigo.org/svn/trunk@11965 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-18 15:14:39 +00:00
plegall
64ba898944 feature 2406 added: if the user wants a new album in the upload form, the album
is created before the start of the upload. The ergonomy is now simpler, the
page is smaller and cleaner.

bug 2373 fixed: now that album is created before upload, uploadify.php gets the
category_id and the level: as soon as it is uploaded (function add_uploaded_file)
the photo gets its final privacy level and is directly associated to the album.
This way, we can have an error on a photo without making orphan all photos of
the same upload group.

feature 2405 added: as soon as a photo is uploaded, its thumbnail is displayed
in the "Uploaded Photos" fieldset, without waiting for other photos to be
uploaded. The latest photos comes first.

I have slighlty changed the integration of colorbox in core. Now we have 2
styles available and by default, we use style2 (overlay in black, title and
control icons outside the popup). It is also used for zooming on bulk manager
in unit mode.

display change: on each uploading photos, instead of showing the transfer
speed, we display the transfer progression in %

bug fixed: the color of the "Start Upload" button was not correct because the
button was not a submit button but a simple type=button.

language: "Upload" button becomes "Start Upload" button.


git-svn-id: http://piwigo.org/svn/trunk@11962 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-17 19:56:07 +00:00
flop25
984dbc729f bug:2402
vsprintf() [function.vsprintf ]: Too few arguments  => fix with that code but tests in various environements are needed

git-svn-id: http://piwigo.org/svn/trunk@11951 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-15 15:59:49 +00:00
flop25
aa3a908634 bug:2383
/!\ corrected but not checked

git-svn-id: http://piwigo.org/svn/trunk@11925 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-09 14:29:19 +00:00
flop25
803d50f534 feature:2390
All the legend is hidden if $conf['show_thumbnail_caption'] = false;

git-svn-id: http://piwigo.org/svn/trunk@11924 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-09 14:21:33 +00:00
rvelices
86ae4d8b3a rename #images.average_rate to rating_score
git-svn-id: http://piwigo.org/svn/trunk@11893 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-02 19:20:50 +00:00
plegall
afb91c6ca2 change version number to 2.3.0RC1
git-svn-id: http://piwigo.org/svn/trunk@11852 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-29 21:35:44 +00:00
rvelices
c0bb4dfb43 feature 2384: improve average rating calculation (final)
git-svn-id: http://piwigo.org/svn/trunk@11839 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-26 19:04:50 +00:00
rvelices
dd212fc6a1 - ws accepts method name in GET paraeters even if http method is POST (easier to see in apache logs)
- picture rating is done through POST and not GET

git-svn-id: http://piwigo.org/svn/trunk@11834 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-26 04:34:36 +00:00
patdenice
41202b1f2b bug:2386
Bug in tag urls if tag start with a number

git-svn-id: http://piwigo.org/svn/trunk@11831 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-25 19:10:30 +00:00
rvelices
4e4dc79e51 feature 2384: improve average rating calculation (still need to update language files)
git-svn-id: http://piwigo.org/svn/trunk@11827 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-25 18:04:50 +00:00
rvelices
86bc4d1143 - simplify calculation of auto login key (no need to concatenate 2 hashes)
git-svn-id: http://piwigo.org/svn/trunk@11826 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-25 17:56:47 +00:00
plegall
45f6aff982 change version number to 2.3.0beta3
git-svn-id: http://piwigo.org/svn/trunk@11769 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-18 08:25:24 +00:00
plegall
20c2300aaf merge r11755 from branch 2.2 to trunk
feature 2243 added: pwg.session.getStatus returns current date (used for images.date_available field, ie database time)


git-svn-id: http://piwigo.org/svn/trunk@11756 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-15 19:24:17 +00:00
rvelices
5869dada4c - removed admin never used function cat_admin_access
- removed obsolete known_script template block
- added a warning on usage of is_adviser function

git-svn-id: http://piwigo.org/svn/trunk@11753 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-15 18:56:20 +00:00
plegall
0431669642 merge r11745 from branch 2.2 to trunk
feature 2376 added: new method pwg.categories.setRepresentative


git-svn-id: http://piwigo.org/svn/trunk@11746 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-14 21:44:14 +00:00
plegall
64adb8eac1 merge r11738 from branch 2.2 to trunk
bug 2375 fixed: ability to deactivate representative cache on sub-albums (['representative_cache_on_subcats']) or when searching for another representative due to privacy level (['representative_cache_on_level'])


git-svn-id: http://piwigo.org/svn/trunk@11739 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-13 22:03:36 +00:00
plegall
aefd941d75 merge r11736 from branch 2.2 to trunk
bug 2338 fixed: force purge on sessions table (each time a user gets connected)


git-svn-id: http://piwigo.org/svn/trunk@11737 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-13 20:16:50 +00:00
mistic100
c16eeb1f2e feature:2330 ability to hide the "new" icon for recent photos
correct a big mistake in var name

git-svn-id: http://piwigo.org/svn/trunk@11591 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-01 21:14:04 +00:00
mistic100
9c0cfb0084 feature:2317 move order config to Admin->Config->Options
new GUI interface for simple paterns
in GUI, order_by and order_by_inside_category are merged (not un DB)
users can define special paterns with $conf['order_by_custom'] and $conf['order_by_inside_category_custom']

git-svn-id: http://piwigo.org/svn/trunk@11587 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-01 13:19:35 +00:00
mistic100
4099c6146a bug:2361 fixed : remove html tags in categories drop-down lists
git-svn-id: http://piwigo.org/svn/trunk@11512 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-26 10:02:12 +00:00
plegall
d9f8479cdf feature 2365 added: Piwigo version is written in the database (as
"piwigo_db_version" in the config table). We only store the branch,
not the release : 2.3 and not 2.3.1, because database structure is
not changing between minor releases.


git-svn-id: http://piwigo.org/svn/trunk@11511 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-25 22:03:12 +00:00