Commit graph

1047 commits

Author SHA1 Message Date
Michael 49ec5e5e6e Check for empty value 2022-05-03 08:20:48 +00:00
Michael 3163760343 Added configuration for the bulk delivery 2022-05-02 17:34:40 +00:00
Michael 76789acace Reduce network request by transmitting to shared inboxes 2022-05-02 14:35:57 +00:00
Michael fcb245947e Fetch the receiver list from sharedinbox or personal inbox 2022-05-02 06:10:36 +00:00
Michael 9c2fe81ac6 Transmit via the sharedInbox 2022-05-02 05:53:11 +00:00
Michael 40aa67f8be Bulk transmission for AP posts 2022-05-02 05:15:27 +00:00
Michael 171354181d Use central function to fetch the global directory 2022-04-26 18:33:58 +00:00
Michael 069a008ca4 Removed unused tag entries 2022-04-24 15:27:20 +00:00
Hypolite Petovan 4eecf733e1
Merge pull request #11389 from nupplaphil/feat/http_client_arg
Introduce explicit HttpClient "Accept" parameter
2022-04-08 15:05:40 -04:00
Michael 75bc4eccb7 Display featured posts for contacts 2022-04-07 21:52:25 +00:00
Philipp Holzer 04866195b4
Remove accept parameter for head/post again 2022-04-03 19:33:09 +02:00
Philipp Holzer e299fc67c8
Introduce "accept_header" as specific argument to the http client 2022-04-02 21:16:53 +02:00
Philipp Holzer 73c3b21665
Move ACCEPT constants to own "enum" class 2022-04-02 20:26:11 +02:00
Michael 94b7c1fc77 Use a more specific "accept" value 2022-03-29 14:02:10 +00:00
Michael 1fae0123ec Some more "accept" parameters are added 2022-03-29 06:24:20 +00:00
Michael ff70f74952 "accept" constants introduced and used 2022-03-28 10:33:06 +00:00
Tobias Diekershoff 02b6ac3ed3
limit parameter was missing from docblock 2022-03-15 08:46:26 +01:00
Tobias Diekershoff 12038d45d0
PHP deprecation warning due wrong order of function parameters
With PHP 8.0 I got the following PHP Deprecation message

```
PHP Deprecated:  Required parameter $limit follows optional parameter $ids in src/Worker/UpdateContacts.php on line 104
```

