Alexandre Hannud Abdo
b20887995a
Implements a new permission level PERMS_PENDING
...
With this a user can allow some action to any user which connects
to them, even before they've connected back.
Ref.
https://mobiliza.org.br/display/478d9e71eaf55748dc646d3990651d6d34cfb7db5c38360538ec730ca3ccf908@zothub.com
Also some code cleanup and an alternative logic for handling
notifications of permission changes in zot.php.
This assumes that private posts are still restricted to people in
your addressbook. Regardless of your global permissions, a
pending channel won't get private posts, even if the post
only has a deny clause not matching the pending channel.
2014-06-19 15:13:32 -03:00
friendica
5c8359f976
note work still remaining
2014-06-17 17:36:41 -07:00
friendica
dafd3a9e43
sync profiles to nomadic clones
2014-06-17 17:34:51 -07:00
friendica
78609e9363
send new connection notification even if auto-perms are set
2014-06-12 17:31:42 -07:00
friendica
4fa3b420ab
duplicate birthday events showing up
2014-06-04 21:02:57 -07:00
friendica
2386bc4d00
bring back birthdays
2014-06-02 17:49:19 -07:00
friendica
9b5eabf108
Merge branch 'master' into newevent
...
Conflicts:
include/zot.php
2014-05-29 16:14:10 -07:00
friendica
2a6d7b6a07
cleanup dead directory entries. This was a real b#tch, so keep your eye out for issues - which you shouldn't see until next weekend when this is scheduled to run. We're only setting flags, so if anything goes wrong we should be able to recover without too much pain.
2014-05-28 21:42:46 -07:00
friendica
2f5bd7e1b3
add activity_received hook
2014-05-13 20:58:55 -07:00
friendica
1a4c99ec02
fix events until the new event subscription mechanism goes in, as shared events have been broken
2014-05-07 22:28:19 -07:00
friendica
a00103b7df
better event management
2014-05-07 22:23:43 -07:00
friendica
e22e94cd97
ok *now* shred works with alternate config files
2014-05-07 20:31:21 -07:00
friendica
769b0f6bc9
Often somebody will join the matrix with a dodgy cert and we'll sort that out but their profile photo will remain rainbow man (or the site default). However the photo_date has been updated so we won't try again. This checkin looks for such a failure and leaves the photo_date alone if the photo import failed.
2014-04-13 18:30:06 -07:00
friendica
e64ec31a9d
add the message-id to delivery reports. This _could_ allow an enterprising developer to collect the delivery reports for a given post and store them in a DB table so that the sender could track and verify where a message had been sent on a web page and verify the success or failure of those attempts without requiring admin access. (To be fair this would also need an extra flag which hasn't yet been implemented to indicate that a channel created a second delivery chain of the message).
2014-04-10 22:17:35 -07:00
friendica
bf1f18e172
Include the entire original item when notifying other channels of deletions as it contains important routing and scope information. Previously we were only sending a couple of critical fields like the message-id, flags, and creation date. The thinking was that it is deleted, let's not resend the deleted contents anywhere. But in order to route this through the same path the original post took we really need the entire original post with all of its baggage attached.
2014-04-10 16:14:19 -07:00
friendica
74029a9ee9
this should be better - "xchan deleted" state on remote sites only follows the xchan_flags and not the channel_pageflags; XCHAN_FLAGS_DELETED should only be set if the channel is to be removed from the entire network. As mentioned in a previous commit, channel_pageflags could be set to PAGE_REMOVED but still leave living clones on other sites.
2014-04-07 16:10:43 -07:00
friendica
7e160a7b04
undo one of yesterday's changes - if a channel was deleted we want to mark the hubloc deleted - but not the xchan. The channel might be alive at another hubloc. We should only mark the xchan deleted when removing a channel from the entire network - e.g. there are no hubs left to service it.
2014-04-07 13:13:00 -07:00
friendica
10167fdf51
prevent follows of and notifications to deceased channels
2014-04-07 02:55:00 -07:00
friendica
1108eaaed0
source routing stuff
2014-03-29 21:53:50 -07:00
friendica
a6d8668a5f
try and sort out the item delete mess
2014-03-27 20:28:48 -07:00
friendica
8594d069a1
new connection notification
2014-03-27 18:03:19 -07:00
friendica
ed14c1f224
more work on firehose
2014-03-26 18:45:01 -07:00
friendica
50a7e9ce8f
this should improve queue performance dramatically.
2014-03-24 19:40:36 -07:00
friendica
944d051e45
create_sys_channel during setup bypasses our check when creating the first account that there is a site keypair. Esnure that a site keypair is created before any sys channels are created.
2014-03-23 18:12:32 -07:00
friendica
6d37e41fc3
found what I believe is the root cause of issue #230 , but don't yet have a workable solution. This one is hard.
2014-03-20 22:08:16 -07:00
friendica
1156b141db
increase log info to track down source of ownership failures
2014-03-20 16:45:19 -07:00
friendica
8c177fbc4b
cleanup
2014-03-18 16:50:46 -07:00
friendica
8c7e076dae
bring friends back
2014-03-06 01:29:42 -08:00
friendica
86d60f572f
change flags for one-way connections from hidden to unconnected so we can still use hidden for - well hiding connections
2014-03-04 14:35:42 -08:00
friendica
3d49bf0320
directory sync issues
2014-03-03 21:00:42 -08:00
friendica
7baeb45183
some anomolies found when viewing connections in various cases.
2014-03-02 19:40:59 -08:00
friendica
5b4e3f46bc
minor stuff, some doco, auth cleanup, and make "unknown" more translateable by context.
2014-02-22 14:58:12 -08:00
friendica
8367a92214
fix login weirdness for accounts that need to be approved
2014-02-20 18:38:52 -08:00
friendica
6eb971656e
believe i found the issue which was causing hundreds/thousands of identical hublocs to be created
2014-02-20 01:35:08 -08:00
friendica
70526915c8
several things were not working correctly w/r/t community tagging. The preference vanished from settings at some point, and we also weren't updating the original post timestamp so that the changed taxonomy would propagate correctly as an edit.
2014-02-16 16:04:46 -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
friendica
59094cda51
reversed args in update_modtime, incorrect ud_guid and ud_hash
2014-02-10 20:38:26 -08:00
friendica
74fb7d158b
Check for the correct DB name before pushing.
2014-02-10 19:20:55 -08:00
friendica
7f741a7e85
add channel_notify_flags to list of things which should *not* be synced across nomads. You probably only want one site to send you notification emails for the same events as opposed to all of them.
2014-02-10 19:18:09 -08:00
friendica
c7ffae03d8
perform remote discovery on abook sync of nomadic clones if remote channel (xchan) is unknown
2014-02-09 19:45:22 -08:00
friendica
14fd940e08
To be listed as a public site, you need to be an https site with a valid cert. If you don't make the cut, you will either not be listed as a public site or you will be de-listed. Period. This is non-negotiable.
2014-02-07 00:50:04 -08:00
friendica
c9879edb3e
break delivery loop if an item is deleted twice
2014-01-10 12:37:48 -08:00
friendica
196b3022bd
Merge branch 'master' into movejs
...
Conflicts:
version.inc
2014-01-06 02:37:06 -08:00
friendica
d920e212ac
typo in import_directory_profile
2014-01-05 15:51:44 -08:00
friendica
0c85c97480
move js files from core
2014-01-04 03:58:21 -08:00
friendica
152ed96379
issue #230 - deletion failure in multiple delivery chains
2013-12-26 00:14:17 -08:00
friendica
fe00e9b261
extend the directory profiles a bit more
2013-12-25 01:57:04 -08:00
friendica
b3fe221b7f
issue #240 - we were using htmlentities instead of htmlspecialchars in several places, and this was a bit greedy in the set of characters which were converted from utf-8 to HTML entities. Also brought mail attachments up to date so they are rendered identically to item attachments.
2013-12-11 23:13:36 -08:00
friendica
38577cf26c
issue #225
2013-12-05 18:17:16 -08:00
friendica
d8903f09f5
include re-organisation and more doco, post_to_red fix ampersands in categories
2013-12-04 00:19:29 -08:00