Skip to content
Snippets Groups Projects
  1. Apr 06, 2021
  2. Mar 26, 2021
  3. Mar 23, 2021
  4. Nov 25, 2020
  5. Nov 06, 2020
  6. Oct 22, 2020
  7. Oct 06, 2020
    • Benjamin Bertrand's avatar
      Set network_scope group as parent of network groups · 983ae199
      Benjamin Bertrand authored
      All groups linked to a network are automatically added to the group
      linked to their network scope if it is defined.
      
      Note that it's not allowed to defined manual parent - child relationship
      between network groups or network scope groups (only the one based on
      scope/network is added automatically).
      
      WARNING! Do not use children.append() as it bypasses the setter. It will
      append the element to the object returned by the getter (as it's not the
      self._children list, it won't work anyway).
      
      JIRA INFRA-2639 #action In Progress
      983ae199
  8. Oct 02, 2020
  9. Jul 08, 2020
  10. Jun 08, 2020
  11. Mar 08, 2020
  12. Mar 05, 2020
  13. Feb 24, 2020
  14. Feb 03, 2020
  15. Dec 19, 2019
  16. Dec 18, 2019
  17. Dec 04, 2019
  18. Oct 29, 2019
  19. Oct 24, 2019
  20. Sep 18, 2019
  21. Sep 17, 2019
  22. Aug 22, 2019
    • Benjamin Bertrand's avatar
      Implement user access on network scope · a89b002f
      Benjamin Bertrand authored
      Replace previous implementation based on the domain.
      
      The domain can be changed per network but in practice we always use the
      same domain in a network scope.
      We currently have 9 network scopes but only 3 domains.
      Using the network scope gives us finer granularity in practice.
      
      JIRA INFRA-1228 #action In Progress
      a89b002f
  23. Jul 10, 2019
    • Benjamin Bertrand's avatar
      Fix sorting of items with some null stack_member · ab9b49b8
      Benjamin Bertrand authored
       '<' not supported between instances of 'NoneType' and 'int'
      
      Sorting worked if all stack_members were None, but not if some were null
      and some int.
      Fixed by converting None to Infinity (so None values are at the end of
      the list.
      
      JIRA INFRA-1112 #action In Progress
      ab9b49b8
    • Benjamin Bertrand's avatar
      Add extra items info to hosts json model · 0318858e
      Benjamin Bertrand authored
      Linked items are by default returned as a list of ICS id.
      When recursive is True, a list of {ics_id, serial_number, stack_member}
      is returned instead.
      
      Items are always returned sorted by stack_member or ics_id when
      stack_member is null.
      
      Allow to add the serial_number and stack_member to the Ansible variables
      in csentry dynamic inventory. Useful for switches.
      
      JIRA INFRA-1111 #action In Progress
      0318858e
  24. Jun 14, 2019
  25. Jun 13, 2019
  26. May 13, 2019
    • Benjamin Bertrand's avatar
      Remove caching of user retrieval · be364ef4
      Benjamin Bertrand authored
      The caching of the load_user function already created several bugs
      (INFRA 908/1018).
      It requires to think about adding (or deleting in the admin view)
      the current_user to the session. This is easy to miss.
      
      It saves some database queries but we don't need this optimization.
      Performances are not impacted and are good enough so far.
      
      Removing the caching makes the application more robust and easier to
      maintain.
      
      JIRA INFRA-1025 #action In Progress
      be364ef4
  27. May 10, 2019
Loading