Skip to content
Snippets Groups Projects
  1. Apr 16, 2020
  2. Jan 28, 2020
  3. 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
  4. 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
  5. Feb 28, 2019
  6. Nov 09, 2018
  7. 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
  8. Oct 11, 2018
  9. Sep 20, 2018
  10. Jul 11, 2018
  11. May 25, 2018
  12. Apr 23, 2018
  13. Apr 20, 2018
    • Benjamin Bertrand's avatar
      Allow to link several items to one host · 4209cdb8
      Benjamin Bertrand authored
      1. When we have a stack of switches, the same IP is associated to several
         switches
      2. Move the items <-> host assocation to the item create/edit page
      
      JIRA INFRA-267
      4209cdb8
    • Benjamin Bertrand's avatar
      Hide interface name in create host form · e884acd3
      Benjamin Bertrand authored
      The interface name doesn't need to be displayed in the form as we force
      it to the hostname.
      
      We set the interface name to the hostname when submitting the form.
      This fixes the copy/paste issue with the mouse that didn't trigger the
      keyup event.
      
      JIRA INFRA-287
      e884acd3
  14. Apr 10, 2018
  15. Apr 09, 2018
  16. Apr 06, 2018
  17. Feb 12, 2018
    • Benjamin Bertrand's avatar
      Allow admin to create interface outside range · a653f0d9
      Benjamin Bertrand authored
      The network range defines the IP to be allocated.
      This is to reserve some specific addresses (for gateway for example).
      
      An admin user should be able to define an interface outside the network
      range.
      
      The IP address select field was replaced with a string field
      (initialized to the first available IP).
      
      Fixes INFRA-200
      a653f0d9
  18. Feb 09, 2018
  19. Dec 19, 2017
  20. Dec 18, 2017
  21. Dec 15, 2017
  22. Dec 14, 2017
  23. Nov 17, 2017
Loading