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

  1. 31 Aug, 2013 1 commit
    • mattl's avatar
      NewgroupAction converted to extend FormAction · cfa699e4
      mattl authored
      Had to change Action function 'prepare' to 'protected', as you can't
      (of course) protect something that's been public in a parent class. The
      other way around seems fine for PHP... Eventually all actions will have
      protected 'prepare' (use execute/run)
      
      A feature of the previously fixed initialization of Action classes, is
      that we now have $this->scoped which is the current profile in use. As
      of now that is always a local User, except the corresponding Profile
      object.
      
      Also, instead of calling 'showForm' everywhere, in case of an error we
      just throw an exception of some sort and pass the message along there.
      
      I've also introduced in FormAction the 'showInstructions' function in
      order to get a unified instructions/info/error display method.
      
      TODO: Improve info/error message handling, and what/when/where to show.
      cfa699e4
  2. 30 Aug, 2013 1 commit
    • mattl's avatar
      Added a FormAction extension · 8d57fb7d
      mattl authored
      FormAction will act as a parent class to Action classes that use forms
      of various sorts, such as newgroup creation, settings actions etc.
      8d57fb7d
  3. 29 Aug, 2013 9 commits
  4. 28 Aug, 2013 3 commits
  5. 21 Aug, 2013 5 commits
    • mattl's avatar
      Woops, forgot auto_increment (comes with 'serial') · 40fe10e0
      mattl authored
      There are still some classes not ported (like Yammer import)
      40fe10e0
    • mattl's avatar
      GNU Social extensions fixes (please read note) · 4fab7a9d
      mattl authored
      These extensions are not considered secure nor stable right now, so don't
      use them for a while.
      4fab7a9d
    • mattl's avatar
      IMPORTANT - fixed HubSub to properly fetch primary keys · 0bbcfa7b
      mattl authored
      In commit e95f77d3 HubSub lost the
      'staticGet' function in a consolidation into the Managed_DataObject class.
      This was done carelessly by me as HubSub::staticGet was actually taking
      two arguments, none of which was a key and merging them in HubSub::hashkey()
      (staticGet was renamed getKV 2a4dc77a).
      
      NOTE: This complements commit 7e4718a4 which
      fixed a similar issue for the Magicsig class.
      0bbcfa7b
    • mattl's avatar
      OStatus classes now has modern schemaDef · 66997f2b
      mattl authored
      66997f2b
    • mattl's avatar
      IMPORTANT: Making prev. Memcached_DataObject working again with schemaDef · 3a7261f7
      mattl authored
      Lots of the Memcached_DataObject classes stopped working when upgraded to
      Managed_DataObject because they lacked schemaDef().
      
      I have _hopefully_ made it so that all the references to the table uses
      each class' schemaDef, rather than the more manual ColumnDef stuff. Not
      all plugins have been tested thoroughly yet.
      
      NOTE: This is applied with getKV calls instead of staticGet, as it was
      important for PHP Strict Standards compliance to avoid calling the non-
      static functions statically. (unfortunately DB and DB_DataObject still do
      this within themselves...)
      3a7261f7
  6. 20 Aug, 2013 2 commits
  7. 19 Aug, 2013 3 commits
  8. 18 Aug, 2013 11 commits
  9. 12 Aug, 2013 5 commits