friendica
c0e1e7ed2c
Merge https://github.com/friendica/red into zpull
2014-02-11 14:27:44 -08:00
friendica
d02529fde1
implement a forced directory update mode where we unconditionally create a directory sync packet. This is needed to ensure that monthly directory pings are propagated to other directory servers so they can each prove for themselves whether or not an account is alive or dead. We do not trust other directories to provide us information beyond "look at this entry and decide for yourself" as doing otherwise would invite rogue directory manipulations. As this scheduled update occurs on all channels across all servers, we should also pick up refresh messages from all existing channel clones and these should also propagate out to all directory servers using the same mechanism (though perhaps not at the same time).
2014-02-11 14:19:20 -08:00
Thomas Willingham
2d9655627a
Clear out old notifications in the poller.
2014-02-11 20:14:45 +00:00
friendica
59094cda51
reversed args in update_modtime, incorrect ud_guid and ud_hash
2014-02-10 20:38:26 -08:00
friendica
06e0272db8
populate some posts when somebody is granted "read stream" permission
2013-11-17 16:50:32 -08:00
friendica
90ab0d963b
we should probably only expire things once...
2013-11-07 22:45:13 -08:00
friendica
7381326b7a
provide expire feature on post and comments as well as private messages. This requires a feature setting and is currently unmaskable - if the author says it's gone, there's not a lot you can do to stop it or try and save it. It's gone.
2013-11-07 00:47:50 -08:00
friendica
6162de142c
allow private mail sender to set an expiration on their messages. Once expired the message is destroyed at both ends (subject to the granularity of the polling interval) and is gone. Officially it takes some form of language independent string like 2013/11/22, but English speakers can use anything that strtotime() understands, like "+30 minutes" or "next Tuesday".
2013-11-06 18:28:36 -08:00
friendica
1bf6591e1b
implement monthly directory pings
2013-10-28 00:11:44 -07:00
friendica
66f427db5e
directory sync optimisations to save redundant processing
2013-10-15 02:33:35 -07:00
friendica
b75163fb80
why do these have invalid id's?
2013-10-14 22:04:45 -07:00
friendica
3a615528e8
sync tweaks
2013-10-14 21:39:54 -07:00
friendica
266c701034
directory sync typo
2013-10-02 04:04:37 -07:00
friendica
e992cfeca9
directory sync - this will either work, or it won't work, or it will possibly recurse and blow up the matrix. Hard to say. Do you feel lucky? Well do ya' ... punk? Rule #1 - don't mess with anything unless it's blowing up the matrix. If it doesn't blow up the matrix, but doesn't work, just let it go and let's figure out what it is doing and what it isn't doing.
...
The flow is as follows:
Once a day go out to all the directory servers besides yourself and grab a list of updates. This happens in the poller. If we've never seen them before add them to the updates table. The poller also looks to see if we're a directory server and have updates that haven't yet been processed. It calls onedirsync.php to process each one. If we contact the channel to update and don't find anything (we're just doing a basic zot_finger), set a ud_last timestamp. If this is set we will only try once a day for seven days. Then we stop trying to update.
This will probably cause a spike the first time through because you haven't seen any updates before, but we spread out the load over your delivery interval.
2013-09-30 18:33:27 -07:00
friendica
e9ea80f2f6
No point beating a dead horse
2013-09-12 21:54:15 -07:00
friendica
85e291f535
figure out why poller isn't picking up old posts which failed to deliver
2013-08-29 18:17:15 -07:00
friendica
d46436dc9c
issues marking for death
2013-08-15 17:36:00 -07:00
friendica
ac541a7d32
most of expire is now ported from friendica, but the protocol bits to push out the delete notifications for the entire batch to all recipients of the original post are not complete and will take quite a bit more work. As a consequence, expire has been completely disabled until it is fully implmented since it could result in completely un-removable posts reminiscent of the infamous "Bonnie Nadri" incident at Diaspora which we do not wish to re-live.
2013-08-14 20:09:02 -07:00
friendica
c2f97f7490
populate initial suggestions (ultimately we want to do this at install time as well as from the poller so that new sites have friend suggestions when they create their first channel).
2013-08-05 20:08:35 -07:00
friendica
72f6edd595
add age to directory profile - requires updating on each birthday and that part is still missing
2013-06-30 00:38:02 -07:00
friendica
1b70ac1bc0
no GMT_TIMESTAMP() in mysql - use UTC_TIMESTAMP() instead
2013-06-06 16:12:34 -07:00
friendica
21491100f8
fix buggered contact photos
2013-06-03 22:34:35 -07:00
friendica
df32c93d56
zidify img links, delay notifier until actually published for time travelling posts
2013-05-27 05:27:35 -07:00
friendica
c721c3a20e
implement time travelling posts
2013-05-23 17:24:15 -07:00
friendica
0fbb3b6a97
for directory sync, ensure we have a fallback master; even if we have nothing else
2013-04-18 20:47:35 -07:00
friendica
884812bcba
doco
2013-03-25 21:32:12 -07:00
friendica
ea3940c4b0
start formatting for Doxygen
2013-02-25 17:09:40 -08:00
friendica
e270bd3874
mark for death implemented
2013-01-29 19:28:19 -08:00
friendica
2d113f0c87
refresh now works on poller runs
2012-12-30 23:51:39 -08:00
friendica
83db4abaab
fixes
2012-12-30 22:56:52 -08:00
friendica
14fb503800
progress on poller
2012-12-30 16:14:29 -08:00
friendica
c6b8ab534f
fixed several little nit bugs that cropped up during deployment
2012-12-06 00:03:24 -08:00
friendica
dd428cf4fc
rm pidfile stuff since we won't need poller locking
2012-11-29 19:52:10 -08:00
friendica
ebb75340ec
fixes to photo linked items, shut up poller until I can get to that
2012-10-25 00:10:53 -07:00
friendica
939543b26d
more progress on the main photos module
2012-10-24 22:21:35 -07:00
Mike Macgirvin
672da80282
progress however tedious
2012-10-23 20:59:20 +11:00
friendica
80bd128425
more DB cleanup
2012-08-30 18:47:07 -07:00
friendica
09f74be14c
variable confusion in poller, don't allow negative page offsets
2012-06-11 17:24:16 -07:00
friendica
e8b9b8a403
separate poll_interval from delivery_interval - default is the same.
2012-05-07 04:21:54 -07:00
friendica
421acee65b
implement max load average before queuing/deferring delivery and poller processes
2012-05-03 21:50:48 -07:00
friendica
f163aed66d
break up poller into separate processes
2012-04-27 23:17:40 -07:00
Michael Vogel
cb05801a90
Merge commit 'upstream/master'
2012-04-07 18:35:29 +02:00
Alexander Kampmann
355c42cb30
Merge branch 'master' of https://github.com/friendica/friendica
...
Conflicts:
include/config.php
update.php
2012-04-05 13:39:15 +02:00
Michael Vogel
4cf1e5aa21
poller: An optional lockfile is used to check if the poller is already running
2012-04-01 20:52:33 +02:00
Michael Vogel
bdd2754740
Merge commit 'upstream/master'
2012-03-28 19:52:30 +02:00
friendica
cca524495c
community discovery cont., cleanup of DB debugging
2012-03-18 22:12:36 -07:00
Michael Vogel
8a1f175df0
New bbcode element: "spoiler". Mail: Top post quotes are now embraced in "spoiler" elements
2012-03-17 11:07:49 +01:00
Michael Vogel
9ca5de8c28
Item cache now is one day.
2012-03-11 19:45:28 +01:00
Michael Vogel
9f76d96d46
Cache: item cache now has an autodelete of old files. The pages plugin now sets a link via redirection. So posting works.
2012-03-11 19:11:25 +01:00
Michael Vogel
e098147c24
New config options if ostatus polling should use the priority in the contacts
2012-03-10 11:29:40 +01:00