Commit Graph
100 Commits
Author SHA1 Message Date
plegall b581ba81b7 merge r12760 from branch 2.3 to trunk
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
2011-12-17 22:52:19 +00:00
plegall 1c84017d23 better get_boolean function: able to detect "0" as false, (bool)false as false
and (int)0 as false.


git-svn-id: http://piwigo.org/svn/trunk@12752 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-16 20:57:55 +00:00
plegall d827eacab4 merge r12747 from branch 2.3 to trunk
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
2011-12-16 13:53:24 +00:00
plegall 8796a85ab7 merge r12738 from branch 2.3 to trunk
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
2011-12-16 09:10:30 +00:00
plegall 5bdba6b0bc merge r12729 from branch 2.3 to trunk
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
2011-12-13 15:21:36 +00:00
plegall b129ee5c13 merge r12727 from branch 2.3 to trunk
feature 2532 added: pwg.images.add returns image_id (+url)


git-svn-id: http://piwigo.org/svn/trunk@12728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-13 15:00:32 +00:00
plegall 5338ef80ef merge r12725 from branch 2.3 to trunk
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
2011-12-13 14:42:54 +00:00
plegall 4bc17c2e40 merge r12722 from branch 2.3 into trunk
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
2011-12-13 14:01:10 +00:00
plegall cdf47f824c merge r12694 from branch 2.3 to trunk
bug 2529 fixed: Piwigo API can only handle the "rest" requestFormat.
If we try to search for another request format the only result is an
"Unknown request format" error for the client. This error happens when
always_populate_raw_post_data is On (which is not the default Apache
setting).



git-svn-id: http://piwigo.org/svn/trunk@12695 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-05 09:09:55 +00:00
plegall f6a6701fb7 merge r12629 from branch 2.3 to trunk
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
2011-11-15 11:58:10 +00:00
plegall 16c1226ad3 merge r12590 from branch 2.3 to trunk
bug 2497 fixed: never try to move a physical album


git-svn-id: http://piwigo.org/svn/trunk@12591 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-08 14:37:43 +00:00
plegall 31689aeca1 merge r12575 from branch 2.3 to trunk
bug 2491 fixed: on album admin screen, don't display "1 album moved" message
when the album is not really moved.



git-svn-id: http://piwigo.org/svn/trunk@12576 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-07 10:53:23 +00:00
plegall a808d23130 merge r12545 from branch 2.3 to trunk
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
2011-11-04 23:54:12 +00:00
plegall ee79c8516a merge r12539 from branch 2.3 to trunk
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
2011-11-04 21:27:18 +00:00
plegall 7b1964c511 merge r12537 from branch 2.3 to trunk
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
2011-11-04 21:22:55 +00:00
plegall 2c33148c60 merge r12540 from branch 2.3 to trunk
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
2011-11-04 10:13:00 +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 f94576c547 admin/plugins.php is not longer obsolete, it was reintroduced in Piwigo 2.3
git-svn-id: http://piwigo.org/svn/trunk@12343 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-04 13:18:53 +00:00
plegall 72163bef70 bug 2430 fixed: prevents from cross site scripting, the URL is cleanly rewritten
git-svn-id: http://piwigo.org/svn/trunk@12342 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-04 12:48:02 +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 70cf50766e feature 2452 added: upgrade script from 2.2 to 2.3
git-svn-id: http://piwigo.org/svn/trunk@12296 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-01 22:56:33 +00:00
plegall 33c38abc00 coding guideline: replace tabs by spaces
git-svn-id: http://piwigo.org/svn/trunk@12295 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-01 22:53:29 +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
plegall 347fb6e321 bug 2449 fixed: in the "tags box" on batch manager and picture_modify, we
should only display the tag in the current user language, not the tag in all
available languages.


git-svn-id: http://piwigo.org/svn/trunk@12259 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-29 13:48:49 +00:00
plegall 4dcf685dcb bug 2448 fixed: change term "album representative" into "album thumbnail"
git-svn-id: http://piwigo.org/svn/trunk@12238 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-26 20:18:53 +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
plegall c12e3bb8ca upload form: automatically focus on the album name when opening the create album form
git-svn-id: http://piwigo.org/svn/trunk@12124 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-09 13:19:10 +00:00
plegall 3d40235df8 merge r12122 from branch 2.2 to trunk
bug 2436 fixed: remove HTML tags when displaying album name as tooltip


