1. 19 Mar, 2021 1 commit
  2. 28 Jan, 2021 1 commit
    • manchandavishal's avatar
      Run npm nodejs job with Firefox browser · 080771f5
      manchandavishal authored
      This patch update browser from Chrome to Firefox
      in karma.conf.js because nodejs fails with Chrome
      browser as not able to access some URL.
      So let's switch to Firefox browser now then we can
      use Chrome browser in future once this issue is resolved.
      
      Change-Id: I33b911143208fb63548d776cbf3dc4249d4e3394
      (cherry picked from commit 934c8e1b)
      080771f5
  3. 28 Oct, 2020 1 commit
    • Pavlo Shchelokovskyy's avatar
      Move image_field_data method in-tree · e601aab1
      Pavlo Shchelokovskyy authored
      this was removed in Horizon as 'not needed' in
      26eebd4abbbabc1475bae61c51d1cfcf14dba770
      however it is used to form a hint for glance.image constraint
      in heat-dashboard.
      
      Just copy-paste the method as it existed in horizon with minimal
      adaptations.
      
      Change-Id: I23fd3f45f0ce5b67691991336e727c377ca36281
      (cherry picked from commit 953369c8)
      e601aab1
  4. 05 Oct, 2020 1 commit
  5. 28 Sep, 2020 2 commits
    • OpenStack Release Bot's avatar
      Update TOX_CONSTRAINTS_FILE for stable/victoria · 44765bbd
      OpenStack Release Bot authored
      Update the URL to the upper-constraints file to point to the redirect
      rule on releases.openstack.org so that anyone working on this branch
      will switch to the correct upper-constraints list automatically when
      the requirements repository branches.
      
      Until the requirements repository has as stable/victoria branch, tests will
      continue to use the upper-constraints list on master.
      
      Change-Id: If616cc55c83dc427471c96907369f055f720d389
      44765bbd
    • OpenStack Release Bot's avatar
      Update .gitreview for stable/victoria · 36565aca
      OpenStack Release Bot authored
      Change-Id: Idc38417bed4f14d337139d1b39fb0e18a04c0405
      36565aca
  6. 04 Aug, 2020 1 commit
  7. 09 Jun, 2020 2 commits
  8. 22 May, 2020 1 commit
  9. 21 May, 2020 1 commit
    • Andreas Jaeger's avatar
      Switch to newer openstackdocstheme and reno versions · 40df15a4
      Andreas Jaeger authored
      Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
      these versions will allow especially:
      * Linking from HTML to PDF document
      * Allow parallel building of documents
      * Fix some rendering problems
      
      Update Sphinx version as well.
      
      Set openstackdocs_pdf_link to link to PDF file. Note that
      the link to the published document only works on docs.openstack.org
      where the PDF file is placed in the top-level html directory. The
      site-preview places the PDF in a pdf directory.
      
      Set openstackdocs_auto_name to use 'project' as name.
      
      Change pygments_style to 'native' since old theme version always used
      'native' and the theme now respects the setting and using 'sphinx' can
      lead to some strange rendering.
      
      openstackdocstheme renames some variables, so follow the renames
      before the next release removes them. A couple of variables are also
      not needed anymore, remove them.
      
      See also
      http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
      
      Change-Id: I38ad719a8942ec1ae1c78e8d680e467b06815a20
      40df15a4
  10. 13 May, 2020 1 commit
    • Ghanshyam Mann's avatar
      Fix hacking min version to 3.0.1 · f7c44fb7
      Ghanshyam Mann authored
      flake8 new release 3.8.0 added new checks and gate pep8
      job start failing. hacking 3.0.1 fix the pinning of flake8 to
      avoid bringing in a new version with new checks.
      
      Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
      flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
      break the pep8 job if new check are added.
      
      To avoid similar gate break in future, we need to bump the hacking min
      version.
      
      - http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
      
      Change-Id: I2d4d416d6b00d402819edf2eaed7ebd025e764f8
      f7c44fb7
  11. 05 May, 2020 1 commit
  12. 02 May, 2020 2 commits
  13. 01 May, 2020 2 commits
  14. 28 Apr, 2020 1 commit
  15. 27 Apr, 2020 1 commit
  16. 24 Apr, 2020 2 commits
  17. 21 Apr, 2020 1 commit
    • Andreas Jaeger's avatar
      Cleanup py27 support · ddaa0a1e
      Andreas Jaeger authored
      This repo is now testing only with Python 3, so let's make
      a few cleanups:
      - Remove python 2.7 stanza from setup.py
      - Remove obsolete sections from setup.cfg
      - Update classifiers
      - Update requirements, no need for python_version anymore
      - Switch to using sphinx-build
      - Use newer openstackdocstheme and Sphinx versions
      - Cleanup */source/conf.py to remove now obsolete content.
      
      Change-Id: Icf69fa99ed77a0935062ee4fc8e9c6a195b381e5
      ddaa0a1e
  18. 20 Apr, 2020 2 commits
    • Andreas Jaeger's avatar
      Update hacking for Python3 · 4f8b5ea0
      Andreas Jaeger authored
      The repo is Python 3 now, so update hacking to version 3.0 which
      supports Python 3.
      
      Update local hacking checks for new flake8.
      
      Remove hacking and friends from lower-constraints, they are not needed
      for installation.
      
      Change-Id: Ib6f30427e736ff488598e80e87ce0a8b39e92f33
      4f8b5ea0
    • Akihiro Motoki's avatar
      Use unittest.mock instead of third party mock · bd686394
      Akihiro Motoki authored
      horizon recently switched from the third-party mock to unittest.mock.
      This breaks heat-dashboard unit tests somehow.
      We no longer support py27 and we can use the standard library
      unittest.mock module. Rather than investigating the cause of
      the failure, it would be nice to switch to unittest.mock.
      
      horizon dependency is updated to 18.3.1 as unittest.mock is used
      since 18.3.0 and 18.3.0 has an issue that it always requires pytest.
      lower-constraints is updated to match horizon requirements.
      
      hacking local-check-factory is disabled temporarily due to
      the incompatibility with hacking 2.0 or later.
      https://review.opendev.org/#/c/715690/ will recover it.
      
      Change-Id: I517d6d7d36410c64bf48ad958b3e2115725a6491
      bd686394
  19. 22 Jan, 2020 1 commit
  20. 21 Jan, 2020 3 commits
  21. 20 Jan, 2020 3 commits
  22. 11 Jan, 2020 2 commits
    • Andreas Jaeger's avatar
      Remove six usage (2/2) · 79ef24a7
      Andreas Jaeger authored
      
      
      This repo does not support Python 2 anymore, so we don't need
      six for compatibility between Python2 and 3,
      convert six usage to Python 3 code.
      
      This changes urllib usage.
      
      mock.patch usage in heat_dashboard/test/tests/api/test_heat.py
      is modified to cope with the mix usage of urllib from python3 (in
      heat-dashboard) and six.moves.urllib (in heatclient).
      In the case of the mix usage, patching urllib.request.urlopen() only
      does not work as urllib.request.urlopen() is not called after
      resolving a lazy loading in six and the resolved object is
      six.moves.urllib.request is called. The previous code depends on
      the behavior in heatclient read_url_content() and the method should
      be mocked instead. Considering this, mocking in api/test_heat.py
      is modified to mock direct methods called in the heat-dashboard code.
      
      Co-Authored-By: default avatarAkihiro Motoki <amotoki@gmail.com>
      Change-Id: Icf3f889770242b02023fe22c405cfa2d823581a5
      Needed-By: https://review.opendev.org/701743
      79ef24a7
    • Andreas Jaeger's avatar
      Remove six usage (1/2) · 7103caa0
      Andreas Jaeger authored
      This repo does not support Python 2 anymore, so we don't need
      six for compatibility between Python2 and 3, convert six usage to Python
      3 code.
      
      This changes everything besides urllib.
      
      Change-Id: I43f76bc07d846341c1f5da69614e2be51ee05e30
      Needed-By: https://review.opendev.org/701743
      7103caa0
  23. 08 Jan, 2020 1 commit
  24. 26 Dec, 2019 1 commit
    • Akihiro Motoki's avatar
      translation: drop babel extractor definitions · da64b10a
      Akihiro Motoki authored
      babel extractors are now registered via python entry points,
      so there is no need to declare babel extractors in babel configs.
      
      This change is important to make translation work in Django 2.2.
      django-babel does not work with Django 2.2 and looks unmaintained
      for over two years. The horizon team is thinking to switch the extractor
      to enmerkar (a fork of django-babel) to make extraction of translation
      string work again near future. It is important to drop the extractor
      definition to make the transition smooth.
      
      Change-Id: I3ad5d99ec9341dc17463391ace04701efed6fa5a
      da64b10a
  25. 24 Dec, 2019 1 commit
  26. 23 Dec, 2019 1 commit
  27. 06 Dec, 2019 1 commit
  28. 03 Dec, 2019 1 commit
  29. 15 Nov, 2019 1 commit