1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00
Commit Graph

409 Commits

Author SHA1 Message Date
Chris Church
f9b385bed2 Fix tests to pass when using PostgreSQL as the test database. 2013-06-16 00:07:03 -04:00
James Cammarata
ca4050aee8 Adding ability to run "make rpm" 2013-06-15 22:02:30 -05:00
Chris Church
c6cb86321e Renaming some views for somewhat consistent naming, add hosts/N/groups and hosts/N/all_groups views, removed creation_date field from seralizers. 2013-06-15 00:16:56 -04:00
Chris Church
e435951fe4 Added config resource with project base dir and local paths, various other API cleanup. 2013-06-14 23:15:31 -04:00
Chris Church
abd81b7492 Added variable data field and resource on inventory. Updated inventory script to output inventory variables for the 'all' group. 2013-06-14 20:09:55 -04:00
chouseknecht
d47ea40d60 Re-styled tree pieces on Inventory detail page. Blended boxes on left into one continuous box to match box on right. 2013-06-14 15:16:41 -04:00
chouseknecht
0cf6faaff4 Added use of new Column helper to BuildCollections. 2013-06-14 14:52:13 -04:00
chouseknecht
6ea2fa4462 Combined more pieces of List Generator and Form Generator into shared helpers to streamline and re-use code for creating lists. 2013-06-14 14:48:22 -04:00
chouseknecht
ab9b9f84c5 Synced code between list view and related list view. Column displaying icon with text rather than actual value (i.e. true/false for has_active_failures) works consistently. Changed icon and text for our has_active_failures column -preparing it to link to hosts/N/job_events data. 2013-06-14 12:17:31 -04:00
chouseknecht
703bc0fca1 Latest UI changes 2013-06-14 10:08:41 -04:00
Chris Church
c526f58098 Updates to work with REST framework 2.3.x, update browseable API style to mimic UI. 2013-06-14 04:13:34 -04:00
chouseknecht
e5737cae46 Inventories tab list shows Failures. Added Failures to detail form. 2013-06-13 16:15:39 -04:00
chouseknecht
6806619e98 On inventory tree widget, has_active_failures turns node text color to red. Checkbox at bottom filters nodes based on value of has_active_failures. 2013-06-13 16:08:17 -04:00
Chris Church
365a21f103 Added has_active_failures as database field on Inventory, Group and Host models. 2013-06-12 23:57:30 -04:00
Chris Church
6557fb33f3 Updated inventory script to only return active groups and active hosts for active inventories. 2013-06-12 22:37:25 -04:00
Michael DeHaan
6f43190b2b Fixup makefile 2013-06-12 16:13:34 -04:00
chouseknecht
614607fd0e Added has_active_failures to Hosts view under Inventory detail. There is now a Failures column. A red dot (icon-circle) displays for hosts where has_active_failures == true, otherwise the column is empty. 2013-06-12 16:12:32 -04:00
chouseknecht
3bb0323b02 Applied list search widget changes (dropdown, boolean, int, etc) to related sets search widget. Fixed desc sort order and desc sort icon display for related set page load. Added job status with icon and color styling to Job Templates related jobs. 2013-06-12 14:57:39 -04:00
chouseknecht
4ac2a98eda Fixed list generator to display the desc icon when list key has desc attribute. See jobs tab for example. When first loaded, the jobs list is sorted by job id in desc order, so the desc sort icon now displays in the job id column header. 2013-06-12 11:52:10 -04:00
chouseknecht
e1d714a335 Fixed extra_vars on job_templates and jobs detail pages. No longer attempts to compile string into a JSON object. Assumes user will enter valid JSON or key=value pairs. Updated help text to reflect this and link to ansibleworks.com documentation on --extra-vars parameter. 2013-06-12 11:10:16 -04:00
chouseknecht
c8c9e62b4c Added YAML support to Host and Group variable data. User can enter variables in either format, UI will parse it and send to API as JSON. Fixed post to /hosts/N/variable_data and /groups/N/variable_data so that JSON is sent as an object rather than a string. 2013-06-11 17:23:54 -04:00
Chris Church
65c8176507 Added tarballs for third-party Python dependencies, updated requirements, added optional django-debug-toolbar support. 2013-06-10 21:54:42 -04:00
Chris Church
bbdfe8bc46 Minor fix for host has_active_failures field, indentation on custom_filters file. 2013-06-10 21:51:44 -04:00
chouseknecht
49ca140e30 Set DEBUG back to True 2013-06-10 18:37:58 -04:00
chouseknecht
9e9e41db35 Script for building minified javascript using closure compiler 2013-06-10 18:32:52 -04:00
Chris Church
cba55a061a Numerous model-related updates and supporing changes, including:
- Add variables field on Host/Group models and remove separate VariableData model.
- Add data migrations for existing variable data.
- Update views, serializers and tests to keep roughly the same API interface for variable data.
- Add has_active_failures properties on Group/Host models to provide indication of last job status.
- Add job_tags field on JobTemplate/Job models to specify tags to ansible-playbook.
- Add host_config_key field to JobTemplate model for use by empheral hosts.
- Add job_args, job_cwd and job_env fields to Job model to capture more info from running the job.
- Add failed flag on JobHostSummary model.
- Add play/task fields on JobEvent model to capture new context variables from callback.
- Add parent field on JobEvent model to capture hierarchy of job events.
- Add hosts field on JobEvent model to capture all hosts associated with the event (especially useful for parent events in the hierarchy).
- Removed existing Tag model, replace with django-taggit instead.
- Removed existing AuditLog model, replacement TBD.
2013-06-10 17:34:37 -04:00
chouseknecht
7b0bbff376 Added Datatables.net style sorting to all lists and related lists 2013-06-07 16:50:07 -04:00
chouseknecht
e58e80bbad All tables (lists and related lists) hightight current row on hover. Hover over a row and the background turns white. 2013-06-06 19:14:04 -04:00
chouseknecht
9a98b4f573 Cleaned up verbosity drop down options to match AC-104. Applied all Job Template changes to Job detail page. 2013-06-06 18:50:45 -04:00
chouseknecht
9373fbca61 Inventory clean up. Found a couple bugs when adding existing hosts to a group. 2013-06-06 18:16:13 -04:00
chouseknecht
5ca6910612 Dismiss tool tip dialog when escape key is pressed. 2013-06-06 17:50:00 -04:00
chouseknecht
ca4e85bb09 Added tool tips to job type, forks, limit and verbosity fields on Job Templates detail page. 2013-06-06 17:29:01 -04:00
chouseknecht
47595e67f0 On Job Template add page, move slider handle back to default value if Reset button clicked. 2013-06-06 15:06:28 -04:00
chouseknecht
93e9c7a24d Created an Angular slider directive to support JQueryUI slider widget. Job Template page now uses a slider for Forks value. User can set the value with the slider or type in a value btwn 0 and 100. Additionally turned verbosity into a drop-down. 2013-06-06 15:01:23 -04:00
chouseknecht
c7748999d8 Supplied missing labels and button tool-tips on related sets. 2013-06-05 16:25:15 -04:00
chouseknecht
933ebbb8b6 Removed Hint from Users tab, since users can now be added directly rather than navigating through the Organizations tab. 2013-06-05 16:17:37 -04:00
chouseknecht
5a22f3b955 Applied change to all list controllers to remove success class after page refresh. If the list was previously used to make a selection, there won't be any remnants or reminders of the selection next time the list is visited. 2013-06-05 16:13:25 -04:00
chouseknecht
135d4db94b Users can now be added from the Users tab. 2013-06-05 15:02:27 -04:00
chouseknecht
69a6fc75fb Moved Credentials related set to the top. The is the one set user can modify, so lets make easier to access. 2013-06-05 10:29:45 -04:00
chouseknecht
a33d90de83 Added support for button labels and tool tips on related sets. 2013-06-05 10:26:53 -04:00
chouseknecht
540ad1ad47 Clicking host name on Inventory detail page now works correctly. Host is displayed in a modal dialog, allowing user to make changes and save. 2013-06-05 09:57:05 -04:00
chouseknecht
6dba6bbdb9 Fixed organization lookup on Inventory Edit section of Inventory detail page. 2013-06-04 19:19:44 -04:00
chouseknecht
2accb94972 Hosts side of inventory detail page now working through modal dialogs. Fixed pagination on modal list. Test Add/Edit/Delete host buttons. Only piece left is to fix the host name link, which should bring up the Edit dialog. 2013-06-04 19:12:28 -04:00
chouseknecht
4575faf831 Tree drop-down menu now works. Right clicking node and selecting menu option now fires modal dialogs. Using same code as buttons near top-right corner of tree. Clean-up code for deleting a node. It now correctly inspects parenet of selected node and uses either /inventory/N/groups or /groups/N/children to POST the disassociate request. 2013-06-04 11:32:21 -04:00
Chris Church
ec986f4ebe Fix for root groups to actually show only the groups with no parents. 2013-06-04 11:17:23 -04:00
chouseknecht
a29e60b533 Tree refresh is working for the Group Add and Group Edit buttons. Tree is refreshed and opened back to the previously selected node and the host view is left in the correct state. 2013-06-03 18:05:34 -04:00
chouseknecht
eca7b3888f Inventory add/edit/delete group buttons now working. Inventory detail form now maintains values independently so common fields such as Name and Description do not get overridden by Group Add/Edit modal dialog. 2013-06-03 12:59:35 -04:00
chouseknecht
b19e1dd97a Moved inventory detail load procedure from inventory controller to the helper so that it can be called when the detail page first loads and anytime we need to refresh tree data. Working on a way to refresh tree data, re-open previously open nodes and re-select previously active node after add/edit/delete of a group. Any change to tree data should be instantly reflect in the tree in an ajax/async fashion. 2013-06-03 07:08:08 -04:00
chouseknecht
9ca489d5ab Inventory UI changes. Added action buttons to tree. Removed All Hosts group from tree (click on Inventory root node to see All Hosts). Added Create/Select buttons to hosts list. Preparing to move group/host views to modal dialog. 2013-05-31 23:02:18 -04:00
chouseknecht
e121235ba9 Latest inventory detail page modifications. 2013-05-30 18:12:36 -04:00