]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
mark off TODO, only local notices in public stream
authorEvan Prodromou <evan@prodromou.name>
Fri, 13 Jun 2008 15:24:20 +0000 (11:24 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 13 Jun 2008 15:24:20 +0000 (11:24 -0400)
darcs-hash:20080613152420-84dde-76da80c7345815986ee47fab45dcbde2bad895ab.gz

actions/public.php
actions/publicrss.php
doc/roadmap

index d92a704a6bc7876423096ecdb6aee7e242e6da69..270c082ba360cb279afb0752ef43f9fc50e47ed9 100644 (file)
@@ -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');
                
index 0cf572dbe7aaa7d74665ac1006c889bc20db43c7..93314ee326dda0a03eeb51f66fcf76f26c9433c2 100644 (file)
@@ -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');
                
index 4caeb4e6121fec15ce781d4c810eee223720136b..f8c417275a71b3ebda7dbf0c5ff7583cad2cb863 100644 (file)
@@ -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
 -----------