Commit graph

98 commits

Author SHA1 Message Date
rvelices
a4c0f7c393 attempt to make silent php warnings from emogrifier
git-svn-id: http://piwigo.org/svn/trunk@28185 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-14 21:40:34 +00:00
plegall
393b1b38ef merge r27996 from branch 2.6 to trunk
bug 3065 fixed: avoid SQL errors with external authentication



git-svn-id: http://piwigo.org/svn/trunk@27997 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-28 13:26:30 +00:00
mistic100
a49fd1f6a4 update emogrifier
git-svn-id: http://piwigo.org/svn/trunk@27403 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-18 17:32:36 +00:00
mistic100
636650309a Update headers to 2014. Happy new year!!
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
mistic100
989d3af765 feature 2995: disable DOM parsing warnings
git-svn-id: http://piwigo.org/svn/trunk@25787 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-04 21:32:52 +00:00
mistic100
4dd7b0e42f parse error in r25550
git-svn-id: http://piwigo.org/svn/trunk@25563 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-18 19:54:36 +00:00
mistic100
b8eeae36dc feature 2999: Documentation of include/functions_mail|metadata|picture
git-svn-id: http://piwigo.org/svn/trunk@25550 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-18 17:36:35 +00:00
rvelices
0590f7e435 mail func (use smarty3 syntax, better debugging with error reason)
git-svn-id: http://piwigo.org/svn/trunk@25384 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-07 21:04:40 +00:00
mistic100
ae974849bc feature 2995 and feature 2997
change organization of configuration page
add theme parameter on GUI
change links color of dark mail theme (pink)
remove main themes css files

git-svn-id: http://piwigo.org/svn/trunk@25372 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-07 15:30:59 +00:00
mistic100
87f100e395 feature 2995: New email template
add function get_clean_recipients_list() allowing big flexibility for recipients lists

git-svn-id: http://piwigo.org/svn/trunk@25361 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-06 19:12:18 +00:00
mistic100
fc3b787b70 feature 2995: New email template
restore get_l10n_args removed at r25357
apply changes to NBM

git-svn-id: http://piwigo.org/svn/trunk@25360 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-06 17:57:53 +00:00
mistic100
68636067e9 feature feature 2995: New email template
improve mail cache system
fix font-size in Thunderbird


git-svn-id: http://piwigo.org/svn/trunk@25358 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-06 16:21:31 +00:00
mistic100
7a5e31e401 feature 2995: New email template
rewrite pwg_mail_group() and pwg_mail_notification_admins()
new function pwg_mail_admins()
add complete template management in pwg_mail()
TODO : font-size problem in Thunderbird

git-svn-id: http://piwigo.org/svn/trunk@25357 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-06 15:43:41 +00:00
mistic100
7a26038e66 feature 2965: apply new template on pwg_mail()
TODO : review other mail functions, configuration GUI

git-svn-id: http://piwigo.org/svn/trunk@25344 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-05 19:23:29 +00:00
mistic100
ae707279a1 remove all array_push (50% slower than []) + some changes missing for feature:2978
git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 17:43:04 +00:00
rvelices
5abcfccff0 removed unused css rules, password recover form has a fieldset as all other forms, no exit if mail send fails
git-svn-id: http://piwigo.org/svn/trunk@24966 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-17 19:38:06 +00:00
plegall
ed40a38fca feature 2965: move phpmailer files in a specific directory
git-svn-id: http://piwigo.org/svn/trunk@24952 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-17 13:24:36 +00:00
plegall
d1a0a85520 feature 2965: replace custom mail functions by PHPMailer (version 5.2.7).
Based on patch by msakik.

function pwg_send_mail no longer used (all is done in pwg_mail)

new param $conf['smtp_secure']

work still in progress, some obsolete code must be removed


