1. 17 Apr, 2017 1 commit
  2. 05 Nov, 2016 1 commit
  3. 01 Nov, 2016 1 commit
  4. 30 Oct, 2016 1 commit
  5. 28 Oct, 2016 1 commit
  6. 24 Oct, 2016 1 commit
  7. 30 Sep, 2016 1 commit
    • Ad Schellevis's avatar
      work on https://github.com/opnsense/core/issues/993 · edc40978
      Ad Schellevis authored
      simple start, wrap anchor registration into plugin system, use miniupnpd as an example.
      
      use registerAnchor() to register new anchors for pf into the main firewall script, we've hooked head/tail options and the different anchor types.
      anchorToText() will extract the registered anchors back for the specified types and place in the script (head/tail) in text format for pf.
      
      our new codebase was already hooked using legacy_bindings.inc, no additional includes needed to construct \OPNsense\Firewall\Plugin().
      edc40978
  8. 22 Aug, 2016 1 commit
  9. 15 Aug, 2016 4 commits
    • Franco Fichtner's avatar
      mvc: stype/whitespace sweep · 2c8e35cc
      Franco Fichtner authored
      2c8e35cc
    • Ad Schellevis's avatar
      whitespace · 7960bace
      Ad Schellevis authored
      7960bace
    • Ad Schellevis's avatar
      d656cbf7
    • Ad Schellevis's avatar
      (mvc, add constraint pattern) for https://github.com/opnsense/core/issues/272 · 5361a64b
      Ad Schellevis authored
      Constraints hook into the default validations, new constraints should derive from BaseConstraint.
      This commit contains the code needed to add constraints to our model and a unittest for the UniqueConstraint option.
      
      Add the following to a model field, to force uniqueness for a combination of keys:
      
      <Constraints>
        <check001>                                                 <!--validation name, unique within this field-->
          <message>number should be unique</message>               <!--the message to output on validation failure -->
          <type>OPNsense\Base\Constraints\UniqueConstraint</type>  <!--the class to construct, derived from OPNsense\Base\Constraints\BaseConstraint -->
          <addFields>                                              <!--optional additional fields for the equation, defined in UniqueConstraint -->
             <field1>optfield</field1>
          </addFields>
        </check001>
      </Constraints>
      5361a64b
  10. 28 Apr, 2016 2 commits
  11. 13 Oct, 2015 1 commit
  12. 22 Sep, 2015 1 commit
  13. 29 Apr, 2015 2 commits
  14. 11 Mar, 2015 1 commit
  15. 25 Feb, 2015 1 commit
  16. 23 Feb, 2015 1 commit
  17. 06 Feb, 2015 1 commit
  18. 05 Feb, 2015 1 commit
  19. 28 Jan, 2015 1 commit
  20. 24 Jan, 2015 1 commit
  21. 21 Jan, 2015 1 commit
  22. 20 Jan, 2015 1 commit