Michael
8238081d87
Replace obsolete functionality in "PortableContact"
2019-10-05 23:30:47 +00:00
Michael
a7e518acbd
Readded the network parameter
2019-10-04 05:42:54 +00:00
Michael
d9a74bd5dd
Code transitioning from PortableContacts.php to GServer.php
2019-10-03 23:33:41 +00:00
Michael
21e9e9f3c2
Remove obsolete function to guess the base url of a contact
2019-10-02 15:10:42 +00:00
Michael
aba23daeca
Get rid of zombie introductions that reappear automatically
2019-09-22 10:51:34 +00:00
Michael
cf569425c6
Avoid a notice
2019-09-21 13:00:53 +00:00
Michael
c364a77d63
Always use direct DFRN transport on local contacts
2019-09-21 12:39:07 +00:00
Hypolite Petovan
6576f15164
Check the root directory is writable before copying .htaccess in Worker\Cron
...
- Addresses https://github.com/friendica/friendica/issues/7298#issuecomment-531454632
2019-09-14 06:30:41 -04:00
Michael
39133a1e0e
Fix a notice because of invalid return data
2019-09-13 18:59:33 +00:00
Michael
323285216b
We have to check for "0" in "rel" as well
2019-09-09 20:39:19 +00:00
Michael
f185f6fd3d
Pending contacts part 2: Fix contact deletion / added cron job for repairs
2019-09-09 20:03:11 +00:00
Michael
16a0afbbae
Fixes the delivery counter for edits
2019-09-04 21:06:25 +00:00
Michael
52d8b618f0
Type hints
2019-09-03 03:59:46 +00:00
Michael
db16f1a106
Increment the "failed" value on failed relay delivery
2019-09-02 03:37:45 +00:00
Michael
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
Michael
7d50a086e0
Issue 7559: Merge contact duplicates
2019-08-26 15:51:56 +00:00
Michael
5a1a5a54dc
Delivery count now counts the failed delivery attempts as well
2019-08-20 07:39:13 +00:00
Hypolite Petovan
0579252362
Add user meta-groups for followers and mutual contacts
...
- Both Group::expand and Item::enumeratePermissions now have a user id parameter to expand meta-groups
2019-07-29 20:31:46 -04:00
Michael
e556dfd475
Don't deliver nested comments to Diaspora if the previous comment wasn't from Diaspora
2019-07-28 19:13:17 +00:00
Michael
379a1a52e0
Avoid a warning
2019-07-16 19:58:47 +00:00
Michael
143566b853
Missing word
2019-07-15 04:36:55 +00:00
Michael
6170ddf58d
Issue 7367: Only skip DFRN delivery when both author and owner of the post support AP
2019-07-15 04:33:00 +00:00
Michael
7b0a9ffd89
Update gcontact when public contact is updated
2019-07-03 05:46:35 +00:00
Hypolite Petovan
a248da8f2e
Merge pull request #7334 from annando/federated-protocol
...
New constant for federated protocols
2019-07-01 21:52:55 -04:00
Michael
6041f74df6
New constant for federated protocols
2019-07-01 18:00:55 +00:00
Hypolite Petovan
7abc42700c
Fix missing App object in Worker\OnePoll
2019-06-30 12:16:18 -04:00
Michael
9bf065c9d8
Merge remote-tracking branch 'upstream/develop' into delivery-statistics
2019-06-28 14:08:54 +00:00
Michael
0a15222576
Collect data about used protocols for delivery
2019-06-28 09:03:58 +00:00
Michael
e48fbeda0a
restore updating of the public contact
2019-06-28 04:34:01 +00:00
Michael
96651ae76d
Fix a missing variable
2019-06-28 02:46:56 +00:00
Michael
d552db5c55
Polling functions are split into several functions
2019-06-27 20:38:09 +00:00
Michael
7e7acf5763
Last old query replaced in OnePoll.php
2019-06-27 16:21:23 +00:00
Michael
d4dc2a129e
Replace old database queries
2019-06-27 13:30:26 +00:00
Michael
59b1a1aced
Removing many now unused or duplicated tasks from OnePoll
2019-06-27 05:38:16 +00:00
Michael
9caa8bae35
Unused parts removed, query refurbished
2019-06-26 05:18:11 +00:00
Michael
9b49fd7f3f
Changed logging
2019-06-25 17:36:24 +00:00
Michael
bca1dc1ca4
Moving functionality to the contact model
2019-06-24 03:25:01 +00:00
Michael
857469d16a
Constantly updating public contacts
2019-06-23 09:27:40 +00:00
Michael
f41513f4ec
Issue 7264: Count local delivery as well
2019-06-13 20:24:49 +00:00
Michael
16b9d9f199
Fix pixture posts to connectors / fix delivery counter for connector posts
2019-06-11 19:35:03 +00:00
Hypolite Petovan
d7d44e1af7
Merge pull request #7245 from annando/unify-constants
...
Fix delivery counter for poking / unify delivery commands
2019-06-10 11:59:40 -04:00
Michael
41dc243186
Fix delivery counter for poking / unify delivery commands
2019-06-10 14:19:24 +00:00
Philipp Holzer
cc7444d84d
Move internal recursion-counter to the end of all cur/fetchUrl parameters
2019-06-10 14:34:54 +02:00
Michael
52a3ece8b6
Added comments
2019-06-06 17:58:49 +00:00
Michael
44a49a8d7d
Ensure that pokes are always send only via DFRN
2019-06-06 04:26:02 +00:00
Michael
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
Michael
ecf809c7ae
The delivery counter now counts only successful deliveries
2019-06-01 06:54:47 +00:00
Michael
a6cf036db2
Sending contact suggestions does work again
2019-05-19 17:59:37 +00:00
Michael Vogel
f3c2eb5b11
Fix receiver list for mails / only deliver mail via DFRN to legacy contacts
2019-05-18 11:09:13 +02:00
Michael
87b98b8249
Sending direct messages via AP does work now - receiving is pending
2019-05-14 17:50:45 +00:00
Michael
55557a8f18
Contacts with protocol = AP are now delivered only via AP
2019-05-11 05:58:22 +00:00
Michael
ad6f23b105
Make 7113 really work - now the query does contain AP
2019-05-06 20:53:22 +00:00
Michael
c46a9595cd
Update every AP contact once a week
2019-05-06 20:28:40 +00:00
Michael
a4dffee5f4
Fix wrong error message when updated a contact
2019-05-02 19:22:43 +00:00
Hypolite Petovan
838f5762ac
Remove failing require to non-existent file in Worker\CronJobs
2019-04-24 18:30:51 -04:00
Philipp Holzer
dfa01f9265
typo
2019-04-22 14:22:45 +02:00
Philipp Holzer
5233434d94
proper split cronjob functions
2019-04-22 14:22:00 +02:00
Philipp Holzer
6056081d5a
Move mod/nodeinfo to src/Module/Nodeinfo
2019-04-22 14:00:17 +02:00
Michael
2711284827
Added missing "cron_interval" default value
2019-04-10 06:41:57 +00:00
Michael
90eea919a4
New contact field "updated", fix warnings
2019-04-09 05:15:23 +00:00
Michael
a25fd7713b
Added Worker
2019-04-08 21:06:15 +00:00
Michael
46a99a05a1
Remove the queue from the core
2019-04-05 18:04:39 +00:00
Michael
e3caf0f4f5
Use deferred workers instead of the queue mechanism
2019-04-04 20:51:12 +00:00
Hypolite Petovan
09e03c9213
Merge branch 'develop' into task/6778-add-storage-move-to-cron
2019-03-27 14:13:42 -04:00
Philipp Holzer
23654ce566
Added Update checks
...
- Logging
- Console
- Admin overview
2019-03-24 22:51:30 +01:00
Hypolite Petovan
410f34d7fd
Add storage backend move cronjob
...
- Fix typos in Console\Storage and Worker\CronJobs
2019-03-23 21:47:33 -04:00
Hypolite Petovan
66df8d6bc6
Fix wrong variable name in Worker\Notifier
2019-03-23 00:05:47 -04:00
Philipp Holzer
8237e73e26
Adding REAMDEs to directories
2019-03-22 22:56:57 -04:00
Hypolite Petovan
f225a6c51a
Reformat code
...
- Reformat Console\Storage
- Reformat Core\StorageManager
- Simplify logic in Worker\CronJobs
2019-03-19 22:42:05 -04:00
Michael
4ff837488f
Issue 6167: Don't publish non visible content
2019-03-15 20:31:07 +00:00
Michael
80c2c5479a
Issue 6167: Don't distribute uploaded pictures
2019-03-15 06:05:52 +00:00
Michael
cd0d6cb626
Forums now are working with AP as well
2019-03-14 18:44:41 +00:00
Tobias Diekershoff
5df246e9af
Merge pull request #6825 from annando/empty-spawn
...
Worker: Don't spawn without jobs
2019-03-08 07:26:22 +01:00
Michael
d87abe9563
Worker: Don't spawn without jobs
2019-03-08 05:53:36 +00:00
Hypolite Petovan
77a591e6e3
Fix namespace ambiguity about Model\Queue in Worker\Delivery
2019-03-06 23:17:58 -05:00
Roland Häder
9fa812b35d
Rewrites:
...
- converted single-line if() block to multi-line and with curly braces
- "imported" SPL classes to have unified code style
- always initialize your variables ... :-/
- added some empty lines/spaces for better readability
Signed-off-by: Roland Häder <roland@mxchange.org>
2019-02-19 01:56:41 +01:00
Michael
6fd8b5f365
Don't send single item delete commands to protocols that support account removal
2019-02-11 20:30:08 +00:00
Hypolite Petovan
b2c2971551
Merge pull request #6619 from annando/worker-again
...
Furtner improval of the worker speed
2019-02-09 19:50:35 -05:00
Michael Vogel
ff2164ee85
Merge pull request #6608 from MrPetovan/bug/6386-fix-poco-discover-server-users
...
Fix poco discover server users
2019-02-10 00:38:07 +01:00
Michael
171cfe8f44
Furtner improval of the worker speed
2019-02-09 23:10:15 +00:00
Hypolite Petovan
3c137e812a
Fix delivery data increment in APDelivery
...
- Avoid incrementing the queue done if Transmitter::createCachedActivityFromItem fails
2019-02-08 23:20:15 -05:00
Hypolite Petovan
3aa77685fc
Merge pull request #6611 from annando/worker-performance
...
Improved worker performance (changed keys, changed queries)
2019-02-08 17:46:04 -05:00
Michael
5e5a2c3cc1
Improved worker performance (changed keys, changed queries)
2019-02-08 21:48:41 +00:00
Hypolite Petovan
066ad8c01b
Add PortableContact constants
...
- Fix typo in mod/admin
- Replace deprecated Logger::log calls
2019-02-08 08:38:13 -05:00
Michael
b4fc1d6810
Partly Reverted #6583
2019-02-06 07:31:29 +00:00
Michael
97fb2202cb
Lower priority for removing item
2019-02-03 23:59:16 +00:00
Philipp Holzer
1e0e1674f2
4) Adding Factories to other entrypoints
2019-02-03 22:46:50 +01:00
Michael
fc0acd7b1f
AP: Debug option to deliver via AP first
2019-01-30 19:33:08 +00:00
Michael
030c0b5dc6
Another preparation for forum posts via AP
2019-01-28 06:23:06 +00:00
Michael
3392c7a8be
Fixed "created" origin
2019-01-24 00:34:14 +00:00
Michael
0fdab4ed10
Fix for several fatal errors
2019-01-23 21:54:20 +00:00
Hypolite Petovan
c897969589
Fix wrong variable name in Worker\Delivery
2019-01-23 09:07:00 -05:00
Hypolite Petovan
5d4bafb116
Fix two additional uses of uid in Worker\Notifier
2019-01-22 08:31:39 -05:00
Hypolite Petovan
282bc01994
Fix using wrong uid for APDelivery in Worker\Notifier
2019-01-22 01:59:30 -05:00
Hypolite Petovan
e7be87df93
Fix missing $ in front of variable names
2019-01-21 11:12:49 -05:00
Hypolite Petovan
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
Hypolite Petovan
dbc6eb5422
Remove unused code in mod/
...
- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code
2019-01-21 10:53:32 -05:00
Hypolite Petovan
4a95ca280d
Remove unused code
...
- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code
- Remove duplicate array keys
2019-01-21 10:48:40 -05:00
Hypolite Petovan
d1c6ec9718
Update namespaces declaration in include/
...
- Remove unused use statements
- Add required use statements
2019-01-21 10:44:45 -05:00
Hypolite Petovan
cb3f09ae4f
Refactor namespaces
...
- Remove unused use statements
- Add required use statements
- Escape global classes
2019-01-21 10:43:42 -05:00
Hypolite Petovan
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
Hypolite Petovan
55e54bb950
Replace deprecated Addon::callHooks with Hook::callAll
...
- Update documentation
2019-01-21 09:50:56 -05:00
Hypolite Petovan
895b3abf32
Remove/replace killme() with *exit()
2019-01-21 09:49:17 -05:00
Hypolite Petovan
ff1f6564f9
Remove delivery queue done incrementation for mail delivery
2019-01-21 09:39:14 -05:00
Hypolite Petovan
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
Hypolite Petovan
8a0e4e12e1
Replace item_id by target_id in multimode delivery workers
2019-01-21 09:32:41 -05:00
Hypolite Petovan
1e6193a14e
Refactor Worker/Notifier part 4
...
- Remove redundant $normal_mode flag
- Moved public message email recipient loop
- Simplify OStatus delivery
2019-01-21 09:31:57 -05:00
Hypolite Petovan
774609dd38
Refactor Worker/Notifier part 3
...
- Replace deprecated q() calls
2019-01-21 09:31:56 -05:00
Hypolite Petovan
d0228b9b97
Refactor Worker/Notifier part 2
...
- Move self-removal in a sub-method in Worker/Notifier
2019-01-21 09:27:06 -05:00
Hypolite Petovan
507c215c76
Refactor Worker/Notifier part 1
...
- Rename variables
- Remove orphan, duplicate and one-use intermediary variables
- Initialize potentially missing variables
- Replace obsolete Addon::callHooks call
- Simplify Notifier::activityPubDelivery() signature
2019-01-21 09:27:05 -05:00
fabrixxm
8c75c26361
Use Model\Photo as much as possible
...
Most important is to use `Photo::delete()` to have backend
to remove data.
2019-01-21 09:12:28 -05:00
Michael
103b92fc48
Avoid that forum posts are received via the Diaspora protocol first
2019-01-19 12:30:16 +00:00
Michael
d813d72b1a
Simplyfies AP relaying, fixes relaying of public contacts
2019-01-17 23:06:27 +00:00
Michael
98d44ce7c7
The "]" had been at the wrong place
2019-01-17 05:32:06 +00:00
Michael
fe0339dabe
Fixing a bug, adding some logging
2019-01-16 22:19:41 +00:00
Michael
c359c162a7
Issue 6282: Update the contact data regularly (including the network)
2019-01-16 21:39:56 +00:00
Michael
236c7718d3
Fixing some notice again
2019-01-13 09:44:04 +00:00
Michael
297a549590
Issue 6282: Update the forum status of contacts
2019-01-12 16:09:27 +00:00
Hypolite Petovan
acaee626f5
Remove include/ requires that are now done directly from Composer
2018-12-24 09:56:25 -05:00
Hypolite Petovan
b6e1571b1e
Fix various notices
2018-12-15 04:32:47 -05:00
Michael
a041c7c0fa
Issue 6236: Handle account removal messages with very low priority
2018-12-06 10:04:16 +00:00
Michael Vogel
5a3991d4f7
Merge pull request #6219 from MrPetovan/task/remove-x
...
Remove x()
2018-12-01 23:40:51 +01:00
AndyHee
14b4fac818
Fixing permanent deletion counter
2018-12-01 13:21:54 +07:00
Hypolite Petovan
458981f75c
Replace x() by isset(), !empty() or defaults()
...
- Remove extraneous parentheses around empty() calls
- Remove duplicate calls to intval(), count() or strlen() after empty()
- Replace ternary operators outputting binary value with empty() return value
- Rewrite defaults() without x()
2018-11-30 09:06:22 -05:00
Michael
ba1e385f86
Don't deliver to blocked domains
2018-11-22 22:09:22 +00:00
Michael
1e873a2815
Avoid a blocked workerqueue due to removed users
2018-11-12 05:03:12 +00:00
Michael
7458d793ed
Removing some notices again
2018-11-11 12:15:17 +00:00
Adam Magness
218f0734be
Rename removeTags to escapeTags
...
rename function and update calls.
2018-11-09 13:29:42 -05:00
Adam Magness
063f0e9cb0
Rename escapeTags to escapeHtml
...
rename function and update calls.
2018-11-09 13:27:58 -05: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
0e01568ccd
escape_tags calls
...
implement escapeTags function
2018-11-08 10:20:03 -05:00
Adam Magness
a0f65ca7a1
notags calls
...
implement removeTags function
2018-11-08 10:14:37 -05:00
Michael
3b565e80b6
Improved logger text
2018-11-05 20:35:17 +00:00
Michael
ef205878b6
Cleaned up the notifier
2018-11-04 23:17:41 +00:00
Michael
bd97215147
Merge remote-tracking branch 'upstream/develop' into diasppora-delivery
2018-11-04 18:54:49 +00:00
Philipp Holzer
26aee23254
Replacing dbupdate_ in admin.php and removing it from Worker\DBUpdate
2018-10-31 14:44:22 +01:00
Philipp Holzer
e876adef8f
Moved the functions update_db and run_update_function to a Friendica\Core\Update class
2018-10-31 14:44:21 +01:00
Michael
f7f96e971a
Avoid duplicated delivery to Diaspora
2018-10-30 17:34:18 +00: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
Michael
73f596cc46
Fixes duplicated transmissions and not working undo of like/dislike
2018-10-27 11:09:23 +00:00
Michael
a6f6db8d4e
Improve query speed
2018-10-24 04:50:27 +00:00
Michael
c0a24d80dd
Remove items more memory friendly
2018-10-24 04:46:45 +00:00
Tobias Diekershoff
dbe49a0c1a
Merge pull request #5998 from annando/ap-queue
...
Unsuccessful ActivitiyPub transmission are now deferred
2018-10-23 06:54:11 +02:00
Michael
e3e714a45f
Unsuccessful ActivitiyPub transmission are now deferred
2018-10-23 03:54:18 +00:00
Hypolite Petovan
dc35d2f2f3
Merge pull request #5997 from annando/notice-relocation
...
Fix a notice when sending relocation messages
2018-10-22 22:40:47 -04:00
Michael
3dc0bb5c4b
Fix a notice when sending relocation messages
2018-10-23 02:24:24 +00:00
Hypolite Petovan
e511790d62
Move NULL_DATE from boot.php to DBA::NULL_DATETIME
...
- Add DBA::NULL_DATE constant
2018-10-22 16:50:55 -04:00