Commit graph

892 commits

Author SHA1 Message Date
plegall
bec299bc36 bug 1396: when a photo was deleted, the code to avoid orphans as category
representative was 1) wrong (because a photo doesn't have to belong to a
category to represent it) 2) at the wrong place.

git-svn-id: http://piwigo.org/svn/branches/2.0@4730 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-01-23 22:56:11 +00:00
plegall
ee9232b650 feature 620: if no exif/iptc found in the "web resized" photo, then we search
into the high definition picture if available. Thanks to Jochen Roth (Polly)
for the patch.

git-svn-id: http://piwigo.org/svn/branches/2.0@4682 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-01-15 10:47:19 +00:00
plegall
a6780831fe bug 1380: now correctly synchronizes metadata on a single photo, needs a nicer
fix on trunk.

git-svn-id: http://piwigo.org/svn/branches/2.0@4680 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-01-15 10:38:55 +00:00
plegall
e25d7b7565 feature 1364: subscribe to pl.piwigo.org/announcement when current language is pl_PL
git-svn-id: http://piwigo.org/svn/branches/2.0@4617 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-01-04 14:41:59 +00:00
plegall
b1e6222596 bug 1328: implements check_pwg_token at site management level.
git-svn-id: http://piwigo.org/svn/branches/2.0@4531 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-19 20:49:03 +00:00
plegall
d6e1139528 bug 1328: implements check_pwg_token at group management level.
git-svn-id: http://piwigo.org/svn/branches/2.0@4529 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-19 20:22:13 +00:00
plegall
2119631cd7 bug 1328: implement check_pwg_token for emails on user comments management.
The check_pwg_token and get_pwg_token functions were moved to the public side
(for use on comments.php)

The email sent to admins on new user comment does not directly includes
validate/delete actions.

git-svn-id: http://piwigo.org/svn/branches/2.0@4508 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-17 22:47:31 +00:00
plegall
587aaa0210 bug 1328: implements check_pwg_token at plugin management level.
git-svn-id: http://piwigo.org/svn/branches/2.0@4506 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-17 01:02:44 +00:00
plegall
f2fa6c16d9 bug 1328: check_pwg_token implemented on admin/cat_list forms (+delete action)
git-svn-id: http://piwigo.org/svn/branches/2.0@4505 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-16 21:48:09 +00:00
plegall
54ed1bfcdb bug 1328: first specific implementation of the check_pwg_token for the
admin/tags page (all actions : add/edit/delete).

The "check_token" function was renammed into check_pwg_token because the
word "token" is too much generic.

git-svn-id: http://piwigo.org/svn/branches/2.0@4503 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-15 23:22:49 +00:00
plegall
5d017241d3 merge r4493 from trunk to branch 2.0
Bug 1328 : improve check function


git-svn-id: http://piwigo.org/svn/branches/2.0@4502 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-15 22:54:11 +00:00
plegall
aca87d534d merge r4492 from trunk to branch 2.0
Bug 1328 add function to check token


git-svn-id: http://piwigo.org/svn/branches/2.0@4501 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-15 22:53:51 +00:00
plegall
742e2a7c0a bug 1329 fixed: add a check_input_parameter function to prevent hacking
attempts.

git-svn-id: http://piwigo.org/svn/branches/2.0@4495 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-15 00:33:57 +00:00
plegall
3a542bdb31 bug 1301 fixed: it is now possible to move root category 4 into root category
49. Sometimes a single comma makes a huge difference!

git-svn-id: http://piwigo.org/svn/branches/2.0@4400 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-01 00:03:17 +00:00
plegall
00c0d36632 feature 1231: subscribe to cn.piwigo.org/announcement when current language is
zh_CN

git-svn-id: http://piwigo.org/svn/branches/2.0@4213 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-05 21:51:49 +00:00
rvelices
989343b5c9 merge -r2048 from trunk to branch 2
- avoid php warning in template when debug template option is activated

