Commit graph

213 commits

Author SHA1 Message Date
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
Michael Vogel
15916a2cb7 Mail: Removing signatures, gpg, unnecessary line breaks 2012-03-10 09:52:20 +01:00
Michael
fe3dfbee56 Mail: New options for actions after importing mails. 2012-02-26 23:39:29 +01:00
Michael
1cf1870512 poller.php: Test for moving to archive, vier-style: notifications fixed 2012-02-25 19:40:05 +01:00
Michael
a74b0746b1 multipart messages complete, message-id conversion done. 2012-02-25 01:10:45 +01:00
Michael
f6320f3319 Encoding for incoming mails. Fixed invalid message id (with side effect at the moment). Sending mail as text mail. Encoding name when importing mail contact. 2012-02-24 07:11:26 +01:00
friendica
d75d49a4c1 restore poller normal operation 2012-02-22 20:31:33 -08:00
friendica
58a9c652de Merge pull request #45 from annando/master
New HTML to BBCode converter, changes to BBCode, nginx support, ...
2012-02-22 20:21:05 -08:00
Michael
e34a648cad German translation more gender friendly. Some more logging in poller.php 2012-02-22 15:20:49 +01:00
Abinoam P. Marques Jr
19fea9c2ce poller.php - Friendika -> Friendica 2012-02-20 19:38:42 -03:00
Michael
064c843119 Handling nested bbcodes. Some small design changes in html2bbcode. Change in poller.php is just for testing purposes. 2012-02-19 21:07:45 +01:00
friendica
86c0eac27d transport for email contacts phase II 2012-01-31 20:03:46 -08:00
friendica
8aa2552372 add remove_user hook (it looks like dreamhost changed all my file permissions, this will make a nasty commit) 2012-01-18 16:21:30 -08:00
friendica
0afb636e46 change default ostatus poll interval 2012-01-01 11:45:56 -08:00
friendica
034038849c mysql error report fix (no mysqli), suggested friends for new members settings 2011-11-28 19:28:33 -08:00
Friendika
a203820efe reduce polling load 2011-11-04 15:21:46 -07:00
Friendika
e28b143fb6 perform poco_load 2011-10-31 20:54:24 -07:00
Friendika
d4644d7339 name change continued, social graph tools and stuctures, fix for spanish province name 2011-10-31 20:39:04 -07:00
Fabio Comuni
306036c626 cache api 2011-10-24 13:02:38 +02:00
Friendika
af6ab38100 diaspora birthday notifications 2011-10-14 00:20:37 -07:00
Friendika
07b09300a9 improve feed import performance 2011-10-04 03:06:34 -07:00
Friendika
097c1f8da7 do not poll for abandoned accounts 2011-09-29 21:20:19 -07:00
Friendika
ec16525c86 expire expired accounts from poller 2011-09-26 05:43:22 -07:00
Friendika
d6b446d63f starting the big delivery shakeup 2011-09-22 04:11:39 -07:00
Friendika
2aef98f71d cripple account when expired 2011-09-19 01:17:12 -07:00
Friendika
56d64316f4 diaspora photos ? 2011-08-23 18:17:35 -07:00
Friendika
5b24050875 split off facebook and other cron hooks from poller 2011-08-14 22:59:34 -07:00
Friendika
04b59ac49a enhanced email privacy 2011-08-11 01:52:31 -07:00
Friendika
684ebd2ed8 enhance random_string, block public email replies 2011-08-10 21:06:35 -07:00
Friendika
ee6806d82b never enough comments 2011-08-10 01:19:27 -07:00
Friendika
48ffa880f0 cleanup 2011-08-07 16:15:54 -07:00
Friendika
d28d2ff440 better (more consistent) handling of ostatus contacts 2011-07-01 18:18:01 -07:00
Friendika
c08b85777a too much logging 2011-06-30 22:00:08 -07:00
Friendika
481cd708ac allow polling to mostly survive minor memory shortages. 2011-06-30 21:56:07 -07:00
Friendika
994011ddb6 load db configs (config,system) for all "executables" 2011-06-30 01:15:18 -07:00
Friendika
0b221e8945 bug #96 move libraries to library - better alignment of like rotator 2011-06-28 21:11:52 -07:00
Friendika
e51e772abc typo in email delete sql, add message sender to body for better handling of mailing lists 2011-05-19 18:53:35 -07:00
Friendika
245a56f0c1 lots of facebook fixes 2011-04-26 04:39:27 -07:00
Friendika
a0179235d2 provide a way to disable mailbox integration 2011-04-18 20:20:04 -07:00
Friendika
1e967eddb7 multi-user, do not cache open mbox 2011-04-18 15:16:51 -07:00
Friendika
b81eefbffb sv language had unquoted quotes in strings 2011-04-17 23:38:12 -07:00
Friendika
ab099e9102 email integration, cont. 2011-04-17 23:27:11 -07:00
Friendika
863ddf1676 mail changes 2011-04-16 08:45:08 -07:00
Friendika
27cbb830a7 more work on email contacts 2011-04-15 23:40:43 -07:00
Friendika
8b323b566f set writable flag on all stat contacts with notify link 2011-04-11 03:30:25 -07:00
Friendika
3d51518a13 set writable flag on dfrn_poll 2011-04-10 19:29:21 -07:00
Friendika
793967a1d3 better handling of troublesome feeds. 2011-04-04 19:36:18 -07:00
Friendika
b5bcf44354 profile not set 2011-04-04 01:18:28 -07:00
Friendika
0fe997490d dfrn remote profile protocol revision 2011-03-30 15:04:18 -07:00
Friendika
04cd865cc9 placeholder arg in dfrn conversations 2011-03-30 04:20:40 -07:00
Friendika
f01538a54f content expiration 2011-03-15 17:31:49 -07:00
Friendika
32e96d2647 reload plugins if they change 2011-03-09 02:12:32 -08:00
Friendika
216f038456 icon changes, feed security improvements 2011-03-04 20:55:32 -08:00
Friendika
755c2245e8 move php path setting inside proc_run 2011-02-23 15:16:12 -08:00
Friendika
b96d6c015b fix contact photo updates - a result of baseurl being wrong for cmdline processes 2011-02-06 19:15:20 -08:00
Friendika
147d7f3bbf theme name cleanup - rename default to loozah, provide sane fallbacks and change system primary theme.
Provide indication on contact edit page of last update success/failure - can be extended later to
show actual timestamp of last successful update.
2011-02-06 15:50:50 -08:00