nupplaPhil
cb08912926
split mailbuilder types
2020-02-04 21:14:39 +01:00
nupplaPhil
34dce9fd76
Introduce NotifyEmailBuilder
2020-02-04 21:14:39 +01:00
nupplaPhil
11c831945c
Add logging
2020-02-04 21:32:18 +01:00
nupplaPhil
0b94b84dc7
simplify mail creation
2020-02-04 21:05:33 +01:00
nupplaPhil
0e13428210
Move "App::getSenderEmailAddress()" to "Emailer::getSiteEmailAddress()"
2020-02-02 22:43:40 +01:00
nupplaPhil
9428466d1d
Set Sitename / site email as sender for system emails
2020-02-02 22:43:39 +01:00
nupplaPhil
3291728059
Extract System emails from enotify
...
- Removed every SYSTEM_EMAIL occurrence in enotify
- Introduced a "SystemMailBuilder" for build system emails
- Replaced every SYSTEM_EMAIL usage in the classes with calling this builder
- Added tests for this new Builder
- Split the email templates between "base" template for email and concrete usages for different use cases
2020-02-02 22:43:35 +01:00
f6aea0d65a
Fix invalid "emailer_prepare" Hook
...
- Use IEmail instead of array data
- Introduce "composer" based library for phpmailer
2020-01-29 20:20:40 +01:00
6350b210a6
Renaming - part 2 :-)
2020-01-27 00:01:17 +01:00
765a0d8892
Some Renames:
...
- EMail => EMail
- toEmail => toAddress
- fromEmail => fromAddress
2020-01-26 23:47:16 +01:00
4efba4d0cf
fix boolean field
2020-01-26 21:35:04 +01:00
2b8f067715
Introduce interface for emailing and create email classes
2020-01-26 21:35:04 +01:00
915abe8a33
Add explicit parameters to Sender::send() method signature
2020-01-26 21:35:03 +01:00
ea9d3b7438
Make EMailer util dynamic
2020-01-26 21:35:03 +01:00
ed9392469e
Remove unneeded Config namespace usages
2020-01-19 22:50:44 +01:00
6c36fd9e01
Move Config::get() to DI::config()->get()
2020-01-19 21:21:13 +01:00
Philipp
af88c2daa3
Merge pull request #8135 from annando/brief
...
@brief is removed completely
2020-01-19 12:31:02 +01:00
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
0b9aec4569
Add missing use Friendica\DI statement in Util\Emailer
2020-01-18 16:28:42 -05:00
800694e9b3
Remove unused use
statements & remove PConfig class
2020-01-18 17:02:59 +01:00
9e9429b56d
Move PConfig::get() to DI::pConfig()->get()
2020-01-18 16:50:57 +01:00
146646c4d4
Replace deprecated calls to defaults() by ?? and ?: in src/
2019-10-16 08:38:52 -04:00
4e207ef786
Enable addon using emailer hooks to skip default call to mail()
2019-05-26 21:36:09 -04:00
ce177f22c8
Fix doc blocks and return value type
2019-01-21 11:36:01 -05:00
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
55e54bb950
Replace deprecated Addon::callHooks with Hook::callAll
...
- Update documentation
2019-01-21 09:50:56 -05:00
895b3abf32
Remove/replace killme() with *exit()
2019-01-21 09:49:17 -05:00
458981f75c
Replace x() by isset(), !empty() or defaults()
...
- Remove extraneous parentheses around empty() calls
- Remove duplicate calls to intval(), count() or strlen() after empty()
- Replace ternary operators outputting binary value with empty() return value
- Rewrite defaults() without x()
2018-11-30 09:06:22 -05:00
Adam Magness
50da89d861
Logger Levels
...
update logger levels in calls
2018-10-30 09:58:45 -04:00
Adam Magness
14fde5dc9b
Log function
...
implement log() function.
2018-10-30 09:57:14 -04:00
fd7e45042a
The days are getting shorter, like the list of removed notices ...
2018-09-02 07:47:48 +00:00
miqrogroove
79446a625d
Update Emailer.php
2018-06-19 16:58:06 -04:00
miqrogroove
5b8619f501
Add Missing Fifth Argument to mail() Function Call
...
This is desperately needed to fix Issue #5190 . In case of any unexpected problem, the admin can use
`$a->config['system']['sendmail_params'] = false;`
2018-06-19 16:23:42 -04:00
Adam Magness
11cf36105c
Update Addon functions and calls
...
Update function names and calls for Addon class.
2018-01-20 07:48:22 -05:00
Hypolite Petovan
e36f2bb1fb
Use short form array syntax everywhere
...
- Add short form array syntax to po2php.php generation
2018-01-15 14:07:17 -05:00
Adam Magness
9a4e741d1a
Review Changes
...
renamed some functions and adjusted corresponding calls.
2017-12-01 21:05:06 -05:00
Adam Magness
e90b0748aa
Code Cleanup
...
Standards clean up
2017-12-01 18:13:39 -05:00
Adam Magness
6008e3df11
Email to src
...
Create Email class and update/rename functions and function calls.
2017-12-01 14:41:27 -05:00
Adam Magness
1726ededac
Emailer to src
...
Move emailer to src Friendica\Util namespace
2017-11-20 15:37:30 -05:00