git-svn-id: http://piwigo.org/svn/branches/2.0@4069 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-20 19:30:09 +00:00
patdenice
246634cb72 Replace some ereg function (depreciated) by preg_match.
git-svn-id: http://piwigo.org/svn/branches/2.0@4035 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-14 15:06:36 +00:00
patdenice
916fa5ea70 Plugins upgrade now delete obsolete files from obsolete.list.
git-svn-id: http://piwigo.org/svn/branches/2.0@4033 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-14 14:59:23 +00:00
Eric
676c314c58 [Piwigo] r4024 merged from Trunk to Branch
Bug 1189 fixed :
Adding {$NAVBAR} at top of users list.

git-svn-id: http://piwigo.org/svn/branches/2.0@4025 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-11 13:42:30 +00:00
Eric
ce511ebf6b [Bug 1041] [REV 4008] Merged form trunk to branch
Coding guidelines improvement

git-svn-id: http://piwigo.org/svn/branches/2.0@4009 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-09 15:58:56 +00:00
patdenice
57225129b2 set_magic_quote_runtime and get_magic_quote_gpc are depreciated and can produce notices from PHP 5.3.
Add a @ to avoid this notices.
This functions need to be removed with PHP 6

git-svn-id: http://piwigo.org/svn/branches/2.0@4005 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-09 14:38:54 +00:00
patdenice
6fdaceee16 Purge compiled templates when activate or deactivate a plugin.
Cf topic:16250 on french forum.

git-svn-id: http://piwigo.org/svn/branches/2.0@3949 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-01 10:41:40 +00:00
Eric
6d85089c9a [Bug 1041] Merged form trunk to branch : Switchable double/single password input with text or password type in admin using new $conf
git-svn-id: http://piwigo.org/svn/branches/2.0@3945 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-29 10:59:12 +00:00
patdenice
203a8a33cf merge r3716-3717 from trunk to branch 2.0
Allow to add description.txt file in language directory for plugin description.
Add multilingual descriptions for plugins.

git-svn-id: http://piwigo.org/svn/branches/2.0@3824 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-05 11:35:20 +00:00
patdenice
d39ce214bc Update pclzip to 2.8.1 (PHP 5.3 compatibility)
git-svn-id: http://piwigo.org/svn/branches/2.0@3822 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-05 11:20:48 +00:00
plegall
adbe699749 bug 895: r3714 had replaced the "open in a new tab" (introduced in r3381 for
feature:1020)) into a "open in the same", but it is important to keep the
window with newsletter subscription links opened.

