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
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 Church
3a5db149e9 Generate large test license for cloud inventory import unit tests. 2014-06-05 16:20:17 -04:00
Chris Church
d2d7ac3d1c Save/restore current directory for each test. 2014-06-05 16:02:58 -04:00
James Laska
11b39febfb Include PYLINT_RCFILE 2014-06-05 15:29:36 -04:00
James Laska
9ee0eb9850 Rename awx/settings/jenkins to awx/settings/development_quiet 2014-06-05 15:00:51 -04:00
James Laska
e8dc57ff36 Move django_jenkins into development.py 2014-06-05 15:00:21 -04:00
James Laska
38bfbb4b46 test_jenkins - Specify .less files, not directory 2014-06-05 14:41:00 -04:00
James Laska
296917af54 Move test_jenkins configuration into awx/settings/jenkins.py 2014-06-05 14:06:20 -04:00
James Laska
fb62eebe8c Add pylintrc file 2014-06-05 13:58:47 -04:00
James Laska
790a9b6432 Need to specify django_tests when overriding JENKINS_TASKS 2014-06-05 12:39:09 -04:00
James Laska
22db69eb70 test_jenkins - minified files are already excluded 2014-06-05 12:24:50 -04:00
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