1. 19 Apr, 2015 1 commit
  2. 12 Mar, 2015 1 commit
  3. 07 Nov, 2014 1 commit
  4. 27 Jun, 2014 1 commit
    • mmn's avatar
      pluginified most of hasFave, getFaves and related calls · fcdd061b
      mmn authored
      The code is now more event-driven when it comes to rendering notices
      and their related HTML elements, since we can't have direct calls from
      core to a plugin.
      lib/activitymover.php has a function to move a Favorite activity which
      will not happen now. The move must be pluginified and performed as an
      event which plugins can catch on to.
  5. 18 May, 2014 1 commit
  6. 29 Apr, 2014 1 commit
  7. 29 Oct, 2013 1 commit
    • mmn's avatar
      Group discovery from text functions polished · 9b663369
      mmn authored
      Also removed the entirely unused saveGroups function.
      Now avoiding multiGet and using listFind in Profile->getGroups()
      so we don't have to deal with ArrayWrapper.
  8. 28 Oct, 2013 1 commit
  9. 21 Sep, 2013 1 commit
  10. 09 Sep, 2013 1 commit
    • mmn's avatar
      Tidying up getUser calls to profiles and some events · 747fe9d5
      mmn authored
      getUser calls are much more strict, and one place where this was found was
      in the (un)subscribe start/end event handlers, which resulted in making the
      Subscription class a bit stricter, regarding ::start and ::cancel at least.
      Several minor fixes in many files were made due to this.
      This does NOT touch the Foreign_link function, which should also have a more
      strict getUser call. That is a future project.
  11. 02 Sep, 2013 1 commit
  12. 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.
  13. 17 Jun, 2011 1 commit
  14. 13 Apr, 2011 1 commit
  15. 10 Apr, 2011 1 commit
    • Siebrand Mazeland's avatar
      Update/add translator documentation. · f0d762f1
      Siebrand Mazeland authored
      L10n/i18n updates.
      Superfluous whitespace removed.
      Add FIXME for a few i18n issues I couldn't solve this quickly.
      Takes care of documentation for all core code added in merge of "people tags" feature (Commit:e75c9988).
  16. 03 Apr, 2011 1 commit
  17. 29 Mar, 2011 3 commits
    • Brion Vibber's avatar
      Consolidate some precondition checks for repeats, fix a couple bits in the repeat command. · 9adbb49f
      Brion Vibber authored
      Notice::saveNew() now does these checks directly when making a repeat:
      * make sure the original is valid and existing
      * stop you from repeating your own message
      * stop you from repeating something you've previously repeated
      * prevent repeats of any non-public messages
      * explicit inScope() check to make sure you can read the original too (just in case there's a funky extension at play that changes scoping rules)
      These error conditions throw exceptions, which the caller either uses as an error message or passes on up the stack, without having to duplicate the checks in each i/o channel.
    • Siebrand Mazeland's avatar
      @evan Fixed message domain for messages in plugins for recent commits. · 0a19674c
      Siebrand Mazeland authored
      Numbered parameters when more than one used in a message.
      L10n updates for consistency.
      i18n for non-translatable exception.
      Updated translator documentation.
      Removed superfluous whitespace.
    • Evan Prodromou's avatar
      Disallow repeats (retweets) of private notices · 32145484
      Evan Prodromou authored
      We disallow repeating a notice (or whatever) if the scope of the
      notice is too private. So, only notices that are public scope
      (available to everyone in the world) or site scope (available to
      everyone on the site) can be repeated.
      Enforce this rule at a low level in Notice.php, and in the API,
      commands, and Web UI. Repeat button doesn't appear on tightly-scoped
      notices in the Web UI.
  18. 21 Mar, 2011 1 commit
  19. 17 Mar, 2011 1 commit
  20. 06 Mar, 2011 1 commit
  21. 02 Mar, 2011 2 commits
  22. 02 Dec, 2010 1 commit
    • Brion Vibber's avatar
      Fix for tickets #2917, #2262: user URL shortening options not being applied in non-web channels · aa96c3c1
      Brion Vibber authored
      common_shorten_links() can only access the web session's logged-in user, so never properly took user options into effect for posting via XMPP, API, mail, etc.
      Adds an optional $user parameter on common_shorten_links(), and a $user->shortenLinks() as a clearer interface for that.
      Tweaked some lower-level functions so $user gets passed down -- making the $notice_id param previously there for saving URLs at notice save time generalized a little.
      Note also ticket #2919: there's a lot of duplicate code calling the shortening, checking the length, and reporting near-identical error messages. These should be consolidated to aid in code and translation maintenance.
  23. 30 Nov, 2010 1 commit
  24. 02 Nov, 2010 1 commit
  25. 01 Nov, 2010 1 commit
  26. 28 Sep, 2010 1 commit
  27. 16 Sep, 2010 1 commit
  28. 13 Sep, 2010 2 commits
  29. 28 Aug, 2010 1 commit
  30. 11 Apr, 2010 2 commits
  31. 23 Mar, 2010 2 commits
  32. 12 Mar, 2010 2 commits
  33. 09 Mar, 2010 1 commit