1. 14 Apr, 2022 2 commits
    • Thomas Goirand's avatar
      Now packaging 20.1.1 · 90946f02
      Thomas Goirand authored
      90946f02
    • Thomas Goirand's avatar
      Merge tag '20.1.1' into debian/xena · b2650ae6
      Thomas Goirand authored
      horizon 20.1.1 release
      
      meta:version: 20.1.1
      meta:diff-start: -
      meta:series: xena
      meta:release-type: release
      meta:pypi: no
      meta:first: no
      meta:release:Author: manchandavishal <manchandavishal143@gmail.com>
      meta:release:Commit: manchandavishal <manchandavishal143@gmail.com>
      meta:release:Change-Id: I3308eadb54628e4f9efcd2733c056bac5dd97e95
      meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech>
      meta:release:Code-Review+2: Hervé Beraud <herveberaud.pro@gmail.com>
      meta:release:Workflow+1: Hervé Beraud <herveberaud.pro@gmail.com>
      b2650ae6
  2. 16 Feb, 2022 1 commit
  3. 01 Feb, 2022 1 commit
  4. 27 Jan, 2022 1 commit
    • Erik Olof Gunnar Andersson's avatar
      Fix maximum recursion depth error when generating documentation · 27887e35
      Erik Olof Gunnar Andersson authored
      Troubleshooting an issue with Senlin documentation,
      
      > RecursionError: maximum recursion depth exceeded in __instancecheck__
      
      it turns out that attrs['base_options'] creates a recursive reference
      when no base classes have 'base_options'.
      This happens when BaseAction is created.
      
      Closes-Bug: #1955773
      Change-Id: I2724f07339134b3e06b7ea925939bf7072162106
      (cherry picked from commit b8cc0043)
      27887e35
  5. 29 Dec, 2021 2 commits
  6. 06 Oct, 2021 1 commit
  7. 30 Sep, 2021 1 commit
  8. 24 Sep, 2021 2 commits
    • Thomas Goirand's avatar
      Now packaging 20.1.0 in unstable. · b084a111
      Thomas Goirand authored
      b084a111
    • Thomas Goirand's avatar
      Merge tag '20.1.0' into debian/xena · ab47af25
      Thomas Goirand authored
      horizon 20.1.0 release
      
      meta:version: 20.1.0
      meta:diff-start: -
      meta:series: xena
      meta:release-type: release
      meta:pypi: no
      meta:first: no
      meta:release:Author: manchandavishal <manchandavishal143@gmail.com>
      meta:release:Commit: manchandavishal <manchandavishal143@gmail.com>
      meta:release:Change-Id: Ia6fe96d96e20c4d8364c5784dc61b0c7ee77825b
      meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org>
      meta:release:Code-Review+2: Hervé Beraud <herveberaud.pro@gmail.com>
      meta:release:Workflow+1: Hervé Beraud <herveberaud.pro@gmail.com>
      ab47af25
  9. 23 Sep, 2021 2 commits
    • OpenStack Release Bot's avatar
      Update TOX_CONSTRAINTS_FILE for stable/xena · d69b1d41
      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/xena branch, tests will
      continue to use the upper-constraints list on master.
      
      Change-Id: I78fd0ec6b339ea6d2702bc304de7ba35947fedbd
      d69b1d41
    • OpenStack Release Bot's avatar
      Update .gitreview for stable/xena · ca2c5c3f
      OpenStack Release Bot authored
      Change-Id: If9d89b8abf6320177c029f650ccef3e81bc413ef
      ca2c5c3f
  10. 22 Sep, 2021 2 commits
    • Akihiro Motoki's avatar
      workflow: Do not touch dict during iteration · a20c4f6f
      Akihiro Motoki authored
      Django 3.2 stored the field information as dict instead OrderedDict
      because python 3.7+ ensure the field order of dict as the language spec.
      We cannot touch dict itself during iteration. We need to pass a list
      instead of a value from .items() itself to avoid the error.
      
      Change-Id: Ie22865995d14fa60c16cf2cea582aa0eec46b65d
      Closes-Bug: #1944548
      a20c4f6f
    • Akihiro Motoki's avatar
      Add a release note on Django 3.2 support · 0f34f6e7
      Akihiro Motoki authored
      We consider Django 3.2 support as experimental in Xena,
      but it is worth documenting it.
      
      Change-Id: Ibdaed0f4eafd18c61289e70e41584e97d6c60dd7
      0f34f6e7
  11. 21 Sep, 2021 4 commits
  12. 18 Sep, 2021 1 commit
  13. 17 Sep, 2021 5 commits
  14. 16 Sep, 2021 3 commits
    • Akihiro Motoki's avatar
      Support Django 3.2 support (2) · 9526289b
      Akihiro Motoki authored
      In Django 3.2 CookieStorage stores messages in the RFC 6265 compliant
      format [1][2]. This means that horizon messages pass through cookies are
      encoded in a different way that messages are encrypted.
      
      Previously horizon UT interpretes messages in cookies literally in its own way,
      but the change on CookieStorage in Django 3.2 broke it. Horizon should not
      depend on its own way. The suggested way I believe is to use a method defined
      in django.contrib.messages.storage.cookie.CookieStorage.
      
      [1] https://docs.djangoproject.com/en/3.2/releases/3.2/#miscellaneous
      [2] https://github.com/django/django/commit/2d6179c819010f6a9d00835d5893c4593c0b85a0
      
      Change-Id: I3e5e12265d0bc7b753bbe1f57acdd663b9dd3587
      9526289b
    • Akihiro Motoki's avatar
      Preparation for Django 3.2 support · f3d2b9d5
      Akihiro Motoki authored
      This commit adds a non-voting unit test job with Django 3.2.
      
      Jobs with Django 3.0 and 3.1 are dropped now.
      They were introduced before Django 3.2 was released.
      Django 3.0 reached EOL and Django 3.1 will reach EOL this December.
      Django 3.2 is an LTS version so testing with Django 3.2 is enough.
      
      Change-Id: Ic6ba0ea281b287b7f4762f92e2e81a6fd654da8f
      f3d2b9d5
    • Akihiro Motoki's avatar
      Preparation for Django 3.0 and 3.1 support (2) · 39f28ad5
      Akihiro Motoki authored
      django-pyscss is not compatible with Django 3.0.
      django_pyscss_fix is a temporary workaround for django.utils.six
      used in django-pyscss. It also add six in requirements.txt
      as we use six module for this workaround.
      This is just to run horizon for testing with Django 3.0+.
      
      six is re-added to requirements.txt as it is used in the workaround.
      Note that other codes in the horizon repo should not depend on six.
      
      Change-Id: If79289b7518dd8eaf292a90d6fb790beb154cb7c
      39f28ad5
  15. 15 Sep, 2021 3 commits
  16. 14 Sep, 2021 5 commits
    • Akihiro Motoki's avatar
      Support Django 3.0 and 3.1 support (4) · 44b7c03f
      Akihiro Motoki authored
      assertFormErrors() now compares actual and expected messages
      after parsing them as HTML. Similar to the previous commit,
      after Django 3.0 escaped characters are handled differently
      (decimal representation, hexdecimal representation and
      unescaped representation) so we need an uniform way to compare
      texts. Instead of comparing texts literally, this commit changes
      assertFormErrors to compare texts after parsing them as HTML.
      
      Change-Id: I4ff89cdcb27a2671c7d79fb2caec30585696a30f
      44b7c03f
    • Akihiro Motoki's avatar
      Support Django 3.0 and 3.1 support (3) · a0dd4d73
      Akihiro Motoki authored
      The result of the encoded (i.e., escaped) text in HTML changed
      between Django pre-3.0 and 3.0+. For example, decimal and hex encoding
      are semantically same but they are different in literal texts.
      While I don't know what triggers this change, I think it makes sense
      to compare these texts after decoding as HTML.
      Considering this, html=True is passed to self.assertContains().
      
      When passing html=True, a text in an HTML element is not compared
      partially and a full text as a value of the HTML element is compared,
      so we need to pass the full text of an HTML element value now.
      
      I believe the above change is caused by the change that django.test.html.Parser
      is initialized with convert_charrefs=False previously. On the other hand,
      it is not specified now in Django 3.0+ [1]. This leads to the situation that
      escapes on unicode characters are handled differently.
      
      [1] https://github.com/django/django/commit/48235ba807483fe349d2dc66aaeddc0d03f8b0d4
      
      Change-Id: I0f26436eb384a95f8446d8fd447c9577d50a5c21
      a0dd4d73
    • Akihiro Motoki's avatar
      Support Django 3.0 and 3.1 support (2) · be12ce1e
      Akihiro Motoki authored
      It seems Django 3.0+ does not allow to set an unknown attribute
      to forms.Form.fields. "keyOrder" attribute has no meaning and
      "field_order" of the Form class is the right way to configure
      the order of fields.
      
      Change-Id: Ib3a631a3626977a2e7114dac217aacd523354c53
      be12ce1e
    • Tatiana Ovchinnikova's avatar
      Add horizontal scrollbar to role dropdown · 9b28ab40
      Tatiana Ovchinnikova authored
      Manage members dialog has a dropdown which lists all the role names.
      If a role name is long enough, it pushes all the roles to the left
      and hides them partially. This patch adds horizontal scrollbar for
      such cases.
      
      Closes-Bug: #1926511
      
      Change-Id: I1bbf3b23717f9924974920d6569e018b94e3dbe8
      9b28ab40
    • Akihiro Motoki's avatar
      Support Django 3.0 and 3.1 support (1) · 6dfcb901
      Akihiro Motoki authored
      * Django 3.0 dropped django.utils.decorators.available_attrs()
        in favor of functools.WRAPPER_ASSIGNMENTS.
      * Django 3.0 dropped django.utils.functional.curry()
        in favor of functools.partial() or functools.partialmethod().
      
      https://docs.djangoproject.com/en/3.1/releases/3.0/#removed-private-python-2-compatibility-apis
      
      Change-Id: I4ab0e720a8ffe13a08f5e607a59e39f252338b90
      6dfcb901
  17. 10 Sep, 2021 1 commit
  18. 09 Sep, 2021 1 commit
  19. 08 Sep, 2021 2 commits