Commit graph

129 commits

Author SHA1 Message Date
0a4119adaf @brief is removed completely 2020-01-19 06:05:23 +00:00
e6a054696d Ensure that local delivery is done via DFRN 2020-01-11 18:25:48 +00:00
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls 2019-12-30 23:00:08 +01:00
50be94aa5e
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName() 2019-12-29 20:17:47 +01:00
388b963714
Replace BaseObject class with DI::* calls 2019-12-29 20:17:38 +01:00
1de3f186d7
Introduce new DI container
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-29 20:16:55 +01:00
Michael Vogel
eb4cfa65d8 Fixed warning 2019-12-14 06:42:40 +01:00
b8f81d5e7d Relocate check for announce 2019-12-08 22:04:32 +00:00
fb64010d7a Missing "use" 2019-12-08 21:40:06 +00:00
aa047278cc Reversed annouce check to have priority for AP 2019-12-08 09:01:06 +00:00
7ccbe3ee29 Transmit reshares and announce natively via Diaspora and AP whenever possible 2019-12-08 08:59:21 +00:00
41f8796ffc Delivery of reshares 2019-12-06 06:39:50 +00:00
22b89df348 Removed test logging 2019-11-27 22:00:43 +00:00
a6a79d9c7e Only transfer posts via mail 2019-11-27 21:59:11 +00:00
2dcf6d9e2b Now using the correct function call ... 2019-11-23 04:31:40 +00:00
37bdafcc96 Use the "reply-to" header of the original post when answering via mail 2019-11-22 22:15:04 +00:00
1997938ae7 Remove remaining Logger log level in explicit Logger::debug call 2019-10-16 22:39:31 -04:00
146646c4d4 Replace deprecated calls to defaults() by ?? and ?: in src/ 2019-10-16 08:38:52 -04:00
83f670e9e5 Test against the thread parent as well 2019-10-07 04:19:12 +00:00
9c6fd5fc35 Fix communication issues when a contact is able to speak AP, but uses Diaspora 2019-10-06 21:59:23 +00:00
52d8b618f0 Type hints 2019-09-03 03:59:46 +00:00
db16f1a106 Increment the "failed" value on failed relay delivery 2019-09-02 03:37:45 +00:00
6af4c90dff Fix delivery counter / archive relay contacts 2019-09-02 03:25:05 +00:00
Michael Vogel
9b7432781b Don't transmit content to already archived contacts 2019-08-27 21:01:11 +02:00
5a1a5a54dc Delivery count now counts the failed delivery attempts as well 2019-08-20 07:39:13 +00:00
e556dfd475 Don't deliver nested comments to Diaspora if the previous comment wasn't from Diaspora 2019-07-28 19:13:17 +00:00
0a15222576 Collect data about used protocols for delivery 2019-06-28 09:03:58 +00:00
f41513f4ec Issue 7264: Count local delivery as well 2019-06-13 20:24:49 +00:00
41dc243186 Fix delivery counter for poking / unify delivery commands 2019-06-10 14:19:24 +00:00
44a49a8d7d Ensure that pokes are always send only via DFRN 2019-06-06 04:26:02 +00:00
9f026f1814 The only reason we don't defer is when it was a post to a relay 2019-06-01 11:28:37 +00:00
ecf809c7ae The delivery counter now counts only successful deliveries 2019-06-01 06:54:47 +00:00
a6cf036db2 Sending contact suggestions does work again 2019-05-19 17:59:37 +00:00
e3caf0f4f5 Use deferred workers instead of the queue mechanism 2019-04-04 20:51:12 +00:00
4ff837488f Issue 6167: Don't publish non visible content 2019-03-15 20:31:07 +00:00
77a591e6e3 Fix namespace ambiguity about Model\Queue in Worker\Delivery 2019-03-06 23:17:58 -05:00
c897969589 Fix wrong variable name in Worker\Delivery 2019-01-23 09:07:00 -05:00
3d839bb176 Move Contact::ACCOUNT_TYPE_* constants to User::ACCOUNT_TYPE_*
- Keep Contact::TYPE_* constants for comparison with contact.contact-type
2019-01-21 10:56:27 -05:00
3282ce5389 Fix PHPDoc comments project-wide 2019-01-21 10:35:51 -05:00
ff1f6564f9 Remove delivery queue done incrementation for mail delivery 2019-01-21 09:39:14 -05:00
1696ad962e Add delivery queue number manipulation
- Add new ItemDeliveryData model class
- Add queue_count initialization in Notifier
- Add queue_done incrementation in various Delivery tasks
2019-01-21 09:36:51 -05:00
8a0e4e12e1 Replace item_id by target_id in multimode delivery workers 2019-01-21 09:32:41 -05:00
d813d72b1a Simplyfies AP relaying, fixes relaying of public contacts 2019-01-17 23:06:27 +00:00
acaee626f5 Remove include/ requires that are now done directly from Composer 2018-12-24 09:56:25 -05:00
ba1e385f86 Don't deliver to blocked domains 2018-11-22 22:09:22 +00:00
7458d793ed Removing some notices again 2018-11-11 12:15:17 +00:00
Adam Magness
ffc406d819 normalise_link calls
implement normaliseLink function
2018-11-08 11:28:29 -05:00
Adam Magness
5276c28a78 link_compare calls
implement compareLink function.
2018-11-08 10:46:50 -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