95 Commits

Author SHA1 Message Date
Jenkins
da5e913019 Merge "Render roles without images differently" 2015-03-06 12:32:53 +00:00
Jenkins
059009ebc8 Merge "Make the flavor labels translatable and matching the wireframes" 2015-03-06 10:51:35 +00:00
Jenkins
729d883a1a Merge "Add global service configuration dialog" 2015-03-04 12:01:59 +00:00
Radomir Dopieralski
e664b0eb57 Avoid division by zero when calculating distribution
In case when there are no nodes.

Change-Id: I20ae51f3d47d1605b4da9fd3610744a0c8907d91
2015-03-02 12:00:57 +01:00
Radomir Dopieralski
605548a900 Make the flavor labels translatable and matching the wireframes
Change-Id: I9a089e757d3b07121abaa8d51023a7627214052f
2015-02-27 11:41:38 +01:00
Radomir Dopieralski
1d56365d2e Add global service configuration dialog
Change-Id: Id1dad3c61dc3b6749cd9b591e7c9ca53296ee31a
2015-02-25 16:32:10 +01:00
Jenkins
af62f04147 Merge "Siwtch the 'validation' and 'roles' columns" 2015-02-25 12:04:47 +00:00
Jenkins
d75c48e52c Merge "Display flavorless nodes, hide the node counts" 2015-02-25 11:42:14 +00:00
Radomir Dopieralski
5d684b79ef Render roles without images differently
Change-Id: I8b595bde1dc242094614b64af104e3e4d7d4c0d8
2015-02-25 11:02:55 +01:00
Radomir Dopieralski
d2239130c7 Display flavorless nodes, hide the node counts
Change-Id: I769e28ed6accfd03a2c56d8365bb8f0e70107aa2
2015-02-24 15:42:11 +01:00
Radomir Dopieralski
46d437acb9 Siwtch the 'validation' and 'roles' columns
Change-Id: Icd592e7579c67d586c6cc642ced581453c5caaa7
2015-02-24 15:14:50 +01:00
Radomir Dopieralski
adc4a27baf Add more buttons to the overview page
* Register nodes
* Global config
* Edit button on unassigned roles
* Remove button on assigned roles

Change-Id: I516c8d4c705b1756342f85b09d98c70b25672258
Note: the global config dialog is not ready yet, so the button doesn't work.
2015-02-20 15:24:46 +01:00
Radomir Dopieralski
ee9ac669a7 Inherit from node/urls.py and extend it
Change-Id: I938885ef7c1f2af449ee7efa6f75d84c27264299
2015-02-20 14:51:02 +01:00
Jenkins
0327ce0a57 Merge "Add a link to the installation instructions to the README" 2015-02-05 13:46:29 +00:00
Radomir Dopieralski
e6d5bcfbb9 Add a link to the installation instructions to the README
Change-Id: I271e3b01bdaf061d8fec28ae63654b79b80d606b
2015-02-03 11:48:34 +01:00
Radomir Dopieralski
04f7121415 Fix a syntax errors in the docs
Also, fix the title

Change-Id: I775e83da13b4c6762a82f27f1c735b33d01eec99
2015-02-03 11:00:40 +01:00
Jenkins
86b1977609 Merge "Simple test for the tuskar.boxes_progress" 0.0.3 2015-01-26 13:55:07 +00:00
Jenkins
3f43c3ab4f Merge "Some basic unit tests for the tuskar.boxes js module" 2015-01-26 13:47:42 +00:00
Jenkins
67a52dc978 Merge "Reset role's nodes to 0 if it has no flavor" 2015-01-26 13:43:24 +00:00
Jenkins
9537fa746b Merge "Add test infrastructure for QUnit tests" 2015-01-26 13:41:40 +00:00
Jenkins
35c66fade2 Merge "Add is_updating status handling" 2015-01-26 13:41:18 +00:00
Jenkins
6e48b885c3 Merge "Get rid of the "with" warnings in tests" 2015-01-26 13:27:03 +00:00
Jenkins
45e1592362 Merge "Extended documentation on SAT6 integration" 2015-01-26 13:17:22 +00:00
Lennart Regebro
cf0ed7198a Extended documentation on SAT6 integration
Change-Id: Ife676bf3dd144faa84b706b574ad22cf7e92f9bf
2015-01-23 16:26:36 +01:00
Lennart Regebro
9b8dfc4a8c Various SAT6 integration fixes
Updated the API calls, the MAC address had to be uppercase and in quotes.
The URL in the errata rendering works now.
Moved the configuration into local_settings.py.

Change-Id: Ib596bfd334a8b97be5bd4cdd6ecde03706863a73
2015-01-23 16:21:25 +01:00
Radomir Dopieralski
17b976a089 Reset role's nodes to 0 if it has no flavor
Also, use names instead of ids for refering to flavors

Change-Id: I523772cbb90919cdc09bbce1d8da8bef60f7f74f
2015-01-23 11:23:03 +01:00
Jenkins
ccebd5bf2f Merge "Fix call of _get_errata_data" 2015-01-23 09:22:56 +00:00
Radomir Dopieralski
4004c9b260 Simple test for the tuskar.boxes_progress
Change-Id: Iefd934c042cfceb079094edfda9526621c9a4eeb
2015-01-22 14:42:54 +01:00
Radomir Dopieralski
4c4c948b05 Some basic unit tests for the tuskar.boxes js module
Change-Id: I6b15ec7d818ad7d314954674641983a6c5ff8033
2015-01-22 14:41:54 +01:00
Radomir Dopieralski
3e4c1fe168 Add test infrastructure for QUnit tests
With a single example failing test.
The tests are only available when debug is enabled.

