Commit graph

1097 commits

Author SHA1 Message Date
patdenice
f83b8815c6 merge r4005 from branch 2.0 to trunk
bug 1187: 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/trunk@4006 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-09 14:41:30 +00:00
patdenice
9e1b542796 Simplification of commit 3951.
git-svn-id: http://piwigo.org/svn/trunk@3953 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-01 15:11:58 +00:00
patdenice
162a4d1b78 Allow to add prefilters, postfilters and output filters to templates.
git-svn-id: http://piwigo.org/svn/trunk@3951 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-01 10:46:48 +00:00
rub
c3a950d1ea merge -c3937 from branch 2.0 to trunk
Bug 1176: Mail are not sent on Free sites
Add text/plain like alternative content-type

git-svn-id: http://piwigo.org/svn/trunk@3938 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-28 20:54:06 +00:00
Eric
d67b276519 [Bug 1041] Switchable double/single password input with text or password type in admin using new $conf
git-svn-id: http://piwigo.org/svn/trunk@3935 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-28 19:22:59 +00:00
patdenice
7405e326ab Improve template prefilter functions
git-svn-id: http://piwigo.org/svn/trunk@3928 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-27 23:40:38 +00:00
mathiasm
e6363de6fd Add Smarty's prefilter capability. see topic:16219 (FR).
git-svn-id: http://piwigo.org/svn/trunk@3927 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-27 20:47:24 +00:00
rub
1c8a47a61f merge -c3925 from branch 2.0 to trunk
Bug 1176: Mail are not sent on Free sites
"To: undisclosed-recipients: ;" are removed

git-svn-id: http://piwigo.org/svn/trunk@3926 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-27 20:04:24 +00:00
rub
3c3c084156 Bug 1145: Mails are sent in double
git-svn-id: http://piwigo.org/svn/trunk@3798 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-08-26 20:14:57 +00:00
nikrou
71774d6496 Fix for feature 1000: cannot access $conf array (use global)
git-svn-id: http://piwigo.org/svn/trunk@3750 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-08-18 19:11:01 +00:00
Eric
bac7567b5c PHP 5.3 compatibility - Deprecated functions were replace as follows :
ereg() -> preg_match()
ereg_replace() -> preg_replace()
eregi() -> preg_match() with the 'i' modifier
eregi_replace() -> preg_replace() with the 'i' modifier
set_magic_quotes_runtime() -> No more usefull. Fixed it by adding "@" prefix.

git-svn-id: http://piwigo.org/svn/trunk@3747 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-08-17 16:21:09 +00:00
nikrou
513b3e0bd6 New feature : configuration option for thumbnail directory
git-svn-id: http://piwigo.org/svn/trunk@3720 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-08-02 13:04:17 +00:00
rvelices
5f1a286e08 - fix smarty debugging info (not important)
git-svn-id: http://piwigo.org/svn/trunk@3703 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-30 03:59:18 +00:00
plegall
641caaa2f5 merge r3661 from branch 2.0 to trunk
feature 1071: improve log system on API calls. The log can be activated by a
configuration setting. The log file can be changed also with a configuration
setting.

improvement: pwg.images.add API methods gets a cleaner way to log received
parameters.

git-svn-id: http://piwigo.org/svn/trunk@3662 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-21 21:41:31 +00:00
plegall
b253200c95 merge r3659 from branch 2.0 to trunk
bug 1070: fix a pLoader bug on Piwigo side. Catch the bad communication:
don't try to find tags if tag_ids parameter is empty (but not null).

