1. 27 Jun, 2014 1 commit
    • mmn's avatar
      pluginified most of hasFave, getFaves and related calls · fcdd061b
      mmn authored
      The code is now more event-driven when it comes to rendering notices
      and their related HTML elements, since we can't have direct calls from
      core to a plugin.
      
      lib/activitymover.php has a function to move a Favorite activity which
      will not happen now. The move must be pluginified and performed as an
      event which plugins can catch on to.
      fcdd061b
  2. 21 Apr, 2011 1 commit
  3. 19 Apr, 2011 1 commit
  4. 11 Apr, 2011 1 commit
  5. 25 Mar, 2011 1 commit
    • Evan Prodromou's avatar
      All notice streams check notice scope · 84984fdb
      Evan Prodromou authored
      Added filtering code so that notice streams check notice scope.
      
      Added new class to implement filtering a stream, FilteringNoticeStream.
      
      Added a subclass that does the logic for checking Notice scope.
      
      And made all the streams use ScopingNoticeStream.
      84984fdb
  6. 21 Feb, 2011 1 commit
    • Evan Prodromou's avatar
      Extend authorization framework to cover login and API use · 1525acdc
      Evan Prodromou authored
      I've extended the rights framework (centering on the Right class and Profile::hasRight()) to cover
      Web login and API use. This will make it possible to prevent login and API use by users.
      
      I added two new Right constants to the Right class: WEBLOGIN and API. I check these rights using
      Profile::hasRight() when initializing users. If the rights check fails, I throw an exception.
      
      I created a new AuthorizationException class for this particular
      exception, in order to allow a different UI for these kinds of exceptions (or whatever).
      1525acdc
  7. 07 Feb, 2011 4 commits
  8. 04 Feb, 2011 1 commit
  9. 31 Dec, 2010 2 commits
  10. 29 Dec, 2010 1 commit
  11. 25 Dec, 2010 1 commit
    • Evan Prodromou's avatar
      Radical differences in Bookmark storage · 4048d1ec
      Evan Prodromou authored
      Had some problems with PuSH and Salmon use of Bookmarks; they were
      being required to generate Atom versions of the bookmark _before_ the bookmark was saved.
      
      So, I reversed the order of how things are saved, and associate notices and bookmarks
      by URI rather than notice_id.
      4048d1ec
  12. 22 Dec, 2010 1 commit
  13. 21 Dec, 2010 1 commit