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

  1. 20 Oct, 2013 1 commit
  2. 17 Oct, 2013 2 commits
  3. 16 Oct, 2013 1 commit
  4. 15 Oct, 2013 1 commit
  5. 08 Oct, 2013 1 commit
  6. 06 Oct, 2013 2 commits
  7. 05 Oct, 2013 1 commit
  8. 29 Aug, 2013 1 commit
  9. 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 cha...
      2a4dc77a
  10. 12 Aug, 2013 2 commits
    • mattl's avatar
      staticGet for sub-Managed_DataObject classes now calls parent · 1a9a8ea7
      mattl authored
      The parent class for our database objects, Managed_DataObject, has a
      dynamically assigned class in staticGet which objects get put into,
      leaving us with less code to do the same thing.
      
      We will probably have to move away from the DB_DataObject 'staticGet'
      call as it is nowadays deprecated.
      1a9a8ea7
    • mattl's avatar
      if parameters are not 0, null then limit will be PROFILES_PER_PAGE · f433f7ce
      mattl authored
      If you look at classes/User_group.php on line 412 in the current code, you can see that a call to $profile->getGroups() is made. This implies getGroups($offset=0, $limit=PROFILES_PER_PAGE) only giving a limited amount of groups.
      
      This means only the first 20 groups in an ascending numerical order by locally stored User_group->id will be addressable with the bangtag syntax.
      
      I solved this by making the getGroups() call to the same one made in Profile->isMember(), i.e. $profile->getGroups(0, null);
      f433f7ce
  11. 04 Jul, 2012 3 commits
  12. 27 Aug, 2011 2 commits
  13. 23 Aug, 2011 1 commit
  14. 22 Aug, 2011 1 commit
  15. 01 Aug, 2011 1 commit
  16. 09 Jun, 2011 1 commit
    • Zach Copley's avatar
      Rip out user, group and site design customization code · 36d61948
      Zach Copley authored
      Squashed commit of the following:
      
      commit 0bcfb6535115ec0a11669420f8689aeedc417bc8
      Author: Zach Copley <zach@status.net>
      Date:   Thu Jun 9 15:51:47 2011 -0400
      
          Remove design-related stuff from the API
      
      commit 88da010256fbcaee1ff01d9507ea47d3225f2825
      Author: Zach Copley <zach@status.net>
      Date:   Thu Jun 9 15:40:16 2011 -0400
      
          Mop up misc design related code
      
      commit 11958b064745b797b4c9f9f4b7e8f65e4c82ce83
      Author: Zach Copley <zach@status.net>
      Date:   Thu Jun 9 15:21:00 2011 -0400
      
          Remove Design DB_DataObject class and references to it in schema
      
      commit f8540594728ce6ba4697eb21657ccb897a9fc127
      Author: Zach Copley <zach@status.net>
      Date:   Thu Jun 9 13:15:54 2011 -0400
      
          Remove design-related actions and widgets
      
      commit ddf7b4d425b88b58956b8be06047d2a3e0560bd2
      Author: Zach Copley <zach@status.net>
      Date:   Thu Jun 9 13:10:57 2011 -0400
      
          Remove navigation / routing to design settings actions
      
      commit e3f280f8780d99168edf37ef766956f281e9c5da
      Author: Zach Copley <zach@status.net>
      Date:   Thu Jun 9 13:03:09 2011 -0400
      
          CurrentUserDesignAction -> Action
      
      commit 6780b1a07e1375a7fa0fd48c8bf3109d9a12e33e
      Author: Zach Copley <zach@status.net>
      Date:   Thu Jun 9 12:54:22 2011 -0400
      
          * GroupDesignAction -> GroupAction (new base class for group actions)
      
      commit 2136377e895db274709a1d486f377f13946ccfd6
      Author: Zach Copley <zach@status.net>
      Date:   Thu Jun 9 12:36:40 2011 -0400
      
          OwnerDesignAction -> Action
      36d61948
  17. 10 Apr, 2011 1 commit
  18. 07 Apr, 2011 1 commit
  19. 04 Apr, 2011 2 commits
  20. 24 Mar, 2011 1 commit
  21. 23 Mar, 2011 1 commit
    • Evan Prodromou's avatar
      New NoticeStream class to reify streams of notices · 0b35ce7c
      Evan Prodromou authored
      We've been muddling through with 6- or 8-argument functions for managing streams. I'd
      like to start thinking of streams as their own thing, and give them some more value.
      
      So, the new NoticeStream class takes over the Notice::stream() function and Notice::getStreamByIds().
      
      There's probably some fine-tuning to do on the object interface.
      0b35ce7c
  22. 22 Mar, 2011 1 commit
    • Evan Prodromou's avatar
      Mass replacement of #-comments with //-comments · 83fb5e60
      Evan Prodromou authored
      like leprous boils in our code. So, I've replaced all of them with //
      comments instead. It's a massive, meaningless, and potentially buggy
      change -- great one for the middle of a release cycle, eh?
      83fb5e60
  23. 21 Mar, 2011 3 commits
  24. 27 Jan, 2011 1 commit
  25. 06 Jan, 2011 1 commit
  26. 28 Dec, 2010 1 commit
    • Brion Vibber's avatar
      Prevent group creation by silenced users. · d3d97974
      Brion Vibber authored
      * adds Right::CREATEGROUP
      * logic in Profile::hasRight() checks for silencing
      * NewgroupAction checks for the permission before letting you see or process the form in the UI
      * User_group::register() logic does a low-level check on the specified initial group admin, and rejects creation if that user doesn't have the right; guaranteeing that API methods etc will also have this restriction applied sensibly.
      d3d97974
  27. 17 Dec, 2010 1 commit
  28. 03 Nov, 2010 1 commit
  29. 14 Oct, 2010 1 commit
  30. 12 Oct, 2010 2 commits