Commit Graph

1192 Commits

Author SHA1 Message Date
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
plegall 139360b952 feature added: ability to avoid sending technical details with pwg_mail_notification_admins
change: pwg_mail_notification_admins forces the format to be text/plain


git-svn-id: http://piwigo.org/svn/trunk@9360 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-23 10:44:07 +00:00
plegall ceacda960c feature 2197 added: if make_index_url() adds no parameters after index.php?, then we return get_absolute_root_url()
git-svn-id: http://piwigo.org/svn/trunk@9353 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-22 22:21:59 +00:00
plegall e79538be5c feature 2189 added: ability to update a photo (the JPEG/PNG file) with
pwg.images.addSimple, simply by adding an $image_id as argument.


git-svn-id: http://piwigo.org/svn/trunk@9191 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-11 22:57:23 +00:00
patdenice d37ec3ddfd Update jQuery to 1.5 and jQuery UI to 1.8.9
git-svn-id: http://piwigo.org/svn/trunk@9172 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-11 15:57:04 +00:00
plegall 1895e2acd0 bug 2184 fixed: avoid SQL syntax error on "display only recently posted photos" filter.
git-svn-id: http://piwigo.org/svn/trunk@9116 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-08 13:34:12 +00:00
plegall 380d9ccc21 bug 1684 fixed: the fix for bug:1683 was an "automatic repair" but it adds
useless code. We couldn't create a migration task on the stable branch, but
on trunk this is possible.


git-svn-id: http://piwigo.org/svn/trunk@9074 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-03 11:28:34 +00:00
rvelices 13b9118f41 - fix icon display on index page (calendar by post date)
- remove unnecessary include_once
- mysql functions simplification

git-svn-id: http://piwigo.org/svn/trunk@8844 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-22 21:12:48 +00:00
plegall dfb0b9d1fa bug 937 fixed: makes sure a user won't see the thumbnail of a photo that has a
higher privacy level than user privacy level.

For an acceptable solution at performance level, I have implemented a cache:
for a given user, each album has a representative_picture_id. This cache also
avoids to perform numerous "order by rand()" SQL queries which is the case
when $conf['allow_random_representative'] = true;


git-svn-id: http://piwigo.org/svn/trunk@8802 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-20 13:32:34 +00:00
plegall 714219f490 feature 2040: to finish the "automatic rotation" feature, I had configuration
setting. I choose to have it in the configuration file and not in the web
interface because it is a bit too technical and useful only in very specific
cases (when buggy software performed a rotation before without updating the
EXIF "orientation" tag)


git-svn-id: http://piwigo.org/svn/trunk@8763 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-19 14:00:38 +00:00
rvelices 2eab606970 - picture page compacts the output html using smarty strip
- decrease the default number of tags showable in the menubar

git-svn-id: http://piwigo.org/svn/trunk@8757 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 21:12:42 +00:00
plegall 6db359c622 Happy new year 2011
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery"


git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18 00:02:52 +00:00
rvelices e123585dde bug 2105 : Browsing tags is slow if tags contains many photos
git-svn-id: http://piwigo.org/svn/trunk@8726 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17 21:16:42 +00:00
rvelices b5046a4f94 got rid of a very innefficient (and not required) css rule
git-svn-id: http://piwigo.org/svn/trunk@8725 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17 20:49:14 +00:00
plegall 8ccd3a203d feature 2112 added: ability to set an additional local directory
$conf['local_dir_site'] in local/config/multisite.inc.php


git-svn-id: http://piwigo.org/svn/trunk@8722 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17 18:48:13 +00:00
rvelices 8a14faf0e1 feature 2102 : rename item/image/picture to photo (public side)
git-svn-id: http://piwigo.org/svn/trunk@8711 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-16 20:43:56 +00:00
rvelices 6eea9f9e08 feature 2102 : rename item/image/picture to photo
git-svn-id: http://piwigo.org/svn/trunk@8665 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-14 21:19:15 +00:00
rvelices 4d3aa6331e feature 2108 upload removal correct syntax error
git-svn-id: http://piwigo.org/svn/trunk@8664 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-14 20:51:53 +00:00
rvelices af6e6b55ca feature 2108 finalize upload removal (php warnings)
git-svn-id: http://piwigo.org/svn/trunk@8652 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-13 20:51:57 +00:00