Commit Graph

  • 8752c71e38 Job stdout refactor Fixed stdout container to use the the new stdout style sheet. Controller for stdout now correctly calcs height of the content container. Chris Houseknecht 2014-06-23 16:54:46 -04:00
  • 95ba711fc1 Fix up a bug in the unit test from fixing the job template assumption Matthew Jones 2014-06-23 14:13:30 -04:00
  • 9b1982a2e5 Remove tmp backup files Chris Houseknecht 2014-06-23 13:47:07 -04:00
  • 2c0e0324f6 Job stdout refactor Switching to new stdout endpoint and restyling. Chris Houseknecht 2014-06-23 13:41:33 -04:00
  • 8d78755ef4 Fix some invalid assumptions about hosts and jobs where we assume a job template will always be available Matthew Jones 2014-06-23 13:39:09 -04:00
  • 788cf2e24e Report range information with json format endpoint on job stdout Matthew Jones 2014-06-23 12:24:23 -04:00
  • e9084d0c33 Styling changes Adjust white space at top of menu and on top/bottom of breadcrumbs. Chris Houseknecht 2014-06-23 11:47:16 -04:00
  • b0a03697b6 Job detail page refactor Fixed failed filter reset. Chris Houseknecht 2014-06-20 13:04:12 -04:00
  • e6cf440511 Job detail page refactor Fixed page filtering. Made tasks and plays selectable again. Chris Houseknecht 2014-06-20 12:59:11 -04:00
  • 91eff95842 Add Tower bootstrap CSS to repo Not having this in the repo forces folks to go through the build process in their dev environments, which is proving to be a headache. Chris Houseknecht 2014-06-20 11:04:36 -04:00
  • 7d91a8ba92 Job detail page refactor Fixed js compile error Chris Houseknecht 2014-06-20 10:31:05 -04:00
  • c074d81c95 Job detail page refactor When live event processing is happening (job is not in a completed state) infinite scroll is now disabled. This keeps the programmatic scroll to bottom from tripping an API call. Chris Houseknecht 2014-06-20 10:29:00 -04:00
  • 22a51a18f1 Job detail page refactor Things being added to the DOM were passed by reference and not value. Fixed that using json stringify/parse. Now the DOM does not update in real time. Added in updated of summary list and graph. Performing updates every 5 sec. Chris Houseknecht 2014-06-20 03:07:47 -04:00
  • 5cdba539c6 Job detail page refactor Push DOM update interval out to 12 sec. Chris Houseknecht 2014-06-20 02:16:37 -04:00
  • a024de5702 Job detail page refactor Reconnected scroll bar bits mostly. Chris Houseknecht 2014-06-20 02:00:15 -04:00
  • ff1cce8509 Job detail page refactor Exploring was to make the DOM update less CPU intensive. Chris Houseknecht 2014-06-19 23:22:48 -04:00
  • 346595854c Job detail page When UpdateDOM is enabled, the CPU melts. Experimenting with ways to updated the DOM without it being sucha drain. Chris Houseknecht 2014-06-19 23:04:04 -04:00
  • 0f435eb42c Job detail page refactor Cleaning up end of job processing to make sure we only reload things 1x at the end. Now drawing graph each time DOM is updated. Chris Houseknecht 2014-06-19 22:20:25 -04:00
  • 44da2f5cf8 Job detail page refactor Latest DOM update changes and fixes Chris Houseknecht 2014-06-19 18:16:54 -04:00
  • e29a158bec Job detail page refactor Removed the spinner. Stupid spinner! Chris Houseknecht 2014-06-19 17:26:30 -04:00
  • f67f8c7429 Job detail page refactor Added logic to paint the DOM every 3 seconds. Fingers crossed. Chris Houseknecht 2014-06-19 17:23:51 -04:00
  • 2fcbe9e989 Make /jobs/{id}/job_plays/ paginated. Luke Sneeringer 2014-06-19 15:18:07 -05:00
  • 958e806ddc Job detail page refactor First pass at aggregating all incoming events without any DOM updates. Lets see if we can just perform simple aggregration in memory without a CPU meltdown. Chris Houseknecht 2014-06-19 16:08:55 -04:00
  • 4eddd692fb Merge branch 'vagrant-unstable' Luke Sneeringer 2014-06-19 14:54:16 -05:00
  • fbb408f817 Rename tools/vagrant to tools/dev_setup Luke Sneeringer 2014-06-19 14:53:02 -05:00
  • 7530a6e35f Allow limiting the stdout view given start_line and end_line parameters Matthew Jones 2014-06-19 15:44:45 -04:00
  • 5d528e2db8 Merge branch 'master' into vagrant-unstable Luke Sneeringer 2014-06-19 14:20:34 -05:00
  • 0fb2160d0f Fix the job_tasks test. Luke Sneeringer 2014-06-19 14:12:49 -05:00
  • c8e5892d54 Re-fixed an error from a merge conflict. Luke Sneeringer 2014-06-19 08:01:57 -05:00
  • 23b617b580 Adding a job_tasks test. Luke Sneeringer 2014-06-19 13:16:35 -05:00
  • a2a46d22bc Add play and tasks linkage to job related fields Matthew Jones 2014-06-11 15:56:32 -04:00
  • 91afd12f31 Adding a job_tasks test. Luke Sneeringer 2014-06-19 13:16:35 -05:00
  • 041513ef61 Add play and tasks linkage to job related fields Matthew Jones 2014-06-11 15:56:32 -04:00
  • 8dc14a73c2 Merge pull request #12 from ansible/job-events-refactor-unstable Matthew Jones 2014-06-19 09:04:51 -04:00
  • 09ef25a8ad Re-fixed an error from a merge conflict. Luke Sneeringer 2014-06-19 08:01:57 -05:00
  • 69add3d626 Job detail page refactor Latest iteration on event queue processing. Replaced setTimeout with an interval. Chris Houseknecht 2014-06-19 03:34:07 -04:00
  • 3a6fe9ee4a 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. Chris Houseknecht 2014-06-19 02:21:13 -04:00
  • cb44949a1d Job detail page refactor Experimenting with _.throttle to improve event queue processing. Chris Houseknecht 2014-06-19 01:09:24 -04:00
  • 4cb7e2301d Job detail page refactor Fixing scrolling issue on tasks list. Chris Houseknecht 2014-06-19 00:32:39 -04:00
  • 5a461a5471 Job detail page refactor Endless scrolling queries appear to no longer be firing when programmatically scrolling to the end of list. Chris Houseknecht 2014-06-19 00:17:05 -04:00
  • b4369d1259 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. Chris Houseknecht 2014-06-18 23:33:12 -04:00
  • 0fc977648e 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. Chris Houseknecht 2014-06-18 23:04:12 -04:00
  • 22d5f061dd Job detail page refactor Performance adjustment. CPU is melting with all the new changes. Chris Houseknecht 2014-06-18 21:17:18 -04:00
  • 88c1f13d27 Job detail page refactor Fixed issue with tracking last event id. Chris Houseknecht 2014-06-18 18:48:17 -04:00
  • 7755cc32e2 Job detail page refactor Fixing issues related to API endpoint changes and need to paginate tasks and plays. Chris Houseknecht 2014-06-18 18:15:11 -04:00
  • f975b7b6dd 2.0 Styling Fixed up the Account menu and wired it back up, mostly. Chris Houseknecht 2014-06-18 15:19:29 -04:00
  • 8132c747ac Add additional release dates. Bill Nottingham 2014-06-18 15:03:56 -04:00
  • 9b4f3df770 2.0 Styling Added open sans font to repository and switched CSS to load the local files rather than use Google. Chris Houseknecht 2014-06-18 14:24:28 -04:00
  • ba7c33eaa2 Paginate the job_tasks page. Luke Sneeringer 2014-06-18 12:51:53 -05:00
  • 3e70bdd831 Job detail page refactor Latest iteration on event queue processing. Replaced setTimeout with an interval. Chris Houseknecht 2014-06-19 03:34:07 -04:00
  • 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. Chris Houseknecht 2014-06-19 02:21:13 -04:00
  • 8ba6366bc9 Job detail page refactor Experimenting with _.throttle to improve event queue processing. Chris Houseknecht 2014-06-19 01:09:24 -04:00
  • 29b2b3cecf Job detail page refactor Fixing scrolling issue on tasks list. Chris Houseknecht 2014-06-19 00:32:39 -04:00
  • b7a4ea7801 Job detail page refactor Endless scrolling queries appear to no longer be firing when programmatically scrolling to the end of list. Chris Houseknecht 2014-06-19 00:17:05 -04:00
  • 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. Chris Houseknecht 2014-06-18 23:33:12 -04:00
  • 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. Chris Houseknecht 2014-06-18 23:04:12 -04:00
  • 5c34758d2d Job detail page refactor Performance adjustment. CPU is melting with all the new changes. Chris Houseknecht 2014-06-18 21:17:18 -04:00
  • b2d22613c5 Job detail page refactor Fixed issue with tracking last event id. Chris Houseknecht 2014-06-18 18:48:17 -04:00
  • b355211efb Job detail page refactor Fixing issues related to API endpoint changes and need to paginate tasks and plays. Chris Houseknecht 2014-06-18 18:15:11 -04:00
  • a83584e07f 2.0 Styling Fixed up the Account menu and wired it back up, mostly. Chris Houseknecht 2014-06-18 15:19:29 -04:00
  • 092b068c50 Add additional release dates. Bill Nottingham 2014-06-18 15:03:56 -04:00
  • 9af7469607 2.0 Styling Added open sans font to repository and switched CSS to load the local files rather than use Google. Chris Houseknecht 2014-06-18 14:24:28 -04:00
  • 2f1d667e64 Don't run the large inventory timing test locally. Luke Sneeringer 2014-06-18 10:51:24 -05:00
  • 1f91028399 Tests for the @paginated decorator. Luke Sneeringer 2014-06-18 15:37:30 -05:00
  • 66fb5ab07a Paginate the job_tasks page. Luke Sneeringer 2014-06-18 12:51:53 -05:00
  • 131dd67994 Revert "Make /api/v1/jobs/{id}/job_tasks/ scale." Luke Sneeringer 2014-06-18 12:56:32 -05:00
  • 6cf80d3a9b 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. Chris Houseknecht 2014-06-18 13:42:25 -04:00
  • ebd5146eea Job detail page refactor Working through testing of task and play pagination changes. Fixed initial errors. More to do once API changes show up. Chris Houseknecht 2014-06-18 10:03:14 -04:00
  • 8c393c6efd 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. Chris Houseknecht 2014-06-17 18:21:18 -04:00
  • 65b87b9694 Tests for the @paginated decorator. Luke Sneeringer 2014-06-18 15:37:30 -05:00
  • 69324f8ce2 2.0 Styling Fixed up the Account menu and wired it back up, mostly. Chris Houseknecht 2014-06-18 15:19:29 -04:00
  • 5aa293a17a Add additional release dates. Bill Nottingham 2014-06-18 15:03:56 -04:00
  • afd1e516bc 2.0 Styling Added open sans font to repository and switched CSS to load the local files rather than use Google. Chris Houseknecht 2014-06-18 14:24:28 -04:00
  • 2ac5090d70 Paginate the job_tasks page. Luke Sneeringer 2014-06-18 12:51:53 -05:00
  • bb338f3637 Make /api/v1/jobs/{id}/job_tasks/ scale. Luke Sneeringer 2014-06-18 12:59:57 -05:00
  • 55e1258a5d Revert "Make /api/v1/jobs/{id}/job_tasks/ scale." Luke Sneeringer 2014-06-18 12:56:32 -05:00
  • 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. Chris Houseknecht 2014-06-18 13:42:25 -04:00
  • 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. Chris Houseknecht 2014-06-18 10:03:14 -04:00
  • ea2bb5e201 Make /api/v1/jobs/{id}/job_tasks/ scale. Luke Sneeringer 2014-06-17 15:22:13 -05:00
  • 93a34b001f Start of guidelines around API development. Michael DeHaan 2014-06-17 13:52:27 -05:00
  • ba6049c704 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. Chris Houseknecht 2014-06-17 13:51:24 -04:00
  • e8337cffd4 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. Chris Houseknecht 2014-06-17 11:53:33 -04:00
  • 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. Chris Houseknecht 2014-06-17 18:21:18 -04:00
  • 461e4d5e2a Make /api/v1/jobs/{id}/job_tasks/ scale. Luke Sneeringer 2014-06-17 15:22:13 -05:00
  • e8ab260f31 Start of guidelines around API development. Michael DeHaan 2014-06-17 13:52:27 -05:00
  • 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. Chris Houseknecht 2014-06-17 13:51:24 -04:00
  • a28d90a1ed Add more memoryz. Luke Sneeringer 2014-06-17 12:31:17 -05:00
  • 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. Chris Houseknecht 2014-06-17 11:53:33 -04:00
  • 8f099cbe90 Merge branch 'master' into vagrant-unstable Luke Sneeringer 2014-06-17 08:01:16 -05:00
  • 1c57d7f949 Job detail page refactor Wired filters up again. Fixed Host Summary section to refresh without first needed to be completely cleared. Chris Houseknecht 2014-06-16 14:31:35 -04:00
  • 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. Chris Houseknecht 2014-06-16 00:24:26 -04:00
  • 56ad7d2e9e Job detail page refactor Adjust queueing strategy Chris Houseknecht 2014-06-14 04:23:47 -04:00
  • 37cd9d9aeb Job detail page refactor Fixed empty object detection Chris Houseknecht 2014-06-14 04:19:02 -04:00
  • d300eab790 Job detail page refactor If the queue grows beyond 500 events, reset and start over. Chris Houseknecht 2014-06-14 03:58:52 -04:00
  • 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. Chris Houseknecht 2014-06-13 16:43:03 -04:00
  • 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. Chris Houseknecht 2014-06-13 16:39:35 -04:00
  • 1c8bed371b Job detail page refactor The task is now updating correctly as host runner events arrive. W00t! Chris Houseknecht 2014-06-13 15:18:24 -04:00
  • 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. Chris Houseknecht 2014-06-13 14:30:42 -04:00
  • 05e17e66fc Add unreachable event counts to play stats Matthew Jones 2014-06-13 12:47:27 -04:00
  • f2db52cca0 Job detail page refactor Using dictionaries rather than arrays. Filters now working. New endpoints wired in. Chris Houseknecht 2014-06-13 11:11:44 -04:00