Commit graph

456 commits

Author SHA1 Message Date
nupplaPhil
13c19fa9da
Add Logger 2020-02-04 21:14:40 +01:00
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
Hypolite Petovan
e37b1c8794
Merge pull request #8215 from nupplaphil/task/extract_email
Cleanup enotify & Extract System emails
2020-02-04 15:10:27 -05:00
nupplaPhil
3e898d0415
formating 2020-02-04 21:33:53 +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
Tobias Diekershoff
38e5733b6e
Merge pull request #8227 from annando/daemon-checks
Daemon: Added check for empty data
2020-02-03 06:26:13 +01:00
Michael
7ddcb1e35d Daemon: Added check for empty data 2020-02-03 00:13:09 +00:00
nupplaPhil
7fb913eb86
Add extra email banner (including setting) 2020-02-02 22:43:44 +01:00
nupplaPhil
ca67e3111c
Set sender data directly 2020-02-02 22:43:42 +01:00
nupplaPhil
0b309245b1
Improve check 2020-02-02 22:43:41 +01:00
nupplaPhil
0e13428210
Move "App::getSenderEmailAddress()" to "Emailer::getSiteEmailAddress()" 2020-02-02 22:43:40 +01:00
nupplaPhil
206b53477e
Fix Lookup 2020-02-02 22:43:39 +01:00
nupplaPhil
9428466d1d
Set Sitename / site email as sender for system emails 2020-02-02 22:43:39 +01:00
nupplaPhil
abad42f7d2
fix wrong template 2020-02-02 22:43:38 +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
Hypolite Petovan
703ad99464 Add Util\Network::appendQueryParam method 2020-01-31 19:39:15 -05:00
nupplaPhil
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
nupplaPhil
6350b210a6
Renaming - part 2 :-) 2020-01-27 00:01:17 +01:00
nupplaPhil
765a0d8892
Some Renames:
- EMail => EMail
- toEmail => toAddress
- fromEmail => fromAddress
2020-01-26 23:47:16 +01:00
nupplaPhil
4efba4d0cf
fix boolean field 2020-01-26 21:35:04 +01:00
nupplaPhil
2b8f067715
Introduce interface for emailing and create email classes 2020-01-26 21:35:04 +01:00
nupplaPhil
915abe8a33
Add explicit parameters to Sender::send() method signature 2020-01-26 21:35:03 +01:00
nupplaPhil
ea9d3b7438
Make EMailer util dynamic 2020-01-26 21:35:03 +01:00
Hypolite Petovan
db518e7ef2 Fix birthday display and setting
- Add new translation string
2020-01-20 07:47:10 -05:00
Hypolite Petovan
353dab166e Rename PermissionSet::fetchIDForPost to PermissionSet::getIdFromACL
- Allow creating/retrieving a permission set id with arbitrary parameters
- Rename ACLformatter->sanitize to ACLFormatter->sanitizeItem
- Move PermissionSet::sortPermissions to ACLformatter->sanitize
2020-01-20 07:32:47 -05:00
Hypolite Petovan
04d620fc2f
Merge pull request #8142 from nupplaphil/task/di_config
CleanUp Config namespace
2020-01-19 22:22:57 -05:00
nupplaPhil
ed9392469e
Remove unneeded Config namespace usages 2020-01-19 22:50:44 +01:00
nupplaPhil
d5a473abda
Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone 2020-01-19 22:23:44 +01:00
Michael
dcbd44ab88 Removed the rest of the @brief fields 2020-01-19 20:44:01 +00:00
nupplaPhil
cb80108957
Shorten "Configuration" to "Config" again, since the Wrapper is gone 2020-01-19 21:29:36 +01:00
nupplaPhil
21640ec5d8
Add missing Friendica\DI namespace to files (PHPStorm inspection) 2020-01-19 21:26:42 +01:00
nupplaPhil
6c36fd9e01
Move Config::get() to DI::config()->get() 2020-01-19 21:21:13 +01:00
nupplaPhil
d6efc90194
cleanup namespace usages for L10n 2020-01-19 16:31:33 +01:00
nupplaPhil
d83f6335eb
Move L10n::getCurrentLang() calls to DI::l10n()->getCurrentLang() calls 2020-01-19 16:31:19 +01:00
nupplaPhil
cb4ad529f4
Move L10n::getDay() calls to DI::l10n()->getDay() calls 2020-01-19 16:31:18 +01:00
nupplaPhil
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:16 +01:00
Philipp
af88c2daa3
Merge pull request #8135 from annando/brief
@brief is removed completely
2020-01-19 12:31:02 +01:00
Michael
0a4119adaf @brief is removed completely 2020-01-19 06:05:23 +00:00
Hypolite Petovan
0b9aec4569
Add missing use Friendica\DI statement in Util\Emailer 2020-01-18 16:28:42 -05:00
Hypolite Petovan
58f69481e6
Merge pull request #8130 from nupplaphil/task/di_pconfig
Move PConfig to DI::pConfig()
2020-01-18 13:57:57 -05:00
nupplaPhil
800694e9b3
Remove unused use statements & remove PConfig class 2020-01-18 17:02:59 +01:00
nupplaPhil
9e9429b56d
Move PConfig::get() to DI::pConfig()->get() 2020-01-18 16:50:57 +01:00
nupplaPhil
424c87195b
CleanUp Cache namespace
- Introduce enum "Duration"
- Introduce enum "Type"
- Move "Cache\Cache" to "BaseCache"
2020-01-18 15:41:19 +01:00
Michael
8215c493cf The archive functionality is working again 2020-01-15 04:06:30 +00:00
nupplaPhil
a38b0f7eaf
Move remaining namespaces and delete Core\Cache.php 2020-01-07 00:51:02 +01:00
nupplaPhil
fe078410a1
Move Cache::get() to DI::cache()->get() 2020-01-07 00:45:49 +01:00
nupplaPhil
f68929633b
Move Cache::set() to DI::cache()->set() 2020-01-07 00:41:20 +01:00
nupplaPhil
f0eea6f875
Remove get_app() in favor of DI::app() 2020-01-04 23:42:01 +01:00