git-svn-id: http://piwigo.org/svn/trunk@12123 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-09 08:18:19 +00:00
plegall 251a9a7974 bug 2435 fixed: on the upload form, when no album available, hide the album
selection listbox and if no album is selected, trigger an error before starting
any upload.


git-svn-id: http://piwigo.org/svn/trunk@12106 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-08 14:04:25 +00:00
plegall 79df57b96f bug fixed: the "Learn more" language key needs to be in admin.lang.php, not in install.lang.php
git-svn-id: http://piwigo.org/svn/trunk@12105 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-08 11:52:02 +00:00
plegall 9ebf049b69 back merge r12103 on LanguageSwitch, this should be another commit, this coding is not finished yet
git-svn-id: http://piwigo.org/svn/trunk@12104 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-08 10:50:05 +00:00
plegall ff46db430b feature 2431: only keep MySQL on installation form
git-svn-id: http://piwigo.org/svn/trunk@12103 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-08 10:46:35 +00:00
plegall 9252e5cb2d bug 2434 fixed: try to stay on the same page when changing admin colors
git-svn-id: http://piwigo.org/svn/trunk@12102 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-08 10:03:04 +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
plegall 9053e5373b bug 2432 fixed: on the upload form, when a new album is created, it must
automatically the selected album. The update of jQuery 1.6.2 must have broken
this feature.


git-svn-id: http://piwigo.org/svn/trunk@12065 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-06 13:41:01 +00:00
plegall 78fb8cc0f3 update jQuery to version 1.6.2
git-svn-id: http://piwigo.org/svn/trunk@12040 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-02 19:29:08 +00:00
plegall bd7f8c0ba2 feature 1078 added: ability to merge tags
git-svn-id: http://piwigo.org/svn/trunk@12032 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-02 08:37:21 +00:00
plegall 0aed550119 plugin manager: replace the top left "Display Compact/Complete" select box by a
simpler link "show details" or "hide details" on top right.


git-svn-id: http://piwigo.org/svn/trunk@12029 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-01 14:01:52 +00:00
plegall ee7768f536 add rounded borders for chrome/IE9 on install.php buttons and input fields
git-svn-id: http://piwigo.org/svn/trunk@12028 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-01 13:58:41 +00:00
plegall c631612c1f merge r12024 from branch 2.2 to trunk
bug 2422 fixed: typo fixed in FTP help


git-svn-id: http://piwigo.org/svn/trunk@12025 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-31 21:11:08 +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 2d52f65ce3 merge r12011 from branch 2.2 to trunk
bug 2378 fixed: remove MySQL warning when synchronizing with simulation
activated. The warning occurs when there are new dircetories found.



git-svn-id: http://piwigo.org/svn/trunk@12012 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-30 09:25:56 +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 d3d45a43e0 feature 2417 added: add progress bar (jQuery UI progress bar) + details on
progressing upload like "photo 21 of 46".


git-svn-id: http://piwigo.org/svn/trunk@12005 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-27 21:58:30 +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 ce0179cd26 fix indentation issues, tabs are forbidden
git-svn-id: http://piwigo.org/svn/trunk@11989 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-23 19:01:32 +00:00
plegall 103b5f684e feature 2413: forgotten to remove the gallery_url parameter in config.sql
git-svn-id: http://piwigo.org/svn/trunk@11987 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-23 10:42:53 +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
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 24ab1e2467 feature 2410 added: uploadify upgraded from version 2.1.0 to 3.0.0 (still beta,
but said as stable by users on uploadify forums)

bug 2411 fixed: thanks to uploadify 3.0.0, the "Browse" button is now localized
(text in any language)

bug 1653 fixed: if the selected file exceeds the upload_max_size (as defined in
the php.ini), an alert is shown and the file is not added to the queue.

bug 2412 fixed: ability to select GIF files with the Flash Uploader.


git-svn-id: http://piwigo.org/svn/trunk@11975 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-19 16:04:43 +00:00
plegall 50cb55c656 feature 2409 added: by default, hide the "who can see these photos?" field in the upload form.
git-svn-id: http://piwigo.org/svn/trunk@11967 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-18 16:51:16 +00:00
plegall 27d0c89c33 feature 2407 added: display upload limitations before file selection (file
maximum size, maximum dimensions, allowed file types). The maximum dimensions
are calculated for GD only (because Imagick and External ImageMagick are not
using PHP memory as far as I could find on the web).

