Matthew Jones
526e488e78
Incorrect assumption that we needed to merge extra vars manually... now
...
passing extra vars to the job template launchc will override what is
coming from the job template
2014-12-19 10:51:55 -05:00
Matthew Jones
da658ee524
Fix an issue with relaunching jobs
2014-12-18 16:39:04 -05:00
Jared Tabor
cd486b6d9a
Job detail page
...
When the job run was complete the interval was not being turned off that would continue to update the DOM
2014-12-18 16:29:14 -05:00
Jared Tabor
f5100ee110
Cleanup tower modal issue between saves
...
cleaned up the management modal between states
2014-12-18 14:25:41 -05:00
Matthew Jones
58ef1df906
Remove foob :embarassed:
2014-12-18 14:23:09 -05:00
Luke Sneeringer
27e8d13790
Do not run task system on secondaries.
2014-12-18 12:14:49 -06:00
Jared Tabor
50372f9c38
Prompt for credentials
...
fixed prompt for credentials so that ssh and ssh key unlock were both accounted for
2014-12-18 10:52:53 -05:00
Matthew Jones
9ce6101cd4
Do not display inventory scripts for which the organization is inactive
2014-12-18 10:04:40 -05:00
Matthew Jones
45a7c1647f
Fix error message returned based on variables_needed_to_start
2014-12-18 08:07:51 -05:00
Matthew Jones
a130ac88dd
Fix an bug where I wouldn't properly error out when survey validation
...
would fail
2014-12-17 22:39:11 -05:00
Matthew Jones
6f5d450e8d
Fix an issue that would not allow credential to be posted when launching
...
a job
2014-12-17 21:09:51 -05:00
Jared Tabor
be2f2596f3
Made delete prompts use the same styling
...
made the delete prompts more uniform
2014-12-17 17:49:45 -05:00
Jared Tabor
7d0e6d8f53
Account menu for Tower after portal mode
...
the account menu for tower was displaying items for non-admin users after going to portal page and back to tower.
2014-12-17 17:41:53 -05:00
Jared Tabor
318da8522f
Passing vars to API via extra_vars in job launch
...
We changed this at one point to have all vars passed on the root level, but for uniformity we have changed it back to using the extra_vars object
2014-12-17 17:29:43 -05:00
Matthew Jones
41cabb0899
Add the ability to cleanup management jobs in the cleanup_jobs
...
management command
2014-12-17 16:54:13 -05:00
Luke Sneeringer
fd6eb66b20
Secondaries should not have schedules.
2014-12-17 15:33:16 -06:00
Matthew Jones
d4879506c2
Switch to using extra_vars for survey variables, fix up some unit tests
...
related to that and some issues with system jobs
2014-12-17 16:04:55 -05:00
Jared Tabor
6e3cd5bc54
Added "Manual" to inventory source options
...
The 'manual' option was not being shown b/c it's value was an empty string.
2014-12-17 15:29:25 -05:00
Matthew Jones
7d9f4aac47
Working smart_str in projects unit tests
2014-12-17 14:13:59 -05:00
Luke Sneeringer
c02647cf04
Always allow the /ping/ endpoint, even on secondaries.
...
Also, if content is None, it does not have the keys we are checking for
in the ./configure script.
2014-12-17 13:09:58 -06:00
Luke Sneeringer
efee35bf70
Fix redirect.
2014-12-17 12:29:58 -06:00
Luke Sneeringer
719ae63a28
Fix error causing single-host HA environments to report not HA.
2014-12-17 12:22:53 -06:00
Matthew Jones
0ffa7588e1
Fix up a unit test for project paths
2014-12-17 13:04:33 -05:00
Matthew Jones
f4e67f789f
More making sure we are using smart_str
2014-12-17 12:59:52 -05:00
Matthew Jones
1f723e9404
More work on unicode for project dirs
2014-12-17 12:52:29 -05:00
Matthew Jones
edb646fdf9
Use smart_str more widely with project paths... hopefully this takes
...
care of the remaining issues
2014-12-17 11:06:56 -05:00
Chris Church
844e1b7343
Update validation for instance filters to allow 'tag:key=value'. Fixes https://trello.com/c/VH9Vnd8z .
2014-12-17 02:31:33 -05:00
Chris Church
ee97e83b2c
Allow EC2 inventory sources to omit a credential in order to use IAM roles. Implements https://trello.com/c/aBMF95eF
2014-12-17 01:50:25 -05:00
Chris Church
4ee092152b
Fix intermediate migrations to reflect modifications to 0055_v210_changes.
2014-12-16 18:02:04 -05:00
Matthew Jones
b2e1f04ecf
Include all cleanup tasks when the cleanup management job is run
2014-12-16 15:38:07 -05:00
Jared Tabor
f422d86355
Survey maker edit multiple quesitons
...
The survey maker would allow the user to edit multiple questions at the same time. I've removed this functionality.
2014-12-16 15:06:27 -05:00
Chris Church
41ac7c4d96
Allow space in SCM password. Fixes https://trello.com/c/KaqasZPa
2014-12-16 14:38:58 -05:00
Matthew Jones
c014399d6e
Try smart_str for this particular encoding
2014-12-16 13:59:06 -05:00
Jared Tabor
956dfedb30
Job detail job events
...
The job events modal was not being loaded because the data call to the API was not specifying which page of data to request.
2014-12-16 13:49:40 -05:00
Matthew Jones
cf5cd3fcdc
Make sure we are decoding the project path
2014-12-16 13:16:07 -05:00
Matthew Jones
76a7d25131
Force custom inventory script organization to match the organization of
...
an inventory source's inventory when creating/updating the inventory source
2014-12-16 13:01:11 -05:00
Matthew Jones
b0d6628d46
Add some stdout to the activity stream cleanup command
2014-12-16 10:06:07 -05:00
Jared Tabor
feaee64706
Made SCM update button disabled on edit projects
...
On the edits project page I disabled the button if the SCM type is manual.
2014-12-16 01:23:12 -05:00
Jared Tabor
283e4a2a96
Custom inventory scripts required on source modal
...
custom inventory scripts needs to be required when on the source modal screen
2014-12-15 16:40:07 -05:00
Matthew Jones
8f4cd58a5e
Bulk make_projects seems to have path concat issues when forcing unicode
2014-12-15 16:22:41 -05:00
Matthew Jones
d03fe93927
Try to clean up how we invoke make_project in the unit tests
2014-12-15 15:24:45 -05:00
Jared Tabor
b12d5c90fd
Inventory add/edit group->filter custom inv by org
...
On the inventory page, if you're adding/editing a group with source is custom, the lookup for an inventory script should be filtered by the organization that is associated with that inventory
2014-12-15 15:16:24 -05:00
Matthew Jones
cc7edc770e
Small fix for inventory source unit tests if the source is custom during check_inventory_source
2014-12-15 15:13:27 -05:00
Matthew Jones
901af011a1
Verify that we are passed a source script if a 'custom' source is provided
2014-12-15 14:56:09 -05:00
Matthew Jones
9e962d4d5b
Fix up unicode project directory issue, with unit tests
2014-12-15 14:17:21 -05:00
Jared Tabor
d410e1aa2c
Survey maker
...
changed the way that question data is gathered from the question form. Instead of looping through I explicitly set the varaibles needed for the particular question
2014-12-15 13:25:03 -05:00
Jared Tabor
e5ba0ce8bc
Survey maker/taker issue with int/floats = 0
...
fixed a defect with the survey maker/taker where floats/ints equal to zero weren't being displayed the entire way through
2014-12-15 13:24:51 -05:00
Matthew Jones
d2a4f2a190
Limit the graph builder to processing just the first few hundred jobs
...
when building the dependency graph
2014-12-15 12:46:35 -05:00
Jared Tabor
651dd1239a
Survey maker variable name checking
...
Generalized the directive for the variable name of survey maker to check for illegal characters for a javascript object
2014-12-15 11:27:58 -05:00
Matthew Jones
a487257789
Cascade remove inventory source links when a custom script is removed
2014-12-15 11:10:39 -05:00