1. 03 Sep, 2011 1 commit
    • Jean Baptiste Favre's avatar
      Adds new feature to dispatch avatar url between different servers. · 98f064e4
      Jean Baptiste Favre authored
      That allows parallel download from most browsers.
      To avoid caching issue, server choice is "profile_id" based so that
      avatar from a specific user will always be served from same server.
      
      Introduce new configuration parameter:
      $config['avatar']['server_modulo'] = 5;
      
      Very easy to implement using, for example, DNS wildcard.
      For example, if you have following configuration:
      $config['avatar']['server']        = 'static_rrdns_.domain.tld';
      $config['avatar']['server_modulo'] = 5;
      
      Then, when building avatar's URL, domain will become, depending on profile_id:
      static0.domain.tld
      static1.domain.tld
      static2.domain.tld
      static3.domain.tld
      static4.domain.tld
      98f064e4
  2. 28 Sep, 2010 1 commit
  3. 11 Feb, 2010 1 commit
  4. 06 Jan, 2010 1 commit
  5. 25 Nov, 2009 2 commits
  6. 08 Nov, 2009 1 commit
    • Evan Prodromou's avatar
      Restructure theme.php to define a class Theme · b7e2e3fd
      Evan Prodromou authored
      For various reasons, it's nicer to have a class for theme-file paths
      and such. So, I've rewritten the code for determining the locations of
      theme files to be more OOPy.
      
      I changed all the uses of the two functions in the module (theme_file
      and theme_path) to use Theme::file and Theme::path respectively.
      
      I've also removed the code in common.php that require's the module;
      using a class means we can autoload it instead.
      b7e2e3fd
  7. 14 Oct, 2009 1 commit
  8. 15 Jun, 2009 1 commit
  9. 06 Feb, 2009 2 commits
  10. 05 Feb, 2009 1 commit
  11. 25 Dec, 2008 1 commit
  12. 12 Dec, 2008 1 commit
  13. 23 Dec, 2008 3 commits
    • 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
  14. 04 Dec, 2008 1 commit
  15. 02 Oct, 2008 1 commit
  16. 26 Sep, 2008 3 commits
  17. 15 Jul, 2008 1 commit
  18. 09 Jul, 2008 1 commit
  19. 17 Jun, 2008 1 commit
  20. 12 Jun, 2008 1 commit
  21. 05 Jun, 2008 1 commit
    • Evan Prodromou's avatar
      move avatar scaling and saving to Avatar and Profile · 56021d95
      Evan Prodromou authored
      Extracted the code for setting a new original avatar to the Profile
      class, and moved some of it to Avatar, too. This makes it easier to
      have the same functionality whether an avatar is set using the profile
      settings (for our users), or on a remote subscription. Necessitated
      changing the filenaming function to just take an ID.
      
      darcs-hash:20080605193708-84dde-a441cc0474951ce7f1a1da9310b5145c0b7c3070.gz
      56021d95
  22. 22 May, 2008 1 commit
  23. 21 May, 2008 1 commit
  24. 20 May, 2008 2 commits
  25. 19 May, 2008 1 commit
  26. 15 May, 2008 1 commit
    • Evan Prodromou's avatar
      settings and avatars · fac522f4
      Evan Prodromou authored
      Did considerable work on the settings section.
      
      Redesigned the DB to allow avatars. Each avatar image has a size and
      an URL. There can be multiple avatars per profile, just different sizes.
      
      Added accessors in Profile for avatar. Show the avatar in lots of
      places, where it makes sense. Constants for avatar sizes in common.php.
      
      darcs-hash:20080515162844-84dde-fe0630366e247c02ca8ca9d1cc6b963cfce57a26.gz
      fac522f4