bug 2408 fixed: change term "old style form" into "browser uploader" and
"multiple file form" into "Flash Uploader" (based on WordPress user interface)


git-svn-id: http://piwigo.org/svn/trunk@11966 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-18 15:19:03 +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 25522edae8 convert to UNIX file type
git-svn-id: http://piwigo.org/svn/trunk@11964 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-18 15:13:53 +00:00
plegall 2259fe7615 comment debug instruction from uploadify.php
git-svn-id: http://piwigo.org/svn/trunk@11963 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-17 20:02:07 +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
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
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
plegall 21b4213890 merge r11747 from branch 2.2 to trunk
bug 2356 fixed: if the EXIF date can't be parsed, we don't use it to fill the photo date


git-svn-id: http://piwigo.org/svn/trunk@11748 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-14 22:02:27 +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
plegall 7bd96c6da2 simplify code by using new function add_permission_on_category()
git-svn-id: http://piwigo.org/svn/trunk@11729 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-13 14:04:02 +00:00
plegall 424eed990e merge r11727 from branch 2.2 to trunk
feature 2245: when a new private album is added, the creator and admins
automatically get permission on it.



git-svn-id: http://piwigo.org/svn/trunk@11728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-13 13:32:23 +00:00
plegall 9100a54efd grammar error fixed in english (and in language key)
git-svn-id: http://piwigo.org/svn/trunk@11641 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-05 19:58:40 +00:00
plegall c97377ea87 feature 2372 added: shortcut to edit CSS file from the themes page. If plugin
LocalFiles Editor is active, a link "CSS" is displayed under each active theme
and goes directly to the CSS edition page.


git-svn-id: http://piwigo.org/svn/trunk@11586 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-01 10:16:30 +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
plegall fa9b4f8871 merge r11508 from branch 2.2 to trunk
bug 2363 fixed: upgrade 94 should not fail when write access is missing on
_data/plugins. When this situation occurs, we don't save the 2.1 user upload
configuration and we continue the upgrade.



git-svn-id: http://piwigo.org/svn/trunk@11509 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-25 19:52:18 +00:00
plegall d11eb3a6be merge r11371 from branch 2.2 to trunk
bug 2345 fixed: ability to update the rank of a photo for an existing
category. I haven't modified pwg.images.setInfo, I've just added a new
method pwg.images.setRank which does this very specific job.



git-svn-id: http://piwigo.org/svn/trunk@11372 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14 13:54:05 +00:00
plegall fcda519119 merge r11367 from branch 2.2 to trunk
bug 2344 fixed: all "Go to Home" links depends on the user defined "Gallery URL".



git-svn-id: http://piwigo.org/svn/trunk@11368 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14 12:14:29 +00:00
plegall cb25d20be5 merge r11365 from branch 2.2 to trunk
bug 2343 fixed: pwg.images.setInfo, the "level" should not be mandatory. If
the caller doesn't send this property, the level is unchanged.



git-svn-id: http://piwigo.org/svn/trunk@11366 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14 12:07:32 +00:00
plegall 2a95460f36 merge r11363 from branch 2.2 to trunk
bug 2342 fixed: with MySQL 5.5, "set level = NULL" fails because images.level
is a NOT NULL field. The same test is performed in the same function
(mass_updates) but for array bigger than 10 rows.



git-svn-id: http://piwigo.org/svn/trunk@11364 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14 12:03:08 +00:00
plegall 6623e735e8 merge r11361 from branch 2.2 to trunk
bug 2341 fixed: simplified selection for CSS file to edit. We display the list
of themes in the same order as on [Administration > Configuration > Themes]



git-svn-id: http://piwigo.org/svn/trunk@11362 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14 10:03:09 +00:00
plegall a9ee6d4944 merge r11355 from branch 2.2 to trunk
bug 2340 fixed: external authentication was broken, error in SQL syntax and wrong PHP variable name was used.



git-svn-id: http://piwigo.org/svn/trunk@11356 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14 08:25:45 +00:00
plegall 144535f9b2 merge r11328 from branch 2.2 to trunk
bug 2339 fixed: admin.php calls sync_users() only if external_authentification is true, not at random


