Skip to content
  1. Sep 09, 2014
  2. Aug 16, 2014
  3. Aug 07, 2014
  4. Aug 03, 2014
  5. Aug 01, 2014
  6. Jul 30, 2014
  7. Jul 24, 2014
  8. Jul 21, 2014
  9. Jul 20, 2014
  10. Jul 19, 2014
    • Nigel Cunningham's avatar
      Fix Invalid Module Configuration message. · cb71950f
      Nigel Cunningham authored
      
      
      Don't check $type. Check the results for a profile2 section.
      
      Signed-off-by: default avatarNigel Cunningham <nigel@nigelcunningham.com.au>
      cb71950f
    • Nigel Cunningham's avatar
      Add support for passing node view mode via links. · 9c5af87d
      Nigel Cunningham authored
      
      
      Give ourselves access to the view mode so the Ajax can replace
      content on the page with the same view (ie not putting in a comments
      form where there wasn't one, not switching a teaser for the full node).
      
      Signed-off-by: default avatarNigel Cunningham <nigel@nigelcunningham.com.au>
      9c5af87d
    • Nigel Cunningham's avatar
      Remove obsolete functions. · b800ffee
      Nigel Cunningham authored
      
      
      Remove some obsolete functions from fasttoggle_comment and
      fasttoggle_field.
      
      Signed-off-by: default avatarNigel Cunningham <nigel@nigelcunningham.com.au>
      b800ffee
    • Nigel Cunningham's avatar
      Rework access control. · 9fdc9571
      Nigel Cunningham authored
      
      
      Rework the access control by having one central _allowed_links function
      that iterates over the results of _available_links, calling functions
      that have been lists in the config structure.
      
      Functions may operate at the site-wide level, group level or the level
      of an individual setting, and are provided parameters appropriate to
      the level.
      
      Each function should call either fasttoggle_deny_access_if() or
      fasttoggle_allow_access_if(), providing the boolean result of an access
      test as the sole argument. More than one test may be run in a function.
      
      If the test(s) in a function return FALSE, access is neither allowed or
      denied - following tests (if any) are given the opportunity to have
      their say. If the test (and hence the parameter) is TRUE, any remaining
      tests in that function will also be run, but none of the remaining tests
      that would be applied will be run. The result will be the outcome for this
      item and any children it has.
      
      If all test run without any given a definite answer for or against, the
      access to the toggle will be allowed.
      
      Signed-off-by: default avatarNigel Cunningham <nigel@nigelcunningham.com.au>
      9fdc9571
  11. Jul 15, 2014
  12. Jul 14, 2014
  13. Jul 13, 2014