1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-05 05:51:21 +03:00
Commit Graph

926 Commits

Author SHA1 Message Date
Chris Church
1d3bd62bd2 Update callback plugin to use API, remove inventory/callback management commands. 2013-06-20 12:44:51 -04:00
Chris Church
59d1ae7322 Work in progress on inventory script using API. 2013-06-20 04:20:59 -04:00
chouseknecht
65defb75fb Modal dialog button color tweaks 2013-06-19 17:20:35 -04:00
chouseknecht
7303107450 Modified styling of modal dialog. 2013-06-19 17:12:50 -04:00
chouseknecht
15b720b42b Link from Inventories tab, hosts, Failed events now redirects to /jobs/N/job_events?host=<host_name>, displaying most recent job events for the host. 2013-06-19 15:20:23 -04:00
chouseknecht
6b8deab753 Job Event detail is now displayed in a modal dialog. Inside all modal dialogs displaying a form, reduced amount of space given to field labels and expanded amount of space given to text area fields. 2013-06-19 13:03:17 -04:00
chouseknecht
11e16dfdfc Fixed additional pagingation issues. Should be good now. 2013-06-19 11:18:56 -04:00
chouseknecht
7392e59f3b Fixed pagination issue that generated broken URL request. 2013-06-19 10:46:23 -04:00
chouseknecht
964a523daf Limited filter on Job Events page to only those fields that make sense: Host and Status 2013-06-19 10:22:51 -04:00
Chris Church
85a483a6fb Update API/admin to accept either JSON or YAML for inventory/host/group variables. 2013-06-19 01:39:43 -04:00
chouseknecht
9c6a20d4c7 On Job Events page, Event and Host columns now have a min-width css setting to help prevent 'jump' when collapsing/expanding children. Fixes the jump, but sort of wrecks the TB's responsive layout on small screens. May have to circle back and add media query at some point. 2013-06-18 18:33:16 -04:00
chouseknecht
9d4a2f528e Fixed missing host and status values on Job Events page. 2013-06-18 18:12:28 -04:00
chouseknecht
2abd33cf22 Collapse/expand job_events list using the api parent/child relationship 2013-06-18 17:20:52 -04:00
Chris Church
c9da8294df Fix to only specify sudo user if explicitly given by the credentials, so as not to force the playbook to require sudo privileges to run. 2013-06-17 19:48:09 -04:00
Chris Church
0dbb737f20 Added setting for using minified JS in production. 2013-06-17 12:31:26 -04:00
Chris Church
232c4f2391 Added job event parent/child fields, update event display to show hierarchy levels. 2013-06-17 12:28:21 -04:00
chouseknecht
c979817593 On lists searchField now has precedence over sourceModel/sourceField when generating search query string. 2013-06-17 11:40:51 -04:00
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