Commit graph

118 commits

Author SHA1 Message Date
Linty
0645372570 fixes #2287 add a new language key 2024-12-19 16:40:38 +01:00
Linty
465e6eced4 fixes #2281 rewording set and reset mail content 2024-11-25 11:06:43 +01:00
Linty
6e45a8f426 fixes #2281 use template for reset/activation mail
and change is_first_connection to has_already_logged_in for better naming
2024-11-20 21:06:02 +01:00
Linty
34296598d4 fixes #2281 add two default conf for reset and activation link
When a password activation or reset link is generated, the link expiry time is now defined in two conf: $conf[’password_reset_duration‘] with a default time of one hour and $conf[’password_activation_duration‘] with a default time of 72 hours.
2024-11-20 17:09:26 +01:00
Linty
c8d7503d4e related to #2165 new add user popin
- add field for add user
- in the `pwg.users.add` method, the params `send_password_by_mail` does nothing anymore. Because we no longer want to send passwords in clear text.
- in the `pwg.users.add` add a new `auto_password` parameter to generate a random password when a user is created
- use this parameter (`auto_password`) in user_list.js
- change mail content et password page on first login
2024-06-28 18:56:28 +02:00
Linty
27cd5cde9e related to #2158 update user and guest pop in
- Implementation of a new modal for modifying a user or guest
- Addition of a function to allow plugins to add a tab to the new user modal
- Fix bug: "badger-number" is updated when a user is added or deleted
- Fix bug: When the user who is editing has permissions to delete the user he is modifying, the delete icon is now displayed correctly
- Added a new api method for modifying the main user and generating a link to reset a password
- Passed $conf[‘webmaster_id’] in database configuration
2024-05-31 18:12:52 +02:00
plegall
4b33001c15 fixes #1902 ability to set a specific group to notify user registrations 2023-04-22 17:21:29 +02:00
Eike Rathke
40a127424e Include PHPMailer Exception in pwg_mail()
Otherwise if an exception is to be thrown it results in
Fatal error: Uncaught Error: Class 'PHPMailer\PHPMailer\Exception' not found
See https://piwigo.org/forum/viewtopic.php?id=31942
2022-07-06 11:34:40 +02:00
plegall
731fd2b4e4 issue #1417 update PHPMailer from 5.2.21 to 6.5.1
Requires PHP 5.5, but Piwigo 12 is now requiring PHP 7 so it's fine.
2021-08-22 19:56:32 +02:00
plegall
4195572563 fixes #904 avoid warnings on PHP 7.2+ with PHPMailer (without updating PHPMailer) 2019-06-21 15:02:02 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
plegall
5d5e6e2b59 pwg_mail_admins: ability to include current user + filter on webmasters 2017-03-29 15:07:34 +02:00
Thomas Kuther
c2b456ba0f fix PHPMailer smtp class loading when using SMTP transport (['smtp_host'] set) (#599) 2017-01-04 14:30:03 +01:00
plegall
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01:00
plegall
426e10e235 feature #392, bug fixed on footer link
Use auth_key in mail cache key to avoid using the auth key of the first user.
2016-01-06 14:30:05 +01:00
plegall
c42f15dfa8 add auth_key in mail footer for pwg_mail_group 2016-01-06 14:29:32 +01:00
plegall
67e142f331 feature #392, add authentication key in NBM mails
There are many links in NBM (Notification By Mail, see screen
[Administration > Users > Notification]). I had to change several
functions to take this authentication key into account.
2016-01-04 19:54:40 +01:00
plegall
4aeedb5a2e feature #392, authentication keys, album notification
* On album notification (for a group), sends one distinct email for each user
  with a new authentication key.

* When someone clicks the link with auth=<key> in URL, if the user is not
  already connected, Piwigo will automatically connect the user.
2015-12-31 19:59:08 +01:00
mistic100
78c98bd7ec feature 3046: Add option "force_fallback" to load_language + clean code
git-svn-id: http://piwigo.org/svn/trunk@28913 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-02 08:12:16 +00:00
mistic100
4bd32005b5 feature 3010 : replace trigger_action/event by trigger_notify/change
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 07:55:46 +00:00
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