Commit Graph

4026 Commits

Author SHA1 Message Date
Joe Fiorini 9aed0ad63a Extract list actions to directive 2015-03-13 12:06:09 -04:00
Joe Fiorini cb1787816f Correctly import generateList module into inventories 2015-03-13 12:04:29 -04:00
Joe Fiorini 7b38bacca0 Uncomment and jshint ignore console statement 2015-03-13 11:50:35 -04:00
Matthew Jones 0f5beca9ae Major fixes for job callback receiver processing
* Add logic to ansible callback plugin to prevent it from waiting
  forever to submit events to Tower
* Lower process recycle threshold for tower callback receiver
* Make recycle threshold configurable
* Properly exit the main callback receiver management process if
  the event receiver process is dead so we don't leave dead worker
  processes
* Set a configurable maximum number of messages that can be waiting
  in a worker process queue before it is skipped instead of filling
  up memory on a dead worker process
* Skip over a dead worker process if it's queue is full
* Force restart callback receiver if all queues are dead
* Roll back transaction.atomic with the thought that it is causing
  deadlocks in the worker process.  Use the old commit_on_success
  mechanism with retry logic
* Seperate queue nonblocking expected exception from any other type
  of exception that could be encountered on the queue fetch operation
2015-03-13 11:18:18 -04:00
James Laska 6258035ca8 Make ValidationError consistent with rest-framework
This is silly, but rest-framework returns an error with a '.' at the
end.  Test automation validates the error responses. Rather than special
case this condition, I've chosen to raise an Exception with a msg
consistent with rest-framework.
2015-03-13 08:52:23 -04:00
James Laska aa55f96316 Cleanup remaining flake8 issue 2015-03-13 08:50:12 -04:00
Jared Tabor 757e77e9a3 fixing jshint errors 2015-03-12 15:49:08 -04:00
Jared Tabor 333adea673 Merge branch 'edit-inv-page' into upstream_master
Conflicts:
	awx/ui/static/js/controllers/Inventories.js
	awx/ui/static/js/lists/InventoryHosts.js
2015-03-12 15:37:19 -04:00
Jared Tabor 5e22c86c45 link to manage page from inv list 2015-03-12 14:32:41 -04:00
Jared Tabor 698f2e7b8f Added icon on inventories view for manage inventory
With the Manage Inventory page being essentially nested below the Edit Inventory page, I have added a new icon and a new button for getting to these pages.
2015-03-12 12:16:47 -04:00
Jared Tabor 9ed89f9622 fixing breadcrumbs for new inventory page/manage
fixing breadcrumbs to reflect the level of nesting of hte manage page.
2015-03-12 11:41:36 -04:00
Jared Tabor c2b5d27333 Inventory manage row height and icon col width
adjusted the heights of the rows for the groups/hosts on the manage view, and made the column width greater for icons on the page too
2015-03-12 10:41:43 -04:00
Jared Tabor 8e91c36593 Inventory edit properties
Adding the methods for filling the form with data from the API, resetting the form, saving variables, and for saving the form to the API. Also ensured activity stream worked.
2015-03-11 18:14:50 -04:00
Bill Nottingham 076ba3fd4e Add some comments about replacing the cert in the place people are most likely to notice it.
(AKA, Not Just The Manual.)
2015-03-11 17:01:02 -04:00
Joe Fiorini 31dc43d669 Merge pull request #101 from joefiorini/move-list-generator
Move list generator into new modular structure
2015-03-11 14:49:50 -04:00
Joe Fiorini f09080c931 Move list-generator into new structure 2015-03-11 14:49:26 -04:00
Joe Fiorini a687bb7cdc Merge pull request #99 from joefiorini/inventory-remove-checkbox
Remove checkbox on inventory list for enabling/disabling
2015-03-11 14:42:04 -04:00
Jared Tabor 286fd04498 changing name of inv manage partial 2015-03-11 13:37:07 -04:00
Jared Tabor 42081077c5 Moving inventory pages
the view that displayed the groups/hosts is now mapped to inventories/id/manage and the page for editing an inventory is an inventories/id
2015-03-11 13:30:03 -04:00
Joe Fiorini 7c80efc0d5 Use template for rendering smart status 2015-03-10 16:27:17 -04:00
Joe Fiorini a2f4aaff27 Refactor controller 2015-03-10 16:27:15 -04:00
John Mitchell 931cc0468b Only show the websockets indicator if it is *not* green: 2015-03-10 14:45:03 -04:00
John Mitchell 143c42aae5 Merge branch 'jaredevantabor-smart-status' 2015-03-10 13:59:57 -04:00
John Mitchell 3037bcb96a Merge branch 'smart-status' of https://github.com/jaredevantabor/ansible-tower into jaredevantabor-smart-status
Conflicts:
	awx/ui/static/js/controllers/Jobs.js
	awx/ui/static/js/shared/Socket.js
	awx/ui/static/less/ansible-ui.less