git-svn-id: http://piwigo.org/svn/trunk@3660 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-21 21:19:53 +00:00
rvelices
537b8430a2 - bug fix (use uasort for computed categories instead of usort) - I think this is an old bug and somehow it worked before)
git-svn-id: http://piwigo.org/svn/trunk@3642 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-20 05:36:15 +00:00
rvelices
a8d561b0bb correct bug in commit r3622 ( feature 1053 )
git-svn-id: http://piwigo.org/svn/trunk@3640 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-20 05:18:53 +00:00
rvelices
4cbf56f768 feature 1053: hide categories that contain no photo due to privacy level
git-svn-id: http://piwigo.org/svn/trunk@3622 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-18 10:30:42 +00:00
rvelices
e618e8b944 - fix php warning from comment_list.tpl
- author name is saved always in #comments (even for registered users) so that
  - sql queries are simpler on the comments page (one less table in a big join)
  - when a user is deleted, we can keep the username in the #comments (there might be still a bug that author_id is not updated when a user is deleted)

git-svn-id: http://piwigo.org/svn/trunk@3600 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-16 05:20:34 +00:00
patdenice
0870a47e99 merge r3583 from branch 2.0 to trunk
Update smarty to 2.6.26


git-svn-id: http://piwigo.org/svn/trunk@3584 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-15 11:43:44 +00:00
plegall
cc285fa731 merge r3513 from branch 2.0 to trunk
bug 1043 fixed: avoid warning when merging chunks. This warning was preventing
the PwgError to work correctly and the error code was not transmitted.

git-svn-id: http://piwigo.org/svn/trunk@3514 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-03 23:03:30 +00:00
vdigital
1bc5573c64 merge r3490 from branch 2.0 to trunk
Reverse of 3484




git-svn-id: http://piwigo.org/svn/trunk@3491 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-01 21:10:42 +00:00
rvelices
61955b7dfe - correct mysql error (while updating user comment)
git-svn-id: http://piwigo.org/svn/trunk@3489 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-01 21:04:23 +00:00
rvelices
4fa8d36ed5 - remove warn on unset variable
- insert_user_comment expects now the comment content to be sql safe (works now exactly as update_user_comment)

git-svn-id: http://piwigo.org/svn/trunk@3488 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-01 20:56:41 +00:00
vdigital
ed23132fc7 merge r3484 from branch 2.0 to trunk
New: Extend of available fields within a category page for a template-extension simple usage.
Add thumbnail dimensions to remove as much as possible some PHP in tpl extensions.

{$thumbnails.FILE_TN_WIDTH}
{$thumbnails.FILE_TN_HEIGHT}

git-svn-id: http://piwigo.org/svn/trunk@3485 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-01 19:22:53 +00:00
plegall
9b16d67c22 merge r3453 from branch 2.0 to trunk
feature 1033 added: new API method pwg.categories.setInfo makes possible to
change the name and comment of a given category.


git-svn-id: http://piwigo.org/svn/trunk@3454 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-24 23:01:35 +00:00
nikrou
ed7f7a574e Fix two problem with Feature 1026 :
use of $conf['user_fields']['username'] and $conf['user_fields']['id'] instead of username and id
escape comment content before editing it.

git-svn-id: http://piwigo.org/svn/trunk@3452 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-24 19:00:40 +00:00
nikrou
64c872a83e Feature 1026 step 2 :
add author_id column so that guest cannot modify old users comments

git-svn-id: http://piwigo.org/svn/trunk@3450 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-23 21:18:16 +00:00
nikrou
1ce50505e4 fix html bug (li) fix comment for guest bug (form missing)
git-svn-id: http://piwigo.org/svn/trunk@3446 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-23 19:51:16 +00:00
nikrou
9245227e70 Feature 1026 : Modify / delete comments for users
+ update config table content
 + minor modification of Sylvia theme
 + need refactoring

git-svn-id: http://piwigo.org/svn/trunk@3445 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-23 13:44:58 +00:00
nikrou
1e8ae9e88b feature 1028 : Allow admin to validate comment from picture page
git-svn-id: http://piwigo.org/svn/trunk@3409 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-10 20:11:28 +00:00
nikrou
b7f3513d7e bug fix 1024 : the way to discover protocol (http/https) was not correct
git-svn-id: http://piwigo.org/svn/trunk@3403 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-09 15:47:47 +00:00
plegall
654ce203d3 merge r3381 from branch 2.0 to trunk
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/trunk@3382 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-05-31 19:46:59 +00:00
plegall
e10636f2db merge r3276 from branch 2.0 to trunk
bug 968 fixed: charset is set in HTTP header.

