1. 16 Apr, 2017 1 commit
  2. 13 Apr, 2017 1 commit
  3. 12 Apr, 2017 12 commits
  4. 10 Apr, 2017 2 commits
  5. 07 Apr, 2017 5 commits
  6. 06 Apr, 2017 1 commit
  7. 05 Apr, 2017 3 commits
  8. 04 Apr, 2017 4 commits
  9. 03 Apr, 2017 1 commit
  10. 02 Apr, 2017 2 commits
  11. 30 Mar, 2017 1 commit
  12. 29 Mar, 2017 3 commits
    • Franco Fichtner's avatar
      plugins: simplify this before next step · 8d745baa
      Franco Fichtner authored
      8d745baa
    • Franco Fichtner's avatar
      plugins: lose the eval(), switch to include_once · ddcc54f4
      Franco Fichtner authored
      Note that require_once is bad as well here, because it throws another
      uncatched error as opposed to a warning when a file has not been found.
      Now it is better in recovery, although 99% of the time this is supposed
      to deal with syntax errors during bad core/plugin updates or manual
      user edits.
      
      It's also useful to note that the errors/warnings still make their way
      to the crash reporter so we can do something about them.
      
      Suggested by: @fabianfrz
      ddcc54f4
    • Franco Fichtner's avatar
      plugins: if a component has a faulty syntax... · f81085df
      Franco Fichtner authored
      simply eval() it and log the error instead of stopping execution.
      
      We don't get to source the code, but since for strict plugins
      there is no direct code execution the plugin acts as if it was
      deinstalled.
      
      As the plugin scope is growing rapidly, we need this to be able to
      guarantee error-free execution in the widest possible sense.  This
      doesn't currently protect function calls, but the same thing must
      be done there as well.
      f81085df
  13. 28 Mar, 2017 3 commits
  14. 27 Mar, 2017 1 commit
    • Franco Fichtner's avatar
      rrd: naming conventions and a side note · c7a488dc
      Franco Fichtner authored
      We have a function pair rrd_import() / rrd_export() now, which do
      wildly different things even though they've been used for a single
      purpose:
      
      (1) rrd_export() writes a string, appends it to the config.xml
      
      (2) rrd_import() takes a parsed config portion, but not as an
          argument, rather as a global config element
      
      (3) There was also an older backup clue which exported files, but
          simply packed them up for restore after boot
      
      If we can get the system to unify the usage we'll end up with a
      neat way of backing, restoring and migrating RRD data, although
      I'm not sure if this can be fully compatible with the old files.
      c7a488dc