Commit Graph

2509 Commits

Author SHA1 Message Date
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
Chris Houseknecht 69a680a089 Job detail page re-refactor
Fixed z-index conflict between modal dialog and summary slide-out.
2014-07-09 18:35:10 -04:00
Chris Houseknecht cd10ddba08 Logo pixelation
The original logo file size is 79x79. Changed tower size from 42x42 to 41x41. Seems a little bit better. Confirmed that there are no surrounding elements or nearby elements overlapping or infringing upon the logo image boundaries.
2014-07-09 18:25:21 -04:00
Chris Houseknecht cbb9383cce Job detail page re-refactor
Changed the HTML for lists from row/column (bootstrap grid framework) to actual <table> elements. Hopeing to improve the responsiveness. Not sure if it does, but feels like a better strategy.
2014-07-09 18:11:13 -04:00
Chris Houseknecht d24f5d2316 Job detail page re-refactor
Fixed task hostCount value when data is reloaded in response to a search. Now the 'skipped' or not processed gap shows on task progress bars. Added animation to less/more link
2014-07-09 16:56:22 -04:00
Chris Houseknecht e3cea8ff25 Job detail page re-refactor
Wired up new search fields
2014-07-09 15:26:29 -04:00
Matthew Jones 62ecffad0e Invoke update_computed_fields on inventory when an inventory source is
changed in order to pick up on failed/success status on inventory updates
2014-07-09 14:03:07 -04:00
Chris Houseknecht 2ac09a34fb Job detail page re-refactor
Added search dialogs to each list. Now need to wire them.
2014-07-09 11:43:52 -04:00
Chris Houseknecht eac4798c63 Job detail page re-refactor
Fixed event viewer dialog to match old event viewer field groupings. Removed access to job_host_summaries and job_events.
2014-07-09 04:39:01 -04:00