98 Commits

Author SHA1 Message Date
Jenkins
b224700939 Merge "Fixed importError urlresolvers" 2016-03-10 11:54:51 +00:00
Jenkins
c879dc6016 Merge "Add SSL support for freezer-web-ui" 2016-03-04 09:20:25 +00:00
Jenkins
c6709b46c7 Merge "fixed incorrect directory install freezer-web-ui" 2016-03-04 09:17:56 +00:00
Jin Nan Zhang
2d0e1bd479 fixed incorrect directory install freezer-web-ui
Fixed incorrect install DEST when install freezer-web-ui.

Remove the freezer-client install in devstack.

Change-Id: I1d9b463ea668d2649904d1e7f94fb8a5ad7fb072
Closes-Bug: #1552759
2016-03-03 15:43:44 -05:00
Jenkins
4aaaee5999 Merge "This is incorrect url in example doc and conf" 2016-03-03 16:24:42 +00:00
Jin Nan Zhang
9cc4126d52 Fixed importError urlresolvers
ImportError: No module named urlresolvers in horizon.utils.
Fixed this importError use django.core.urlresolvers.

Change-Id: Ia2591675e3ac75b1cf608e7c18ad0c749d530289
Closes-Bug: #1549077
2016-03-01 14:02:05 -05:00
Jin Nan Zhang
ea51d7de62 This is incorrect url in example doc and conf
enable_plugin freezer-web-ui https://git.openstack.org/openstack/freezer-web-ui.git master

change the url to: https://git.openstack.org/openstack/freezer-web-ui

Change-Id: Idf7d58a8a080a2b67477696042fa115ce5cb9a3e
2016-02-29 14:16:53 +00:00
Jin Nan Zhang
e74af2a026 fixed compilemessages error when install use devstack
Can not find freezer_ui module when install freezer-web-ui use devstack.
This is devstack template is not correct.

Change-Id: Ib3df17f6ddc4a6d2d245818091d97407c159d693
Closes-Bug: #1548659
2016-02-23 18:25:55 -05:00
Memo García
a04a1a1767 Liberty guidelines for freezer web ui
Resolves bug: 1546121
Change-Id: I623bdba5e0580feb3950180598bc6b79a0196e36
2016-02-17 17:11:39 +00:00
Memo García
496b3ad47a Add SSL support for freezer-web-ui
Implements bp: ssl-support

Change-Id: I0870ffc9941c013658ed59ae6ae3f9e39a086467
2016-02-10 13:39:40 +00:00
Fausto Marzi
4c5ee4ca57 Add Sphinx doc build
Bump setup.cfg version to 2.0.0 (mitaka)

Change-Id: I3c2d63262a87a7d84bd95640de0140332e3e34ae
Closes-Bug: #1542061
2016-02-09 15:02:05 +00:00
Pierre-Arthur MATHIEU
da9cbb1968 Using a smarter way to get freezer-api URL
By priority:
    - Getting it from the FREEZER_API_URL parameter in the enabled file
    - Getting it from keystone with the provided endpoint type
    - Getting it from keystone with the 'internal' endpoint type
    - Getting it from keystone with the 'public' endpoint type

Resolves bug: 1541933

Change-Id: I7c369ca192f9c3acf551270382abb2bf231abb38
2016-02-04 16:53:33 +00:00
Fausto Marzi
5bac281fcc Align requirements to liberty global-requirements
Change-Id: I00ced6fec4b1748cd64425dd449fa0fd9f848630
1.2.0
2016-01-21 20:00:17 +00:00
Jenkins
d67f5bc931 Merge "Simplify snapshot configuration for actions" 2016-01-18 19:04:52 +00:00
Jenkins
a49a0c6d20 Merge "Fix for sessions that point to non-existing urls" 2016-01-18 18:59:21 +00:00
Jenkins
dd40a9438a Merge "Send max retries, interval and mandatory fields" 2016-01-18 18:58:37 +00:00
memo
94956bade3 Fix api endpoint for action retrieval
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
2016-01-18 10:56:21 +00:00
Memo García
e8756ee635 Simplify snapshot configuration for actions
Resolves bug: 1533707

Change-Id: I4ebc710ebba8a392acc226cc18dcfbd323d08afd
2016-01-14 14:48:09 +00:00
Memo García
c0d59cc838 Fix for sessions that point to non-existing urls
When a session is selected and then deleted, freezer-web-ui breaks by trying to
create a list of clients inside a non-existing session

Resolves bug: 1533705

Change-Id: I460c0abca746e74f2eab78694765ea941406ecf7
2016-01-14 13:51:47 +00:00
Memo García
db813a823e Send max retries, interval and mandatory fields
max retries, max retries interval and mandatory values are not present in
the dictionary that the api gets, this commit fix that by updating the
dictionary with those values

Resolves bug: 1533637

Change-Id: I3be163db0da7e3e84881bb6c3ab378cb1687037c
2016-01-13 12:04:25 +00:00
Jenkins
fc5d38a483 Merge "Add visual clues for mandatory fields in actions" 2016-01-13 11:05:01 +00:00
Jenkins
168cbc22dd Merge "Add keystone 3 support for freezer ui" 2016-01-13 11:04:34 +00:00
Jenkins
00df6a8ffb Merge "Better logging for freezer ui" 2016-01-13 11:02:36 +00:00
Memo García
17f915e032 Enable restore from date in ui
Resolves bug: 1532801

