Skip to content
Snippets Groups Projects
  1. Feb 24, 2020
  2. Feb 21, 2020
  3. Feb 03, 2020
  4. Jan 28, 2020
  5. Dec 19, 2019
  6. Dec 18, 2019
  7. Dec 04, 2019
  8. Nov 26, 2019
    • Benjamin Bertrand's avatar
      Fix regexp for ICS id validation · 0887bc00
      Benjamin Bertrand authored
      Validation worked in the models because fullmatch is used but in the
      Regexp validators from wtforms, only match is called.
      
      The form validator didn't catch "AAA1100".
      Test added for this.
      
      JIRA INFRA-1569 #action In Progress
      0887bc00
  9. Oct 30, 2019
  10. Oct 29, 2019
  11. Oct 24, 2019
  12. Sep 18, 2019
  13. Sep 17, 2019
  14. Aug 27, 2019
  15. Aug 22, 2019
  16. 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
  17. Jun 14, 2019
  18. Jun 13, 2019
  19. Jun 04, 2019
  20. 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
    • 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
Loading