summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-13 11:24:20 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-13 11:24:20 -0400
commit1d8aa56808d2208021bd913b86e720f7ae72c231 (patch)
treeb76d7eea5b75efad44106368b5aae8891e8451be
parenta86477aad3bab8ad519626c56e3e253faea50518 (diff)
mark off TODO, only local notices in public stream
darcs-hash:20080613152420-84dde-76da80c7345815986ee47fab45dcbde2bad895ab.gz
-rw-r--r--actions/public.php4
-rw-r--r--actions/publicrss.php4
-rw-r--r--doc/roadmap2
3 files changed, 8 insertions, 2 deletions
diff --git a/actions/public.php b/actions/public.php
index d92a704a6..270c082ba 100644
--- a/actions/public.php
+++ b/actions/public.php
@@ -48,7 +48,9 @@ class PublicAction extends StreamAction {
$notice = DB_DataObject::factory('notice');
- # XXX: filter out private notifications
+ # FIXME: bad performance
+
+ $notice->whereAdd('EXISTS (SELECT user.id from user where user.id = notice.profile_id)');
$notice->orderBy('created DESC');
diff --git a/actions/publicrss.php b/actions/publicrss.php
index 0cf572dbe..93314ee32 100644
--- a/actions/publicrss.php
+++ b/actions/publicrss.php
@@ -35,6 +35,10 @@ class PublicrssAction extends Rss10Action {
$notices = array();
$notice = DB_DataObject::factory('notice');
+
+ # FIXME: bad performance
+
+ $notice->whereAdd('EXISTS (SELECT user.id from user where user.id = notice.profile_id)');
$notice->orderBy('created DESC');
diff --git a/doc/roadmap b/doc/roadmap
index 4caeb4e61..f8c417275 100644
--- a/doc/roadmap
+++ b/doc/roadmap
@@ -147,7 +147,7 @@ First public release (theoretically). Added distributed subscriptions,
+ correct use of views menu in settings
+ correct use of views menu in streams
- INSTALL file
-- content negotiation for content type
++ content negotiation for content type
Release 0.4
-----------