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

2278 Commits

Author SHA1 Message Date
Matthew Jones
9da4b8f336 Add unreachable counts to job tasks endpoint 2014-06-30 16:01:52 -05:00
Matthew Jones
8d423cf82e Fix a corner case where a job failure could kill the task manager
because the job failure couldn't grab some extra info for the socketio
service

Fixes: https://trello.com/c/XdjJEhJ0/68-socketio-trackebac
2014-06-30 15:13:45 -05:00
Chris Houseknecht
57443141c9 Job launch
Fixed job launch of job templates page.
2014-06-30 14:23:23 -04:00
Chris Houseknecht
64bfd6ce26 Job detail page refactor
Changed 'successful' to 'OK' throughout the page. Also fixed status tool tip text on unreachable hosts to be 'Unreachable' rather than 'failed'. Fixed tool tips on Plays and Tasks so that they updated in sync with status changes.
2014-06-30 13:15:58 -04:00
Matthew Jones
e627ee0711 Implement a recycling process for consuming job events to keep from
dealing with a constantly growing heap deep in python land
2014-06-30 10:04:13 -05:00
Chris Houseknecht
99c0b089ea Job detail page refactor / dashboard
Removed sort on status field.
2014-06-30 10:21:39 -04:00
Chris Houseknecht
5d1b5624e3 Dashboard
Fixed missing search dialog on jobs list.
2014-06-30 10:12:50 -04:00
Chris Houseknecht
87a74f058f Job detail page refactor / Dashboard
Turn off stdout icon for SCM update and inventory sync job types.
2014-06-30 09:35:10 -04:00
Chris Houseknecht
c40bd0c430 Dashboard
Fixed broken log viewer for SCM update and inventory sync type jobs.
2014-06-30 09:24:27 -04:00
Chris Houseknecht
0473251886 Job detail page refactor
For SCM update and inventory sync job types, clicking on job details now gives you the log viewer dialog rather than attempting to load the job detail page and ending in error.
2014-06-30 09:19:15 -04:00
Chris Houseknecht
cd56906a2b Job detail page refactor / Dashboard
Made column sizing consistent across all job list objects.
2014-06-30 09:06:25 -04:00
Chris Houseknecht
878471bb76 Job detail page refactor
Moved drawing frequency to 2 seconds.
2014-06-30 08:52:15 -04:00
Chris Church
0622dd101c Support caching for ec2 inventory sync to avoid unit test failures. 2014-06-28 18:16:37 -04:00
Chris Church
c918dfe307 Fix for traceback when using nested groups. 2014-06-28 18:16:36 -04:00
Chris Houseknecht
a34563eef3 Dashboard
Fixed js lint issue
2014-06-27 16:10:35 -04:00
Chris Houseknecht
8477cb150e Dashboard
Built the job status dashboard widget.
2014-06-27 15:41:50 -04:00
Chris Houseknecht
d46aa1c4de Dashboard
Removed includes for old widgets. Reverted JobStatus widget back. Added new job status code to the new job status widget.
2014-06-27 13:56:03 -04:00
Matthew Jones
1e00529fac Fix an issue where we weren't creating job events for hosts that didn't
exist in our inventory
2014-06-27 13:47:48 -04:00
Chris Houseknecht
f1b017f0a4 Job detail page refactor
Fixed bug on play counts that caused them to always be zero when loading from API.
2014-06-27 13:44:18 -04:00
Matthew Jones
92117ae460 Copy socket list in place to prevent a runtimeerror when the socket list
gets updated in the middle of notifications

Fixes https://trello.com/c/Q0bwCU9R/61-traceback-from-run-socketio-service
2014-06-27 13:21:52 -04:00
Jared Tabor
dc661e6ba5 fixed index.html after deleting 'NewDash.js 2014-06-27 12:20:39 -04:00
Chris Houseknecht
64f5bc7610 Job detail page refactor
Changed host query from excluding things where host_id not null to including all runner events. This is to accommodate the temporary creation of hosts during a playbook run.
2014-06-27 12:16:11 -04:00
Jared Tabor
25e79fc3f8 refactored code so dashboard widgets are independent of each other 2014-06-27 12:12:26 -04:00
Chris Houseknecht
8c616e1004 2.0 style changes
Attempted to remove the dashed outline around active or focused links. CSS outline property is supposed to control this. However, FF ignores and adds a dashed line anyway. Seems like a FF bug.
2014-06-27 11:40:37 -04:00
Chris Church
fcf41d74cf Add test license for ec2 import to make jerkins happy. 2014-06-26 18:02:08 -04:00
Chris Houseknecht
3bfd29a631 Job stdout page
Fixed endless scroll, both up and down. It now models the Jenkins behavior. If live events are happening, it captures and displays them, always auto-scrolling down. If user srolls up, live events continue to be captured but auto-scrolling is suspended. If user scrolls all the way back down to bottom, auto-scrolling resumes.
2014-06-26 17:12:38 -04:00
Chris Houseknecht
873ee48c5e Retinafied favicon
Pulled in the better favicon version submitted by mwarkentin for the doc site: https://github.com/ansible/ansible/pull/7371
2014-06-26 15:19:44 -04:00
Chris Church
7229f9cc8f AC-1302 Update EC2 inventory script to create hierarchical groups.
Conflicts:
	awx/main/tests/inventory.py
