Commit Graph

712 Commits

Author SHA1 Message Date
friendica 129a119c84 implement what I hope will now be the server side of directory sync, add viewsrc to item_photo_menu, and log what changed in import_xchan update objects so we can find out why there are so many updates when nothing _obvious_ has changed that should trigger it. 2013-09-15 03:48:43 -07:00
friendica 053893b067 some fixes to directory keyword searches 2013-09-14 17:20:24 -07:00
friendica 94417eecba import_xchan - check every known hubloc/location field and create a new hubloc if anything at all changed anywhere. 2013-09-14 01:56:25 -07:00
friendica cf87653a92 need to figure out what's causing this 2013-09-12 22:50:41 -07:00
friendica 3a2d11bde1 so public_recips and allowed_public_recips is working so much better than before, but was still not quite right. We seem to be getting all the right results for top-level posts now, but comments aren't getting through on channels for which we've allowed them to send us their stream, but not comment on our posts. The reason is we were seeing if they could comment - and we only need to do that if we own the post. If they own the post, we only need to check if they can send us their stream. 2013-09-12 20:11:56 -07:00
friendica ca1b8dbe1e Merge pull request #129 from MicMee/master
to flag failed auth attempts in db table hubloc as hubloc_receive_error
2013-09-12 02:26:56 -07:00
Michael Meer 82f4b1767e delete logger line; was the wrong place. 2013-09-11 14:05:33 +02:00
Michael Meer 2228264772 flag failed auth attempts in DB table hubloc 2013-09-11 13:59:45 +02:00
friendica d593b40d9a assuming this doesn't blow up the internet like the last fix - this is a very old bug that's been reported time and time again and nobody every bothered to debug or even report it somewhere where we could monitor it. It's buried somewhere in my stream, but basically is "things don't work right if you've got 'everybody in my address book' permissions" on "can send me their channel stream and posts". I think this is Michelle's problem and anybody else who has en empty matrix after making lots of connections. 2013-09-11 02:03:37 -07:00
friendica 5e230edb85 well that really stuffed things up... 2013-09-10 22:45:04 -07:00
friendica 3e5414cf35 provide detailed error to remote site for the myriad of things that can go wrong inside item_store(), !! this changes the return of item_store !! 2013-09-10 19:06:06 -07:00
Michael Meer fd540cd596 just a typo 2013-09-09 10:30:37 +02:00
friendica 25a5a5ff4d some alteration to the way directory sync was originally supposed to work. I'm making this up as I go and not exactly certain where to go next but it makes more sense now and I think the basic idea will actually work. I'll just have to keep making it up until it does work. 2013-09-09 01:05:29 -07:00
friendica e11f2a9b02 make sure new contacts who are not yet in the address book are sync'd across clone instances 2013-09-08 20:38:15 -07:00
friendica c65ea0b97b public site list (will take a few days to populate, assuming folks have updated their site access policy which old sites do not have) 2013-09-05 22:00:06 -07:00
friendica c8e27b54ec update hubloc_timestamps 2013-08-27 17:08:59 -07:00
friendica 31b934eb5e clone sync was trying to update xchan info in the abook loop. 2013-08-26 20:58:07 -07:00
friendica 7a8363c328 more cleanup from the mess yesterday - you might have a look for xchan_addr and hubloc_addr with slashes in them and fix them - especially getting rid of ip addresses and the /channel/xyz in the addr fields 2013-08-26 17:06:19 -07:00
friendica e9125ce065 try to fix bad addresses that got into the network 2013-08-25 20:17:45 -07:00
friendica 7546117388 Try to ensure full paths don't leak into xchan_addr and hubloc_addr 2013-08-25 20:11:49 -07:00
friendica 141c8ccb1f possible fix for mention tags not posting to mentioned forum (when send stream permission is blocked) 2013-08-22 05:50:15 -07:00
friendica 32ff0932bf add detailed logging to public recips - find out why some public recipients are getting bypassed (David Benfells' problem with tagging groups, etc.) 2013-08-22 03:24:50 -07:00
friendica 5083aa3cbd implement premium channel discovery 2013-08-21 17:34:04 -07:00
friendica 5aa508dba7 don't import any hubloc that doesn't have a sitekey. Eventually we should also verify that it is a valid key, as we've already seen one case where one character got mangled and messed up communication. 2013-08-11 16:16:05 -07:00
friendica 24b9799dca convert all stored json calls to json_decode_plus() 2013-08-06 03:54:49 -07:00
friendica 85c7d7165f yhis should fix the privacy leak - as well as non-private replies to private posts 2013-08-01 14:27:40 -07:00
friendica 0d22e1eefb fix some privacy leakage in logs 2013-07-31 18:57:14 -07:00
friendica 7b3c29ebe6 fix bug #84, make imported messages from your clones show up on your wall 2013-07-29 17:30:46 -07:00
friendica d002ff668a encrypt private messages on disk - there are still a couple of places where the text is leaked in the logs during processing. 2013-07-28 21:04:03 -07:00
friendica 53118a4352 add gz to access denied files to block rotated logs from public access 2013-07-26 03:50:46 -07:00
friendica 7f87da68ba the rest of the heavy lifting on clone sync - now we're down to some log messages and a whole lot of testing 2013-07-25 22:57:06 -07:00
friendica e822ab65d7 build_sync_packet was looking at stale channel info - load it fresh from the DB. 2013-07-25 20:10:53 -07:00
friendica 65c8100948 log the sync packets locally at LOGGER_DATA level 2013-07-25 19:50:55 -07:00
friendica 3d95fcb7cd more work on clone sync 2013-07-25 16:00:04 -07:00
friendica e45beccd5b fix media uploads in api (specifically friendica for android) 2013-07-25 05:04:52 -07:00
friendica 9288c2e636 start saving site info 2013-07-23 22:33:56 -07:00
friendica 05612a8a77 make zot_finger more bulletproof 2013-07-21 22:39:21 -07:00
friendica 4680a818ea improve logging zot_finger 2013-07-21 21:54:20 -07:00
friendica 9f1fa5aba2 improvements in delivery logging 2013-07-21 17:19:16 -07:00
friendica 4aff3d4217 validate input to import_xchan(), as we don't consistently check it prior to entering this function 2013-07-18 18:22:08 -07:00
friendica 4de52e601c add channel_name to delivery logs because it is a bit more useful than an xchan_hash 2013-07-15 19:04:23 -07:00
friendica f384695e3d more diagnostics 2013-07-15 03:12:51 -07:00
friendica 9e28318e4d more error checking 2013-07-14 20:42:06 -07:00
friendica 75af9b8cd1 more logging on hubloc import - figure out why it did not get stored. 2013-07-14 18:32:20 -07:00
friendica 6e012839c9 more work on bug #59 - hope this doesn't hork everything. Also some tweaking of the theme for the new radius control, which produced some surprising results when expert mode was toggled. 2013-07-08 22:01:57 -07:00
friendica fd74c5b2ce really, truly fix the age missing in directory bug 2013-07-02 22:41:17 -07:00
friendica 2ecd5a7632 missing comma 2013-07-02 22:29:24 -07:00
friendica 23d7eab761 age was not syncing to the directory 2013-07-02 22:22:13 -07:00
friendica b86253c655 issue #65 2013-07-01 19:41:11 -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