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

2224 Commits

Author SHA1 Message Date
Chris Houseknecht
0a829dc610 Job detail page refactor
Restyled status information using horizontal form layout with overrides to make not look like a form. Added a more/less link to hide or show additional details (i.e. job template, project, inventory). Added proper labels for finsished and elapsed. Looking much better.
2014-06-24 17:32:04 -04:00
Chris Houseknecht
3c05334d33 2.0 style changes
Right justified Account menu. Modified bootstrap menu collapse setting to force collapse at 1075px so that we never show the menu on multiple lines. Started changing styles on job detail page so that we auto-resize behavior can be restored.
2014-06-24 15:41:28 -04:00
Chris Houseknecht
1e3f2c02e9 Job detail page refactor
Fixed host result sort order
2014-06-24 13:58:39 -04:00
Chris Houseknecht
f78197970e 2.0 Styling changes
Removed breadcrumbs from lists. Removed breadcrumbs from job tab. Added some space to top of jobs tab content. Fixed auto-sizing on jobs page.
2014-06-24 13:25:39 -04:00
Chris Houseknecht
09f42399e5 Job detail page refactor
Draw host results in reverse order
2014-06-24 12:51:17 -04:00
Chris Houseknecht
540f10bfbc Job stdout refactor
More infinite scrolling. Mostly seems to be working. However, we're not removing content, just continually adding as user scrolls back up.
2014-06-24 11:34:25 -04:00
Matthew Jones
41e1d809b5 Refactor job event collection to build and manage an internal cache of
potential parent values to reduce the number of queries to the database
2014-06-24 10:37:06 -04:00
Chris Houseknecht
c60fb7a58f Job stdout refactor
Infinit scroll in the upward (or back in time) direction works.
2014-06-24 04:04:46 -04:00
Chris Houseknecht
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.
2014-06-23 16:57:11 -04:00
Matthew Jones
95ba711fc1 Fix up a bug in the unit test from fixing the job template assumption 2014-06-23 14:13:50 -04:00
Chris Houseknecht
9b1982a2e5 Remove tmp backup files 2014-06-23 13:47:07 -04:00
Chris Houseknecht
2c0e0324f6 Job stdout refactor
Switching to new stdout endpoint and restyling.
2014-06-23 13:42:15 -04:00
Matthew Jones
8d78755ef4 Fix some invalid assumptions about hosts and jobs where we assume a job
template will always be available
2014-06-23 13:39:09 -04:00
Matthew Jones
788cf2e24e Report range information with json format endpoint on job stdout 2014-06-23 12:24:43 -04:00
Chris Houseknecht
e9084d0c33 Styling changes
Adjust white space at top of menu and on top/bottom of breadcrumbs.
2014-06-23 11:47:16 -04:00
Chris Houseknecht
b0a03697b6 Job detail page refactor
Fixed failed filter reset.
2014-06-20 13:04:12 -04:00
Chris Houseknecht
e6cf440511 Job detail page refactor
Fixed page filtering. Made tasks and plays selectable again.
2014-06-20 12:59:11 -04:00
Chris Houseknecht
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.
2014-06-20 11:04:36 -04:00
Chris Houseknecht
7d91a8ba92 Job detail page refactor
Fixed js compile error
2014-06-20 10:31:05 -04:00
Chris Houseknecht
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.
2014-06-20 10:29:00 -04:00
Chris Houseknecht
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.
2014-06-20 03:07:47 -04:00
Chris Houseknecht
5cdba539c6 Job detail page refactor
Push DOM update interval out to 12 sec.
2014-06-20 02:16:37 -04:00
Chris Houseknecht
a024de5702 Job detail page refactor
Reconnected scroll bar bits mostly.
2014-06-20 02:00:15 -04:00
Chris Houseknecht
ff1cce8509 Job detail page refactor
Exploring was to make the DOM update less CPU intensive.
2014-06-19 23:22:48 -04:00
Chris Houseknecht
346595854c Job detail page
When UpdateDOM is enabled, the CPU melts. Experimenting with ways to updated the DOM without it being sucha drain.
2014-06-19 23:04:04 -04:00
Chris Houseknecht
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.
2014-06-19 22:20:25 -04:00
Chris Houseknecht
44da2f5cf8 Job detail page refactor
Latest DOM update changes and fixes
2014-06-19 18:16:54 -04:00
Chris Houseknecht
e29a158bec Job detail page refactor
Removed the spinner. Stupid spinner!
2014-06-19 17:26:30 -04:00
Chris Houseknecht
f67f8c7429 Job detail page refactor
Added logic to paint the DOM every 3 seconds. Fingers crossed.
2014-06-19 17:24:51 -04:00
Luke Sneeringer
2fcbe9e989 Make /jobs/{id}/job_plays/ paginated. 2014-06-19 15:18:10 -05:00
Chris Houseknecht
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.
2014-06-19 16:09:56 -04:00
Luke Sneeringer
4eddd692fb Merge branch 'vagrant-unstable' 2014-06-19 14:54:16 -05:00
Luke Sneeringer
fbb408f817 Rename tools/vagrant to tools/dev_setup
Because these playbooks (should) work without Vagrant!
2014-06-19 14:53:02 -05:00
Matthew Jones
7530a6e35f Allow limiting the stdout view given start_line and end_line parameters 2014-06-19 15:45:10 -04:00
Luke Sneeringer
5d528e2db8 Merge branch 'master' into vagrant-unstable
Conflicts:
	awx/api/tests/job_tasks.py
	awx/api/utils/decorators.py
2014-06-19 14:20:34 -05:00
Luke Sneeringer
0fb2160d0f Fix the job_tasks test. 2014-06-19 14:12:49 -05:00
Luke Sneeringer
c8e5892d54 Re-fixed an error from a merge conflict. 2014-06-19 13:23:59 -05:00
Luke Sneeringer
23b617b580 Adding a job_tasks test. 2014-06-19 13:23:40 -05:00
Matthew Jones
a2a46d22bc Add play and tasks linkage to job related fields 2014-06-19 13:23:40 -05:00
Luke Sneeringer
91afd12f31 Adding a job_tasks test. 2014-06-19 13:16:35 -05:00
Matthew Jones
041513ef61 Add play and tasks linkage to job related fields 2014-06-19 13:53:49 -04:00
Matthew Jones
8dc14a73c2 Merge pull request #12 from ansible/job-events-refactor-unstable
Refactor job_tasks.
2014-06-19 09:04:51 -04:00
Luke Sneeringer
09ef25a8ad Re-fixed an error from a merge conflict. 2014-06-19 08:01:57 -05:00
Chris Houseknecht
69add3d626 Job detail page refactor
Latest iteration on event queue processing. Replaced setTimeout with an interval.
2014-06-19 07:59:33 -05:00
Chris Houseknecht
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.
2014-06-19 07:59:33 -05:00
Chris Houseknecht
cb44949a1d Job detail page refactor
Experimenting with _.throttle to improve event queue processing.
2014-06-19 07:59:33 -05:00
Chris Houseknecht
4cb7e2301d Job detail page refactor
Fixing scrolling issue on tasks list.
2014-06-19 07:59:33 -05:00
Chris Houseknecht
5a461a5471 Job detail page refactor
Endless scrolling queries appear to no longer be firing when programmatically scrolling to the end of list.
2014-06-19 07:59:33 -05:00
Chris Houseknecht
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.
2014-06-19 07:59:33 -05:00
Chris Houseknecht
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.
2014-06-19 07:59:33 -05:00