2015-03-10 13:59:08 -04:00
Jared Tabor de3b1ecbc7 removing unnecessary files 2015-03-10 12:53:38 -04:00
James Laska 8e31e88972 [jenkins] Don't install npm deps globally 2015-03-10 12:36:54 -04:00
Joe Fiorini 00838e1bbd Replace enabled checkbox with disabled tag display 2015-03-10 12:36:10 -04:00
Joe Fiorini 0dc04cd057 Use columnNgClass instead of ngClass for columns
ngClass gets placed on both the td and the link (if an ngClick is
    provided); this is not good, therefore splitting them out into
ngClass for the link class (for backwards compatibility) and
columnNgClass for the class on the td.
2015-03-10 12:31:04 -04:00
Jared Tabor 7c9b6f5269 Making the status even smarter
Incorporating the true status for each bar
2015-03-10 12:04:14 -04:00
Jared Tabor 9295ac78fd Updated status checks for smart status 2015-03-10 11:28:48 -04:00
Jared Tabor 23254beb6c More styling on the tooltip for smart status 2015-03-10 10:57:35 -04:00
jlmitch5 e1aa3bf6b3 Merge pull request #97 from jlmitch5/form
showing ASK when ask for password is selected
2015-03-09 20:56:52 -04:00
John Mitchell 26e2c7b8dc showing ASK when ask for password is selected 2015-03-09 20:52:09 -04:00
jlmitch5 c560ff2107 Merge pull request #96 from jlmitch5/form
password field changes and configuration fixes
2015-03-09 16:59:25 -04:00
Jared Tabor ec39c5c864 Updated tooltip for sparklines 2015-03-09 16:55:17 -04:00
John Mitchell dada789f8b fixing errors 2015-03-09 16:41:39 -04:00
John Mitchell fb5db213cd password field changes and configuration fixes
* create a new sensitive input type to replace password
* added a new input configuration for the sensitive type called hasShowInputButton (this shows a button to the left of the field that toggles the display of plain text)
* updated the credentials form configuration
    * removed confirm password boxes for *entering* sensitve information
    * updated the Keyphrase label
* fixed a bug in the credentials controller's ask function, which did not check to see if a confirmation input was defined or not
2015-03-09 16:20:47 -04:00
Joe Fiorini a4b4c92a31 Merge pull request #91 from joefiorini/fix-dashboard-live
Fix dashboard live events and tooltips
2015-03-09 14:20:00 -04:00
Jared Tabor 1e68785264 adding click event for spark lines 2015-03-09 13:48:08 -04:00
Joe Fiorini c5bfe218bd Merge pull request #92 from joefiorini/breakpoint-fix
Fix for debugger breakpoints with sourcemaps
2015-03-09 13:43:38 -04:00
Joe Fiorini af9aca9806 Allow app load to be suspended to let sourcemaps load 2015-03-09 13:44:24 -04:00
Joe Fiorini 106fa53e6d Remove incorrect schedule socket listener 2015-03-09 13:39:29 -04:00
Joe Fiorini 0507e89709 Revert "Fix live events with scheduled jobs on dashboard"
This reverts commit c9b4882012357db8d4effb5b38a22049599468b6.
2015-03-09 13:38:36 -04:00
Matthew Jones 19c20c2616 Merge pull request #90 from matburt/scan_jobs_in_tower
Scan jobs in tower
2015-03-09 10:49:45 -04:00
jaredevantabor b7ea9edc52 Merge pull request #93 from jaredevantabor/new-row-styling
changed the styling on the rows
2015-03-06 17:11:54 -05:00
Jared Tabor df5f384916 Removing comment 2015-03-06 16:54:56 -05:00
Jared Tabor c3f5909600 removing comments from ansible-ui.less 2015-03-06 16:52:57 -05:00
Jared Tabor a8095e870e smart status sparkline tooltips 2015-03-06 16:32:58 -05:00
Joe Fiorini 78a4252e7b Fix live events with scheduled jobs on dashboard 2015-03-06 16:27:56 -05:00
Joe Fiorini 9a20b15d5a Fix infinite reload on dashboard jobs 2015-03-06 16:27:30 -05:00