git-svn-id: http://piwigo.org/svn/trunk@24951 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-17 13:05:30 +00:00
mistic100
b1316542e4 bug:2939 switch_lang_to() must reload plugins files
git-svn-id: http://piwigo.org/svn/trunk@23823 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-07-07 12:54:44 +00:00
plegall
4bc775e479 update Piwigo headers to 2013 (the end of the world didn't occur as expected on r12922)
git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 12:35:02 +00:00
mistic100
cd1af14ce0 clean some function desc
git-svn-id: http://piwigo.org/svn/trunk@19225 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-29 14:57:32 +00:00
mistic100
112d730f3a update Piwigo headers to 2012, last change before the expected (or not) apocalypse
git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 22:48:36 +00:00
rvelices
1e1b71c6f6 fetaure 2542 replace $conf['local_data_dir'] with $conf['data_location'] and move combined files and image derivatives from local to _data
git-svn-id: http://piwigo.org/svn/trunk@12802 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-29 05:48:16 +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
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
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
patdenice
e97974a42e feature 2060: Remove adviser from db structure.
Remove adviser from user_list page and some db queries.

git-svn-id: http://piwigo.org/svn/trunk@8131 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 14:36:20 +00:00
rub
8ce85643a6 merge -c6705 from branch 2.1 to trunk
Feature 0001778: Thumbnails missing on NBM

Fix move_ccs_rules_to_body function

git-svn-id: http://piwigo.org/svn/trunk@6706 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-24 21:02:34 +00:00
rvelices
722c4a3a97 merge r6368,6410 from branch-2.1 to trunk
- merged the linkroot integration with the existing gallery_url (unique $conf['gallery_url'] used for RSS, mail homepage root in the browse path)
- added an option $conf['debug_mail'] - if set all outgoing mails are saved into local_data_dir

git-svn-id: http://piwigo.org/svn/trunk@6411 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-28 19:58:51 +00:00
patdenice
17e2e12b84 User theme was not used for header and footer in NBM.
git-svn-id: http://piwigo.org/svn/trunk@5796 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-11 12:30:32 +00:00
patdenice
e5f8722c33 Fix some issues on NBM: move css rules to mail body if it's possible.
Remove fieldset on available plugins page.

git-svn-id: http://piwigo.org/svn/trunk@5695 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-07 08:09:30 +00:00
patdenice
6e51794b3f feature 1522: Move local css local files and local language files to local directory.
Add $conf['template_force_compile'] to help developpers.

git-svn-id: http://piwigo.org/svn/trunk@5208 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-20 23:14:30 +00:00
plegall
86ad1d5b49 increase copyright year to 2010
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 22:37:10 +00:00
patdenice
7a81759fb0 Feature 1502
Move mail images.
Change image path in mail-css files.
Remove local css file for NBM.

git-svn-id: http://piwigo.org/svn/trunk@5125 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-13 01:19:57 +00:00
plegall
14778ce673 feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It
supports multiple level inheritance.

git-svn-id: http://piwigo.org/svn/trunk@5123 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-13 00:00:52 +00:00
nikrou
2e890e9597 Feature 1451 : localization with gettext
Use php-gettext (developpement version rev43, because of php5.3) as fallback
Use native language (english) instead of key for translation
Keep directory en_UK for english customization
Need some refactoring for plurals

Todo : managing plugins in the same way

git-svn-id: http://piwigo.org/svn/trunk@5021 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-02 14:54:22 +00:00
rub
9c5a2aee19 merge -c4907 from branch 2.0 to trunk
Feature 0001142: notification on category, current user language depends on last group user 

Thanks to cljosse and Eric for their help!


git-svn-id: http://piwigo.org/svn/trunk@4908 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-02-18 23:12:47 +00:00
nikrou
924dd262ec Feature 1244 resolved
Replace all mysql functions in core code by ones independant of database engine

Fix small php code synxtax : hash must be accessed with [ ] and not { }.

git-svn-id: http://piwigo.org/svn/trunk@4325 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-20 14:17:04 +00:00
Eric
1235bab527 Escape all login and username characters in database
Display correctly usernames

(I hope not to have made mistakes)

git-svn-id: http://piwigo.org/svn/trunk@4304 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-18 20:07:20 +00:00
nikrou
1040cae210 Feature 1241 resolved. replace mysql_fetch_array by mysql_fetch_assoc for small php code improvements
git-svn-id: http://piwigo.org/svn/trunk@4265 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-15 12:26:09 +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
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
plegall
1b711ad236 Administration: happy new year 2009, all PHP headers updated.
git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-04 23:28:36 +00:00
vdigital
a7a4a7d2f4 Border removal in mails on thumbnails (2). Need further tests.
merge -c2994 from branch 2.0 to trunk


git-svn-id: http://piwigo.org/svn/trunk@2995 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-16 22:55:08 +00:00
rub
1d7f99d90f Use directly $lang_info on tpl files.
git-svn-id: http://piwigo.org/svn/trunk@2651 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-04 09:50:02 +00:00
rub
389edad288 Fix bad content of NBM mail.
Missing a file.

Sorry, multiple dev on work...

git-svn-id: http://piwigo.org/svn/trunk@2629 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-30 22:14:19 +00:00
rvelices
efa7411875 - bug 854: better checks of directory creations ( local_data_dir, templates_c, tmp etc...)
git-svn-id: http://piwigo.org/svn/trunk@2497 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-04 01:28:34 +00:00
rvelices
5a6298548b - local.lang is loaded without fallback on default language or PHPWG_DEFAULT_LANGUAGE (needed to change the signature of load_language which became a little too big)
- move a function from functions.inc.php to functions_picture.inc.php (included only when necessary)
- removed some css (not as much as I wanted)

git-svn-id: http://piwigo.org/svn/trunk@2479 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-08-20 00:35:22 +00:00
rub
51491ab08f Change some PhpWebGallery to Piwigo.
Not all PhpWebGallery has been translated!

git-svn-id: http://piwigo.org/svn/trunk@2339 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-14 22:25:36 +00:00