Harald Eilertsen
cbd208eea3
Remove use of NULL_DATE constant in core
...
The NULL_DATE constant is defined conditionally in the DBA static class.
This causes issues with static analyzing tools like PHPStan, because
they can not really know if the constant is defined or not.
We could make PHPStan ignore this, but since there already is a
`get_null_date()` method on the `dba_driver` class, this patch
changes the code to use this method instead.
We could also use the public static attribute `$null_date` on the DBA
class directly, but using a method feels cleaner, and allows for making
the attribute private, or even removing it completely at some later
time.
I'm not removing the NULL_DATE constant for now, in case it is in use by
any extensions.
2026-03-07 11:15:46 +01:00
Harald Eilertsen
0dc959d9fe
Deprecate *_config() functions in core.
2024-03-24 09:58:21 +00:00
Mario Vavti
29aa52df6a
fix poller after refactor
2023-04-28 09:29:15 +02:00
Mario Vavti
bdb25315b6
initial commit for directory flags federation
2023-04-26 23:01:56 +02:00
Mario Vavti
d79290df75
dirsync update column
2023-04-26 17:58:35 +02:00
Mario
f277d08244
queue and poller testing
2023-04-21 07:45:32 +00:00
Mario
81993cf2a3
cleanup
2023-04-15 15:15:55 +00:00
Mario Vavti
7ce4175876
initial commit directory sync rewrite - should work but still requires lots of cleanup
2023-04-12 09:29:51 +02:00
Mario Vavti
c9e170dfcc
queueworker: introduce new interval config queueworker.queue_interval - defaults to 500000 microseconds. No config UI yet.
2022-12-12 23:26:45 +01:00
Mario
e3a19469eb
bring back poll and delivery interval
2022-12-12 09:03:49 +00:00
Mario
2bb58843ab
move queueworker to core and bump version
2022-12-02 19:22:19 +00:00
Mario
a050e8c8f5
should compare against abook_updated to make sure we do not always poll broken feeds
2022-11-26 08:37:45 +00:00
Mario
0e6b27c9f4
if a feed fails, do not update connected timestamp. attempt to poll feeds only once a day if we could not fetch it last time we tried
2022-11-17 11:50:13 +00:00
Mario
1fa4bc9ac0
remove most legacy zot quirks
2021-05-26 12:18:59 +00:00
Hilmar R
c26dede97f
get dev
2021-03-01 18:48:11 +01:00
Mario Vavti
ba9a9cb016
undefined variable
2021-01-10 21:32:42 +01:00
DM42.Net Zap Dev
e800e2db2b
Return in the case of further processing
2019-08-19 23:13:19 -04:00
zotlabs
a5a5ac60ba
find unregistered z6 clones on hubzilla sites (does not happen automatically since z6 is not the default protocol on hubzilla). This will need to be pushed to master for the next point release.
2019-03-13 16:27:52 -07:00
zotlabs
eaa375936f
more z6 compatibility fixes
2019-01-16 15:28:30 -08:00
Mario Vavti
293e405f5b
just query for data we actually need
2018-05-30 14:09:24 +02:00
redmatrix
fb9544badd
null_date conversion; phase 1
2016-09-25 17:06:13 -07:00
redmatrix
e559f8b6a1
duplicate daemon run of cronhooks
2016-05-25 16:48:32 -07:00
redmatrix
39bc0664a7
Separate cron into periodic components and use that as the main interface for scheduled tasks instead of the quaint 'poller'.
2016-05-19 21:22:04 -07:00
redmatrix
9cb1ac3de5
daemon master: create some compatibility code
2016-05-19 20:36:32 -07:00
redmatrix
5b2474238e
first phase of daemon refactoring
2016-05-19 19:42:45 -07:00