1
1
Fork 0
Commit graph

74 commits

Author SHA1 Message Date
cc86a54c80
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-03-22 21:35:44 -04:00
3d4e11045a Fix type and name on Mail::send sender ID argument 2023-03-22 18:25:13 -04:00
0a5e3c75dc Fix Twitter NewDM API w/OAuth by passing in UID not query session 2023-03-22 18:18:49 -04:00
1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
9115ec5f0d Adjust class references to the new location 2022-12-30 21:20:28 +00:00
fc246424a9 Provide default host value to hash() in Model\Item::guidFromUri
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1338133783
2022-12-10 11:38:37 -05:00
b4ffb0bde0
UserSession class [4] - Refactor src/Model/ files 2022-10-20 22:14:50 +02:00
ee1acba9eb old boot.php functions replaced in /src 2022-10-19 07:56:25 -04:00
018858934b The priority is now a class constant 2022-10-17 05:49:55 +00:00
757a5c2de9 Loglevels are adjusted 2022-08-30 19:45:30 +00:00
eb8237dd89 Remove unused uid parameter in Item::newURI 2022-07-09 07:39:51 -04:00
c29c49797a
Added missing type-hints 2022-06-18 17:52:46 +02:00
1d779c6193 Ensure the private message recipient is valid in Mail::send
- Arbitrary input could be used to circumvent most restrictions regarding recipients (except contact relationship)
2022-02-23 21:30:18 -05:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
f6faae5bb1 Replace deprecated log calls 2021-10-20 18:53:52 +00:00
2f1f6f6fb2 Replace "notification" call with new function, removing enotify.php 2021-10-19 19:45:36 +00:00
0bb169b4ed Check for reply existence before using its values in Model\Mail
- Address https://github.com/friendica/friendica/issues/10474#issuecomment-925263894
2021-09-26 08:15:07 -04:00
15b93b4459 "getUserNickname" is now "getLoggedInUserNickname" 2021-08-09 19:48:39 +00:00
b8fa75b2dd Changed function name 2021-08-09 15:29:07 +00:00
fc283ab928 Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
Michael Vogel
d00a4eacdc
Update src/Model/Mail.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-05-23 07:37:17 +02:00
c18cbe95a6 Fix inserting mails 2021-05-22 18:20:11 +00:00
6fe916a390 API: improved mail handling 2021-05-22 13:37:04 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
82e094179c Rename notify classes according the feature name, not the table name 2021-01-24 09:33:23 -05:00
818c064c0a The notifications parameters are now simplified 2020-11-25 19:56:39 +00:00
84a9a5b174 Fixes several notices 2020-09-19 03:16:26 +00:00
d6bf7f2cda Replace "Probe::uri" with "Contact::getByURL" 2020-07-16 10:22:14 +00:00
0b38826a73 Simplify sender handle assignment in Model\Mail 2020-06-27 09:34:29 -04:00
50d05cec83 Ensure url property of Probe::uri result is used authoritatively
- Some profile URLs aren't canonical and need to be updated during probe
2020-06-26 12:52:39 -04:00
10ffd3a374 Iissue 8560: Wrong value for parent in mail notification 2020-04-28 20:32:39 +00:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
nupplaPhil
9435cc4b88
Move Notify::TYPE_MAIL 2020-02-05 21:41:02 +01:00
d6efc90194
cleanup namespace usages for L10n 2020-01-19 16:31:33 +01:00
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:16 +01:00
Matthew Exon
5d0a3be4f6 Implement code review from nupplaphil 2020-01-11 16:01:58 +01:00
Matthew Exon
95e65e37ee Refactor duplicate code for parsing photo URL 2020-01-09 21:48:37 +01:00
f0eea6f875
Remove get_app() in favor of DI::app() 2020-01-04 23:42:01 +01:00
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls 2019-12-30 23:00:08 +01:00
Philipp Holzer
07cea24430
Move Activity/Namespaces defines to constants 2019-10-24 21:40:12 +02:00
a34995a3e5 Issue 5721: Set permissions of photos in PM 2019-09-11 04:08:41 +00:00
20eb7ae73f Empty dates are now set to today as well 2019-06-13 05:43:00 +00:00
2ae4371606 Sanitize the date for mails 2019-06-13 03:22:15 +00:00
41dc243186 Fix delivery counter for poking / unify delivery commands 2019-06-10 14:19:24 +00:00
ae940755c7 Fix Issue 7196 2019-05-28 17:39:26 +00:00
d9f6a58229 Mail: Set the "reply" value when it is a reply 2019-05-09 20:52:52 +00:00
b8a23369b6 Mail storing is now centralized 2019-05-08 05:44:22 +00:00
64847e7cc8 Fix types in doc blocks/prototypes 2019-01-23 09:06:58 -05:00
cb3f09ae4f Refactor namespaces
- Remove unused use statements
- Add required use statements
- Escape global classes
2019-01-21 10:43:42 -05:00
3282ce5389 Fix PHPDoc comments project-wide 2019-01-21 10:35:51 -05:00