1210 Commits

Author SHA1 Message Date
plegall e1eecd6b4d bug 2421 fixed: no more warning on comments.php when $_SERVER['QUERY_STRING'] is not defined
git-svn-id: http://piwigo.org/svn/branches/2.2@12022 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-31 20:30:35 +00:00
plegall 3cee724741 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/branches/2.2@12009 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-30 08:47:22 +00:00
rvelices 4ebc3b85b7 merge r11979 from trunk - bug fix quick search - file name was not correctly search (typo error)
git-svn-id: http://piwigo.org/svn/branches/2.2@11980 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-22 19:16:17 +00:00
patdenice 5408f38ed4 merge r11831 from trunk to branch 2.2
bug:2386
Bug in tag urls if tag start with a number

git-svn-id: http://piwigo.org/svn/branches/2.2@11832 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-25 19:13:15 +00:00
plegall 5bf8e1d5e4 change version number to 2.2.5
git-svn-id: http://piwigo.org/svn/branches/2.2@11768 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-18 08:24:45 +00:00
plegall 9e0cdb76ee 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/branches/2.2@11755 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-15 19:23:53 +00:00
plegall b5e2ecd0db feature 2376 added: new method pwg.categories.setRepresentative
git-svn-id: http://piwigo.org/svn/branches/2.2@11745 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-14 21:43:51 +00:00
plegall 9fa420ea24 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/branches/2.2@11738 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-13 22:02:49 +00:00
plegall a4f8880e04 bug 2338 fixed: force purge on sessions table (each time a user gets connected)
git-svn-id: http://piwigo.org/svn/branches/2.2@11736 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-13 20:16:31 +00:00
mistic100 f14d7f54b1 merge r11512 form trunk
bug:2361 fixed : remove html tags in categories drop-down lists 

git-svn-id: http://piwigo.org/svn/branches/2.2@11513 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-26 10:03:48 +00:00
plegall 6416029da6 bug 2364 fixed: if database upgrade is missing, we redirect to upgrade.php
git-svn-id: http://piwigo.org/svn/branches/2.2@11510 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-25 21:03:39 +00:00
mistic100 80b8e97ce8 merge r11481 from trunk
feature:2358 allow non-recursive mode for get_random_image_in_category 

git-svn-id: http://piwigo.org/svn/branches/2.2@11486 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-22 16:00:56 +00:00
plegall bbb43a2c25 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/branches/2.2@11371 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14 13:53:40 +00:00
plegall 4d304c80e1 change version number to 2.2.4
git-svn-id: http://piwigo.org/svn/branches/2.2@11369 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14 12:17:57 +00:00
plegall 57207cf2ae bug 2344 fixed: all "Go to Home" links depends on the user defined "Gallery URL".
git-svn-id: http://piwigo.org/svn/branches/2.2@11367 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14 12:14:05 +00:00
plegall 67a2a56843 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/branches/2.2@11363 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14 12:02:33 +00:00
plegall b137b4f018 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/branches/2.2@11355 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-14 08:24:48 +00:00
plegall ab8700e7a7 change version number to 2.2.3
git-svn-id: http://piwigo.org/svn/branches/2.2@11286 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-09 20:56:07 +00:00
Eric aedc3508d8 r11253 merged from trunk - Tests are OK
bug 2323 fixed : Refactoring update_user_comment() function to use user_comment_check trigger in a better place.

git-svn-id: http://piwigo.org/svn/branches/2.2@11257 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-07 15:56:34 +00:00
mistic100 24139d6e59 merge r11236 from trunk
transmit comment ID to template on comments and picture_comment

git-svn-id: http://piwigo.org/svn/branches/2.2@11237 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-04 21:07:27 +00:00
plegall 251b468b79 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.2@11190 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-01 13:04:02 +00:00
plegall 4fdb70b04b set the version to the next release: 2.2.2
git-svn-id: http://piwigo.org/svn/branches/2.2@11189 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-01 13:01:45 +00:00
plegall e46f34c6e4 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/branches/2.2@11160 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-31 22:14:48 +00:00
plegall 3197a76eda 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/branches/2.2@11152 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-31 20:21:08 +00:00
plegall 47f31c2c90 bug 2316 fixed: remote urls on local CSS files should not be modified
git-svn-id: http://piwigo.org/svn/branches/2.2@11121 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-30 22:22:47 +00:00
plegall 8290d353d8 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/branches/2.2@11117 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-30 21:38:17 +00:00
plegall 00b29da491 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/branches/2.2@11115 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-30 21:30:56 +00:00
rvelices 67c27aa28b get_combined_scripts footer and header can be now in the same tpl file (warning before and not working properly)
git-svn-id: http://piwigo.org/svn/branches/2.2@10655 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-28 19:04:34 +00:00
rvelices 5405ce3af7 merge -r10516 from trunk combine_script - more checks and warnings...
git-svn-id: http://piwigo.org/svn/branches/2.2@10617 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-25 19:08:43 +00:00
rvelices fe593bc2c8 bug:2268 combine_script - sometimes precedent scripts were not being loaded before ...
in admin, the accordion is loaded in the header (admin pages have the same header combined script, but usually different bottom scripts)