Change-Id: I2f3b2933d3cf3c8bf4343dfd57e3da8d356bd32b
2015-01-22 14:41:40 +01:00
Radomir Dopieralski
5fd74363f3 Add is_updating status handling
Change-Id: Iff0f32ae52ce8ad4031b81a66729e53c629e8132
2015-01-22 14:40:42 +01:00
Radomir Dopieralski
40b15ad3ec Move tarballs to the top of test-requirements.txt
Because otherwise django-nose pulls in the wrong version of Django.

Change-Id: Ic4e58a56d3b59a85b609eb81183cfd8c2462e51a
2015-01-22 14:39:50 +01:00
Ana Krivokapic
151e1e093c Correctly display role-flavor association
Role/flavor association wasn't correctly displayed on the overview page.

Change-Id: I7d64f9444911f6e9fbcb810806231f2ef5c5710e
2015-01-15 17:37:52 +01:00
Ana Krivokapic
469123e578 Fix call of _get_errata_data
Function was called incorrectly.

Change-Id: I9696d02218c4fe618af4e343f73836e3c72e502b
2015-01-12 14:24:09 +01:00
Lennart Regebro
6965d80958 Changing requirements to versions compatible with RHEL7
Change-Id: Ie31150642518a5891be4fe32159b8d233bf7b2ef
2015-01-09 18:07:30 +01:00
Radomir Dopieralski
337e79d712 Get rid of the "with" warnings in tests
Since we are now Python 2.7 only, we can use the "multiple with" statement
as the build-in warning tells us. The resulting code is fugly, but what do
I know.

Change-Id: I3b13c42f6b13c3180721d848923cdc0f05654fe5
2015-01-09 12:27:42 +01:00
Jenkins
c0daa7faaa Merge "Show popups on node boxes everywhere" 0.0.2 2015-01-09 09:41:44 +00:00
Radomir Dopieralski
da9c7e708e Support POC mode correctly
In the POC mode, only one flavor is displayed and the nodes
are matched to the flavor using <= operator.

Change-Id: I406955ed37760cf2a565d6cc722e04ce8eb9c06b
2015-01-08 13:37:50 +01:00
Radomir Dopieralski
466a8a4dd6 Show popups on node boxes everywhere
The patch that added popups on node boxes skipped the
progress and live deployment views. This patch makes sure
the popups are displayed on all the node boxes on all views.

It also makes sure that the nodes information is available
even when there is no stack -- for the undeploy progress page.

Change-Id: Ib5bd428f9ba4d7b324c2b0fa4421994c4e3165c7
2015-01-08 12:30:44 +01:00
Jenkins
6118c69c10 Merge "Fix alignment of the edit role icon in the plan edit view" 2015-01-08 11:27:52 +00:00
Jenkins
8984296e4c Merge "Nodes boxes did not display in ajax updates on progress" 2015-01-08 11:21:02 +00:00
Radomir Dopieralski
bea0470a0b Basic view tests for tuskar_boxes
Just checking that the pages actually display and use the right templates

Change-Id: Ibb5f55c25510921e49485961f71fb22e7f8f8bc1
2015-01-05 11:01:30 +01:00
Radomir Dopieralski
fafac51333 Nodes boxes did not display in ajax updates on progress
Make them show

Change-Id: Idccfe7dbbc27fa643e89b70c1b7df1c7d947e1d2
2014-12-18 10:07:02 +01:00
Radomir Dopieralski
a2a5fe4db6 Fix alignment of the edit role icon in the plan edit view
* Aligment done with grid, not pull-right
* Correct color for the icon
* Showing/hiding done with CSS not JS
* Repeated part of the template moved to an include

Change-Id: I3e1c81b885f9b0df11d7826d8c26dcf24d622e01
2014-12-18 09:21:13 +01:00
Ana Krivokapic
33caa32d4e Show system load from last hour on overview page
Overpage was showing the system load from last day. Instead,
we want to show the system load from last hour.

Change-Id: I95841b551cc8ae3593f648299e75a579fcdbbb7d
2014-12-11 18:34:48 +01:00
Radomir Dopieralski
592be3c8af Scale the node boxes when there are lots of them
The first shrinkage happens when there are 25 nodes, and it makes the
boxes half the size (4 times smaller area-wise). The next one is at
100 nodes (when they have roughly the same area as the first one), and
makes them 1/4 the size (16 times smaller area-wise). The next step would
happen at 400, but then they would be too small.

Change-Id: I414bd8724e12891228c81e7f71549d08ae207753
0.0.1
2014-12-10 14:25:25 +01:00
Radomir Dopieralski
83d4107efb Make the live deployment view match wireframes
* Add system load graphs
* Add node distribution
* Remove node status

Change-Id: Ic240d65c681bdc9948057e71577b207f75c96e56
2014-12-10 14:18:25 +01:00
Ana Krivokapic
fea1a5e9a5 Add node counts to the plan edit view
Change-Id: I531095cb150e9c09e8a3d8c9e43ffd039981120d
2014-12-10 11:46:59 +01:00
Jenkins
10f7fa4a95 Merge "Display node information in a popup over the node boxes" 2014-12-09 14:16:24 +00:00
Ana Krivokapic
fff9fcd52a Add edit role icon to the plan edit view
Change-Id: Iaa3cd7bcb7c5a6ae397b2951923a5470d2cbe429
2014-12-09 14:14:35 +00:00