Commit Graph
100 Commits
Author SHA1 Message Date
Chris Houseknecht 7206c1ede1 Job detail page
Added ellipsis to plays and tasks table columns.
2014-07-22 14:06:16 -04:00
Chris Houseknecht 8be350b791 Event viewer status icon
The getStatus function was not accessing the event array correctly.
2014-07-22 13:40:43 -04:00
Chris Houseknecht e6b738e177 Event viewer- ignore jinja variables
Brought forward change from 1.4.11 to keep angular from attempting to bind to jinja vars that might appear in task names or pre formated output. Removed use of transparent background from jqueryui overrides.
2014-07-22 13:27:30 -04:00
Chris Houseknecht 49b10765b8 Merge branch 'master' of github.com:ansible/ansible-commander 2014-07-22 12:37:48 -04:00
Chris Houseknecht 08e6751f69 Accordion and form styling
Simplified styling by removing background colors and images. Border colors are now grey rather than blue.
2014-07-22 12:34:28 -04:00
Chris Houseknecht 7e77a756d9 Status 410 object deleted
Added a message to ProcessErrors to handle HTTP 410 errors.
2014-07-22 10:56:00 -04:00
Chris Houseknecht c41a97b191 Job stdout sockets and menu title
Added monitoring and restart of the socket connections on the stdout page. Added a title to the main nav that displays when the menu collapses.
2014-07-21 14:10:27 -04:00
Chris Houseknecht f07e78a592 Login dialog
Made login logo width a % rather than a fixed px. Fixed column classes so that labels break correctly on smaller viewports.
2014-07-21 09:48:30 -04:00
Chris Houseknecht 2961d5150f Jobs and Sockets
Job submission now removes the spinner once the job is started. It is also 'socket aware'. In the event the socket connection is unavailable on SCM updates and inventory sync runs it prompts the user with a dialog letting them know to hit the refresh button. Came up with a way to 'monitor' socket connections. On the main connection and on the Jobs page connecgtions we now check the connection every 3 seconds. If the connection status is error, or if the status returns 'connnecting' 2x in a row, we kill and restart the connections.
2014-07-18 19:59:28 -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
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
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
Chris Houseknecht 4ff2293914 Dashboard jobs widget
Fixed responsiveness of the dashboard jobs widget.
2014-07-16 15:15:45 -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
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
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
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
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
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
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
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
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
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
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
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
Chris Houseknecht f223113cdc Job detail page re-refactor
Host event viewer now calls event viewer. Added search spinner.
2014-07-09 00:38:07 -04:00
Chris Houseknecht fb9b5ae43c Job detail page re-refactor
Host events viewer. Search now wired up. HTML re-load working. Table scrolling works.
2014-07-08 16:56:55 -04:00
Chris Houseknecht d34bf8675d Jobstdout bug fix
Forced scroll to bottom during live event processing fixed. Bottom spinner right margin fixed.
2014-07-03 14:46:14 -04:00
Chris Houseknecht ac3e76236a Job stdout
Replaced scrolling widget with new angular directive and simplified approach to endless scroll. Fixed non-response to job failing before any job_events actually received. Now if playbook run completely fails, the stdout gets displayed without having to refresh browser.
2014-07-03 12:37:48 -04:00
Chris Houseknecht 7db48fbe27 Dashboard job widget styles
Fixed search widget responsiveness. Applied same ellipsis styling used on Jobs page.
2014-07-03 09:49:58 -04:00
Chris Houseknecht d44ab97232 Fixed poor error message on login failure. Fixed JS errors. 2014-07-03 03:10:51 -04:00
Chris Houseknecht 92bba3a87c Inventory edit
After making changes the inventory list was not refreshing.
2014-07-03 02:53:58 -04:00
Chris Houseknecht 9e3700545e Job page autosizing and long names
Autosizing on the jobs page assumed that there would be a certain amount of consistency with respect to row heights. However, really long job template names blow that assumptions and things break. Finally figured out how to add ellipsis via CSS, and that fixed the problem.
2014-07-03 02:19:17 -04:00
Chris Houseknecht 67daa1599b Home hosts page
Fixed broken edit dialog
2014-07-02 20:46:56 -04:00
Chris Houseknecht 061d1acaa5 Job detail page
In host summaries, if name is <deleted host>, don't try to link to job_events page.
2014-07-02 19:28:57 -04:00
Chris Houseknecht 9c3d315bc7 Job detail page
If host_summaries summary_fields.host does not exist, consider host deleted and use <deleted host> for the name. Also, added endless scroll to play list.
2014-07-02 19:23:33 -04:00
Chris Houseknecht 803f0b6d12 Job detail page
Disabled clicking on play or task while live events are happening.
2014-07-02 18:47:08 -04:00
Chris Houseknecht 1c57d49981 Job detail page
Added custom sort routine in drawing routines to explicitly sort primary key values as integers rather than strings.
2014-07-02 18:26:32 -04:00
Chris Houseknecht befffdb8d9 Fixed js lint errors 2014-07-02 18:08:53 -04:00
Chris Houseknecht f64ae5afdb Adding wanted js libraries 2014-07-02 17:12:20 -04:00
Chris Houseknecht 239e01cb16 Removig unwanted js libraries 2014-07-02 17:10:57 -04:00
Chris Houseknecht ffbd685ae4 Job detail page
Set max number of rows for each table to 200
2014-07-02 17:02:29 -04:00
Chris Houseknecht 1b6a4abf1d Job detail page
Removed malihu POS custom scrollbar widget. Installed new angular directive. Removed the waiting spinner on scroll, replacing it with a subtle, small spinning cog under the scrollbar.
2014-07-02 17:02:29 -04:00
Chris Houseknecht cebc1d6030 Job detail page
Fixed key sorting. Turns out reverse() doesn't sort keys in reverse, it just reverses them. To sort in reverse: sort().reverse(). Ugh. Fixed JS liting issues for dashboard stuff.
2014-07-02 12:43:31 -04:00
Chris Houseknecht 7e45143fa1 Job detail page
Attempt to get mousewheel (trackpad) scrolling to not be super aggressive.
2014-07-02 12:34:54 -04:00
Chris Houseknecht d99e762f36 Mobile menu
Removed the push. When the body of the page is pushed left, it's difficult to know what you were looking at prior to the push.
2014-07-02 10:18:51 -04:00
Chris Houseknecht 1c19957601 Job detail page
Added event/event_display value to event viewer status info.
2014-07-02 10:15:33 -04:00
Chris Houseknecht 0b1308f411 Dashboard
Fixed boarder around job widget. Cleaned up JS lint issues.
2014-07-02 10:04:14 -04:00
Chris Houseknecht 2e075d56f5 Mobile menu
Changed to push left rather than just left. Added a drop-shadow effect.
2014-07-02 09:18:37 -04:00
Chris Houseknecht e9115c5ca2 Event viewer
Fixed name collision between EventViewer and LogViewer, which caused things to now show up on the log viewer dialog.
2014-07-01 23:37:36 -04:00
Chris Houseknecht 2398e17206 Much improved mobile menu
When screen width goes below 1076px the menu disappears, being replaced by a button. Clicking the button displayed the default twitter bootstrap, which was pretty icky. Now it displays a much nicer slide in menu from the right.
2014-07-01 23:15:12 -04:00
Chris Houseknecht 13dcbb9a79 Main navigation and log styling
Simplified the styling to hopefully clear up the unreproducable, squishing logo issue.
2014-07-01 17:50:59 -04:00
Chris Houseknecht 69da1a2f42 Job event viewer
successful status not shows as OK
2014-07-01 17:03:05 -04:00
Chris Houseknecht e1ee2f4fb0 Callback URL Label
Callback URL is now Provisioning Callback URL. Fixed missing popover footers on job template page as well.
2014-07-01 16:47:47 -04:00
Chris Houseknecht b6b3869243 Job detail page
Added cancel/delete and relaunch buttons.
2014-07-01 16:26:46 -04:00
Chris Houseknecht 172d7d01d1 Job detail page
Fixed 'missing host' calculation where hosts became reachable in prior tasks. Now the % width of the gap matches the unreachable (or failed) %.
2014-07-01 15:19:13 -04:00
Chris Houseknecht 44fdddd345 Job detail page
Improved unreachable host count in tasks status bar. Once a host is unreachable it shows as missing in subsequent tasks, which is the expected result as it is skipped but not really marked as skipped.
2014-07-01 14:29:45 -04:00
Chris Houseknecht 86586a87eb Job detail page refactor
Made unreachable host color slightly less horrible.
2014-07-01 13:53:02 -04:00
Chris Houseknecht 254c552734 Job detail page
Built new event viewer. Based on LogViewer.js that provides a common log viewing dialog.  Event viewer dialog has the same look and feel.
2014-07-01 13:43:24 -04:00
Chris Houseknecht 52a463305f Search widget spacing
When user switches from a search filter using an input field to one using a drop-down the bottom margin no longer disappears. The disappearing margin caused an unpleasant bounce effect.
2014-06-30 23:41:40 -04:00
Chris Houseknecht 17d9d2000f Fixed JS compile error 2014-06-30 23:22:46 -04:00
Chris Houseknecht 9e6121b63e Logo and menu spacing
Added 5px to navbar-collapse. Fixes FF active/focus border touching the logo. Try as I might, I cannot get FF 30 to stop with the dashed boarder around the active menu item.
2014-06-30 23:19:01 -04:00
Chris Houseknecht fbef7b5f50 Account menu
Fixed. It now works much like Amazon's account menu and pretty similar to Gooogle mail.
2014-06-30 23:11:04 -04:00
Chris Houseknecht aab8125fcb Inventory
Fixed inventory edit dialog not showing on inventory tab.
2014-06-30 18:09:40 -04:00
Chris Houseknecht 826f2b681f Job detail page refactor
Job tasks now include an unreachable count and %. Change unreachable color from grey to a different shade of red. While live events are happening host name filter is disabled and status filter is available. Created a custom status filter that accounts for live event processing. While live event processing is active angular filtering on status is disabled for tasks and plays, otherwise no tasks or plays would show up. However, status filtering does apply to host results and host summaries during live event processing.
2014-06-30 17:34:10 -04: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
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