diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-23 00:44:45 +0000 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-23 00:44:45 +0000 |
commit | d410df040684f443d14bd921c450ca464d52c9d4 (patch) | |
tree | 20c11d6fbac09b7cc5ee0eb76373f08cee310f10 /actions | |
parent | 8aa8e124cbeed84d7c32668860154783a5abd5c1 (diff) |
OStatus group delivery initial implementation.
- added rel="ostatus:attention" links for group delivery
- added events for plugins to override group profile/permalink pages
- pulled Notice::saveGroups up to save-time so we can override;
it's relatively cheap and gives us a clean list of target
groups for distrib time even with customized delivery.
- fixed notice::getGroups to return group objects as expected
- added some doc on new parameters to Notice::saveNew
- 'groups' list of group IDs to push to in place of parsing
- messages that come in via PuSH and contain local group targets
are delivered to local group members
- messages that come in via PuSH and contain remote group targets
are delivered to local members of the remote group
Todo:
- handle group posts that only come through Salmon
- handle conflicts in case something comes in both through Salmon and PuSH
- better source verification
- need a cleaner interface to look up groups by URI
- need a way to handle remote groups with conflicting names
Diffstat (limited to 'actions')
-rw-r--r-- | actions/apitimelinegroup.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/apitimelinegroup.php b/actions/apitimelinegroup.php index 1d0c4afdd..0bb4860ea 100644 --- a/actions/apitimelinegroup.php +++ b/actions/apitimelinegroup.php @@ -176,7 +176,8 @@ class ApiTimelineGroupAction extends ApiPrivateAuthAction $atom->addEntryFromNotices($this->notices); - $this->raw($atom->getString()); + //$this->raw($atom->getString()); + print $atom->getString(); // temp hack until PuSH feeds are redone cleanly } catch (Atom10FeedException $e) { $this->serverError( |