Change-Id: I08dae9b39def792d2f3b0332ed1a7eaaf778eb7c
2016-01-11 13:31:23 +00:00
Memo García
3d7f4226b6 Better logging for freezer ui
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
2016-01-11 11:44:04 +00:00
memo
cd0ff0285a Add keystone 3 support for freezer ui
Implements: blueprint keystone-v3-freezer-ui

Change-Id: Id5f84fe4a26069ce162145826593dd19153bc237
2016-01-08 15:20:55 +00:00
Memo García
9bd1e8089d Add visual clues for mandatory fields in actions
Add * to mandatory fields, usually django forms handle this
but, in freezer-web-ui the rules for mandatory fields varies for
each mode and action, so the implementation has to be manually

Implements: blueprint mandatory-clues

Change-Id: Ied5de01ca19a459a92084e925d8afc396e77aa95
2016-01-07 14:07:23 +00:00
sibaoli
5639930484 Fixes actions list can't be obtained when creating/editing jobs
change the method in get_url for jobs and actions:
1. change "origin" into "href";
2. change the relative path.

Change-Id: I91eeee8988f6ceb6d1b98bee89d6208f66e239ef
Closes-bug: #1524617
2015-12-10 15:08:45 +08:00
Memo García
f64e3fef94 Fix for client_id wihtout underscores
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
2015-12-09 19:15:54 +00:00
memo
b48b27fb8c Remove empty tabs in freezer dashboard
remove empty tab for job edition
remove possibility to add job without interval if start and end date
are provided
show a message when a job is started/stoped

Resolves bug: 1523497

Change-Id: Iff39fc9e813969672eecd48d9084fd100bcf611c
2015-12-08 13:58:08 +00:00
Memo García
f6d896edbf Improved error messages in action ui
Change-Id: I902c7b49697c0fdee9cad38800eee975eab54498
2015-11-28 18:31:32 +00:00
Memo García
2cc46f5886 Improved cinder and nova backups ui
Simplified ui for linux snapshots

Change-Id: I18c6350a217327c6fe924373ab104441cf82dc0c
2015-11-28 12:49:34 +00:00
memo
1435d33732 General dashboard enhancements
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
2015-11-26 15:03:01 +00:00
Jenkins
0e1c12a475 Merge "Restore from swift, local and ssh from the dashboard" 2015-11-26 13:58:07 +00:00
memo
3ee62d17a1 Prevent job creation without clients
Freezer dashboard now prevents a job creation without a client attach to it

Change-Id: I1cc904d2dd4b4c48c20ca5e979f92375947b2b81
2015-11-26 11:45:43 +00:00
memo
1c5a79cdef Restore from swift, local and ssh from the dashboard
Restore a backup from the dashboard now supports different storage media to restore from

Change-Id: I303785be5c212c3c30f41d8c3dbf1c23f7818b73
2015-11-25 14:35:35 +00:00
memo
3cce1e3d3b Bug fix while editing actions with missing keys
If a key is not present in the database, the panel failed to open the modal
windows for edition, this fix that by using the dict.get()

Change-Id: Ic5f5e216828f10d41f288408fc5109dc004c6ab9
2015-11-18 14:43:22 +00:00
Erno Kuvaja
3c55df31d2 Fix versions for Liberty
Change-Id: I6bcd9b1d3462ccf9b35119c571ec57d9aa548578
2015-11-17 15:26:40 +00:00
Fausto Marzi
6a031fb07e Bumping version for release kilo and pypi release
Change-Id: I4d2c8f3ba15bdf0521b55701df6a29f58756bb69
1.1.3
2015-11-13 13:57:13 +00:00
memo
b08558eba4 Improved horizon dashboard for freezer
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
2015-11-12 16:21:27 +00:00
memo
26f1deb396 Added LICENSE file to freezer dashboard
Change-Id: I4e5ff4d7356eb2ef806365fc344f08dba5115cc5
2015-11-09 17:10:00 +00:00
Jenkins
6f7cc9621e Merge "ApiClient now looks for internalURL" 2015-10-19 20:48:08 +00:00
Jenkins
a81c493ee0 Merge "Quick fix for backups" 2015-10-19 20:46:11 +00:00
memo
a31b3bb02c ApiClient now looks for internalURL
instead of retrieving publicURL endpoint for freezer-api, the web ui
looks for the InternalURL to avoid https issues

Change-Id: I2e655c81558c9b382c355927b69116a6c13a455f
2015-10-19 20:23:47 +00:00
memo
6fee7f5b49 Quick fix for backups
backups views now are wrapped in try except block
readme was updated to point to openstack repos
remove sys.path from _50_freezer.py

Change-Id: I917c33a1d8df04173acddc8eecf23f8bf8a22390
2015-10-19 21:22:19 +01:00
memo
571887fb0b Prepare setup.py to use wheel
Change-Id: I3ffa6492e828f2076048b7ee33975104cb15bf84
2015-10-19 20:16:55 +00:00
Jenkins
ba5ede7196 Merge "Add freezer as a dependency from source" 2015-10-19 20:14:32 +00:00
Jenkins
3839fffe57 Merge "Added logging to freezer-web-ui" 2015-10-19 20:14:14 +00:00
Jenkins
2c52efb37c Merge "Add .gitreview" 2015-10-19 20:13:56 +00:00
memo
544dc999a8 Add freezer as a dependency from source
Change-Id: I553632f5613a79a9d4f30bb98e2f61ce9865fbab
2015-10-19 20:52:50 +01:00