Skip to content
Snippets Groups Projects
  1. Sep 28, 2018
    • Benjamin Bertrand's avatar
      Do not take into account old deferred tasks · 2ed77eb2
      Benjamin Bertrand authored
      A deferred task will remain deferred forever if the task it depends on
      fails. When checking for waiting tasks, we should ignore deferred tasks
      that are too old.
      "Too old" is currently set to 30 minutes. We shouldn't have tasks that
      take that long. We might want to shorten that even a bit (to not block
      new identical tasks to be run) but if a task failed there is probably
      something to be done.
      
      JIRA INFRA-559 #action In Progress
      2ed77eb2
    • Benjamin Bertrand's avatar
      Display hosts with no interface · 05191311
      Benjamin Bertrand authored
      JIRA INFRA-569 #action In Progress
      05191311
    • Benjamin Bertrand's avatar
      Allow to delete hosts and interfaces via the API · 9977c3e7
      Benjamin Bertrand authored
      Add endpoints:
      DELETE /network/hosts/<host_id>
      DELETE /network/interfaces/<interface_id>
      
      JIRA INFRA-570 #action In Progress
      9977c3e7
    • Benjamin Bertrand's avatar
      Add button to delete hosts · f3206d0a
      Benjamin Bertrand authored
      - set cascade to all and delete-orphan to delete interfaces when
        deleting a host
      - button added on the view host page to delete host (admin only)
      
      JIRA INFRA-557 #action In Progress
      f3206d0a
    • 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
    • Benjamin Bertrand's avatar
      Implement alert flashing from javascript · eced4c36
      Benjamin Bertrand authored
      JIRA INFRA-545
      eced4c36
    • Benjamin Bertrand's avatar
      Update DataTables with bootstrap 4 theme · ddbfdcc5
      Benjamin Bertrand authored
      Included libraries:
      - DataTables 1.10.18 (with bootstrap 4 theme)
      - Buttons 1.5.2
      - Column visibility 1.5.2
      - Print view 1.5.2
      
      JIRA INFRA-545
      ddbfdcc5
  2. Sep 24, 2018
  3. Sep 21, 2018
  4. Sep 20, 2018
  5. Sep 14, 2018
  6. Sep 13, 2018
  7. Sep 02, 2018
  8. Aug 21, 2018
  9. Aug 16, 2018
  10. Aug 08, 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
    • Benjamin Bertrand's avatar
      Update .dockerignore · 0293261a
      Benjamin Bertrand authored
      0293261a
  12. Aug 01, 2018
  13. Jul 31, 2018
  14. Jul 27, 2018
Loading