Skip to content
Snippets Groups Projects
  1. Mar 05, 2019
  2. Jan 28, 2019
    • Benjamin Bertrand's avatar
      Add post install job after VM creation · 4d2dcf3b
      Benjamin Bertrand authored
      After a VM or VIOC creation, a post install job can be triggered.
      The job to trigger is based on the domain and defined in the
      AWX_POST_INSTALL dictionary.
      
      Admin users have the option to skip this post job if required.
      
      The job is enqueued in RQ with a dependency on the creation job.
      So it's only triggered after successful completion of the first one.
      
      JIRA INFRA-769
      4d2dcf3b
  3. Jan 23, 2019
    • Benjamin Bertrand's avatar
      Pass disk size in inventory when creating VM · 0d575840
      Benjamin Bertrand authored
      - Disk size added to the create VM form
      - Disk size saved to proxmox_disk_space variable in host inventory
      
      The proxmox_disk_space variable is used by the Ansible job when creating
      the machine.
      
      JIRA INFRA-759 #action In Progress
      0d575840
  4. Nov 30, 2018
  5. Nov 27, 2018
  6. Nov 09, 2018
  7. Oct 05, 2018
  8. Sep 28, 2018
    • Benjamin Bertrand's avatar
      Add button to export items to excel file · 8471ec5b
      Benjamin Bertrand authored
      Retrieving all items from the database takes some time.
      The task is thus handled by the RQ worker.
      We use ajax to periodically monitor the status of the job
      and redirect to the file when ready.
      A progress bar is displayed to let the user see the progress.
      
      The mechanism put in place could be re-used for other use cases.
      
      JIRA INFRA-545 #action In Progress
      8471ec5b
  9. Sep 14, 2018
  10. Jul 17, 2018
  11. Jul 06, 2018
  12. Jul 03, 2018
  13. May 25, 2018
    • Benjamin Bertrand's avatar
      Allow to easily identify staging server · 3f3b43a7
      Benjamin Bertrand authored
      Change "CSentry" to "CSEntry-test" in the navbar (upper left corner)
      and set it to red on the staging server.
      
      This is done by setting the variable CSENTRY_STAGING to True in the
      settings.cfg file for the staging server (variable set to False by
      default).
      
      JIRA INFRA-347
      3f3b43a7
  14. May 23, 2018
  15. May 22, 2018
  16. May 09, 2018
  17. Apr 27, 2018
  18. Mar 07, 2018
    • Benjamin Bertrand's avatar
      Accept a list of LDAP groups · 89a98b9b
      Benjamin Bertrand authored
      Not everyone at ICS is part of the 'ICS Employees' AD group.
      We have to accept 'ICS Consultants' as well.
      
      The CSENTRY_LDAP_GROUPS settings now takes a list of groups instead of
      just one.
      
      Remove unused is_member_of_all_groups method.
      
      Fixes INFRA-225
      89a98b9b
  19. Mar 06, 2018
  20. Feb 09, 2018
  21. Jan 02, 2018
  22. Dec 18, 2017
    • Benjamin Bertrand's avatar
      Define temporary ICS id that can be changed · fd3109c4
      Benjamin Bertrand authored
      It shouldn't be possible to change the ICS id of an item.
      But when registering a bunch of existing items via the API, we need to
      allocate an ics_id otherwise not much can be done in the interface.
      The id is required for the view and edit page.
      
      The solution is to define some "temporary" ids that don't correspond to
      any pre-printed labels.
      Items with a temporary id can be assigned a real ics_id when assigning a
      label.
      
      Reserved ids start with 'ZZ' (from ZZA000 to ZZZ999)
      
      ICS id can now be non nullable.
      fd3109c4
    • Benjamin Bertrand's avatar
      Pass selected values to register network form · 8d4e8f94
      Benjamin Bertrand authored
      Allow to customize the default selected values:
      - the default network prefix can be defined in the configuration (default to 24)
      - the default first and last IP chosen can probably be improved
        it defaults to hosts[9] and hosts[-5] if the list has more than 15
        elements or the first and last otherwise
      
      Note that when using a small prefix (< 19), the number of possilbe IPs is quite
      large and updating the first and last IP select field takes some time...
      8d4e8f94
  23. Dec 13, 2017
    • Benjamin Bertrand's avatar
      Add server side session using Flask-Session · d5d3530a
      Benjamin Bertrand authored
      In Flask, session data are stored in a cookie by default.
      Using a server side session, there is no risk of putting too much data
      in the session and transmissting a big cookie on every request
      (only an id is sent in the cookie).
      
      Redis is used as backend (without persistent storage).
      d5d3530a
    • Benjamin Bertrand's avatar
      Add token revoking · c5965f94
      Benjamin Bertrand authored
      - All created tokens are stored in the database.
        To revoke a token, we just delete it from the database.
        Tokens not found in the database are thus considered unvalid / revoked.
      
      - Add button to copy generated token to the clipboard
      
      - Redesign profile page
      c5965f94
  24. Nov 03, 2017
  25. Sep 08, 2017
  26. Sep 06, 2017
  27. Aug 21, 2017
  28. Aug 18, 2017
  29. Jul 19, 2017
Loading