Update to newest hacking version, it has only minimal changes and full
support for Python 3.
Python modules related to coding style checks (listed in blacklist.txt in
openstack/requirements repo) are dropped from lower-constraints.txt
as they are not actually used in tests (other than pep8).
Change-Id: I67f390e6d7b6fb9eeb7522728ba293d3337b3327
DeleteInstance action inherits from tables.DeleteAction,
the parent class has the 'name', 'classes' and 'icon' attributes,
So remove the unused attributes.
Change-Id: I5ef01ce68edcd7e78ac95747cf5fd8d8f8c96c81
Replace django.core.urlresolves with django.urls
(In Django 2.0) The django.core.urlresolvers module is removed
in favor of its new location, django.urls.
It was deprecated in Django 1.10:
https://docs.djangoproject.com/en/2.0/releases/1.10/#id3
Note that this commit does not add py35dj20 like other horizon plugins
because there is no actual python unit tests in freezer-web-ui.
Older Django unit tests were dropped from tox.ini
as horizon dropped Django <=1.10 support in Rocky.
Change-Id: I38f3f05655324f2a5f38c6e8c6ab53ebaa42d4c8
The old syntax using patterns is deprecated in Django 1.8, and is
removed in Django 1.10. The current version Django<1.11, this
patch fix the syntax.
Change-Id: I26564c97538c23378c0494739257b31dd8796f5a
Closes-Bug: #1709742
Currently, there is no delete backup operation in freezer-web-ui, if
we want to delete a backup, we can only use the command line. This is
not convenient. This patch will add operation of deleting backup in
freezer web ui.
Change-Id: I31de6b8cafd7cba043ae050f9d4a83d697adb6c6
The django_date transforms time to string with i18n, which will
cause error while using chinese, we can fix this either encode
the date_str using 'utf8' or use datetime.datetime.strftime to
do the transform job.
Closes-Bug: #1671315
Change-Id: Ice599334b29125cfac69ab30e04b956024f34517
This patch set modifies lines which are importing objects
instead of modules. As per openstack import guide lines, user should
import modules in a file not objects.
http://docs.openstack.org/developer/hacking/#imports
Change-Id: Ibfaf35be7506db820bea8e41a7fc8fcaf20fe08a
The django form field default is "required=True", so this patch
remove the redundant "required=True" in the form.
Change-Id: Id2342cea882134099a43f2149e7b56168a015afe
Fix calendar to better display in small windows
Bump the number of results for listing items
Quick workaround to successfully listing items after being created
Closes bug: 1556939
Change-Id: Ibaf0a999a729197900b18c1f22fd819f5e11e797
js code cannot reach the api endpoints for action retrieval in specific cases
because it depends on the actual url in the browser
Closes-bug: 1525169
Depends-On: I837e3fe973d72c792cb34711cef9f6507a004d49
Change-Id: Ibffad1a6a24559535c71ea94ba98deeb78ebeccb
action, job, session, backup, clients are now objects in api.py
shield decorator to avoid having boilerplate code in views
move from freezer_ui to disaster_recovery url
improved actions edition in a job
javascript lint
added clients panel
added actions panel
improved restore functionality from the dashboard
Change-Id: I23aed516bcde3a40b24144b05f858d1e3a49a796