Skip to content
Snippets Groups Projects
  1. Sep 17, 2019
  2. Aug 30, 2019
    • Benjamin Bertrand's avatar
      Version 0.25.1 · 7f145ea6
      Benjamin Bertrand authored
      0.25.1
      7f145ea6
    • Benjamin Bertrand's avatar
      Update black pre-commit version · 179979d5
      Benjamin Bertrand authored
      pre-commit assumes that the value of rev is an immutable ref (such as a
      tag or SHA) and will cache based on that. Using a branch name (or HEAD)
      for the value of rev is not supported and will only represent the state
      of that mutable ref at the time of hook installation (and will NOT
      update automatically).
      179979d5
  3. Aug 27, 2019
  4. Aug 22, 2019
  5. Aug 07, 2019
  6. Jul 10, 2019
    • Benjamin Bertrand's avatar
      Version 0.24.1 · 52c9baca
      Benjamin Bertrand authored
      0.24.1
      52c9baca
    • 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
      Version 0.24.0 · c1ff2e22
      Benjamin Bertrand authored
      0.24.0
      c1ff2e22
    • 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
  7. Jun 14, 2019
  8. Jun 13, 2019
  9. Jun 04, 2019
  10. May 13, 2019
    • Benjamin Bertrand's avatar
      Version 0.21.1 · ec51b3e8
      Benjamin Bertrand authored
      0.21.1
      ec51b3e8
    • 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
    • Benjamin Bertrand's avatar
      Fix users synchronization · d2bb6124
      Benjamin Bertrand authored
      The LDAP_USER_DN was changed in 0.21.0.
      This resulted in more entries returned when searching for users
      and all users being disabled...
      
      We were only looking into "OU=ESS Users" before.
      Inactive users are put under "OU=InActiveUsers" in AD.
      
      JIRA INFRA-1026 #action In Progress
      d2bb6124
  11. May 10, 2019
  12. May 09, 2019
    • Benjamin Bertrand's avatar
      Fix IOC indexation · 2b588173
      Benjamin Bertrand authored
      Regression from b9c1b838
      
      Calling utils.trigger_ioc_repository_creation runs launch_task
      which does a db.session.add(task). This raises:
      
      SAWarning: Usage of the 'Session.add()' operation is not currently
      supported within the execution stage of the flush process. Results may
      not be consistent.  Consider using alternative event listeners or
      connection-level operations instead.
      
      SAWarning: Attribute history events accumulated on 1 previously clean
      instances within inner-flush event handlers have been reset, and will
      not result in database updates.
      
      The result is that the host is not added to the elasticsearch index.
      
      We can't trigger the task in after_update/after_insert events.
      Perform the call in the view instead. It's temporary anyway. This should
      be handled by IOC Factory.
      
      JIRA INFRA-1015
      2b588173
    • Benjamin Bertrand's avatar
      Improve documentation · e265aec4
      Benjamin Bertrand authored
      e265aec4
  13. May 08, 2019
Loading