We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

  1. 25 Feb, 2011 3 commits
    • Brion Vibber's avatar
    • Brion Vibber's avatar
      Workaround for reply timeline since_id issue: save the notice.created value... · 9ec395b0
      Brion Vibber authored
      Workaround for reply timeline since_id issue: save the notice.created value into reply.modified, so we can key off it as expected.
      
      As a hack this removes the mysql_timestamp bit from the field settings on reply.modified so that our value actually gets saved. This *should* work ok as long as system timezone is set correctly, which we now set to UTC to match when connecting.
      9ec395b0
    • 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
  2. 24 Feb, 2011 5 commits
  3. 22 Feb, 2011 2 commits
    • Brion Vibber's avatar
      Fix ticket #3057: apply HTML escaping on special characters in Twitter import · 8eca1b8d
      Brion Vibber authored
      Changes the replacement of Twitter "entities" from in-place reverse ordering ('to preserve indices') to a forward-facing append-in-chunks that pulls in both the text and link portions, and escapes them all.
      This unfortunately means first *de*-escaping the < and > that Twitter helpfully adds for us.... and any literal &blah;s that get written. This seems to match Twitter's web UI, however horrid it is.
      8eca1b8d
    • Brion Vibber's avatar
      Partial implementation for ticket #2442: MobileProfile plugin should allow... · 2a42dac7
      Brion Vibber authored
      Partial implementation for ticket #2442: MobileProfile plugin should allow manual switching between regular and mobile rendering modes
      
      http://status.net/open-source/issues/2442
      
      Notes:
      * Mapstraction causes JavaScript errors in XHTML mode, breaking our code if we're run later so the link doesn't work to get back to Desktop.
      * not 100% sure how safe feature detection is here?
      * Currently will be useless but visible links if no JS available; need to fall back to server-side for limited browsers
      2a42dac7
  4. 21 Feb, 2011 6 commits
  5. 18 Feb, 2011 1 commit
  6. 17 Feb, 2011 1 commit
  7. 16 Feb, 2011 1 commit
  8. 14 Feb, 2011 2 commits
  9. 13 Feb, 2011 1 commit
  10. 11 Feb, 2011 12 commits
  11. 10 Feb, 2011 6 commits