Skip to content
Snippets Groups Projects
  1. May 11, 2019
  2. Apr 09, 2019
  3. Mar 06, 2019
  4. Mar 01, 2019
  5. Feb 27, 2019
  6. Sep 22, 2018
    • Ivan Kolodyazhny's avatar
      Remove nose references from Horizon · 770afab1
      Ivan Kolodyazhny authored
      Commit I7fb2fd7dd40f301ea822154b9809a9a07610c507 changed test runner to
      not use nose. So it's safe to remove all references now.
      
      Change-Id: I8856e4e91b25f059645eb5e0356d207f6fc119f2
      770afab1
  7. Aug 25, 2018
    • Nishant Kumar's avatar
      Add django-debreach to horizon · ccdf8c55
      Nishant Kumar authored
      BREACH is a category of vulnerabilities and not a specific
      instance affecting a specific piece of software. To be vulnerable,
      a web application must:
      
        * Be served from a server that uses HTTP-level compression
        * Reflect user-input in HTTP response bodies
        * Reflect a secret (such as a CSRF token) in HTTP response bodies
      
      More details on breach attack - http://breachattack.com/
      
      Since horizon falls under this category, we can include django-debreach
      module within horizon as a requirement which provides mitigation against the breach attacks.
      
      https://github.com/lpomfrey/django-debreach
      
      CSRF token masking is a built-in feature within Django 1.10+,
      therefore only content-length modification feature provided by django-debreach
      can be enabled.
      
      Depends-On: I32f11e089fc794444ef267b463c7fb2ad8cfa96a
      
      Change-Id: I2b4999ca7b0e1762c5273c4fe96f5ee768f44339
      Blueprint: mitigate-breach-attacks
      ccdf8c55
  8. Jul 24, 2018
    • Stuart Grace's avatar
      Delete profiler object when request completes · 2e2ef6a8
      Stuart Grace authored
      When a request that is being profiled completes and the response is
      received, the middleware expires the profiling cookie. It also needs
      to delete the profiling object that holds the base_id UUID so a new
      base_id will be created for the next profile. Otherwise the same
      base_id is used for subsequent queries and they become merged togther
      in the database.
      
      Change-Id: I379cebfa2ed5282c96df0e255a8ba04c65a8523c
      Closes-Bug: #1777486
      Depends-On: https://review.openstack.org/578362
      2e2ef6a8
  9. Jun 08, 2018
    • Ivan Kolodyazhny's avatar
      Use default Django test runner instead of nose · 1f80d944
      Ivan Kolodyazhny authored
      Nose has been in maintenance mode for the past several years. It has
      issue with exit code [1] which leads to false positive results for our
      seleniun-headless job.
      
      This patch changes test runner for Horizon tests and does the following
      things:
      
      * Django test runner  executes test in a different order than Nose does.
        That's why we've got an issue with side-effect in
        horizon.tests.unit.tables.test_tables.MyToggleAction class. This patch
        adds workaround to it.
      * Rename filename of test files to names starting with 'test_'
        so that the django test runner can find tests expectedly.
      * '--with-html-output' option is temporary dropped and will be added in
        a following patch.
      * Integraion tests is marked via django.test.tag mechanism which is
        introduced in Django 1.10
      * 'selenium-headless' is broken now because we don't have geckodriver on
        gates, this patch makes it non-voting.
      * 'tox -e cover' is fixed
      * Remove @memorized decorator from
        dashboards.project.images.images.tables.filter_tenant_ids function.
      
      [1] https://github.com/nose-devs/nose/issues/984
      
      Depends-On: https://review.openstack.org/572095
      Depends-On: https://review.openstack.org/572124
      Depends-On: https://review.openstack.org/572390
      Depends-On: https://review.openstack.org/572391
      
      Related blueprint: improve-horizon-testing
      Change-Id: I7fb2fd7dd40f301ea822154b9809a9a07610c507
      1f80d944
  10. Apr 26, 2018
  11. Mar 30, 2018
  12. Mar 25, 2018
Loading