git-svn-id: http://piwigo.org/svn/branches/2.0@3765 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-08-20 21:20:30 +00:00
rvelices
3181f90028 merge r3722 from trunk
- comment a css rule in admin page (was making Firefox very slow on form controls activation
- remove usage of jquery.dimensions because not required

git-svn-id: http://piwigo.org/svn/branches/2.0@3723 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-08-07 04:53:38 +00:00
patdenice
8caad629e6 bug 895 : At the end of install, webmaster is automatically connected with two buttons: "Home" and "Admin"
git-svn-id: http://piwigo.org/svn/branches/2.0@3714 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-08-01 12:37:43 +00:00
patdenice
f609411ba0 merge r3711 from trunk to branch 2.0
Disable database optimization for menubar order until it has been fixed.

git-svn-id: http://piwigo.org/svn/branches/2.0@3712 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-31 14:59:31 +00:00
vdigital
306c8e696f New: picture_nav_buttons.tpl gets in template-extension support
git-svn-id: http://piwigo.org/svn/branches/2.0@3664 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-23 18:45:43 +00:00
plegall
5695654d35 feature 953: avoid fatal error when delete a photo (added with pwg.images.add
API) and the file doesn't not exist on the filesystem.

git-svn-id: http://piwigo.org/svn/branches/2.0@3656 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-21 20:07:44 +00:00
plegall
cd10ccec6f feature 1057 added: let the IT/DE/ES users subscribe to the ID/DE/ES Piwigo
announcement newsletter.

git-svn-id: http://piwigo.org/svn/branches/2.0@3620 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-17 21:19:03 +00:00
patdenice
c975589d63 Update pclzip library to 2.8
git-svn-id: http://piwigo.org/svn/branches/2.0@3581 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-15 11:34:06 +00:00
ddtddt
a1e47bbf4c translate hide Branch2
git-svn-id: http://piwigo.org/svn/branches/2.0@3524 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-04 22:15:14 +00:00
vdigital
0abd9b4945 New(minor): Add Logout from admin menu (net cafe or office shared desktop) - saqwild request
git-svn-id: http://piwigo.org/svn/branches/2.0@3521 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-04 21:24:12 +00:00
ddtddt
3aab1e4125 bug 986 branche 2
git-svn-id: http://piwigo.org/svn/branches/2.0@3516 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-04 19:05:48 +00:00
plegall
ccc032c809 feature 1020: simplify the URL to subscribe to Piwigo Announcements
Newsletter.

git-svn-id: http://piwigo.org/svn/branches/2.0@3401 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-08 21:12:06 +00:00
plegall
bdf463d2b7 bug 1022 fixed: a photo can be associateed to no category (now that a photo
can have NULL as storage_category_id, it's possible to have no associated
category), the admin/picture_modify doesn't break anymore.

git-svn-id: http://piwigo.org/svn/branches/2.0@3389 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-02 20:20:42 +00:00
plegall
32a24fefc9 feature 1020 added: ability to subscribe to Piwigo Announcement Newsletter from
Piwigo itself. Admins can perform this action at the end of installation or on
administration panel index.

git-svn-id: http://piwigo.org/svn/branches/2.0@3381 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-05-31 19:35:51 +00:00
plegall
4d7292c50c feature 981 added: ability to set the compression level for thumbnail creation.
git-svn-id: http://piwigo.org/svn/branches/2.0@3270 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-05-05 21:42:58 +00:00
rub
b113b3fb08 merge -c3243 from trunk to branch 2.0
Resolved issue 0000974: Adding a link to the gallery in the notification of inscription 

git-svn-id: http://piwigo.org/svn/branches/2.0@3244 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-04-21 17:10:36 +00:00
nikrou
462b87485c merge r3216 from trunk to branch 2.0
feature_948_accordion feature 948 : fix problem with incorrect submenu open in admin use a new variable (U_ACTIVE_MENU) and use default position defined in selected_admin_menu if not exists

git-svn-id: http://piwigo.org/svn/branches/2.0@3217 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-19 21:39:38 +00:00
patdenice
00ce8c1bab merge r3207 from trunk to branch 2.0.
Add "tags" parameter for template extensions

git-svn-id: http://piwigo.org/svn/branches/2.0@3208 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-16 17:53:20 +00:00
patdenice
a45e1f526e merge r3205 from trunk to branch 2.0.
Update version in plugins table during plugin activation.

git-svn-id: http://piwigo.org/svn/branches/2.0@3206 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-16 17:22:46 +00:00
patdenice
796cbc8350 merge r3203 from trunk to branch 2.0.
Move template class inclusion to common.inc.php.
Add forum link in upgrade page.
Install and upgrade try to configure PHP5.

git-svn-id: http://piwigo.org/svn/branches/2.0@3204 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-16 17:04:13 +00:00
plegall
ab6f96964a bug 926 fixed: change links to piwigo.org so that they go to existing URLs.
new: if the current language is french, the links go to fr.piwigo.org insted.


git-svn-id: http://piwigo.org/svn/branches/2.0@3196 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-13 23:37:34 +00:00
patdenice
a49cd3f842 merge part of r3182 from trunk to branch 2.0.
Re-order templates extension alphabetically.

git-svn-id: http://piwigo.org/svn/branches/2.0@3183 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-07 21:38:38 +00:00
rvelices
368059d535 merge 3145-3146 from trunk
Last (I hope) paranoic optims ...
- move get_uysername and get_groupname from public to admin/functions.inc.php
- optim in index.php
- tags.tpl does not need smarty modifier included
- move func get_comment_post_key from functions_comment to functions (avoid extra inclusion every time on picture page)

git-svn-id: http://piwigo.org/svn/branches/2.0@3147 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-14 02:28:21 +00:00
patdenice
35e9af66be merge r3143 from trunk to branch 2.0
- Show number of downloads in plugins list.
- Allow to sort plugins by number of downloads.
- Fix plugin revision URL (no more revision_view in PEM).

git-svn-id: http://piwigo.org/svn/branches/2.0@3144 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-13 21:03:02 +00:00
vdigital
164fd3a280 New IE6 transparency enhancement in admin (Thanks to tweakpng).
git-svn-id: http://piwigo.org/svn/branches/2.0@3138 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-13 13:39:07 +00:00