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
Openstack common has a wrapper for generating uuids. We should
use that function when generating uuids for consistency.
Change-Id: Ibd4ca5b604858c5257524ba33173369d2a0b1e99
Closes-Bug: #1082248
Before this fix, error handling code passed the view rather than the request object to exeptions.handle().
This resulted in an exception in the error handling code which made the actual error harder to identify.
Also added a check to see if the redirect goes to the same page which would result in an endless loop.
Fixes bug: 1555642
Change-Id: Ie941ff4d595a375e5fa808703b146e86d4d56e1f
Add a LOG.error(error.message) in the shield decorator to save those
logs in case of an exception.
Resolves bug: 1532772
Change-Id: Ic43a5a7eb048512f6079e56e2230aaa954a1449d
If a client_id does not contains an underscore the ui fails to render the web page,
this commit fix that
Resolves bug: 1524461
Change-Id: I4183af3cad004634a8aff60561f7e1d209504b92
rename _50_freezer.py to _50_freezer.py.example
updated readme to point to freezer launchpad
improved readability for actions and jobs in the ui
Change-Id: Ib07719e5f91443ea6716f940b6b125b872505088
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