1. 22 Jun, 2014 1 commit
    • mmn's avatar
      Initial move towards microformats2 · 414a95a7
      mmn authored
      No validation has been attempted yet. Lots of changes left. This
      is visibly not (very) different from the previous CSS layout. But
      some simplifications have been made.
      
      Might cause issues with local changes to themes and CSS. Also maybe
      javascript which depends on certain legacy microformats elements.
      
      The move to microformats2 is motivated by the announcement that all
      microformats should be migrated to version 2, as of 2014-06-20 at:
      http://microformats.org/2014/06/20/microformats-org-turns-9-upgrade-to-microformats2
      414a95a7
  2. 28 Apr, 2014 1 commit
  3. 01 Oct, 2013 1 commit
    • mmn's avatar
      Properly unlink all old avatars when deleting/uploading a new · b0dfc70a
      mmn authored
      We're also now using $config['image']['jpegquality'] to determine the
      quality setting for resized images.
      
      To set Avatar max size, adjust $config['avatar']['maxsize']
      
      The getAvatar call now throws exceptions too. Related changes applied.
      Now let's move Profile->avatarUrl to the Avatar class!
      b0dfc70a
  4. 18 Aug, 2013 1 commit
    • mmn's avatar
      The overloaded DB_DataObject function staticGet is now called getKV · 2a4dc77a
      mmn authored
      I used this hacky sed-command (run it from your GNU Social root, or change the first grep's path to where it actually lies) to do a rough fix on all ::staticGet calls and rename them to ::getKV
      
         sed -i -s -e '/DataObject::staticGet/I!s/::staticGet/::getKV/Ig' $(grep -R ::staticGet `pwd`/* | grep -v -e '^extlib' | grep -v DataObject:: |grep -v "function staticGet"|cut -d: -f1 |sort |uniq)
      
      If you're applying this, remember to change the Managed_DataObject and Memcached_DataObject function definitions of staticGet to getKV!
      
      This might of course take some getting used to, or modification fo StatusNet plugins, but the result is that all the static calls (to staticGet) are now properly made without breaking PHP Strict Standards. Standards are there to be followed (and they caused some very bad confusion when used with get_called_class)
      
      Reasonably any plugin or code that tests for the definition of 'GNUSOCIAL' or similar will take this change into consideration.
      2a4dc77a
  5. 02 Apr, 2011 1 commit
    • Siebrand Mazeland's avatar
      Fix several L10n and i18n issues. · fec3edee
      Siebrand Mazeland authored
      Add dummy method MessageListItem::messageListItemDummyMessages() to allow xgettext to add possible sources to POT files.
      Mark a few i18n issues as FIXME as well as some messages for which the use case was not clear to me.
      Merged some code on multiple lines into one.
      Translator documentation added.
      Remove superfluous whiteapace.
      fec3edee
  6. 08 Feb, 2011 2 commits
    • Evan Prodromou's avatar
      3b19b63b
    • Evan Prodromou's avatar
      Create and use MessageList widget · f500d4ea
      Evan Prodromou authored
      Our mailbox actions (inbox and outbox) were doing their own display of
      messages. This was causing issues with especially showmessage, which
      since the more rigourous nickname checks were added, no longer works as
      a mailbox subclass.
      
      I've taken the time to rip out the message listing code from MailboxAction
      and moved it to a MessageList widget. The different mailboxes now have their
      own subclasses that show the correct profile in the list.
      f500d4ea