git-svn-id: http://piwigo.org/svn/trunk@11329 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-11 22:57:21 +00:00
plegall d4625b9f9e merge r11287 from branch 2.2 to trunk
bug 2334 fixed: "Informations" should not be plural in English


git-svn-id: http://piwigo.org/svn/trunk@11288 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-09 21:26:10 +00:00
plegall 4f614c9fef change version to next release: 2.3.0beta2
git-svn-id: http://piwigo.org/svn/trunk@11188 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-01 10:49:16 +00:00
plegall 2cbdb6575d change version to next release: 2.3.0beta1
git-svn-id: http://piwigo.org/svn/trunk@11186 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-01 10:46:59 +00:00
plegall 53b859811f bug fixed: accept Piwigo version with a pattern like 2.3.0beta1 in plugins/themes/languages/updates management classes
git-svn-id: http://piwigo.org/svn/trunk@11185 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-01 10:45:45 +00:00
plegall 0702727d75 cleaner 16px delete icon, visual compatible with the 24px delete icon
git-svn-id: http://piwigo.org/svn/trunk@11179 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-01 08:40:18 +00:00
plegall d50562fde1 merge r11160 from branch 2.2 to trunk
bug 2310 fixed: conf_update_param() does not erase config.comment column
anymore, we only insert a new row if the param does not exist yet in the
table.



git-svn-id: http://piwigo.org/svn/trunk@11162 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-31 22:23:06 +00:00
plegall 70841e0f50 merge r11157 from branch 2.2 to trunk
bug 2280 fixed: check language and theme values before updating database. The
posted value must match an expected value, this is not a free texfield.



git-svn-id: http://piwigo.org/svn/trunk@11159 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-31 20:32:41 +00:00
plegall 257808402b merge r11152 from branch 2.2 to trunk
feature 1622 added: pwg.categories.getList is now able to return a tree with
the new "tree_output" option. Only compatible with json/php output formats.



git-svn-id: http://piwigo.org/svn/trunk@11155 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-31 20:25:40 +00:00
plegall 04a4a062b2 refactor language switch PHP code to make it readable
git-svn-id: http://piwigo.org/svn/trunk@11123 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-30 22:58:12 +00:00
plegall f650346a8d merge r11121 from branch 2.2 to trunk
bug 2316 fixed: remote urls on local CSS files should not be modified



git-svn-id: http://piwigo.org/svn/trunk@11122 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-30 22:24:45 +00:00
plegall 301b652fcb merge r11117 from branch 2.2 to trunk
bug 2299 fixed: web API, method pwg.images.addSimple returns a clean error when parameter "image" is missing


git-svn-id: http://piwigo.org/svn/trunk@11118 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-30 21:38:53 +00:00
plegall 5159af4e09 merge r11115 from branch 2.2 to trunk
feature 2244 added: web API methods pwg.categories.getImages,
pwg.tags.getImages and pwg.images.search now give the date_creation
and date_available for each returned photo.



git-svn-id: http://piwigo.org/svn/trunk@11116 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-30 21:32:10 +00:00
plegall ef19a77f6e merge r11040 from branch 2.2 to trunk
bug 1786 fixed: ability to prefilter the synchronize screen with a specific
album by clicking on the new "Synchronize" icon on album admin page or album
admin list.

This is not the solution proposed by Gotcha (ie a treeview to select the album
on the synchronize screen) but it solves the same problem.



git-svn-id: http://piwigo.org/svn/trunk@11041 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-25 09:18:32 +00:00
plegall 562f391c70 merge r10430 from branch 2.2 to trunk
bug 1818 fixed: fix "select distinct" queries for PostgreSQL. Patch by leloupv



git-svn-id: http://piwigo.org/svn/trunk@10431 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-16 21:22:39 +00:00
plegall cb2b12b3a6 merge r10425 from branch 2.2 to trunk
bug 2242 fixed: default theme is changed if upgrade.php deactivated the previous theme.



git-svn-id: http://piwigo.org/svn/trunk@10426 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-16 17:41:41 +00:00
plegall d33d216847 merge r10421 from branch 2.2 to trunk
bug 2251: auto-complete was not working on second tag if cache=true.



git-svn-id: http://piwigo.org/svn/trunk@10422 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-16 16:15:37 +00:00
plegall 48b38e6b22 remove svn:mergeinfo (SVN property)
git-svn-id: http://piwigo.org/svn/trunk@10133 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-07 09:48:45 +00:00