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

  1. 06 Jun, 2015 1 commit
  2. 07 Nov, 2014 1 commit
  3. 26 Oct, 2014 2 commits
  4. 17 Aug, 2014 1 commit
  5. 04 Jul, 2014 1 commit
    • mattl's avatar
      Rewriting code for notice representation · ffb9d7ad
      mattl authored
      Getting rid of NoticeListItemAdapter, putting more into ActivityHandlerPlugin
      and relying on plugins to handle rendering code of the content. This gives us
      a lot more structure and consistency in notice structure and allows activity
      plugins to stop rendering certain kinds of notices more easily.
      There should also be a property for an ActivityHandlerPlugin class to avoid
      rendering notices in the ordinary stream, so we don't have to overload stuff.
  6. 02 Jul, 2014 2 commits
  7. 22 Jun, 2014 1 commit
  8. 03 Jun, 2014 1 commit
  9. 01 Jun, 2014 1 commit
  10. 29 Apr, 2014 1 commit
  11. 28 Aug, 2013 1 commit
    • mattl's avatar
      plugins onAutoload now only overloads if necessary (extlibs etc.) · de55d8f8
      mattl authored
      lib/plugin.php now has a parent onAutoload function that finds most common
      files that are used in plugins (actions, dataobjects, forms, libs etc.) if
      they are put in the standardised directories ('actions', 'classes', 'forms',
      'lib' and perhaps some others in the future).
  12. 18 Aug, 2013 1 commit
    • mattl's avatar
      The overloaded DB_DataObject function staticGet is now called getKV · 2a4dc77a
      mattl 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.
  13. 06 Nov, 2012 1 commit
  14. 29 Apr, 2011 1 commit
  15. 21 Apr, 2011 1 commit
  16. 09 Apr, 2011 1 commit
  17. 30 Mar, 2011 1 commit
  18. 17 Mar, 2011 1 commit
  19. 11 Mar, 2011 5 commits
  20. 10 Mar, 2011 8 commits
  21. 08 Mar, 2011 1 commit
    • Brion Vibber's avatar
      Initial checkin of Poll plugin: micro-app to post mini polls/surveys from the notice form. · 3438a78c
      Brion Vibber authored
      This version is fairly basic; votes do not (yet) show a reply, they just got in the table. No pretty graphs for the results yet, just text.
      The ActivityStream output is temporary and probably should be replaced; the current structures for adding custom data aren't really ready yet (especially since we need to cover JSON and Atom formats, probably pretty differently)
      Uses similar system as Bookmark for attaching to notices -- saves a custom URI for an alternate action, which we can then pass in and hook back up to our poll object. This can probably do with a little more simplification in the parent MicroAppPlugin class.
      Currently adds two tables:
      - poll holds the main poll info: id and URI to associate with the notice, then the question and a text blob with the options.
      - poll_response records the selections picked by our nice fellows.
      Hopefully no off-by-one bugs left in the selection, but I give no guarantees. ;)
      Some todo notes in the README and in doc comments.