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

  1. 14 Dec, 2016 1 commit
  2. 23 Oct, 2015 1 commit
  3. 18 Jul, 2015 1 commit
  4. 17 Jul, 2015 1 commit
  5. 21 Aug, 2014 1 commit
  6. 30 Apr, 2014 1 commit
    • mattl's avatar
      Notice URIs are not necessarily URLs. · b77a09fd
      mattl authored
      Let's use getUrl() for URL retrieval. May throw exceptions, but
      only if it's a Notice that cannot be linked like that anyway.
      b77a09fd
  7. 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.
      2a4dc77a
  8. 18 Dec, 2011 1 commit
  9. 13 Dec, 2011 1 commit
  10. 21 Sep, 2011 2 commits
  11. 18 Jun, 2011 1 commit
  12. 25 Mar, 2011 3 commits
    • Siebrand Mazeland's avatar
      L10n update. · 41e919f3
      Siebrand Mazeland authored
      Translator documentation added.
      Superfluous whitespace removed.
      41e919f3
    • Brion Vibber's avatar
      TwitterBridge: discard outgoing queue items instead of retrying when Twitter... · e68271c4
      Brion Vibber authored
      TwitterBridge: discard outgoing queue items instead of retrying when Twitter API returns HTTP 400 or 404 error codes
      
      We get HTTP 400 for various cases of invalid data, where retrying doesn't help at all -- previously those would loop forever, or until something died at least. :)
      400 is also used for rate limiting, but retrying *immediately* will just hit the rate limit again, so better to discard if we're going over for now.
      e68271c4
    • Brion Vibber's avatar
      TwitterBridge: discard outgoing queue items instead of retrying when Twitter... · d994b458
      Brion Vibber authored
      TwitterBridge: discard outgoing queue items instead of retrying when Twitter API returns HTTP 400 or 404 error codes
      
      We get HTTP 400 for various cases of invalid data, where retrying doesn't help at all -- previously those would loop forever, or until something died at least. :)
      400 is also used for rate limiting, but retrying *immediately* will just hit the rate limit again, so better to discard if we're going over for now.
      d994b458
  13. 10 Feb, 2011 1 commit
    • Brion Vibber's avatar
      Fix for ticket #3039: TwitterBridge was incorrectly sending repeats of... · 2bf8a689
      Brion Vibber authored
      Fix for ticket #3039: TwitterBridge was incorrectly sending repeats of Twitter-bound messages if the repeater has sending of things to Twitter disabled.
      
      A repeat/retweet is roughly equivalent to an active direct post, so should follow the posting rules, rather than always sending over as we do for fave notifications.
      2bf8a689
  14. 09 Feb, 2011 1 commit
    • Brion Vibber's avatar
      Partial revert of 073f3e99: restores the original non-hashbang URLs for... · a76f0676
      Brion Vibber authored
      Partial revert of 073f3e99: restores the original non-hashbang URLs for twitter users as the remote profile.
      Should fix issue #3027: twitter user avatars not getting imported.
      
      Due to the change in URI, all twitter users that had been previously seen were getting new profile entries, which tried to save the same avatar. This would fail as Avatar.url has a unique index.
      Note: now anything new seen in the last couple days in production will still potentially conflict.
      a76f0676
  15. 17 Dec, 2010 1 commit
  16. 13 Dec, 2010 1 commit
    • Brion Vibber's avatar
      TwitterBridge: partial merge of id_str usage from 0.9.x for improved 32-bit... · 39cad557
      Brion Vibber authored
      TwitterBridge: partial merge of id_str usage from 0.9.x for improved 32-bit and pre-5.2.10 compatibility. (on 64-bit in 5.2.6 we can pull the integer IDs, but silently lose some precision on the end.)
      
      Fixes for Twitter bridge breakage on 32-bit servers. New "Snowflake" 64-bit IDs have become too big to fit in the integer portion of double-precision floats, so to reliably use these IDs we need to pull the new string form now.
      Machines with 64-bit PHP installation should have had no problems (except on Windows, where integers are still 32 bits)
      
      Conflicts:
      
      	plugins/TwitterBridge/twitterimport.php <- as this hasn't been broken out, the import code is NOT FULLY UPDATED HERE.
      39cad557
  17. 23 Nov, 2010 1 commit
    • Brion Vibber's avatar
      Fixes for Twitter bridge breakage on 32-bit servers. New "Snowflake" 64-bit... · c169dcb5
      Brion Vibber authored
      Fixes for Twitter bridge breakage on 32-bit servers. New "Snowflake" 64-bit IDs have become too big to fit in the integer portion of double-precision floats, so to reliably use these IDs we need to pull the new string form now.
      Machines with 64-bit PHP installation should have had no problems (except on Windows, where integers are still 32 bits)
      c169dcb5
  18. 12 Nov, 2010 1 commit
    • Brion Vibber's avatar
      Fix for failure edge case in TwitterBridge outgoing repeat/retweets. · 6291e820
      Brion Vibber authored
      When the retweet failed with a 403 error (say due to it being a private tweet, which can't be retweeted) we would end up mishandling the return value from our internal error handling.
      Instead of correctly discarding the message and closing out the queue item, we ended up trying to save a bogus twitter<->local ID mapping, which threw another exception and lead the queue system to re-run it.
      
      - Fixed the logic check and return values for the retweet case in broadcast_twitter().
      - Added doc comments explaining the return values on some functions in twitter.php
      - Added check on Notice_to_status::saveNew() for empty input -- throw an exception before we try to actually insert into db. :)
      6291e820
  19. 22 Oct, 2010 1 commit
  20. 19 Sep, 2010 1 commit
  21. 18 Sep, 2010 2 commits
  22. 07 Sep, 2010 8 commits
  23. 05 Sep, 2010 4 commits
  24. 04 Sep, 2010 2 commits
  25. 03 Sep, 2010 1 commit