zotlabs
d5d67708ac
Alter the queue so that each queue item stores the scheduled time of the next delivery. This keeps the query for
...
queued items simple. We no longer group by posturl; as the queue update function will only keep one item per destination
scheduled for shorter term processing. Others (multiple queued items for a single destination) will be scheduled for
delivery far into the future and only delivered if the hub responds to the "active" or short term queue item.
2017-01-29 14:45:25 -08:00
zotlabs
335d9af8dc
daemon_addon hook - lets plugins create custom background processes.
2017-01-17 00:14:47 -08:00
zotlabs
5b09829959
zot 1.2
2016-11-30 16:22:31 -08:00
zotlabs
c3af36d33b
the logic is much too complicated for the notifier. Let plugins know if they are going upstream or downstream with a simple binary variable.
2016-10-26 02:46:14 -07:00
zotlabs
bd83936e5d
send "hidden" edit activities to networks which don't support edits themselves
2016-10-25 20:43:24 -07:00
Klaus Weidenbach
745515b11f
[FEATURE] Add config and use composer autoloader.
...
We use composer already to install SabreDAV. Include config
composer.(json|lock) to install and manage more dependencies
in future.
Also provide PSR-4 autoloading for our namespaced classes, e.g.
"Zotlabs\". To regenerate autoloader maps use:
$ composer install --optimize-autoloader --no-dev
We could also remove the whole vendor/ folder from our repository, but
that would need changes in deployment and how to install hubs and needs
more discussion first.
2016-10-18 18:11:41 +02:00
zotlabs
c6eecb06d5
don't expire posts before 2001
2016-10-10 22:44:11 -07:00
redmatrix
bad5057a74
start removing db backticks
2016-10-03 19:47:36 -07:00
redmatrix
fb9544badd
null_date conversion; phase 1
2016-09-25 17:06:13 -07:00
redmatrix
d1c9701ccf
issue #522 - replace && with AND in sql query.
2016-09-21 16:01:17 -07:00
redmatrix
8b17a6ddd1
don't send purge_all notification to self.
2016-09-03 17:32:48 -07:00
redmatrix
a8a3812890
optimise Onepoll so it doesn't try and fetch posts for a channel that we've not given permission to send us their stream and posts. Currently the posts are fetched, processed, and ultimately discarded. Since we know they are going to be discarded, there's not much point fetching them in the first place.
2016-08-10 20:01:52 -07:00
redmatrix
3a7d3e3a54
This checkin should make all permission modes work correctly with atokens (they should be able to post content if allowed to). It also removes the strict linkage between permissions and connections so any individual permission can be set for any xchan; even those for which you have no connections.
2016-08-01 20:12:52 -07:00
redmatrix
0c3543ac43
undefined function
2016-07-20 21:55:23 -07:00
redmatrix
de4f9d68bd
Merge branch 'dev' into perms
2016-07-17 21:40:04 -07:00
redmatrix
01fe7d6620
remove expired access tokens
2016-07-15 17:34:44 -07:00
redmatrix
a01baab4f0
Merge branch 'dev' into perms
2016-07-11 17:45:10 -07:00
redmatrix
917a465ccd
more work on perms
2016-07-09 19:03:29 -07:00
redmatrix
581a3c5323
expire crashing on shared hosting from memory exhaustion. Lower the expire limit. Also the sys channel was being expired with everybody else due to a flag change regression.
2016-07-06 22:02:06 -07:00
redmatrix
bd403276f2
disable wiki if feature disabled, sync updates of delayed publish posts
2016-06-30 21:27:59 -07:00
redmatrix
7d7f43c205
still working through some issues with curl magic-auth
...
fixed profile photo upload
2016-06-27 22:25:37 -07:00
redmatrix
30a5fe3061
provide a daemon for implementing zot magic-auth over curl.
2016-06-27 19:53:35 -07:00
redmatrix
2029b2b9ed
document the daemon classes
2016-06-26 21:58:09 -07:00
redmatrix
a10f5e9e06
allow an exclusion for transmitting hidden file activities. There may be a better way to do this, but it was pointed out recently that transmitting some hidden activities might cause a problem. I cannot locate the conversation at the moment to summarise the exact issue.
2016-06-09 16:11:58 -07:00
redmatrix
a9d7acda27
the rest of the schema updates - WARNING: some third party plugins may fail; e.g. embedphotos and chess. $item['object'] is now $item['obj'] and $photo['type'] is $photo['mimetype'], $photo['scale'] is $photo['imgscale'] and $photo['data'] is now $photo['content']. There are a number of other changes, but these are the ones noted to cause issues with third-party plugins. The project plugins have been updated. Please note any new issues as this effort touched a lot of code in a lot of files.
2016-06-01 21:48:54 -07:00
redmatrix
e559f8b6a1
duplicate daemon run of cronhooks
2016-05-25 16:48:32 -07:00
redmatrix
c37eaff263
require token signatures in zot_refresh, also move channel specific stuff into include/channel.php from include/connections.php
2016-05-24 23:05:00 -07:00
redmatrix
de006771c7
renamed include files identity.php (channel.php) and Contact.php (connections.php)
2016-05-22 16:54:30 -07:00
redmatrix
1cb311cef9
finish updating zot_finger instances
2016-05-21 18:18:33 -07:00
redmatrix
2cda18f354
remove test file
2016-05-19 22:48:32 -07:00
redmatrix
2e83c17e2d
roll minor version, change example text
2016-05-19 22:47:20 -07:00
redmatrix
a2cec8899a
daemon conversion continued...
2016-05-19 22:26:37 -07:00
redmatrix
014168a29b
cleanup of daemon infrastructure
2016-05-19 21:32:19 -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
853322e7d2
don't try to deliver empty hashes
2016-05-19 20:48:40 -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