aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
Commit message (Collapse)AuthorAgeFilesLines
* indicate public forums in directory results (there will be some [possibly ↵friendica2014-11-101-4/+5
| | | | considerable] lag time before existing forums are correctly tagged).
* add public forum identification to libzot. No attempt is made to identify ↵friendica2014-11-101-2/+6
| | | | other types of forums or weird custom channel permissions. If the channel is auto-accept and taggable, it's a public forum.
* don't overwrite $x (contains import_xchan result) with role permissionszottel2014-11-061-3/+3
|
* ok heads up - potentially destabilising change. I've tried to sort out all ↵friendica2014-11-041-9/+9
| | | | | | | | | | the default connection permissions for those who don't have a predefined (or therefore have a "custom") permissions role. Unfortunately this includes most people that were using this software more than a month ago. The real changes are that the SELF address book entry no longer holds "auto-permissions" but instead holds your "default permissions" (if you have a pre-defined role, the defaults will be pulled from the role table). The auto permissions have moved to a pconfig (uid.system.autoperms). A DB update will move these settings into their new homes. What used to be the "Auto-permissions settings" page is now the "default permissions settings" page and a checkbox therein decides whether or not to apply the permissions automatically. A link to this page will only be shown when you have the "custom" role selected. With luck nobody will notice anything wrong. But at least for the next few days, please review permissions that have been assigned to new connections (either automatically or manually) and make sure they make sense (e.g. they aren't "nothing"). You still need to take action when seeing a message "permissions have changed but not yet submitted" as we always let you review and perhaps adjust the settings _before_ a connection is established (unless you have autoperms turned on).
* php warningsfriendica2014-11-021-23/+23
|
* I'm going to try again with the conversation request packets. I've looked ↵friendica2014-11-021-11/+55
| | | | this over and tested a lot of edge cases, and thought about from every angle I can think of to prevent looping. I don't *think* this can loop. I also doubt that this is the problem at friendicared.de, but I don't know for sure what that problem might be.
* add some more safety checks before turning the conversation request messages ↵friendica2014-11-021-3/+5
| | | | back on
* check that we have valid datafriendica2014-11-011-0/+1
|
* disable request message response until we work through thisfriendica2014-11-011-0/+3
|
* document request packets a bit morefriendica2014-10-311-1/+4
|
* flag notify packets that are sent in response to a message_id request and ↵friendica2014-10-311-4/+5
| | | | prevent them from recursing
* What this checkin does is catch the case where a comment arrived and there's ↵friendica2014-10-301-1/+82
| | | | a missing top-level post to match it with. So we'll send a request back to the sender that you've never seen this thread and please send a fresh copy of the entire conversation to date. We could soon have posts in the matrix from different platforms from days gone by, which have been migrated into the modern world. We'll be polite and not deliver these to everybody. However, if someone comments on one of these antique threads we wouldn't be able to see it in our own matrix because we won't have a copy of the parent post. So this rectifies that situation. Be aware that item deletion may need to change to keep "hard deleted" items indefinitely so that they don't keep coming back. We'll have to null out the important data of the former item to accomplish the deletion aspect.
* Tried this once before but had to revert. Basically prevent a comment from ↵friendica2014-10-191-1/+7
| | | | being relayed more than once - as it's a huge drain on resources. But last time I tried this, wall-to-wall comments stopped getting relayed. This checkin should do the right thing in both conditions.
* if a hubloc primary change results in an xchan primary change, create a ↵friendica2014-10-131-1/+5
| | | | directory update packet.
* figuring out how to bootstrap the change_primary procedure when all you have ↵friendica2014-10-131-0/+4
| | | | is inconsistent data which you think you trust.
* don't use cached datafriendica2014-10-131-0/+2
|
* there's the problemfriendica2014-10-131-2/+2
|
* new function hubloc_change_primary()friendica2014-10-131-3/+18
|
* cleanup of sync_locations and better logging. There was one significant code ↵friendica2014-10-121-7/+11
| | | | change but it is unrelated to current issues, basically if no primary was set we were setting everything as primary.
* ah yes, the redundant relay run was for the benefit of wall-to-wall posts ↵friendica2014-10-101-2/+1
| | | | issue #633
* missing source route after editfriendica2014-10-101-0/+2
|
* improvement in source route checking when handling complex *upstream* ↵friendica2014-10-101-6/+19
| | | | delivery chains, which were not adequately accounted for in the earlier checkin.
* allow (our own) ajax urls to pass through bbcode intact.friendica2014-10-091-1/+2
|
* OK this is important. So read it carefully.friendica2014-10-091-3/+33
| | | | | | | | This checkin implements route matching of comments so that they are only accepted from the same route as the top-level post they are attached to. This way there should be no mis-match of permissions between any posts in the thread. It may not be completely compatible with comments posted in the past (though I've tried to be, there may be some minor issues). In addition it seems that relaying was invoked more often than necessary - especially when a duplicate post arrived which was not processed because the edited time hadn't changed - it still invoked relaying. This fix should improve site performance considerably for comments cross-posted to forums; which got bounced around a bit and delivered redundantly for no reason. Roll this back *only* if it causes a meltdown or comment loss is "serious" (as in OMG people are dying, make it stop!). If we can get past 24 hours without serious issue we need to get everybody onto this code. There may be some minor comment loss (mostly affecting new comments to older posts or likes of older comments) until the majority of sites have moved to the new code. It may be difficult or impossible to deliver comments to posts that pre-date the addition of source routes (April 1, 2014) to anybody but the top-level post author at his/her primary hub. We may wish to close comments on these posts, but let's see how we go before doing that.
* ability to pre-populate connections for new channels. e.g. "MySpace Tom"friendica2014-10-011-2/+0
|
* found the suckerfriendica2014-09-221-2/+2
|
* just mark dead hubloc deleted - don't remove them. This could cause ↵friendica2014-09-161-2/+4
| | | | problems. Also clean up fetch_url/post_url header option
* honour service class restrictions for total_identities, total_channels ↵friendica2014-09-151-4/+36
| | | | ("friends") and total_feeds both when importing channels and subsequently when syncing clones. Limits are based on the local system - additional entries are silently dropped.
* provide a way to sync locations and get rid of bogus hublocs, now implementedfriendica2014-09-141-2/+8
|
* pull the plug on the old location sync section of import_xchan - this has ↵friendica2014-09-141-168/+12
| | | | | | now been split off into its own function. Cross fingers because this is core functionality which was tried and true, well tested; and now it's a bit different. Please revert this if the matrix breaks in the next few hours.
* more heavy lifting on the hubloc management and revocation infrastructure; ↵friendica2014-09-141-10/+51
| | | | don't rush me. This is going to become a fundamental part of zot. It deserves careful consideration.
* some backend work for the remaining missing bits of mod_hubman - this is ↵friendica2014-09-131-2/+200
| | | | still a fair ways from being complete and is not ready for prime time. Basically we'll let a channel send out a public message saying "these are my currently approved locations" and anything that isn't in the list will be marked deleted. We'll send out this message when locations change somehow - either through direct personal involvement (hub revoke, change primary, channel import) or during a system rename or "find bad/obsolete hublocs" activity. This way we won't have clones sending back location info we just got rid of and re-importing the bad entries.
* don't allow an xchan to be imported with an empty name. To avoid translation ↵friendica2014-09-111-2/+2
| | | | issues we'll just make it '-'.
* This is long overdue - use a symblic constant NULL_DATE instead of the ↵friendica2014-09-081-1/+1
| | | | easily mis-typed sequence '0000-00-00 00:00:00'
* realm detection logic reversedfriendica2014-09-041-1/+1
|
* sql error in profile_activityfriendica2014-08-311-4/+2
|
* lots of little Diaspora issuesfriendica2014-08-281-6/+7
|
* works one way sort of - now to go the other way - which will require fixing ↵friendica2014-08-261-1/+4
| | | | a whole slew of FIXMEs
* sort out some anomaliesfriendica2014-08-251-1/+12
|
* We really can't do this without a hubloc. I was hoping we could, but ↵friendica2014-08-221-2/+3
| | | | notifier is setup to take hublocs, not xchans.
* provide the site blacklist everywhere it is neededfriendica2014-08-211-0/+16
|
* some more work on realmsfriendica2014-08-171-3/+4
|
* add collections widget to connections page - and some more work on realmsfriendica2014-08-171-1/+15
|
* provide backend storage and declaration of directory realmfriendica2014-08-161-2/+5
|
* don't block "public" messages with authenticated scopezottel2014-08-151-1/+1
|
* zot logging to figure out why we occasionally don't have an address on ↵friendica2014-08-121-0/+4
| | | | xchan_import - I suspect we don't have anything useful at all.
* got the logic reversed on that onefriendica2014-08-071-1/+1
|
* over-ride the private flag if we received a post that isn't completely ↵friendica2014-08-071-1/+13
| | | | public, but they didn't set the private flag.
* public scope delivery issuesfriendica2014-08-061-3/+11
|
* clone sync of "unfriend" actionsfriendica2014-08-051-0/+15
|