2014-06-26 14:54:51 -04:00
James Laska
f377a03c60 Sort pep8 ignores 2014-06-26 13:03:16 -04:00
Matthew Jones
6dbff4e012 Restructure pep8 configuration and document it for what we exclude 2014-06-26 12:18:54 -04:00
Jared Tabor
28bddeda31 fixed jslint messages from earlier commit 2014-06-26 11:44:58 -04:00
Matthew Jones
d4ef57bab6 Add absolute end value for limited json stdout view 2014-06-26 11:21:03 -04:00
Chris Houseknecht
745eb00b3f Job stdout scrolling
Started adding bits to detect when user scrolls up. When that happens stop showing live events.
2014-06-26 11:02:40 -04:00
Matthew Jones
7ecbe727ca More fix up for job event aggregation filtering 2014-06-26 10:51:44 -04:00
Jared Tabor
e5a89ff976 initial dashboard changes added to home view
added newDash.js, dummy data files, and nv.d3.js
2014-06-26 10:32:36 -04:00
Chris Houseknecht
2d642c58d7 Job detail page
Added dialog for viewing host results and a bunch of formatting. Linked host summary to job_host_summaries page (yes, that still exists). Host results now shows 'skipped' hosts with a blue icon rather than green.
2014-06-26 04:40:09 -04:00
Chris Houseknecht
fa3896ccb8 Jobs page
Changed Job ID label to ID.
2014-06-25 22:52:35 -04:00
Chris Houseknecht
73255eace9 Job detail page refactor / 2.0 style changes
Removed well and index from primary list pages. Job detail page cleanup. Fixed status filter on host summary list. Incresed # rows kept in memory for each list to 100. Showing unreachable host count on the play, mostly to help debugging.
2014-06-25 22:45:16 -04:00
Matthew Jones
ed9bb6c572 More filtering fix ups 2014-06-25 17:14:31 -04:00
Matthew Jones
29e698eb41 Support lt filtering on job_tasks and job_plays also 2014-06-25 17:04:56 -04:00
Matthew Jones
d9e9a88d3c changed and failed are elements on the jobevent model and we should use those 2014-06-25 17:01:39 -04:00
Matthew Jones
7a9c1a5916 Fix an inconsistent variable usage in the job tasks view 2014-06-25 16:30:58 -04:00
Chris Houseknecht
3516ad4b98 Job detail page refactor
Re-enabling a count of the possible hosts that should report status on each task. As live events happen increment a count stored on the play. Only increment when hosts are reporting for the first task of the play, and only increment if the host status is in: successful, changed, skipped or failed. Added the total to the plays list as 'Reporting Hosts'.
2014-06-25 16:24:30 -04:00
Matthew Jones
8c502478a0 Allow taking the ordering parameter in the unit tests for the decorator 2014-06-25 14:54:32 -04:00
Matthew Jones
053bb4eeb0 Add ordering and various filtering for job events as requested by AC-1349 2014-06-25 14:27:06 -04:00
Chris Houseknecht
e4fd79f653 2.0 style changes
Fixed drop-down account menu so that it no longer behaves like a drop-down when the menu collapses on small viewports. On large screens added a right margin to the drop-down menu. Moved Logout to the bottom of the submenu. On large screens the drop-down now includes a divider above the logout option.
2014-06-25 12:59:58 -04:00
Chris Houseknecht
994c87eb0c 2.0 style changes
Fixed collapsed menu on small viewports. On a small viewport the web socket beacon now displays to the left of the menu button. On large screens it appears as part of the menu.
2014-06-25 12:41:26 -04:00
Chris Church
3b9fe8b954 Fix failing rax unit test, nly check that enabled flag is set on hosts that were previously enabled insead of all hosts. 2014-06-25 12:35:50 -04:00
Chris Houseknecht
04f0ea409b Job detail page refactor
Fixed auto-resize. The page now differentiates between plays, tasks and host results when allocating space. The play list gets the least amount of space. Tasks receives slightly less than it used to but more than plays. Host results gets the most space at nearly 2x what it received previously.
2014-06-25 11:58:49 -04:00
Chris Houseknecht
5ee176e451 2.0 style changes
More work on status area of job detail page. It now collapses perfectly as viewport size shrinks.
2014-06-25 11:54:11 -04:00