Commit graph

1178 commits

Author SHA1 Message Date
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
plegall
fe569ab1bf feature 2108 added: user upload removed from core. It will come back as a
"new generation" user upload in the Community plugin.


git-svn-id: http://piwigo.org/svn/trunk@8651 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-13 15:24:18 +00:00
rvelices
387354816b lang remove 'Mail address' - use existing 'Email address'
lang remove unused 'return to homepage'
lang change key 'a user use already this mail address' to 'this email address is already in use'

git-svn-id: http://piwigo.org/svn/trunk@8635 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-12 21:03:00 +00:00
rvelices
05ab300c39 - picture uses the same variables as the index page to compute thumbnails url
- combined files are deleted only from maintenance functions and not also from plugin activation/deactivation

git-svn-id: http://piwigo.org/svn/trunk@8634 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-12 20:41:00 +00:00
plegall
6a67800d4f merge r8630 from branch 2.1 to trunk
bug 2104 fixed: ability to display EXIF/IPTC metadata from HD even if the HD
is not visible for user



git-svn-id: http://piwigo.org/svn/trunk@8631 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-12 14:59:11 +00:00
plegall
0ef332fc0f feature 2103 added: week may start on sunday/monday in the monthly calendar
git-svn-id: http://piwigo.org/svn/trunk@8626 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-12 13:41:55 +00:00
rvelices
4c9c38a9f1 bug 2101: php warning/errors + broken navigation when using the advanced search form
git-svn-id: http://piwigo.org/svn/trunk@8611 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-11 21:02:52 +00:00
rvelices
f0dbcf6adf - fix undefined function when editing a user comment on picture page
git-svn-id: http://piwigo.org/svn/trunk@8600 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-10 21:31:05 +00:00
rvelices
18cbb9635b added some comments
git-svn-id: http://piwigo.org/svn/trunk@8506 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-07 19:57:07 +00:00
plegall
b4d2a1362f feature 2095 added: new column images.added_by (foreign key on users.id)
git-svn-id: http://piwigo.org/svn/trunk@8464 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-04 10:55:08 +00:00
rvelices
7d6af12478 - fix js exception with web services in POST mode
- added accessor for registered scripts in template
- added css rule for plugins (images in the categoryActions) it was previsously there but it dissapeared with the sprites

git-svn-id: http://piwigo.org/svn/trunk@8449 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-03 05:28:08 +00:00
rvelices
ff36bf3b70 index.tpl and thumbnails change: category description above thumbs and enclosing ul moved to index.tpl
fix some combine_xxx

git-svn-id: http://piwigo.org/svn/trunk@8401 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-30 19:47:17 +00:00
rvelices
788a600d78 css sprites fix ie7 display
picture.tpl more compact + removed unnecessary escape modifiers + use footer_script
template combine_css small things

git-svn-id: http://piwigo.org/svn/trunk@8378 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-29 21:00:25 +00:00
rvelices
61d07ecd8e combine_script with remote url as path works now
git-svn-id: http://piwigo.org/svn/trunk@8305 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-26 06:20:52 +00:00
rvelices
0786608824 - simplified inneficient css rules
- template language key
- group picture scripts on the bottom of the page


git-svn-id: http://piwigo.org/svn/trunk@8299 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-25 12:15:46 +00:00