improvement: in the "this gallery is locked" message, the link to the
"sign in" page is on the whole sentence, not only on the final dot.

git-svn-id: http://piwigo.org/svn/trunk@3277 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-05-06 21:09:06 +00:00
plegall
f3cdd38fe4 merge r3270 from branch 2.0 to trunk
feature 981 added: ability to set the compression level for thumbnail creation.

git-svn-id: http://piwigo.org/svn/trunk@3271 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-05-05 22:16:05 +00:00
rub
24ed6dab41 Resolved issue 0000977: Error on sendmail with smtp
git-svn-id: http://piwigo.org/svn/trunk@3261 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-04-26 18:34:57 +00:00
rub
45f95d64e6 Remove " " after ":" on smtp_mail
git-svn-id: http://piwigo.org/svn/trunk@3259 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-04-26 15:03:40 +00:00
rub
1bbf9a9f64 Rollback "Missing <ul> on NBM" in order to dd <ul> on feed too.
git-svn-id: http://piwigo.org/svn/trunk@3257 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-04-26 14:59:15 +00:00
plegall
3c27690c87 merge r3239 from branch 2.0 to trunk
bug 949 fixed: to avoid memory limit on server side, base64 encode chunks one
by one on client side and base64 decode chunks one by one on server side.


git-svn-id: http://piwigo.org/svn/trunk@3240 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-04-14 22:54:39 +00:00
patdenice
ed068b08c8 Add "tags" parameter for template extensions
git-svn-id: http://piwigo.org/svn/trunk@3207 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-16 17:51:47 +00:00
patdenice
7f8cbea1ec 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/trunk@3203 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-16 16:57:10 +00:00
plegall
87a7b60bed merge r3196 from branch 2.0 to trunk
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 instead.


git-svn-id: http://piwigo.org/svn/trunk@3197 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-13 23:43:50 +00:00
plegall
f94ff8b8e1 merge r3192 from branch 2.0 to trunk
bug 941 fixed: to be able to upload heavy photo, chunk the files, send parts
one by one, and then pwg.images.add merge chunks together. Now big uploads
works and you can even have a fine progress bar on client side.


git-svn-id: http://piwigo.org/svn/trunk@3193 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-12 23:14:50 +00:00
patdenice
bd005369b0 URL parameter for template extensions can be used in slideshow.
git-svn-id: http://piwigo.org/svn/trunk@3190 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-12 13:18:17 +00:00
patdenice
36d0da30d3 Move get_icon function.
git-svn-id: http://piwigo.org/svn/trunk@3188 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-11 17:25:26 +00:00
nikrou
bea3462f56 fix html warnings. unclosed monotags
git-svn-id: http://piwigo.org/svn/trunk@3185 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-09 19:41:45 +00:00
patdenice
9d1bff0697 Code simplification of commit 3172
git-svn-id: http://piwigo.org/svn/trunk@3173 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-06 01:06:18 +00:00
patdenice
254aee2695 Create navigation_bar.tpl file.
Move create_navigation_bar function from functions_html.inc.php to functions.inc.php.

git-svn-id: http://piwigo.org/svn/trunk@3172 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-05 21:08:04 +00:00
patdenice
d3e6eabb05 Remove get_html_menu_category function and use smarty abilities.
git-svn-id: http://piwigo.org/svn/trunk@3171 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-04 21:49:21 +00:00
patdenice
9045f11c70 User's template extension must not be included in admin pages.
git-svn-id: http://piwigo.org/svn/trunk@3169 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-03 22:37:14 +00:00