Commit Graph

387 Commits

Author SHA1 Message Date
redmatrix 2a26c898ca protect from sql injection 2015-09-02 15:52:54 -07:00
zottel 441946b9d3 really fix post filtering 2015-09-02 15:49:07 +02:00
redmatrix b1f091e4d7 issues with abook sync between hubzilla and red 2015-08-23 17:40:47 -07:00
Alexandre Hannud Abdo 73b30de9cb Properly fix which perms get checked for comments, Mike's solution 2015-08-14 12:21:05 -03:00
redmatrix 0b7365e2db revert 36b5f6ac 2015-08-12 22:37:24 -07:00
Alexandre Hannud Abdo 36b5f6acfe Require comment perms only for own posts, allow senders to deliver comments using stream perms. 2015-08-10 18:20:18 -03:00
redmatrix 27fa908233 patch to allow theme based widgets 2015-07-23 18:49:37 -07:00
redmatrix 7db515b77c fix for empty recip array resulting from a mangled xchan 2015-07-15 18:31:37 -07:00
redmatrix 59b67d52e6 clone sync fixes across red/hz 2015-07-15 18:14:19 -07:00
redmatrix a5989b0f31 coverup and ignore the illegal string offset message that some sites have been reporting. This does not fix it. A fix would be to examine the data that has been received and find out why it is mangled and trace this back to where it was mangled. 2015-07-14 16:54:16 -07:00
redmatrix 065a50c920 a few clone sync fixes as well as some work on hubzilla clone sync back to redmatrix 2015-07-02 21:55:36 -07:00
redmatrix de13497333 no this isn't it. well ok, it's part of it, but not the important part. it's still pretty cool. 2015-06-28 21:16:56 -07:00
redmatrix 9a0264f5d2 some work on issue #329 2015-05-25 19:17:35 -07:00
redmatrix 62df06b3d6 cloning abook entries was broken in several ways if the target xchan wasn't available on the clone site. This should make it less broken. 2015-05-20 20:20:35 -07:00
Klaus Weidenbach fdd6508019 Some documentation and whitespaces at line endings. 2015-04-10 00:28:23 +02:00
Klaus Weidenbach d0361582b0 Correcting reported Doxygen syntax warnings.
Fixed wrong Doxygen syntax and add some of the available FIXME to
Doxygen documentation.
Updated Doxygen configuration to add also all capital letter tags.
Adding some more Doxygen documentation.
2015-03-29 22:23:00 +02:00
friendica b1fd6c53a5 tweaks to directory registrations which don't seem to be happening, also downgrade any directory that claims to be a primary directory for RED_GLOBAL. 2015-03-19 15:56:30 -07:00
Michael Johnston 4e98a70e66 add missing %d for abook_closeness 2015-03-11 20:56:40 -04:00
friendica 54a9fb1774 diaspora's spammy permission model seems to have leaked through our firehose. Don't let it. 2015-03-10 12:22:22 -07:00
friendica b5683bfac4 change default affinity (abook_closeness) to 80 for all new connections going forward (was 99). This way it can be adjusted down later without requiring you to change all your existing connections upward (since your existing connections are likely all sitting at 99 at the moment). The default setting is also configurable with a pconfig system.new_abook_closeness 2015-03-08 14:11:38 -07:00
friendica 99e4d2362c I'm going to use the site_update timestamp to indicate whenever we successfully connect with a site. This way we can mark hubs dead on non-directory servers; but we have to wait before implementing this until we have a history of site_update being updated. 2015-03-03 15:54:38 -08:00
friendica 85f79990af don't let a zot-finger bring a dead hub back to life unless it's the site we're currently talking to. 2015-03-03 15:22:24 -08:00
zottel e4a2e353d8 make public delivery to contacts or any connections work again
$hash wasn't defined in this case
2015-03-02 11:05:03 +01:00
friendica 4162dfe43f Merge https://github.com/friendica/red into pending_merge 2015-02-26 14:21:26 -08:00
friendica 09f80270de loop breaker 2015-02-26 14:20:43 -08:00
Habeas Codice 82bb216952 more fake null shenanigans 2015-02-26 08:23:02 -08:00
Habeas Codice f55e210120 Revert "more fake null shenanigans"
This reverts commit b57010e3da.
2015-02-26 08:22:15 -08:00
Habeas Codice b57010e3da more fake null shenanigans 2015-02-26 08:20:29 -08:00
friendica b32841e2dd Found the cause of the delete looping, and I can prevent it going forward. The issue remains what to do about comments which are already in the DB and have ITEM_ORIGIN incorrectly set. We can't exactly reset them because the "original" context has been lost. (Sorry but couldn't resist an insider pun that none of you will be able to follow anyway). Read the comments. 2015-02-25 15:27:33 -08:00
friendica 1a071ea4f0 call post_local hooks prior to storing a post that is going to be sourced. There are some fields in the actual stored item that may change when we start the second delivery chain so a few plugins may not deal with these items correctly. Since we only source public items these effects will be slight. 2015-02-25 03:16:43 -08:00
friendica 2a2cc309ce solve some (hopefully most) missing delivery issues 2015-02-25 01:39:45 -08:00
friendica d29de912b4 public_recips cleanup 2015-02-23 16:27:12 -08:00
Habeas Codice ffd47e6b95 catch negative ages
nix extra var
2015-02-20 19:48:51 -08:00
zottel d0fe0b5d5f fix parens mismatch from last commit 2015-02-18 11:48:05 +01:00
zottel 9d745cd072 also deliver public posts to channels with channel_w_stream = PERMS_AUTHED 2015-02-18 11:44:43 +01:00
Habeas Codice d9d029470f Merge branch 'master' of https://github.com/friendica/red 2015-02-16 15:13:31 -08:00
Habeas Codice ca8e221018 normalize age data
mysql has type tinyint(3) which probably turns into a 24-bit value, but
postgres uses 3-digit decimal as its constraint (probably what the mysql
schema was intended to do). either that or mysql silently truncates while
postgres respects the constraint. Either way, bad data gets in unchecked, now
it's checked.
2015-02-16 15:09:43 -08:00
friendica 1c4b919980 force site_url to be lowercase when stored. Otherwise rating hubs on postgres could get real messy. 2015-02-15 23:45:22 -08:00
friendica 7bb2e25ea0 missing param 2015-02-13 13:04:31 -08:00
friendica c62d605608 well that was certainly fun. And the reason why likes and other acitivity deletions weren't propagating. Hopefully this is the last reason and there aren't more lurking further down the chain. 2015-02-11 16:11:21 -08:00
friendica 8c061f143f more efficient processing of response activities, plus a proof of concept fix for the problem of receiving a delete notification before we actually get the item which we're supposed to delete. 2015-02-11 15:26:35 -08:00
Habeas Codice 9ed23f9081 Merge branch 'master' of https://github.com/friendica/red 2015-02-05 09:15:39 -08:00
Habeas Codice 88488fdfbb escape dates 2015-02-05 09:15:26 -08:00
friendica de79bb89fc Merge branch 'master' into pocorate 2015-02-03 16:03:58 -08:00
friendica 3f50313862 garbage in garbage out 2015-02-03 16:03:05 -08:00
friendica 1807db6cb0 send rating information to directories 2015-02-02 20:13:07 -08:00
friendica 340212d77e sync_locations() toggle DB flag functions were broken - result of postgres changes. Split these into seperate set and reset blocks. 2015-01-30 15:01:10 -08:00
friendica ab0706521e let zot_refresh continue without a primary hub if one cannot be found. also weekly doc updates 2015-01-30 13:45:28 -08:00
friendica a496036066 local_user => local_channel 2015-01-28 20:56:04 -08:00
friendica 6c7269be94 add yet another firehose check 2015-01-28 01:13:32 -08:00