Skip to content
Snippets Groups Projects
  1. Apr 16, 2020
  2. Feb 24, 2020
  3. Jan 28, 2020
  4. Jun 13, 2019
  5. Apr 24, 2019
    • Benjamin Bertrand's avatar
      Fix exception when no network selected · 9e500391
      Benjamin Bertrand authored
      1. It's possible to erase the network when creating a host.
      The exception raised was due to the ip_in_range validator
      where a select using the network_id is performed.
      This is now catched to raise a ValidationError.
      2. Add some javascript to remove the is-invalid class on the network and
      IP fields when changing them
      
      JIRA INFRA-810 #action In Progress
      9e500391
  6. Apr 23, 2019
  7. Mar 27, 2019
  8. Mar 05, 2019
    • Benjamin Bertrand's avatar
      Remove tags and add is_ioc field to host table · f331b452
      Benjamin Bertrand authored
      Tags were basically only used for IOCs.
      Tags were linked to the interface (and not the host).
      But for IOC we assume it should always be the main (first) interface.
      
      Using a field on the host table will make it more obvious for users.
      
      Created a IOC dynamic group type, to create a group including all IOCs
      
      JIRA INFRA-862 #action In Progress
      f331b452
  9. Feb 28, 2019
    • Benjamin Bertrand's avatar
      Add view network page · 862e5f8d
      Benjamin Bertrand authored
      JIRA INFRA-860 #action In Progress
      862e5f8d
    • Benjamin Bertrand's avatar
      Clean networks view · e7c1bf6e
      Benjamin Bertrand authored
      No need to use ajax to retrieve the content of simple tables.
      
      For Ansible groups, it takes some time to retrieve the data due to the
      list of hosts for each group to compute. We keep the ajax request so
      that the page is displayed quickly. We might switch to server side
      processing (like for hosts).
      
      JIRA INFRA-860
      e7c1bf6e
    • Benjamin Bertrand's avatar
      Add gateway field to network table · 780a8c1c
      Benjamin Bertrand authored
      Allow to specify the gateway for each network
      
      JIRA INFRA-809
      780a8c1c
  10. Jan 25, 2019
  11. Nov 09, 2018
  12. Nov 06, 2018
    • Benjamin Bertrand's avatar
      Make host/interface/cname unique · fc7ac34a
      Benjamin Bertrand authored
      - Host names are unique (no 2 hosts with same name)
      - A host name shall not conflict with a cname or interface (if not main
      interface)
      - Interface names are unique (no 2 interfaces with same name)
      - An interface shall not conflict with a cname or host (if not assigned
      host)
      - cnames are only unique by domain (2 cnames can have the same name if
      different domains)
      - A cname shall not conflict with a host or interface
      - An interface has to be linked to a host
      
      Validation is implemented at the model level.
      Some is also implemented at the form level as it gives nicer feedback,
      but not all as it's a bit more complex when it requires check on several fields.
      
      JIRA INFRA-245
      fc7ac34a
    • Benjamin Bertrand's avatar
      Replace bootstrap-select with selectize · 733736e1
      Benjamin Bertrand authored
      selectize-bootstrap4-theme v2.0.2 from
      https://github.com/const-se/selectize-bootstrap4-theme
      
      To use selectize on a Select or MultiSelect field, add the
      selectize-default class. It initializes selectize with the default
      options.
      
      JIRA INFRA-644 #action In Progress
      733736e1
  13. Oct 18, 2018
  14. Oct 11, 2018
  15. Oct 05, 2018
  16. Oct 03, 2018
  17. Sep 28, 2018
  18. Sep 21, 2018
  19. Sep 20, 2018
  20. Aug 02, 2018
    • Benjamin Bertrand's avatar
      Remove flask-bootstrap dependency · 7c98683d
      Benjamin Bertrand authored
      The official flask-bootstrap is still not compatible with bootstrap 4.
      The application basically only uses the main template and one macro.
      It's easier to include directly bootstrap in CSEntry.
      It makes upgrading to the latest bootstrap much easier and removes a
      dependency.
      
      Update to bootstrap 4.1.3
      
      Added:
      - jquery-3.3.1.min.js
      - bootstrap.bundle.min.js (include popper but not jquery)
      
      Note that jquery.slim can't be used.
      We need for example $.getJSON for datatables.
      7c98683d
  21. Aug 01, 2018
  22. Jul 31, 2018
  23. Jul 17, 2018
  24. Jul 13, 2018
  25. Jul 12, 2018
  26. Jul 11, 2018
  27. Jul 03, 2018
  28. Jul 02, 2018
Loading