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
d1c6ec9718
Update namespaces declaration in include/
...
- Remove unused use statements
- Add required use statements
2019-01-21 10:44:45 -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
55e54bb950
Replace deprecated Addon::callHooks with Hook::callAll
...
- Update documentation
2019-01-21 09:50:56 -05:00
895b3abf32
Remove/replace killme() with *exit()
2019-01-21 09:49:17 -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
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
774609dd38
Refactor Worker/Notifier part 3
...
- Replace deprecated q() calls
2019-01-21 09:31:56 -05:00
d0228b9b97
Refactor Worker/Notifier part 2
...
- Move self-removal in a sub-method in Worker/Notifier
2019-01-21 09:27:06 -05:00
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
103b92fc48
Avoid that forum posts are received via the Diaspora protocol first
2019-01-19 12:30:16 +00:00
d813d72b1a
Simplyfies AP relaying, fixes relaying of public contacts
2019-01-17 23:06:27 +00:00
98d44ce7c7
The "]" had been at the wrong place
2019-01-17 05:32:06 +00:00
fe0339dabe
Fixing a bug, adding some logging
2019-01-16 22:19:41 +00:00
c359c162a7
Issue 6282: Update the contact data regularly (including the network)
2019-01-16 21:39:56 +00:00
236c7718d3
Fixing some notice again
2019-01-13 09:44:04 +00:00
297a549590
Issue 6282: Update the forum status of contacts
2019-01-12 16:09:27 +00:00
acaee626f5
Remove include/ requires that are now done directly from Composer
2018-12-24 09:56:25 -05:00
b6e1571b1e
Fix various notices
2018-12-15 04:32:47 -05:00
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
14b4fac818
Fixing permanent deletion counter
2018-12-01 13:21:54 +07:00
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
ba1e385f86
Don't deliver to blocked domains
2018-11-22 22:09:22 +00:00
1e873a2815
Avoid a blocked workerqueue due to removed users
2018-11-12 05:03:12 +00:00
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
3b565e80b6
Improved logger text
2018-11-05 20:35:17 +00:00
ef205878b6
Cleaned up the notifier
2018-11-04 23:17:41 +00:00
bd97215147
Merge remote-tracking branch 'upstream/develop' into diasppora-delivery
2018-11-04 18:54:49 +00:00
26aee23254
Replacing dbupdate_ in admin.php and removing it from Worker\DBUpdate
2018-10-31 14:44:22 +01:00
e876adef8f
Moved the functions update_db and run_update_function to a Friendica\Core\Update class
2018-10-31 14:44:21 +01:00
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
73f596cc46
Fixes duplicated transmissions and not working undo of like/dislike
2018-10-27 11:09:23 +00:00
a6f6db8d4e
Improve query speed
2018-10-24 04:50:27 +00:00
c0a24d80dd
Remove items more memory friendly
2018-10-24 04:46:45 +00:00
dbe49a0c1a
Merge pull request #5998 from annando/ap-queue
...
Unsuccessful ActivitiyPub transmission are now deferred
2018-10-23 06:54:11 +02:00
e3e714a45f
Unsuccessful ActivitiyPub transmission are now deferred
2018-10-23 03:54:18 +00:00
dc35d2f2f3
Merge pull request #5997 from annando/notice-relocation
...
Fix a notice when sending relocation messages
2018-10-22 22:40:47 -04:00