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

2439 Commits

Author SHA1 Message Date
Chris Church
48afe188b2 Fix to return hosts without a group in the 'all' group from inventory script view. 2014-07-18 13:28:23 -04:00
Matthew Jones
e35a530dbb Rename from schedule_change to schedule_changed to fit our socketio motif. 2014-07-18 13:24:38 -04:00
Jared Tabor
b35da4557f added link to monitoring page in the account dropdown menu for admin users only 2014-07-18 11:15:44 -04:00
Chris Houseknecht
a75c455633 Activity Streams
Activity stream button was not working. Broke when tabs were removed from index.html. Fixed a bug in Users stream search on related username.
2014-07-17 17:30:50 -04:00
Chris Houseknecht
4df2fbc38f Schedules / Activity Stream
Changed status_change to schedule_change in schedules socket on test page. Started fixing activity stream brokeness.
2014-07-17 16:46:44 -04:00
Jared Tabor
e17a9a9e1d refresh button for non live mode on job detail page and job stdout page 2014-07-17 16:43:22 -04:00
Chris Houseknecht
a4851308b4 Menu change
Changed 'Dashboard' back to 'Home'.
2014-07-17 15:44:44 -04:00
Chris Houseknecht
be80a549ca Misc.
Added schedules to the #/sockets page, so that we can see what events are being emitted via the schedules endpoint. Added a schedule_events socket to the Jobs controller. Once we have 'created', 'changed', 'deleted', etc. events coming throught the schedules endpoint the schedules widget on the jobs page should automatically update. Changed 'Dashboard' back to 'Home' in menus. Fixed event viewer bug on jobs detail page.
2014-07-17 15:44:44 -04:00
Jared Tabor
985eaa70d0 adding refresh button for jobs page, and capitlized Hosts in the pie chart tool tip on homepage 2014-07-17 10:14:01 -04:00
Chris Houseknecht
7d0e8c85eb Job detail page refactoration
Finished job event viewer dialog. Centered next/prev buttons with a custom javascript resize calc. Page size is 50 with an 'endless scroll' in both directions.
2014-07-16 17:45:53 -04:00
Luke Sneeringer
7789ccd3eb Ability to add VMWare host. 2014-07-16 16:43:17 -04:00
Matthew Jones
3924c0d867 Update endpoint documentation names for job plays and tasks 2014-07-16 15:25:54 -04:00
Matthew Jones
9621a9699f Add some related data to job event aggregates 2014-07-16 15:23:47 -04:00
Chris Houseknecht
4ff2293914 Dashboard jobs widget
Fixed responsiveness of the dashboard jobs widget.
2014-07-16 15:15:45 -04:00
Matthew Jones
985cba94ef Update documentation for job_plays and job_tasks endpoints 2014-07-16 15:15:29 -04:00
Matthew Jones
a7a092f30a Count the actual events instead of the records returned from the queryset 2014-07-16 14:24:47 -04:00
Chris Houseknecht
81f83766f0 Job detail page refactoration
Event viewer now supports viewing multiple events. For better performance, switched event queries to 'startswith' rather than 'icontains'.
2014-07-16 13:44:50 -04:00
Chris Houseknecht
9f470972c2 Job detail page refactoration
If host result does not have a host_id value, don't present the edit host link. Broke the status message out into its own grid column to improve spacing/readability.
2014-07-16 13:44:50 -04:00
Matthew Jones
ba44491bf0 Fix up pagination tests by updating return assumptions from decorated function 2014-07-16 13:34:37 -04:00
Matthew Jones
364e185412 Fix up how the pager view works and how we return errors from some views
so that we can propogate non 200 statuses
2014-07-16 12:29:36 -04:00
Matthew Jones
fe764c2114 Fix an issue with the callback receiver that prevents preserving
database connections across multiprocessing processes during process
recycling
2014-07-16 10:56:41 -04:00
Chris Houseknecht
d6c2d59b80 Job detail page refactoration
Add consistency to display of job parameters. If a parameter has no value, don't display it.
2014-07-16 10:48:04 -04:00
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