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

2191 Commits

Author SHA1 Message Date
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
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
Chris Houseknecht
22d5f061dd Job detail page refactor
Performance adjustment. CPU is melting with all the new changes.
2014-06-19 07:59:33 -05:00
Chris Houseknecht
88c1f13d27 Job detail page refactor
Fixed issue with tracking last event id.
2014-06-19 07:59:33 -05:00
Chris Houseknecht
7755cc32e2 Job detail page refactor
Fixing issues related to API endpoint changes and need to paginate tasks and plays.
2014-06-19 07:59:32 -05:00
Chris Houseknecht
f975b7b6dd 2.0 Styling
Fixed up the Account menu and wired it back up, mostly.
2014-06-19 07:59:32 -05:00
Bill Nottingham
8132c747ac Add additional release dates. 2014-06-19 07:59:32 -05:00
Chris Houseknecht
9b4f3df770 2.0 Styling
Added open sans font to repository and switched CSS to load the local files rather than use Google.
2014-06-19 07:59:32 -05:00
Luke Sneeringer
ba7c33eaa2 Paginate the job_tasks page.
This commit adds pagination to the /api/v1/jobs/{id}/job_tasks/ page,
which previously lacked it.

AC-1340
2014-06-19 07:59:32 -05:00
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
Bill Nottingham
092b068c50 Add additional release dates. 2014-06-18 18:15:59 -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
Luke Sneeringer
2f1d667e64 Don't run the large inventory timing test locally.
This commit turns off local execution of the timing test for a large
inventory.

This test is pointless on local development, where (1) memory varies
widely and (2) we're using an entirely different database (SQLite) for
testing.

Pulling it out makes local testing considerably quicker and avoids
specious failures.
2014-06-18 15:41:08 -05:00
Luke Sneeringer
1f91028399 Tests for the @paginated decorator.
This commit adds tests which test most of the @paginated
decorator. A couple api_settings edge cases are not yet covered.
2014-06-18 15:41:08 -05:00
Luke Sneeringer
66fb5ab07a Paginate the job_tasks page.
This commit adds pagination to the /api/v1/jobs/{id}/job_tasks/ page,
which previously lacked it.

AC-1340
2014-06-18 15:41:08 -05:00
Luke Sneeringer
131dd67994 Revert "Make /api/v1/jobs/{id}/job_tasks/ scale."
This reverts commit 88971080670f8f104db0f322a49ed2f3bb5e1ef0.
2014-06-18 15:39:50 -05:00
Chris Houseknecht
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.
2014-06-18 15:39:50 -05:00
Chris Houseknecht
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.
2014-06-18 15:39:50 -05:00
Chris Houseknecht
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.
2014-06-18 15:39:50 -05:00
Luke Sneeringer
65b87b9694 Tests for the @paginated decorator.
This commit adds tests which test most of the @paginated
decorator. A couple api_settings edge cases are not yet covered.
2014-06-18 15:37:30 -05: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
Bill Nottingham
5aa293a17a Add additional release dates. 2014-06-18 15:03:56 -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
Luke Sneeringer
2ac5090d70 Paginate the job_tasks page.
This commit adds pagination to the /api/v1/jobs/{id}/job_tasks/ page,
which previously lacked it.

AC-1340
2014-06-18 13:01:53 -05:00
Luke Sneeringer
bb338f3637 Make /api/v1/jobs/{id}/job_tasks/ scale.
This commit fixes an issue where the `job_tasks` endpoint
scaled poorly as the number of job tasks increased.

Note: This is a revert of a revert, because I felt this needed
code review and didn't want it on master yet. Sorry.

AC-1341
2014-06-18 12:59:57 -05:00