git-svn-id: http://piwigo.org/svn/branches/2.2@10504 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-19 20:09:19 +00:00
plegall 8098f24b04 bug 1818 fixed: fix "select distinct" queries for PostgreSQL. Patch by leloupv
git-svn-id: http://piwigo.org/svn/branches/2.2@10430 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-16 21:22:09 +00:00
rvelices 3594e552d7 merge -r10340 from trunk feature:2248 Improve quick/query search results
git-svn-id: http://piwigo.org/svn/branches/2.2@10427 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-16 18:15:52 +00:00
patdenice 4408b67309 merge r10098,r10100,r10101,r10113,r10128,r10129 from trunk to branch 2.2
feature:2250
Incompatible plugins and obsolete plugins may not be activated.
Deactivate and uninstall obsolete plugins.
Add warning icon and tiptip
Add languages keys.
Add expire parameter.
Clean code.
Remove useless query for delete.

git-svn-id: http://piwigo.org/svn/branches/2.2@10131 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-07 09:47:01 +00:00
mistic100 4fdaeb8308 merge r10097 & r10122 from trunk
git-svn-id: http://piwigo.org/svn/branches/2.2@10123 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-06 19:31:02 +00:00
mistic100 5dfc3b350a merge r10061 from trunk : ws_getInfos is restrcited to admins (bug:1023)
git-svn-id: http://piwigo.org/svn/branches/2.2@10062 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-05 13:12:57 +00:00
mistic100 91b0ba38ab merge r10017 from trunk to 2.2 (bug:1023)
git-svn-id: http://piwigo.org/svn/branches/2.2@10022 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-03 15:59:35 +00:00
plegall 0caa0f33d3 change version to 2.2 on branches/2.2
git-svn-id: http://piwigo.org/svn/branches/2.2@9999 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-02 19:46:52 +00:00
plegall 438e1252bd bug fixed: for metadata synchronization, use the same behavior in
pwg.images.addSimple as in pwg.images.add, ie the metadata mapping is
prioritary compared to values given to the web API methods (author,
description, title...)


git-svn-id: http://piwigo.org/svn/trunk@9944 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-30 21:25:32 +00:00
patdenice 1ab138e731 bug:2234
HTML characters are allowed in username

git-svn-id: http://piwigo.org/svn/trunk@9923 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-29 19:30:28 +00:00
plegall dee9418720 merge r9819 from branch 2.1 to trunk
bug 2228 fixed: there should be no blank space in the URL to avoid infinite
loop redirection (this happens with chinese only characters + blank space in
the category name).

Note: this problem does not concern tag names because there is no redirection
when the tag name does not match tags.url_name



git-svn-id: http://piwigo.org/svn/trunk@9820 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-22 14:12:27 +00:00
cljosse 6cfd6e78fc ws_getVersion -> add test for admin , sendResponse -> add a trigger for debug ws
git-svn-id: http://piwigo.org/svn/trunk@9742 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-17 14:40:26 +00:00
patdenice 92b8bb54a0 feature:2114
All combined scripts must end with ; to avoid javascript error.

git-svn-id: http://piwigo.org/svn/trunk@9606 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-11 09:07:59 +00:00
plegall 94168b836e check for availability of local/combined (and try to create it if not available)
git-svn-id: http://piwigo.org/svn/trunk@9594 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-10 09:57:03 +00:00
patdenice 8b64b57a27 feature:2114
Simplify all admin templates.

git-svn-id: http://piwigo.org/svn/trunk@9586 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-09 14:22:48 +00:00
patdenice a9a05f39ac feature:2114
footer_script can use multiple required scripts (like combine_script).
automaticaly load know scripts.

git-svn-id: http://piwigo.org/svn/trunk@9580 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-09 10:17:14 +00:00
rvelices ad99a1c652 bug 2195: webservices f_min_date_available not working
git-svn-id: http://piwigo.org/svn/trunk@9576 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-08 20:42:04 +00:00
patdenice ac0ba26afc Update jQuery UI to 1.8.10.
Improve jquery ui management in template class.

git-svn-id: http://piwigo.org/svn/trunk@9559 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-07 00:58:34 +00:00
plegall b6457719da ability to to display the album name as a single link and not several links depending on uppercats, with get_cat_display_name_cache
git-svn-id: http://piwigo.org/svn/trunk@9367 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-24 13:49:48 +00:00
plegall bf4d7dca14 new function to get image name depending on name and filename
git-svn-id: http://piwigo.org/svn/trunk@9366 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-24 13:48:31 +00:00
plegall be797aa3da bug 937: problem on empty albums (visible for admins) with a representative_picture_id defined.
git-svn-id: http://piwigo.org/svn/trunk@9365 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-24 11:30:30 +00:00