Commit graph

253 commits

Author SHA1 Message Date
Hypolite Petovan acd6fd7dd3 Add expected method MailBuilder->withHeaders
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-696055412
2020-09-21 11:07:34 -04:00
Philipp Holzer ac1d2cf38f
Transform email header string to header array & replace it at various situations. 2020-09-19 20:16:55 +02:00
Michael 5b6ced9c6e Issue 9142: Make the message ID look more like a message ID 2020-09-06 17:47:25 +00:00
Michael cef7af8fba Don't notify on own entries 2020-08-31 19:27:50 +00:00
Michael f5504ed8d1 Improve notifications for announced posts 2020-08-31 18:51:59 +00:00
Michael fbb1ddd534 Unneeded fields removed 2020-08-12 08:39:04 +00:00
Michael 8488ed76e4 Don't create notifications for activities 2020-08-12 08:37:38 +00:00
Michael 60631f8a22 Avoid getting too much notifications 2020-08-12 06:50:02 +00:00
Michael 4ee858740e Create notifications for shared posts 2020-08-12 04:35:24 +00:00
Hypolite Petovan a3e775f28c Account for false return value of Repository\Notify->insert in notification()
- Address https://github.com/friendica/friendica/issues/8473#issuecomment-651393541
2020-06-29 18:58:17 -04:00
Hypolite Petovan 89b3ae2657 Add null/empty string parameter value case in BBCode::convert
- Remove obsolete coalesce operator uses
2020-06-08 19:15:08 -04:00
Michael 48f3234318 Useless space and useless "null" check 2020-05-04 14:50:22 +00:00
Michael 49db63da2b Merge remote-tracking branch 'upstream/develop' into notification-uri-id 2020-05-04 14:38:19 +00:00
Michael 00035f7ba0 Notifications are now storing the uri-id as well 2020-05-02 13:12:11 +00:00
Michael b0cb6536dd The old tag handling is removed 2020-05-02 05:08:05 +00:00
Michael 6f22e3909b Issue 8254 More length shortenings 2020-03-25 23:18:07 +00:00
Tobias Diekershoff a16dba2941 a l10n call too much 2020-03-22 08:43:06 +01:00
Michael 83a9970891 Issue 8432: Make notifications translatable 2020-03-21 11:48:20 +00:00
Hypolite Petovan 2c56d2f336
Merge pull request #8265 from nupplaphil/task/add_license
Add license headers :-)
2020-02-09 16:34:21 -05:00
nupplaPhil f69e3a2dc6
Fix Notification subject 2020-02-09 22:42:51 +01:00
nupplaPhil 85dc9bb96b
Add license info at Friendica PHP files 2020-02-09 16:18:46 +01:00
nupplaPhil 2e98c05bd3
improvements/fixings 2020-02-05 22:22:12 +01:00
nupplaPhil 951b7179af
Move [Friendica:Notify] to a own PREFIX variable 2020-02-05 21:41:07 +01:00
nupplaPhil 511556085a
Move Notify::TYPE_SYSTEM 2020-02-05 21:41:07 +01:00
nupplaPhil c6915dc672
Move Notify::TYPE_SHARE 2020-02-05 21:41:06 +01:00
nupplaPhil a78e19ea76
Move Notify::TYPE_POKE 2020-02-05 21:41:05 +01:00
nupplaPhil bee110dc0b
Move Notify::TYPE_TAGSHARE 2020-02-05 21:41:05 +01:00
nupplaPhil 51260f234f
Move Notify::TYPE_TAGSELF 2020-02-05 21:41:04 +01:00
nupplaPhil 88dc3efdc9
Move Notify::TYPE_SUGGEST 2020-02-05 21:41:03 +01:00
nupplaPhil 9435cc4b88
Move Notify::TYPE_MAIL 2020-02-05 21:41:02 +01:00
nupplaPhil e6fb044e60
Move Notify::TYPE_COMMENT 2020-02-05 21:41:02 +01:00
nupplaPhil b86ad37001
Move Notify::TYPE_WALL 2020-02-05 21:41:01 +01:00
nupplaPhil 6e45514e2c
Move Notify::TYPE_CONFIRM 2020-02-05 21:41:00 +01:00
nupplaPhil cfd50f9abb
Move Notify::TYPE_INTRO 2020-02-05 21:41:00 +01:00
nupplaPhil 97b6f6b3b3
Move OTYPE constants to own enum class 2020-02-05 21:40:59 +01:00
nupplaPhil 1867267513
Add user array 2020-02-04 21:26:03 +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
nupplaPhil ed9756225d
improvements 2020-02-02 22:43:42 +01:00
nupplaPhil 0e13428210
Move "App::getSenderEmailAddress()" to "Emailer::getSiteEmailAddress()" 2020-02-02 22:43:40 +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
nupplaPhil 74490d6594
Cleanup enotify email
- Removing unused fields
- Move notify template to email subdirectory
2020-02-02 22:43:34 +01:00
Philipp Holzer c2b8c65104
Merge "notification" routes 2020-01-28 23:21:24 +01:00
Philipp Holzer 91707a530c
Add default values for inserts 2020-01-28 22:26:23 +01:00
Philipp Holzer ff9eb20663
Fix enotify item link 2020-01-28 18:41:46 +01:00
Philipp Holzer 443e106105
Fix missing notifications:
- Add namecache in enotify
- Add "unset()" in notify repository for additional field "abort"
- Add possibility for additional, non-saved fields in model
2020-01-28 18:41:45 +01:00
Philipp Holzer 765a0d8892
Some Renames:
- EMail => EMail
- toEmail => toAddress
- fromEmail => fromAddress
2020-01-26 23:47:16 +01:00
Philipp Holzer 2b8f067715
Introduce interface for emailing and create email classes 2020-01-26 21:35:04 +01:00
Philipp Holzer 915abe8a33
Add explicit parameters to Sender::send() method signature 2020-01-26 21:35:03 +01:00
Philipp Holzer ea9d3b7438
Make EMailer util dynamic 2020-01-26 21:35:03 +01:00