Commit Graph

24580 Commits

Author SHA1 Message Date
James Laska c45926411c Disable DEBUG for unittests 2014-06-05 12:14:09 -04:00
James Laska f0fe6673f2 Add JENKINS_TASKS to django_jenkins
New tasks include run_pylint, run_pep8, run_pyflakes, run_jshint and
run_csslint.
2014-06-05 12:09:54 -04:00
Matthew Jones 859cc651e8 Force handle playbook_on_play_start messages early
Fixes issue AC-1277 where event parents were getting associated incorrectly
2014-06-05 11:37:25 -04:00
Matthew Jones 4ab2207dd2 Fix issue #1253... mention the tower product and version in the 404 data string 2014-06-04 14:05:57 -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
Matthew Jones fe925f1925 Heavily refactor group recursive delete provides closure for AC 2014-05-28 00:44:13 -04:00
Matthew Jones 7160bff363 Use through table reference to slightly improve host-group association removal 2014-05-23 15:57:03 -04:00
Matthew Jones 8cbf60e3b7 Integrate a new overall disassociate to /groups/n/children 2014-05-23 14:30:39 -04:00
Matthew Jones e2fb427789 Vastly improve overall group delete performance
Conflicts:
	awx/main/models/inventory.py
	awx/main/tasks.py
2014-05-23 14:30:13 -04:00
Matthew Jones 12ecc46398 Fix a bug where we allowed adding a group as a child of a
deleted/inactive group
2014-05-23 14:27:08 -04:00
James Laska 54713b1a2e Create aliases for generating RPM and DEB sdist
Adds the following aliases to assist with packaging-specific sdist.
 * dev_deb and release_deb - includes only .pyc files
 * dev_rpm and release_rpm - includes only .py files (later removed by
   install_lib)

The rpm sdist tarball is a traditional source distribution.  During the build
process, RPM will byte-compile and remove the .py source files.  The deb sdist
includes only byte-compiled awx python.
2014-05-22 11:40:47 -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
Matthew Jones 35521cbdc8 Fix merge badness 2014-05-21 16:31:26 -04:00
Matthew Jones 3d90c6db76 Deref deleted group immediately and then pass off the children and hosts
to be processed in the background.

Get rid of the child relative delete mechanism and merge the old concept
of delete on the /group/n endpoint with our new concept
2014-05-21 16:12:42 -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
Chris Church ea9843a66c AC-1235 Improve inventory tree view performance. 2014-05-20 16:49:03 -04:00
Chris Church ad3b1143bf AC-1235 Fix bug when importing large number of groups into existing inventory, sort group/host names on import to make output a little easier to follow. 2014-05-20 15:49:36 -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
Matthew Jones e03a7792ca Missing call to all when querying the relation manager 2014-05-20 14:04:46 -04:00
Matthew Jones e57d8718ff Support smart subgroup disassociation 2014-05-20 13:52:00 -04:00
Matthew Jones 6d53c231db Remove default cache setting from production 2014-05-20 10:07:08 -04:00
chouseknecht b4f60424c4 AC-1292 auto-resize groups height and scroll content when necessary. 2014-05-19 17:31:12 -04:00
Matthew Jones 56f9912edb Fix up recursive safe delete rbac and add unit test 2014-05-19 15:02:17 -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
Matthew Jones 98ad089f7d Remove memcached reference from settings 2014-05-19 12:04:52 -04:00
chouseknecht 66862abd0c Tweaked inventory group delete help link and text. 2014-05-19 11:24:37 -04:00
Matthew Jones fe29db1a46 Fix small plurality issue when recalculating host fields 2014-05-19 11:15:56 -04:00
Matthew Jones 71d256583d Remove cache control actions from inventory models 2014-05-19 11:10:02 -04:00
Matthew Jones 989aa180ce Remove memcached support, alter host fields to not show some expensive
summary elements

Conflicts:
	CONTRIBUTING.md
	setup/roles/packages_el/vars/default.yml
	setup/roles/packages_ubuntu/tasks/main.yml
2014-05-19 11:09:44 -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
Chris Church 6be2e07cbc AC-1235 Fix large inventory import tests by querying in batches. 2014-05-19 00:45:21 -04:00
Chris Church 3086ec4930 AC-1235 Fix for RunJobTest failures. 2014-05-18 22:56:59 -04:00