2417 Commits

Author SHA1 Message Date
Luke Sneeringer
61dea4de4d Change human credential types.
This commit updates the human credential types from SCM/AWS to "Source
Control" and "Amazon Web Services".
2014-07-16 08:23:47 -05:00
Chris Houseknecht
b743ec2783 Job detail page refactoration
Added scope.$apply to each drawing function in hopes of stopping the blockage or pause that seems to occur on page refresh. Seems to be working. Added ability to pause live event processing by clicking a play or task. Now just need a way to restart it.
2014-07-15 18:17:04 -04:00
Chris Houseknecht
7e538ffcc2 Job detail page refactorating
Switched endless scroll paging to use next URL provided by API. Since the event host_name might be the same for all host events, attempting to use __gt doesn't work reliably anyway, and it turns out there's no need to rebuild the URL on the scroll down event. Now sorting host results by host_name + item to cover cases where host_name is always the same.
2014-07-15 17:11:35 -04:00
Chris Houseknecht
49bb4c567f Job detail page refactoration
Expanded the available info in the less/more job parameter section
2014-07-15 16:25:58 -04:00
Matthew Jones
9f7763ee9f Add options information and linkage for dashboard views 2014-07-15 16:20:28 -04:00
Chris Houseknecht
389c9861d8 Job detail page refactoration
Fixed JS lint errors in event viewer.
2014-07-15 13:56:35 -04:00
Chris Houseknecht
78cec19e78 Job detail page refactoration
Handling play and task parallel arrival seems to be working now. Removed 'search' and 'status' labels from search dialogs. Job events viewer now displays JSON objects as nested tables. Re-ordered host event viewer fields, adding host name, and fixing links so that only the status column is clickable.
2014-07-15 13:49:21 -04:00
Jared Tabor
a35cd2d85e updated fix to resizing of dashboard 2014-07-15 13:15:56 -04:00
Jared Tabor
50d962d666 fixed resizing error with graphs on page load 2014-07-15 12:30:11 -04:00
Matthew Jones
91f26c294a Use utcnow() when filtering jobs for dashboard display 2014-07-15 10:56:32 -04:00
Luke Sneeringer
d293f1fa52 Group things in .gitignore 2014-07-15 08:41:23 -05:00
James Laska
26dfad5d7c Correct jshint failure by adjusting indentation
This change will need to be adjusted when the surrounding conditional is
uncommented.
2014-07-15 08:14:41 -04:00
Chris Church
4f33a01b02 Removed print statement that was just printing 'JHS: Host: Host object' for every object when running migration. 2014-07-14 18:33:21 -04:00
Chris Church
32822f43d3 Include ec2 inventory changes from https://github.com/ansible/ansible/pull/8010 and https://github.com/ansible/ansible/pull/8119 2014-07-14 18:12:07 -04:00
Chris Houseknecht
5b285aced9 Job detail page refactoration
Changed event viewer fields to match the order of field defined in event viewer form.
2014-07-14 18:06:57 -04:00
Chris Houseknecht
238c7093ed Job detail page refactoration
Changed results list title to 'Host Events' and added Item column. Added table header row and applied ellipsis to all columns.
2014-07-14 17:50:01 -04:00
Jared Tabor
3ced24655a fixed pie chart formatting and added text for empty pie chart 2014-07-14 17:14:09 -04:00
Matthew Jones
f56a8c16b0 Give a distinct hostname to satisfy the new unique constraint for job
host summary, show that it is derived from a removed host
2014-07-14 16:08:10 -04:00
Chris Houseknecht
ef9c292df9 Job detail page refactoration
Changed references to host__name to host_name in queries to job_host_summaries.
2014-07-14 15:45:05 -04:00
Chris Houseknecht
b4904a4065 Remove remaining links to job_events and job_host_summaries
Removed links found in fly-outs on inventories, inventory detail hosts, home/groups and home/hosts.
2014-07-14 15:42:08 -04:00
Matthew Jones
6ee61d6c72 Make it to where we can track JobHostSummary objects for hosts that don't necessarily exist in inventory 2014-07-14 15:34:46 -04:00
Jared Tabor
ccc6e16d2e added refresh button to inventory group/host page for when user is not in live mode (websockets disabled) 2014-07-14 14:18:11 -04:00
Chris Houseknecht
f0b1034d29 Job detail page refactoration
Latest changes to job detail page. Making it work with parallel play and task arrivals.
2014-07-14 13:16:13 -04:00
Jared Tabor
82ad3c01c2 added empty circle for blank pie chart, and fixed sizing issue for iphone sized browsers. Added percentage for pie chart 2014-07-14 12:05:32 -04:00
Matthew Jones
1cd3caa986 Reimplement parallel job event processing to increase the speed of
playbook runs within tower
2014-07-14 11:48:22 -04:00
Chris Houseknecht
d7641cb649 Job detail page re-re-refactor
Job events are now being processed in parallel on the server side, which means tasks and plays may arrive before events begin arriving. The UI may be receiving events for play 'A' while plays 'B' and 'C' have arrived. The UI now has to know that it the arriving events belong to play 'A', and it should consider play 'A' to be the active play. Plays 'B' and 'C' should not be displayed until events begin arriving for them.
2014-07-11 17:59:39 -04:00
Chris Houseknecht
20e2ba0d6d Job details page re-refactor continues...
Started adding logic to support parallel processing of plays/tasks. Fixed summary host lit not loading when there is no active play and/or active task.
Now using jobs/N/job_host_summaries.host_name when building host summary list.
2014-07-11 16:41:04 -04:00
Matthew Jones
4b34401ca9 Set the host_name on JobHostSummary when the job host summary is saved 2014-07-11 16:39:59 -04:00
Matthew Jones
f93e60979f Add a host_name field to JobHostSummary and migrate to it, so we have at
least that information in job data if the host has been removed
2014-07-11 16:03:14 -04:00
Jared Tabor
fb9596d00f updated resizing for jobs widget. made host count graph widget hidden if user is not an admin 2014-07-11 15:30:46 -04:00
Matthew Jones
3cd5c40dd5 Move default task management system port to 6559 from 6556 to keep from
conflicting with Nagios plugins
2014-07-11 15:24:14 -04:00
Matthew Jones
6e9becb4b8 Implement icontains filter on job_plays and job_tasks 2014-07-11 15:10:30 -04:00
Chris Houseknecht
a565c72f9f Session Expired -job detail page
For reasons yet to be determined the status field on job_tasks and possibly job_plays may contain 'Token is expired' rather than a numeric return code (i.e. 400, 401, 403, etc.). Changed process_errors to look for this condition and trigger session timeout behavior.
2014-07-11 14:48:01 -04:00
Chris Houseknecht
a7c0c362c3 Dashboard
Renabled the breadcrumb option on list-generator. To have breadcrumbs automagically appear on a page pass breadCrumbs:true.
2014-07-11 14:05:07 -04:00
Chris Houseknecht
6528a91860 Fixed minification error in $log decorator 2014-07-11 11:26:07 -04:00
Jared Tabor
abf134b7ce graph filter and dashboard widget resizing 2014-07-11 09:12:20 -04:00
Chris Houseknecht
1ce4396c2f Styling
Fixed or improved search widget responsiveness on smaller viewports.
2014-07-10 14:00:51 -04:00
Chris Houseknecht
bfc8f89205 Job detail page re-refactor
Fixed host link on event viewer and tooltip on dialog.
Tightened up job tab page row calculation. It now assumes rows will not hit 47px height until width drops to below 1350px.
2014-07-10 13:16:28 -04:00
Matthew Jones
3f53fc97b2 Make sure we don't unnecessarily update hosts and groups when invoking
the inventory computed fields update upon saving the inventory source
2014-07-10 12:35:31 -04:00
Chris Houseknecht
807577abc8 Job detail page re-refactor
Added endless scroll to host event viewer with a page size of 50 rows.
2014-07-10 12:23:44 -04:00
Chris Houseknecht
490d53419e Enable $AnsibleConfig.debug_mode
Angular logging now respects the debug_mode paraemter in the js/config.js file. When set to true $log.debug messages will appear in the browser console. Set to false and they no longer appear.
2014-07-10 11:20:24 -04:00
Chris Houseknecht
fb09a4b693 Job stdout page
Fixed ability to restart automatic scroll-to-bottom while live events are streaming. When user scrolls up during live event processing automatic scroll-to-bottom stops. If user scrolls all the way to bottom, it now restarts.
2014-07-10 11:07:09 -04:00
Chris Houseknecht
c774cc7e33 Host enable/disable fixed. 2014-07-10 00:22:57 -04:00
Chris Houseknecht
9d79f26427 Job detail page re-refactor
Fixed column widths on host summary search dialog.
2014-07-10 00:08:21 -04:00
Chris Houseknecht
429df45cdc Job detail page re-refactor
Fixed column alignment on plays and tasks.
2014-07-10 00:04:39 -04:00
Chris Houseknecht
3ffdb45efe Job detail page re-refactor
Adjusted scroll spinner margin. Fixed js error.
2014-07-09 23:49:14 -04:00
Chris Houseknecht
80c2bed887 Job detail page re-refactor
Wired up host editing.
2014-07-09 23:31:29 -04:00
Chris Houseknecht
b04958ceac Job detail page re-refactor
Improvied table responsiveness. Table header and table body are lining up much better now.
2014-07-09 22:20:28 -04:00
Chris Houseknecht
94e8572695 Fixed js lint issues. 2014-07-09 18:48:07 -04:00
Chris Houseknecht
97f9ebf5ea Job detail page re-refactor
Added icons for host editing. Just need to wire-in the dialog and supporting stuff.
2014-07-09 18:46:30 -04:00