this PR fixes the wrong order of the parameters.
2022-03-15 08:44:17 +01:00
Hypolite Petovan deafdcde95 Use public contact ID in Model\Post\UserNotification::insertNotification
- Add localRelationship dependency to Notification factory
- Remove dependencies from Factory\Notification->getMessageFromNotification method
2022-03-14 07:56:20 -04:00
Hypolite Petovan cddead2343 Move follow revoke protocol to worker task
- Switch to public contact for revoke_follow hook
2022-02-24 09:35:55 -05:00
Hypolite Petovan 6a1f9a7fa3 Move unfollow protocol to worker task
- Add uid parameter to unfollow hook
- Rework and unify Contact::unfollow, Contact::removeSharer and Contact::terminateFriendship
- Add missing twitterUser property to Twitter\Friendships\Destroy module
2022-02-24 09:35:54 -05:00
Hypolite Petovan 52f5d924b7 Replace remaining instances of DBA::update('contact') with Contact::update()
- This was breaking the synchronisation between the contact and user-contact tables
2022-02-24 09:35:54 -05:00
Hypolite Petovan 35abf33c05 Check for array content before querying keys in Worker\Notifier
- Address https://github.com/friendica/friendica/issues/11218#issuecomment-1045137358
2022-02-18 20:25:18 -05:00
Michael 39724d5079 Add the mentions 2022-02-18 09:12:33 +00:00
Michael 49dd97e5fd User lower case 2022-02-17 21:51:47 +00:00
Michael 1b6b6bcc6d Renamed function 2022-02-17 07:53:24 +00:00
Michael 9ac24a0f36 More rework to make private communities working 2022-02-16 22:56:55 +00:00
Michael 29d83c0ffb Block communication with Diaspora for communities 2022-02-15 07:08:02 +00:00
Michael e394143148 Private forums are now working via ActivityPub 2022-02-12 18:38:36 +00:00
Michael 615c6ca696 Issue 10935: Improved "GROUP BY" handling 2022-01-18 06:35:18 +00:00
Philipp 322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Hypolite Petovan 423892b814 Replace references to NOW() in SQL queries with a DateTimeFormat generated parameter 2021-12-04 17:53:16 -05:00
Hypolite Petovan 80da47921e Replace references to UTC_TIMESTAMP in SQL queries with a DateTimeFormat generated parameter 2021-12-04 17:53:08 -05:00
Michael 23b10cf2ae Some removed escapeTags calls 2021-11-05 19:59:18 +00:00
Michael 63da4a75e9 The boot.php had been cleared of most functions 2021-11-04 20:29:59 +00:00
Tobias Diekershoff 13997c8c10
Merge pull request #10951 from friendica/logs
Replaced deprecated "log" function call
2021-11-04 07:52:46 +01:00
Michael 24ee87224f Replaced deprecated "log" function call 2021-11-03 23:19:24 +00:00
Hypolite Petovan d30955aa14 Move contact deleted check from RemoveContent to Remove task 2021-11-03 16:02:20 -04:00
Michael 516018861e Merge remote-tracking branch 'upstream/develop' into error-handling 2021-10-31 05:25:39 +00:00
Michael 4236a9a105 Improved http error handling 2021-10-29 23:21:07 +00:00
Philipp Holzer 409d909d0f
Restructure HTTPClient for new paradigm 2021-10-28 20:01:03 +02:00
Hypolite Petovan 24f8ee8e67
Merge pull request #10918 from nupplaphil/feat/core_new_paradigm
Paradigm Restructuring Part 1 - Core classes
2021-10-27 13:45:40 -04:00
Philipp Holzer 68046573a4
Restructure Cache to follow new paradigm 2021-10-26 22:11:06 +02:00
Michael b2165cdf22 Speed up query for unused contacts 2021-10-26 20:06:18 +00:00
Michael a0c1c3f661 Fix notice "Array to string conversion" 2021-10-25 20:54:36 +00:00
Michael Vogel 81c9d8d479
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-10-25 21:27:21 +02:00
Michael 87673fd0c5 Merge remote-tracking branch 'upstream/develop' into logging 2021-10-25 18:56:29 +00:00
Philipp Holzer eacb584703 Fix PHP_NOTICE because of fsuggestion 2021-10-23 21:46:32 -04:00
Philipp Holzer 01659d731f Fix FSuggestselect 2021-10-23 21:46:04 -04:00
Philipp Holzer b407fbedc1 Replace all 'fsuggest' usages with the new paradigm 2021-10-23 21:45:35 -04:00
Philipp Holzer 82a6c78033 Move FSuggest to depository 2021-10-23 21:45:35 -04:00
Michael a497bd3a3d Merge remote-tracking branch 'upstream/develop' into logging 2021-10-22 06:06:39 +00:00
Philipp Holzer 7d7d310cc4
Replace almost every Introduction places 2021-10-21 21:49:21 +02:00
Michael f6faae5bb1 Replace deprecated log calls 2021-10-20 18:53:52 +00:00
Philipp Holzer 7e433c66c1
RemoveContent fix column name 2021-10-19 23:34:36 +02:00
Philipp Holzer 88825c2520
Split contact-relation deletion 2021-10-19 22:35:57 +02:00
Philipp Holzer b838b594cd
contact-relation - Fix DB error 2021-10-19 22:24:14 +02:00
Hypolite Petovan fc2175260f Move Worker task RemoveContact to Contact\Remove 2021-10-16 19:22:24 -04:00
Hypolite Petovan efe0e45170 Create new Worker task to remove a contact's content from the database 2021-10-16 19:19:56 -04:00
Michael 27b9da3df5 replace "p" with higher level database functions 2021-10-12 05:53:29 +00:00
Michael 13827edd2c New photo field "photo-type" as preparation for banners 2021-10-11 14:21:10 +00:00
Michael ab17fbf6b2 Unneeded "ProxyUtils" renamed to "Proxy" 2021-10-05 20:18:19 +00:00
Hypolite Petovan 8a1a2f658c Create new DI shorthands for notification-related factories 2021-10-02 18:15:45 -04:00
Hypolite Petovan 7a2d5f6a8e Move notification to the new paradigm 2021-10-02 18:15:45 -04:00
Hypolite Petovan 797391e1d8 Rework contact termination to separate protocol-level and contact-level
- Mail and Feed contacts are now removed automatically on relationship termination
- Added logging and notice messages for different results
2021-10-02 08:31:59 -04:00
Michael 19c3e55ca8 Merge remote-tracking branch 'upstream/2021.09-rc' into user-contact 2021-09-12 12:36:04 +00:00
Michael 9191daf12f Fix commenting on public posts 2021-09-12 01:52:10 +00:00
Michael 9c14eb0c6b Use centralized function to update contact entries 2021-09-10 18:21:19 +00:00
Michael a4b0ab90b1 Insert a user-contact for every contact 2021-09-10 13:05:16 +00:00
Michael d89f004a2a Issue 10651: Improved logging 2021-09-04 04:51:20 +00:00
Michael e3c7cd25e1 Issue 10640: Use consistent settings to enable protocol support 2021-08-30 19:46:10 +00:00
Philipp Holzer 13a91e63aa
Rename DI::httpRequest() into DI::httpClient() 2021-08-25 21:54:54 +02:00
Philipp Holzer 505100bdd7
Rename HTTPRequestOptions to HTTPClientOptions 2021-08-25 21:45:15 +02:00
Philipp Holzer 0cafa871f1
Use HTTPRequestOptions constants for HTTPClient::get() 2021-08-25 21:31:30 +02:00
Philipp Holzer 2356221aba
Fixup HTTP headers for httpClient requests 2021-08-25 14:22:43 +02:00
Michael 6899d3c618 Meaningful notification message 2021-08-19 13:58:55 +00:00
Michael Vogel 9bc6b08618
Update src/Worker/PushSubscription.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-08-18 18:54:03 +02:00
Michael 6f6fe7fa25 Clarify the upcoming functionality 2021-08-18 10:27:45 +00:00
Michael b521e45903 Merge remote-tracking branch 'upstream/develop' into improved-payload 2021-08-17 23:00:00 +00:00
Michael 5a9db1b3bc The push api payload content is improved 2021-08-17 22:53:52 +00:00
Philipp Holzer 29c7552df5
Refactor IStorage 2021-08-16 23:27:42 +02:00
Michael 7158b35f58 Added logging, removed superfluous comments 2021-08-16 15:23:34 +00:00
Michael c85ce2f6b0 Add a payload 2021-08-16 06:11:26 +00:00
Michael 2c1b33af87 Standards 2021-08-15 21:30:27 +00:00
Michael 69f11c4a84 Adding the VAPID keys 2021-08-15 21:24:23 +00:00
Michael d5e9253adb Standards again 2021-08-15 21:03:43 +00:00
Michael 5cf0da4140 Coding standards 2021-08-15 21:01:58 +00:00
Michael 977d28353c Transmit push subscriptions 2021-08-15 20:52:46 +00:00
Michael 4495e83eca Merge remote-tracking branch 'upstream/develop' into app-user2 2021-08-09 15:32:32 +00:00
Michael b8fa75b2dd Changed function name 2021-08-09 15:29:07 +00:00
Michael 9f01052dd2 Removed some more unused "use" 2021-08-08 20:03:28 +00:00
Michael 28090bd793 Get rid of App->user completely 2021-08-08 19:30:21 +00:00
Michael 6a23b17c95 Respect the postopts values for scheduled posts 2021-08-06 18:49:17 +00:00
Michael 0bbe954316 Getter/Setter for queue 2021-07-24 22:08:33 +00:00
Michael afe3c8954c Simplified functionality to load the profile in the sidebar 2021-07-23 12:39:37 +00:00
Michael bb222209bc Some small performance tweaks 2021-07-22 15:35:30 +00:00
Michael c1f849c389 Unneeded legacy DFRN table removed 2021-07-22 07:11:26 +00:00
Michael 08cd651a03 Improved performance for UpdateContacts 2021-07-21 15:12:30 +00:00
Michael 6668066099 The legacy OAuth server is removed 2021-07-20 17:41:04 +00:00
Michael 3a5523820c Legacy DFRN transport layer is removed 2021-07-15 13:28:32 +00:00
Michael 002df6e8d1 Fix Uncaught TypeError: Argument 1 passed to Friendica\Model\Item::storeForUserByUriId() 2021-07-12 07:02:01 +00:00
Michael b50a92cf7a Contact tables added to expire function 2021-07-09 08:08:48 +00:00
Michael 88f147c6a7 Always update on missing uri-id, check for uri-id in contact before removal 2021-07-09 04:38:36 +00:00
Michael f29bd23ea8 New function to convert BBCode for a given ID 2021-07-08 13:47:46 +00:00
Michael a06d699480 Item cache related functionality removed 2021-07-05 04:57:50 +00:00
Michael 4f6be0bd03 Function only needs to be private 2021-07-04 10:59:24 +00:00
Michael 47904f99c2 Removal of duplicated photo entries for a contact 2021-07-04 10:40:03 +00:00
Michael 1da6fa0043 Issue 10352: Fixing photo entries for contact avatars 2021-07-03 20:43:00 +00:00
Michael bf8cb39102 Diaspora relay functionality is removed 2021-06-13 11:15:04 +00:00
Michael 038e505ca3 Improve forum delivery, avoid false distribution 2021-06-06 19:28:47 +00:00
Michael e2b8d5379b Public forums are now posting unlisted 2021-06-05 18:38:21 +00:00
Michael 4cdfcb5cfb Avoid DB Errors with "group by" 2021-05-29 21:51:33 +00:00
Michael 76e6a71822 Setting the post reason 2021-05-26 14:29:50 +00:00
Michael 785f8124ed Issue 10306: Improve local delivery 2021-05-26 09:24:37 +00:00
Michael 6fe916a390 API: improved mail handling 2021-05-22 13:37:04 +00:00
Michael 688e056ad1 "post-reason" ends double usage of "post-type" 2021-04-07 06:02:06 +00:00
Michael 9072107b83 Use post-type for the item container 2021-04-01 04:58:53 +00:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Hypolite Petovan 8adb0825a6
Merge pull request #10083 from annando/post-user
Use the "post-user" table instead of the "post" table for deletion checks
2021-03-26 17:03:24 -04:00
Michael d80f1644f0 Use "post-user" for "uri-id" deletion 2021-03-26 20:36:22 +00:00
Michael 24099c3439 Comment deletions are always send via DFRN 2021-03-26 20:09:23 +00:00
Michael 76220537ab Avoid database error messages because of foreign key violations 2021-03-21 19:25:23 +00:00
Michael 437f96e573 Partly restored functionality 2021-03-18 15:56:50 +00:00
Michael b55ae5717b Issue 10050: Improved deletion order 2021-03-18 15:44:02 +00:00
Michael a3e713d01b Use "failed" instead of "archive" for contact update check 2021-03-07 20:34:13 +00:00
Michael 4a991f0189 Adding of missing entries is now kept behind a config 2021-03-03 11:01:16 +00:00
Michael 7f4722ce6f Less blocking clean up, adding of missing posts 2021-03-03 07:07:29 +00:00
Michael c740509a22 Changed worker order 2021-03-02 07:06:22 +00:00
Michael a228183abb Call post and item-uri expiry in squence 2021-03-02 06:50:12 +00:00
Michael 5f48d6497e Fix slow queries 2021-03-01 22:19:47 +00:00
Michael a1e2794c64 Avoid lock problems, fix foreign key problems with contact-relation 2021-02-28 17:56:56 +00:00
Michael 72863e8926 Avoid deletion of newly created contacts 2021-02-26 19:41:51 +00:00
Michael 99a145f7cf Fixes several database errors, removes "relation" handling 2021-02-25 05:13:49 +00:00
Michael 1792046a4f post/thread views are renamed, search bugs fixed 2021-02-22 19:47:08 +00:00
Michael 454fbc8ad7 Queries without indexes 2021-02-21 10:37:15 +00:00
Michael b444617a00 Non blocking item-uri cleanup 2021-02-21 08:55:09 +00:00
Michael 1b1897db4a Contacts are now removed more ressource friendly 2021-02-19 17:56:13 +00:00
Michael abcbbd2ec1 Merge remote-tracking branch 'upstream/develop' into no-item 2021-02-19 06:59:45 +00:00
Michael c247d5fbeb The item table is now completely removed 2021-02-19 06:30:38 +00:00
Hypolite Petovan 69802554fd Add native media types and expiration to getSiteInfo 2021-02-18 09:06:11 -05:00
Michael 60a6dfa23c Fix several database issues 2021-02-16 22:04:03 +00:00
Michael 2b17e36a67 Rever item reshare handling, fixed database 2021-02-15 10:29:58 +00:00
Michael 2b76ff61ad Avoiding notice 2021-02-15 07:44:51 +00:00
Michael a1a4471632 Fix SQL query 2021-02-15 07:25:45 +00:00
Michael e1c79a41d9 We now don't store in the "item" table anymore 2021-02-14 20:27:31 +00:00
Michael 36357e790e "id" is now post-user-id 2021-02-14 18:33:15 +00:00
Michael 6e1483545e Support for message delivering via uri-id 2021-02-14 14:24:48 +00:00
Michael 07c07ec499 More "item" traces removed 2021-02-14 09:43:27 +00:00
Michael ce6ad1aa73 Get rid of the "item" table, enhanced "post" tables 2021-02-13 19:56:03 +00:00
Michael ab5a447bc2 The "thread" table isn't used anymore 2021-02-08 07:48:36 +00:00
Michael 8f27715d8b "item" is replaced whenever possible at the moment 2021-02-06 13:42:21 +00:00
Michael 265f46692f Avoid foreign key problems when deleting contacts 2021-02-05 07:44:39 +00:00
Michael 5e846dd7c2 The thread table is replaced by post-thread and post-thread-user 2021-02-04 05:51:25 +00:00
Hypolite Petovan 9885c1f128
Merge pull request #9890 from annando/post-content
New table "post-content"
2021-01-30 18:01:13 -05:00
Michael c3398511b4 New table "post-content" 2021-01-30 22:03:53 +00:00
Michael 722083f9ed Avoid non numeric parameter 2021-01-29 23:41:42 +00:00
Hypolite Petovan 315f39de2f
Merge pull request #9876 from annando/thr-parent
Set thr-parent when importing mails
2021-01-29 10:12:49 -05:00
Michael ae684b4938 Set thr-parent when importing mails 2021-01-29 10:39:55 +00:00
Michael 56db5a29c4 Prevent permissionset foreign key constraint 2021-01-29 06:26:51 +00:00
Michael 9a9674d5fb New "post-user" structure, new update functionality 2021-01-28 22:45:54 +00:00
Michael a773a72eaa The "icid" field is deprecated 2021-01-19 23:26:24 +00:00
Michael 2b1d0b9db8 "selectForUser" and "" selectFirstForUser" is now moved to Post 2021-01-16 22:37:27 +00:00
Michael 68502daed0 New post class in protocol and worker classes 2021-01-16 04:14:58 +00:00
Michael 0951b551c5 Issue 9777: Fix to deliver public posts to Diaspora again 2021-01-11 20:31:52 +00:00
Michael f40ab2b65d Always deliver via AP if the server supports it 2021-01-10 19:41:01 -05:00
Michael f29ed78155 Prevent error when gsid is null 2021-01-10 19:08:23 -05:00
Michael 050f31eeb3 Don't try legacy if the server supports more 2021-01-10 19:08:23 -05:00
Michael bf563a1a39 Store the server transport protocol 2021-01-10 19:08:23 -05:00
Michael 2987070d93 Improved direction and protocol detection 2021-01-09 12:59:30 +00:00
Michael 0fd01015e1 Increase wait time to 5 minutes 2021-01-06 23:24:00 +00:00
Michael d5280c3dc3 Removed to-do comment 2021-01-06 23:08:09 +00:00
Michael ced417da6c Added functionality to kill processes 2021-01-06 23:05:55 +00:00
Michael 152daaabfb Comment to Twitter post is posted to AP instead
Fixes friendica/friendica#9712
2020-12-28 06:49:23 +00:00
Michael 460b6d1c75 Remove unused cached avatar photo entries 2020-12-20 06:22:31 +00:00
Michael 66c1592171 Fix notices 2020-12-17 18:08:07 +00:00
Hypolite Petovan 1414d43597
Merge pull request #9664 from annando/delete-contacts
Delete removed contacts
2020-12-16 11:28:56 -05:00
Michael a331a8cf0a Delete removed contacts 2020-12-15 22:56:46 +00:00
Hypolite Petovan a2f14efd94
Remove reference to receivers when adding relay delivery tasks in Worker\Notifier
- Address https://github.com/friendica/friendica/pull/9661#issuecomment-745553051
2020-12-15 15:42:16 -05:00
Hypolite Petovan d59fcd5093 Clarify usage of ActivityPub\Transmitter::fetchTargetInboxes in Worker\APDelivery queuing
- $inbox is now always a string
- $receivers should be correctly populated now
- $target_id is renamed to $item_id and correctly initialized to 0 for non-item deliveries
2020-12-14 23:33:14 -05:00
Michael Vogel e4228c6218
Merge pull request #9655 from MrPetovan/bug/fatal-errors
Fix several occasional fatal errors
2020-12-14 22:11:45 +01:00
Hypolite Petovan 481c5c9e81 Account for inbox array in Worker/APDelivery
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-744339671
2020-12-14 09:12:29 -05:00
Michael cd96955fcf Fix: posted unprepared posts hadn't been deleted 2020-12-13 18:17:50 +00:00
Michael 0eb4a600b0 Delay unprepared posts 2020-12-13 12:47:49 +00:00
Michael 297118f902 Archive/Unarchive at ActivityPub delivery 2020-12-12 16:45:23 +00:00
Michael a43059df27 Relay posts with the original protocol 2020-12-11 06:35:38 +00:00
Michael dd94fb1242 Check for bad worker priorities 2020-12-08 21:58:32 +00:00
Hypolite Petovan a863228e09
Merge pull request #9628 from annando/dfrn-delete
Don't create the parent during a deletion
2020-12-06 08:37:50 -05:00
Michael 1f1697222b Don't create the parent during a deletion 2020-12-06 09:54:34 +00:00
Michael 878a418c6b Code standards 2020-12-05 21:58:15 +00:00
Michael 2b8adf5073 Remove unused contacts 2020-12-05 21:07:48 +00:00
Michael 8e9a9b2049 Improved logging 2020-12-04 07:54:29 +00:00
Michael 9f96f3ef34 Moved updating personal contacts to updatecontact 2020-12-04 05:53:11 +00:00
Michael 8d999f54d0 Check and add a server 2020-12-03 22:32:51 +00:00
Michael 0c9a0ce64e Merge remote-tracking branch 'upstream/develop' into worker-command 2020-12-03 15:48:46 +00:00
Michael edbdfbae6b workerqueue now has a "command" field 2020-12-03 15:47:50 +00:00
Michael 2aa302c570 New class for handling delayed posts 2020-12-01 22:11:29 +00:00
Michael 6e06e0cf20 New class for delayed postings 2020-11-30 06:59:00 +00:00
Michael 3f3f56db57 Poll interval function moved to feed class, first steps for delayed posts 2020-11-30 05:39:12 +00:00
Hypolite Petovan ea2923be67
Merge pull request #9607 from annando/cron-priority
Ensure to add the cron forkhood worker task with medium priority
2020-11-29 12:49:02 -05:00
Michael Vogel 03af4062ce Ensure to add the cron forkhood worker task with medium priority 2020-11-29 17:41:20 +01:00
Michael 7ab63d2106 Store the protocol of the received message 2020-11-29 09:01:51 +00:00
Michael e4e9a20ac8 Don't transmit to archived inboxes 2020-11-23 19:25:22 +00:00
Michael 7bdf22a0d5 Don't probe feeds so often 2020-11-22 14:56:38 +00:00
Michael 3ffd40c7da OnePoll reworked, improved "failed" behaviour 2020-11-22 14:42:24 +00:00
Michael 32e98327a1 Fix warning 2020-11-19 21:27:08 +00:00
Michael d7fa58d81c Ensure to never delete the "0" user 2020-11-18 05:24:04 +00:00
Hypolite Petovan a69c98e32f
Merge pull request #9535 from annando/ap-relay
Relay code reworked to support AP delivery
2020-11-15 20:27:08 -05:00
Michael 0384bf3e76 Relay code reworked to support AP delivery 2020-11-15 23:28:05 +00:00
Hypolite Petovan ff66633a44 Remove references to item.parent-uri in Worker\OnePoll 2020-11-14 10:08:51 -05:00
Hypolite Petovan 0f2a5daf09 Replace confusing uses of item.parent-uri with expected item.thr-parent 2020-11-14 10:08:50 -05:00
Hypolite Petovan 0c3a5c815e Remove obsolete references to item.parent-uri 2020-11-14 10:08:50 -05:00
Michael 5956de645d Improve expiry query 2020-10-30 20:26:16 +00:00
Michael d9452588bd Avoid deleting newly create item-uri entries 2020-10-25 07:41:01 +00:00
Michael 592ac53ffc Worker priority / no shadow worker 2020-10-24 08:05:03 +00:00
Philipp Holzer a6fc9cd32e
Remove $binary flag for HTTPRequest::get(), HTTPRequest::fetch(), HTTPRequest::fetchAll() (deprecated since PHP 5.1.3) 2020-10-18 20:56:31 +02:00
Michael 009bf0d3ec Merge remote-tracking branch 'upstream/develop' into dbclean-limit 2020-10-17 14:10:02 +00:00
Michael 7efd01880c Define a maintenance window 2020-10-17 12:39:42 +00:00
Michael 5a685427ac Post expiry: Limit for deletions 2020-10-17 08:16:17 +00:00
Michael e8679a3a13 Fix DB Error "Column 'uri' in where clause is ambiguous" 2020-10-17 07:48:18 +00:00
Michael 2db7a4971c Count removed, added logging for iten uri 2020-10-15 09:42:18 +00:00
Michael 53a9c65daa Only set values if the uri isn't empty 2020-10-15 07:40:24 +00:00
Michael 9704a9bf25 Move the repair functionality to the daily cron 2020-10-15 07:34:21 +00:00
Michael 84b6c18b94 Replace "dbclean" with new expiry functionality 2020-10-15 06:02:17 +00:00
Michael d504789c34 Reduce the amount of contact updates 2020-10-03 10:52:34 +00:00
Michael d94e653030 Issue 9344: Update trending tags hourly 2020-10-03 06:10:39 +00:00
Michael 666c55f93a Fix notive "Undefined index: author-network" 2020-09-29 20:12:19 +00:00
Michael 7a50ec4815 Only update public contacts that are in use 2020-09-27 11:55:31 +00:00
Hypolite Petovan f30d1a6d70
Merge pull request #9278 from annando/issue-9276
Issue 9276: Cache the trending hashtags in the background
2020-09-26 08:24:54 -04:00
Michael 91ccdac652 Remove unneeded addon reload 2020-09-26 09:53:44 +00:00
Michael f7cf8fe3d0 Issue 9276: Cache the trending hashtags in the background 2020-09-26 09:42:12 +00:00
Michael c06e077c27 Ensure that the uri-id is always set 2020-09-23 18:55:16 +00:00
Hypolite Petovan befc8c86ab
Merge pull request #9261 from annando/relay-distribution
Delayed relay distribution
2020-09-23 11:43:52 -04:00
Michael 8805348abc Removed parameter 2020-09-23 15:20:16 +00:00
Michael Vogel 380828d78c Delayed relay distribution 2020-09-22 22:14:37 +02:00
Michael 93cd85595c Added foreign key 2020-09-22 07:19:44 +00:00
Hypolite Petovan fb131027fa Ensure author-link key has a value in Worker\Notifier
- Address https://github.com/friendica/friendica/issues/8875#issuecomment-691942457
2020-09-17 22:47:37 -04:00
Michael 64c6224968 Issue 8958: Ensure to have no foreign key violation 2020-09-17 19:10:45 +00:00
Michael 178455928a We can now manage relay servers and can send content to them 2020-09-15 17:45:19 +00:00
Philipp Holzer 31c55a6fa4
Rename class for PSR-0 2020-09-11 19:24:40 +02:00
Michael 1c5801ca8e Renamed classes 2020-09-01 13:40:37 +00:00
Michael 3aa6d516bf Changed priority 2020-09-01 12:55:46 +00:00
Michael 41e07a9ae2 Code cleanup 2020-09-01 08:32:53 +00:00
Michael b1a9666e43 Splitting workerqueue cleanup 2020-09-01 08:30:12 +00:00
Michael 34cce68dc6 Replaced deprecated logger calls 2020-09-01 08:11:42 +00:00
Michael 4bb70d7593 Split cron tasks in several worker tasks 2020-09-01 08:09:16 +00:00
Michael 23b7da3664 Removed unused PoCo functionality 2020-08-31 12:40:23 +00:00
Michael cdcdc135e8 Issue 9094: Avoid DFRN announces 2020-08-31 02:46:24 +00:00
Michael 5daec27cfb Issue 9094: Prevent announces via DFRN 2020-08-30 10:09:54 +00:00
Michael 4316a95984 New database cleanup jobs 2020-08-26 05:33:37 +00:00