1. 24 Jun, 2014 1 commit
    • mmn's avatar
      Favorite functionality put into plugin (not done yet) · db7cc7fa
      mmn authored
      Now we have to fix any code in the core which directly uses the Fave class
      or any other favorite stuff, since it is pluginised and thus might not be
      available on some installations.
      db7cc7fa
  2. 20 Oct, 2011 1 commit
    • Evan Prodromou's avatar
      Squashed commit of the following: · 22fead1b
      Evan Prodromou authored
      commit fb1dfa9e98ded23fb5bdebae6465424a8cb8acd6
      Author: Evan Prodromou <evan@status.net>
      Date:   Thu Oct 20 10:40:07 2011 -0400
      
          Use popular notice stream for favorited page
      
      commit e1d409ff738e39061ad35589d546ce9bed456975
      Author: Evan Prodromou <evan@status.net>
      Date:   Thu Oct 20 10:32:23 2011 -0400
      
          Use a caching stream for popular notice section
      
          Instead of a big cached query, we now use a caching notice stream for
          the popular notice section. It uses a single-table query at the
          bottom, then scopes the notices and filters for silenced users. This
          should be much nicer to our database servers.
      
          Also clears the popular cache when someone favors or disfavors
          something. A nice optimization would be to save the last weights and
          re-calculate them at invalidation time, adding the new notice (or not)
          depending on its own score. That will have to wait for another day,
          though.
      
      commit e9b7ab4c26c95e755adaff53c3957dcfca31c16b
      Author: Evan Prodromou <evan@status.net>
      Date:   Thu Oct 20 10:31:14 2011 -0400
      
          Let CachingNoticeStream users skip the ';last' optimization
      22fead1b
  3. 01 Mar, 2011 1 commit
  4. 30 Jan, 2011 1 commit
  5. 16 Nov, 2010 1 commit
  6. 04 Feb, 2010 1 commit
  7. 04 Jan, 2010 2 commits
    • Brion Vibber's avatar
      Ticket 2141: bugs with weighted popularity lists across year boundary. · af95005b
      Brion Vibber authored
      Consolidated several separate implementations of the same weighting algorithm into common_sql_weight() and fixed some bugs...
      For MySQL, now using timestampdiff() instead of subtraction for the comparison, so we get sane results when the year doesn't match, and utc_timestamp() rather than now() so we don't get negative ages for recent items with local server timezone.
      Unknown whether the same problems affect PostgreSQL, but note that it lacks the timestampdiff() SQL function.
      af95005b
    • Brion Vibber's avatar
      Ticket 2141: bugs with weighted popularity lists across year boundary. · 6911e1c7
      Brion Vibber authored
      Consolidated several separate implementations of the same weighting algorithm into common_sql_weight() and fixed some bugs...
      For MySQL, now using timestampdiff() instead of subtraction for the comparison, so we get sane results when the year doesn't match, and utc_timestamp() rather than now() so we don't get negative ages for recent items with local server timezone.
      Unknown whether the same problems affect PostgreSQL, but note that it lacks the timestampdiff() SQL function.
      6911e1c7
  8. 26 Aug, 2009 1 commit
  9. 25 Aug, 2009 4 commits
  10. 21 Aug, 2009 1 commit
  11. 10 Aug, 2009 1 commit
    • Jeffery To's avatar
      Added configuration option to only allow OpenID logins. · 14b46e21
      Jeffery To authored
      If $config['site']['openidonly'] is set to true:
      * the Login/Register pages will be removed from the navigation;
      * directly accesses to the Login/Register pages will redirect to the
        OpenID login page;
      * most links to the Login/Register pages will link to the OpenID login
        page instead.
      
      The user will still need to set a password to access the API and RSS
      feeds.
      14b46e21
  12. 25 Jun, 2009 1 commit
  13. 10 Jun, 2009 1 commit
  14. 13 Apr, 2009 2 commits
    • Evan Prodromou's avatar
      isReadOnly() now takes arguments · 7f81597a
      Evan Prodromou authored
      Add an array of arguments to isReadOnly() method of actions, to let
      them change their results depending on what actions are called.
      Primarily used by the 'api' action. Ideally in the future that will be
      multiple actions. But this might still be useful.
      7f81597a
    • Evan Prodromou's avatar
      isReadOnly() now takes arguments · e9e75fc9
      Evan Prodromou authored
      Add an array of arguments to isReadOnly() method of actions, to let
      them change their results depending on what actions are called.
      Primarily used by the 'api' action. Ideally in the future that will be
      multiple actions. But this might still be useful.
      e9e75fc9
  15. 08 Apr, 2009 1 commit
  16. 07 Apr, 2009 2 commits
  17. 03 Apr, 2009 1 commit
  18. 09 Mar, 2009 1 commit
  19. 04 Mar, 2009 1 commit
  20. 10 Feb, 2009 1 commit
    • Meitar Moscovitz's avatar
      Beginning to refactor document relationship links to reduce common code. · b240a171
      Meitar Moscovitz authored
      My attempts here are to mimic the `pagination()` method shared by
      actions. I'm tentatively adding the `$count` property to actions so that
      we can query the number of notices ''being displayed'' per page prior to
      calling the actual `pagination()` method itself, since document
      relationship `<link>` elements need to be output inside of `showHead()`,
      before `showContent()`, which is where `pagination()` is, gets called.
      b240a171
  21. 08 Feb, 2009 1 commit
  22. 06 Feb, 2009 1 commit
  23. 22 Jan, 2009 1 commit
  24. 19 Jan, 2009 1 commit
  25. 15 Jan, 2009 1 commit
    • Evan Prodromou's avatar
      Convert all actions to use new UI functions · eaa81d25
      Evan Prodromou authored
      I did a massive search-and-replace to get all the action subclasses to
      use the new output function (common_element() -> $this->element(), etc.)
      
      There's still a lot to do, but it's a first step
      eaa81d25
  26. 12 Dec, 2008 1 commit
  27. 11 Dec, 2008 2 commits
  28. 23 Dec, 2008 4 commits
    • Evan Prodromou's avatar
      move opening brace of class declaration to next line · b264c03d
      Evan Prodromou authored
      Another gigantor PEAR coding standards patch. Here, I've moved the
      opening curly bracket on a class statement to the following line.
      
      darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
      b264c03d
    • Evan Prodromou's avatar
      change function headers to K&R style · 04ef1ba8
      Evan Prodromou authored
      Another huge change, for PEAR code standards compliance. Function
      headers have to be in K&R style (opening brace on its own line),
      instead of having the opening brace on the same line as the function
      and parameters. So, a little perl magic found all the function
      definitions and move the opening brace to the next line (properly
      indented... usually).
      
      darcs-hash:20081223193323-84dde-a28e36ecc66672c783c2842d12fc11043c13ab28.gz
      04ef1ba8
    • Evan Prodromou's avatar
      replace NULL with null · eb2f9c98
      Evan Prodromou authored
      Another global search-and-replace update. Here, I've replaced the PHP
      keyword 'NULL' with its lowercase version. This is another PEAR code
      standards change.
      
      darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
      eb2f9c98
    • Evan Prodromou's avatar
      replace all tabs with four spaces · edbc0c66
      Evan Prodromou authored
      The PEAR coding standards decree: no tabs, but indent by four spaces.
      I've done a global search-and-replace on all tabs, replacing them by
      four spaces. This is a huge change, but it will go a long way to
      getting us towards phpcs-compliance. And that means better code
      readability, and that means more participation.
      
      darcs-hash:20081223191907-84dde-21e8efe210e6d5d54e935a22d0cee5c7bbfc007d.gz
      edbc0c66
  29. 07 Dec, 2008 1 commit
    • Evan Prodromou's avatar
      remove favoritedrss · 6e856cf7
      Evan Prodromou authored
      I've removed the favoritedrss action, and removed the links from the
      favorited page.
      
      Most-favorited is not a good candidate for an RSS format. RSS works
      well for series that work sequentially -- new things always come in at
      the top.
      
      This just isn't the case with "most favorited". The favorited notices
      list on Identi.ca is sorted by how many times a message is favorited.
      
      What happens if a notice used to be on that list, then falls off
      because other messages get more faves, then gets back on because it
      gets faved again? Or if a notice moves "up" on the list?
      
      darcs-hash:20081207165900-84dde-23afe73c9c61cfb259ec5dc0cac5030643b31f2c.gz
      6e856cf7
  30. 05 Dec, 2008 1 commit