1. 03 Feb, 2016 1 commit
  2. 13 Feb, 2015 2 commits
  3. 07 Nov, 2014 1 commit
  4. 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
  5. 28 Apr, 2014 1 commit
  6. 18 Aug, 2013 1 commit
  7. 29 Jun, 2013 2 commits
    • Evan Prodromou's avatar
      Squashed commit of the following: · 66f4a391
      Evan Prodromou authored
      commit bd23a7da105d635414643dfcedd9c8f710d565b8
      Author: Evan Prodromou <evan@e14n.com>
      Date:   Sat Jun 29 07:49:03 2013 -0400
      
          Make the after flag work correctly
      
      commit 5c5845a2f866f0bbffedd8e2e5d1f512f87d5329
      Author: Evan Prodromou <evan@e14n.com>
      Date:   Sat Jun 29 06:14:43 2013 -0400
      
          Add an 'after' flag for backup script
      66f4a391
    • Evan Prodromou's avatar
      Squashed commit of the following: · 4092ee1b
      Evan Prodromou authored
      commit bd23a7da105d635414643dfcedd9c8f710d565b8
      Author: Evan Prodromou <evan@e14n.com>
      Date:   Sat Jun 29 07:49:03 2013 -0400
      
          Make the after flag work correctly
      
      commit 5c5845a2f866f0bbffedd8e2e5d1f512f87d5329
      Author: Evan Prodromou <evan@e14n.com>
      Date:   Sat Jun 29 06:14:43 2013 -0400
      
          Add an 'after' flag for backup script
      4092ee1b
  8. 08 Jun, 2013 2 commits
  9. 02 Jun, 2013 2 commits
  10. 29 May, 2013 4 commits
  11. 24 May, 2013 3 commits
  12. 23 May, 2013 2 commits
  13. 25 Feb, 2011 1 commit
    • Brion Vibber's avatar
      Scalability work on user backup stream generation. · 55b1f3d8
      Brion Vibber authored
      UserActivityStream -- used to create a full activity stream including subscriptions, favorites, notices, etc -- normally buffers everything into memory at once. This is infeasible for accounts with long histories of serious usage; it can take tens of seconds just to pull all records from the database, and working with them all in memory is very likely to hit resource limits.
      This commit adds an alternate mode for this class which avoids pulling notices until during the actual output. Instead of pre-sorting and buffering all the notices, empty spaces between the other activities are filled in with notices as we're making output. This means more smaller queries spread out during operations, and less stuff kept in memory.
      
      Callers (backupaccount action, and backupuser.php) which can stream their output pass an $outputMode param of UserActivityStream::OUTPUT_RAW, and during getString() it'll send straight to output as well as slurping the notices in this extra funky fashion.
      Other callers will let it default to the OUTPUT_STRING mode, which keeps the previous behavior.
      
      There should be a better way to do this, swapping out the stringer output for raw output more consitently.
      55b1f3d8
  14. 28 Jan, 2011 1 commit
  15. 16 Jan, 2011 1 commit
  16. 08 Jan, 2011 1 commit
  17. 02 Jan, 2011 1 commit
  18. 15 Sep, 2010 3 commits
  19. 13 Sep, 2010 1 commit