Commit Graph
100 Commits
Author SHA1 Message Date
Chris Houseknecht 3e70bdd831 Job detail page refactor
Latest iteration on event queue processing. Replaced setTimeout with an interval.
2014-06-19 03:34:07 -04:00
Chris Houseknecht d5838480ba Job detail page refactor
Reverting attempt to use _.throttle and _.defer. They assume we actually want to process every event. We need to stop all processing if the job has finished.
2014-06-19 02:21:13 -04:00
Chris Houseknecht 8ba6366bc9 Job detail page refactor
Experimenting with _.throttle to improve event queue processing.
2014-06-19 01:09:24 -04:00
Chris Houseknecht 29b2b3cecf Job detail page refactor
Fixing scrolling issue on tasks list.
2014-06-19 00:32:39 -04:00
Chris Houseknecht b7a4ea7801 Job detail page refactor
Endless scrolling queries appear to no longer be firing when programmatically scrolling to the end of list.
2014-06-19 00:17:05 -04:00
Chris Houseknecht 07629cb701 Job detail page refactor
Making sure we never call the endless scroll queries when programmatically scrolling to the bottom of a list. Eliminate repeated calls to lookup credential names.
2014-06-18 23:33:12 -04:00
Chris Houseknecht a1e28992b0 Job detail page refactor
Improved handling of scrollbar refresh. Handling on via scope.$emit rather than inside the http response. Fixed pie chart drawing at job completion so that totaling of stats on playbook_on_stats event matches the way we're counting hosts during event processing.
2014-06-18 23:04:12 -04:00
Chris Houseknecht 5c34758d2d Job detail page refactor
Performance adjustment. CPU is melting with all the new changes.
2014-06-18 21:17:18 -04:00
Chris Houseknecht b2d22613c5 Job detail page refactor
Fixed issue with tracking last event id.
2014-06-18 18:48:17 -04:00
Chris Houseknecht b355211efb Job detail page refactor
Fixing issues related to API endpoint changes and need to paginate tasks and plays.
2014-06-18 18:16:00 -04:00
Chris Houseknecht a83584e07f 2.0 Styling
Fixed up the Account menu and wired it back up, mostly.
2014-06-18 18:16:00 -04:00
Chris Houseknecht 9af7469607 2.0 Styling
Added open sans font to repository and switched CSS to load the local files rather than use Google.
2014-06-18 18:15:59 -04:00
Chris Houseknecht 69324f8ce2 2.0 Styling
Fixed up the Account menu and wired it back up, mostly.
2014-06-18 15:22:43 -04:00
Chris Houseknecht afd1e516bc 2.0 Styling
Added open sans font to repository and switched CSS to load the local files rather than use Google.
2014-06-18 14:25:22 -04:00
Chris Houseknecht bc08d8f82a 2.0 styling
Started applying new styles starting with removal of tabs. Brought in new breadcrumb format and blended with inventory edit group breadcrumbs. Rather than attempting to override bootstrap styles after the fact, copied boostrap less file and started modifying those to create ansible-boostrap.css, as described in the boostrap documentation.
2014-06-18 13:42:25 -04:00
Chris Houseknecht ef1ca7be0b Job detail page refactor
Working through testing of task and play pagination changes. Fixed initial errors. More to do once API changes show up.
2014-06-18 10:03:14 -04:00
Chris Houseknecht c138f8006a Job detail page refactor
Added custom scrollbar to task list and made it do the endless scroll thing. Switched tasks and plays from objects back to arrays, in support of endless scroll.  Still need to apply scrollbar to play list and enable endless scroll. Modified calls to job_tasks endpoint to use the 'paginated' structure. Will need to do the same to plays. None of this is tested yet.
2014-06-17 18:25:35 -04:00
Chris Houseknecht 6ddd93fe06 Job detail page refactor
Removed need to sort hostResults and hosts arrays. Drawing graph on start of a new task, rather than start of new play. Now listening for job status events. If a status event indicates the job is completed, stop processing event and reload the job from the API.
2014-06-17 13:51:24 -04:00
Chris Houseknecht 58b40422c3 Job stdout - Safari support
Safari's DOMParser object does not support parsing HTML. When the app initializes we now detect the browser type and define $rootScope.browser accordingly. If the browser is Safari, then we do some ugly looping and regex'ing to separate out the html and style sheet from the stdout API response.
2014-06-17 11:53:33 -04:00
Chris Houseknecht 1c57d7f949 Job detail page refactor
Wired filters up again. Fixed Host Summary section to refresh without first needed to be completely cleared.
2014-06-16 14:31:35 -04:00
Chris Houseknecht 9c11145914 Job detail page refactor
Reconfigured event processing and queueing. 50 no op tasks for 200 hosts seems to be working without melting the CPU and staying below 300MB.
2014-06-16 00:24:26 -04:00
Chris Houseknecht 56ad7d2e9e Job detail page refactor
Adjust queueing strategy
2014-06-14 04:23:47 -04:00
Chris Houseknecht 37cd9d9aeb Job detail page refactor
Fixed empty object detection
2014-06-14 04:19:02 -04:00
Chris Houseknecht d300eab790 Job detail page refactor
If the queue grows beyond 500 events, reset and start over.
2014-06-14 03:58:52 -04:00
Chris Houseknecht e2aa7be9ce Job detail page refactor
Added an event queue, allowing the UI to process events as fast as it can and hopefully not get overwhelmed by the API.
2014-06-13 16:43:03 -04:00
Chris Houseknecht e6bba3ed48 Job detail page refactor
Added an event queue, allowing the UI to process events as fast as it can and hopefully not get overwhelmed by the API.
2014-06-13 16:39:35 -04:00
Chris Houseknecht 1c8bed371b Job detail page refactor
The task is now updating correctly as host runner events arrive. W00t!
2014-06-13 15:18:24 -04:00
Chris Houseknecht c297342ba0 Job detail page refactor
Latest changes. Things are still broken thought. Task status not working correctly or at all, and hosts results are not showing up.
2014-06-13 14:32:23 -04:00
Chris Houseknecht f2db52cca0 Job detail page refactor
Using dictionaries rather than arrays. Filters now working. New endpoints wired in.
2014-06-13 11:11:44 -04:00
Chris Houseknecht fc2821fb09 AC-1232 project status post page refresh
The status attributes were not being set coorectly for 'running' or 'updating' projects on page load.
2014-06-12 17:35:53 -04:00
Chris Houseknecht b5462f477b AC-1238 Sync status behaves differently
They are now the same. Click the cloud icon brings up the log viewer dialog on both pages.
2014-06-12 17:19:11 -04:00
Chris Houseknecht f27f7c6961 Remove lingering popovers/tooltips
Before displaying a new popover or tooltip, kill anything that might still be open.
2014-06-12 17:11:01 -04:00
Chris Houseknecht 34604d47d3 Remove lingering popovers/tooltips
Before displaying a new popover or tooltip, kill anything that might still be open.
2014-06-12 17:06:53 -04:00
Chris Houseknecht 24593a0878 AC-1256 project last updated
After a project update finishes, refresh the list of projects so that it reflects the correct last update timestamps.
2014-06-12 16:57:14 -04:00
Chris Houseknecht fc7ecc4c55 AC-1257 view project update status
Since we're not refreshing the list of projects after submission of an update request, the UI does not have the most recent update ID in memory. Before launching the log viewer dialog it now requests the latest project record from the API and initializes with the correct ID.
2014-06-12 16:36:46 -04:00
Chris Houseknecht 54204becf5 AC-1286
Fixed JS minification errors.
2014-06-12 16:00:05 -04:00
Chris Houseknecht 90ae15f3ba AC-1286 host config key dialog
Now the dialog only appears on job template save when the host config key or URL actually change. Before the dialog always appeared when allow callbacks was enabled.
2014-06-12 15:37:45 -04:00
Chris Houseknecht 650cec948c AC-1280 remove notification after user clicks cancel on password prompt
If the user clicks cancel on the passwords dialog, cancel the job quietly without prompting the user for confirmation.
2014-06-12 15:05:29 -04:00
Chris Houseknecht 0810194cee Fixed real-time updates for inventory
Live updates now working on the inventory detail page and on home/groups page.
2014-06-12 12:43:43 -04:00
Chris Houseknecht 3c7344e986 Fixed inventory real-time updates
After bringing inventory changes from 1.4.11 forward real-time updates were not being handled by new inventory edit controller.
2014-06-12 12:28:28 -04:00
Chris Houseknecht eccfe128dd Job submission error handling
If playbook submission fails, check for a 400 status and parse the key/value pairs returned by the API. This occurs on an attempt to submit a job template that is no longer valid. Fixed JS compile errors from prior commit.
2014-06-11 18:43:56 -04:00
Chris Houseknecht e01b34ee38 AC-1183 Job detail page performance
Reload the list of tasks whenever a play is selected. Fixed search cancel. Streamlined initial load process so that it shares as much of the event processing code as possible.
2014-06-11 18:18:23 -04:00
Chris Houseknecht 31f4eeffbc AC-1183 Job detail page performance
Reorganized initial data load so that it no longer reads all job events. Using objects in place of arrays.
2014-06-11 07:19:33 -04:00
Chris Houseknecht 28c8a3822d Fixed JS minification errors 2014-06-06 14:14:56 -04:00
Chris Houseknecht e96444ac8f Fixed stuck host add/edit dialog
The dialog would not go away after clicking save. Issue was bad applicaiton of code from 1.4.11. Also fixed missing fa-cut icon.
2014-06-06 13:43:18 -04:00
Chris Houseknecht 79125e16af Inventory Group Delete
The new delete method wasn't completely implemented. Still some old tree stuff and discarded endpoints lingergin' about.
2014-06-04 13:53:08 -04:00
Chris Houseknecht da766edd52 Inventory refactor bug
Calculating initial container heights and rowsize on the inventory page was not working correctly on first page load. Issue was misalignment of function declaration and injector. Also needed to add e.stopPropagtion() call in the search helper. Without it the group search refresh gets called multiple times whenever the host list is refreshed.
2014-06-04 11:45:11 -04:00
Chris Houseknecht c517332191 AC-1308 spinner lingers after 403 error
Happening on response to Delete prompt. Removed modal hide listener when starting spinner. Not sure why I thought that was needed. Instead, just close the dialog and start the spinner. If an error occurs, ProcessErrors always stops the spinner. Issue was caused by a race condition. ProcessErrors would sometimes fire tht stop before the event listener fired a start.
2014-06-03 19:20:35 -04:00
Chris Houseknecht ad5d0454c2 AC-1325 plus inventory refactor cleanup
Fixed obvious issues found after pulling in inventory refactor changes from 1.4.11 branch. Included fixing modal dialog issues.
2014-06-03 19:02:56 -04:00
Chris Houseknecht 0cfef78663 AC-1321 disappearing host variables
Bringing over fix applied in 1.4.11.
2014-06-03 17:08:06 -04:00
Chris Houseknecht 2c95b75960 Inventory refactor from 1.4.11
Includes commits from release_1.4.11 branch up to and including d434e675a7c9727af900d7c21de5e542aef0eb98. That should be everything. What remains is testing.
2014-06-02 18:14:30 -04:00
Chris Houseknecht 527e7c6943 Inventory refactor from 1.4.11
Include commits from release_1.4.11 branch up to but not including 809c99d05c4bd14dac7ef2f19767e4d196cdd1bb
2014-06-02 15:31:30 -04:00
Chris Houseknecht b58f65ca26 Fixed JS compile errors. 2014-05-30 16:45:25 -04:00
Chris Houseknecht 998b47fbf6 Started mergint 1.4.11 inventory refactor changes. In the middle of applying 51a11fcb6e4706b853bdcead978284b8c8eaeaf4 to helpers/hosts.js. 2014-05-30 16:42:02 -04:00
chouseknecht f7b7508ecf Added temporary websocket_port setting in config.js 2014-05-21 17:44:35 -04:00
chouseknecht 473c8d3b26 AC-1271 fixed job page display. Now using window width and height rather than document. Also, if window height < 800px, use default page size of 5 rows and let containers auto-size themselves. 2014-05-21 17:42:53 -04:00
chouseknecht e5ee7e5383 AC-1294 reworked standard out page to support custom scroll bar. Removed use of <pre> elment by parsing the inbound HTML and isolating the style sheet and the job output. Those are now inserted into styled <div> elements, giving the UI better control. The page now listens to the web socket server and refreshes whenver an event happens for the job. On an event the <div> element refreshes and automatically scrolls to the bottom. 2014-05-21 17:29:16 -04:00
chouseknecht 2b4014cf4d AC-1294 stdout button is now available at all times regardless of job status. AC-1272 lookup dialog clean up. Previous list clean up assigned column width classes to most columns. These classes were being used to build lookup dialogs. The list generator now checks if for 'lookup' mode and a modalColumnClass setting rather than blindly using columnClass. 2014-05-21 13:22:45 -04:00
chouseknecht c9bb424d98 AC-1292 Host container on inventory edit page now automatically resizes and adjusts rows per page. 2014-05-20 17:20:11 -04:00
chouseknecht 4f88a0b582 Restyled hosts side of inventory edit page. Still need to calc # or rows that resized host container can accommodate. 2014-05-20 15:28:23 -04:00
chouseknecht 3711409237 Inventory group delete -implemented disassociate 'all' when deleteing a subgroup and promoting children. 2014-05-20 14:23:18 -04:00
chouseknecht 2055919322 Added custom scroll bar to inventory groups container. Moved group container auto-resize and height calc function to helper methods. Now using full window height, pushing footer off the page. Changed custom sroll directive to use the dark-thin theme. 2014-05-20 14:06:00 -04:00
chouseknecht 77ccfc49f2 Added custom scroll bar to inventory groups container. Moved group container auto-resize and height calc function to helper methods. Now using full window height, pushing footer off the page. Changed custom sroll directive to use the dark-thin theme. 2014-05-20 14:06:00 -04:00
chouseknecht b4f60424c4 AC-1292 auto-resize groups height and scroll content when necessary. 2014-05-19 17:31:12 -04:00
chouseknecht 9f1095d61e AC-1292 decreased bottom margin between footer and groups container. 2014-05-19 14:12:13 -04:00
chouseknecht fc7e887da6 AC-1292 Fixed inventory edit page sizing, column widths and margins. 2014-05-19 14:02:28 -04:00
chouseknecht 210d5fa4be Fixed tool bart bottom margin on home page. 2014-05-19 13:44:43 -04:00
chouseknecht b111b250fb Inventory group delete- POST to /groups/N/children when disassociating a non-top-level group. 2014-05-19 12:07:51 -04:00
chouseknecht 66862abd0c Tweaked inventory group delete help link and text. 2014-05-19 11:24:37 -04:00
chouseknecht 6cfdaca856 Resolved js build errors. 2014-05-19 10:56:22 -04:00
chouseknecht ec2545d069 Latest job_detail changes as of 5-16. Plus, AC-1279 Rename vars_prompt_on_launch to ask_variables_on_launch. 2014-05-19 10:50:26 -04:00
chouseknecht 0fcfe6114a Increated timeout length for select a play post filter application. Post job launch send user to job detail page. 2014-05-16 14:54:40 -04:00
chouseknecht e7d58de007 Wired up status filter. Redraw graph with resize option on playbook_on_stat event. Removed counts from tooltips, eliminating over watch issue. 2014-05-16 14:17:17 -04:00
chouseknecht 0fba05f030 Removed extra search dialogs. Now there is only one host name filter, and it's wired up and working. 2014-05-16 02:38:04 -04:00
chouseknecht 1237fe6601 Fixed graph rendering and auto-resizing. Removed use of job_host_summaries, making things much faster. Fixed real-time updating so that it now refreshes smoothly as tasks complete. 2014-05-16 01:00:30 -04:00
chouseknecht 200a528391 Improvements to job detail page graph rendering and auto-resizing. 2014-05-15 13:49:59 -04:00
chouseknecht a895c6beea First attempt at adding a graph to job detail page. 2014-05-15 03:51:34 -04:00
chouseknecht d303520cc9 Touched up the summary table event help. 2014-05-14 18:16:20 -04:00
chouseknecht 46bf760133 Wired up the Filter Events search dialog box. You can now filter all events by host name. 2014-05-14 18:11:45 -04:00
chouseknecht 4c1ad2d107 Wired stdout page into Jobs tab page. Replaced View drop-down with icons for view details and stdout. 2014-05-14 13:30:15 -04:00
chouseknecht aaaef7de71 Tightened up margin around page breadcrumb throughout app. 2014-05-14 12:06:53 -04:00
chouseknecht cc350dde68 Moved stdout to an iframe and improved auto-sizing. 2014-05-14 11:46:07 -04:00
chouseknecht 38503b9087 Wired up stdout to job detail page. More to do, but you can at least get to it now. 2014-05-13 18:32:38 -04:00
chouseknecht 60da8e6ad8 AC-1271 replay calcl height of each container and number of rows on jobs page without having to use a timer and requery rows on page load. 2014-05-13 17:10:48 -04:00
chouseknecht eb4b17017c AC-1275 jlaska requires a larger target on checkbox input controls. 2014-05-13 16:00:17 -04:00
chouseknecht 8bd2117e77 AC-1236 fixed broken failed jobs link on dashboard. Fixed broken job links on inventory tab page. 2014-05-13 14:05:39 -04:00
chouseknecht 6618cc877c AC-1259 inventory delete/promote. Promoted inventory group delete dialog style. Added matching styling to host delete dialog. 2014-05-13 12:04:50 -04:00
chouseknecht a802d41fd6 AC-1259 inventory delete/promote. 2014-05-13 11:46:27 -04:00
chouseknecht 8d8b4d0fd8 AC-1237 fix page label for /home/* pages 2014-05-13 11:46:27 -04:00
chouseknecht af25d473fc AC-1239 broken links on home page to inventory sync status. 2014-05-13 01:49:26 -04:00
chouseknecht 5823347c52 AC-1242 project dashboard links. 2014-05-13 00:37:54 -04:00
chouseknecht bdf4192138 Fixed display of license time remaining value. 2014-05-12 23:31:55 -04:00
chouseknecht 5f41b8df76 AC-1262 support for basic variable prompting on job submission. 2014-05-12 23:29:04 -04:00
chouseknecht e9ddf51387 Styling changes from 5/9 status meeting. 2014-05-09 23:35:02 -04:00
chouseknecht bb071379c2 Fixes to status bar display. Now displays in real-tiime despite large number of hosts. Tested with 600 hosts. 2014-05-09 13:28:50 -04:00
chouseknecht b320fc725f Added start of search controls to summary section. Removed reload of task and host summary tables on screen resize. We're now maintaining 300 rows for each. 2014-05-09 10:28:29 -04:00
chouseknecht 9e645bdb74 Fixed scrolling issues and page resizing issues. When page resizes the number of visible rows in each table expands. 2014-05-08 19:15:26 -04:00
chouseknecht 92eb56e1d3 Changed host summary section on job detail page to use badges. 2014-05-07 15:01:14 -04:00
chouseknecht 31fb6b1752 Fixed host status bar on job detail page. 2014-05-07 13:05:34 -04:00
chouseknecht 047c560fab Fix migration for AC-1258 (Show user who triggered a job) 2014-05-06 17:00:44 -04:00