Skip to content
Snippets Groups Projects
  1. Jan 25, 2019
  2. Nov 09, 2018
  3. 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
  4. Oct 18, 2018
  5. Oct 11, 2018
  6. Oct 05, 2018
  7. Oct 03, 2018
  8. Sep 28, 2018
  9. Sep 21, 2018
  10. Sep 20, 2018
  11. 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
  12. Aug 01, 2018
  13. Jul 31, 2018
  14. Jul 17, 2018
  15. Jul 13, 2018
  16. Jul 12, 2018
  17. Jul 11, 2018
  18. Jul 03, 2018
  19. Jul 02, 2018
  20. May 25, 2018
  21. May 09, 2018
  22. Apr 23, 2018
    • Benjamin Bertrand's avatar
      Add stack_member field to item · ce031db6
      Benjamin Bertrand authored
      This is to be used for stack of switches only
      
      - a stack_member is linked to an host (device_type has to be "Switch")
      - a stack_member is an integer between 0 and 9 (included) or can be None
      - the couple (host_id, stack_member) must be unique
      
      JIRA INFRA-267
      ce031db6
    • Benjamin Bertrand's avatar
      Add extra default device types · 1a2f3786
      Benjamin Bertrand authored
      - rename "Virtual" to "Virtual Machine"
      - add "Virtual IOC"
      - add several physical devices (Switch, Industrial PC IOC, MicroTCA,
        VME, PLC)
      1a2f3786
  23. 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
  24. Apr 10, 2018
  25. Apr 09, 2018
  26. Apr 06, 2018
  27. Feb 26, 2018
  28. Feb 20, 2018
Loading