Luke Sneeringer
d93870d828
Ability to remove instances.
2014-12-05 14:19:54 -06:00
Jared Tabor
1ffca45c4a
Remove open modals when logging in
...
If the session times out, and the user attempts to open a modal dialog, then it must be closed due to the fact that bootstrap modals do not work with more than one modal open. The login modal is a bootstrap modal so all other modals need to be closed when it is shown.
2014-12-05 14:31:45 -05:00
Jared Tabor
9c80dba4a2
Survey maker type change fix
...
Made all custom fields set to pristine state when the user changes the question type
2014-12-05 12:21:09 -05:00
Jared Tabor
4a0afd97b0
Added org column to custom inv scripts list
...
I added the organization column to the custom inventory scripts list on the scripts modal
2014-12-05 11:32:28 -05:00
Jared Tabor
5eb4b59745
Projects form -> edit / SCM fix
...
The manual scm option was not showing up when editing an existing project
2014-12-05 11:06:34 -05:00
Jared Tabor
224e136269
Portal mode column styling
...
Added text wrap and fixed layout style for portal mode widgets for long names
2014-12-05 11:01:56 -05:00
Chris Church
688e80d82c
One more extra vars fix.
2014-12-04 17:55:27 -05:00
Jared Tabor
b4be8f7d49
Project SCM type drop down fix
...
The SCM type for the projects page was broken when we sorted the drop down options by value. There was no value for 'manual' projects. I had to insert the word 'manual' where it was expecting a blank sting and then remove the word manual before saving the job template to the API
2014-12-04 15:56:35 -05:00
Chris Church
12f07e454f
Reenable test for key=value extra vars, remove some unused imports.
2014-12-04 15:42:18 -05:00
Matthew Jones
680e382a40
Comment out an old vars test representation
2014-12-04 14:58:16 -05:00
Matthew Jones
d8c619554e
Fix up some more issues with extra vars and unit tests
2014-12-04 14:25:36 -05:00
James Laska
a0bfe31847
Another attempt to correct markdown
2014-12-04 12:47:14 -05:00
James Laska
59ebc14f0d
Correct markdown
2014-12-04 12:44:25 -05:00
Jared Tabor
c05d746d73
Fixed empty Extra Variable JSON parsing issue
...
if the user saved a job template with empty extra variables and the Parse as option as JSON, then the UI crapped out. I added a check to make sure the default string is '{}' if the user submits an empty field.
2014-12-04 12:01:05 -05:00
Matthew Jones
3164c6d356
Fix an issue where we weren't properly dealing with extra data passed as
...
survey answers when launching a job template
2014-12-04 11:17:24 -05:00
Jared Tabor
d9e69fc2c3
Fixed JT form Reset button
...
Had to make a small repair to Job Template form reset that was caused when i refactored the code to fill the form
2014-12-04 10:49:50 -05:00
Jared Tabor
ce879f58d8
Added Organization lookup to custom inv script
...
The custom inventory script form needed to have an organization associated with it, so I added a lookup to the form and made sure this was incorporated with the Reset functionality
2014-12-04 10:29:13 -05:00
Chris Church
3668b3c761
Fix callback consumer port to always be a URL, instead of sometimes an int.
2014-12-03 20:49:08 -05:00
Chris Church
36cf1e1e10
Fix callback consumer port used by job event callback.
2014-12-03 20:44:19 -05:00
Chris Church
1faa2be3b4
Fix for active hosts count when running unit tests with SQLite.
2014-12-03 20:13:08 -05:00
Chris Church
fcf7398ec6
Add common code for determining active (licensed) hosts with unique names, update licensing code and inventory import to use it. Implements https://trello.com/c/2Q9Mosks
2014-12-03 19:41:01 -05:00
Chris Church
6b91f46082
Log warning and continue on invalid port specification. Fixes traceback from https://trello.com/c/0OgJ3uRb
2014-12-03 19:27:52 -05:00
Chris Church
526e4f2a2c
Use unicode project path when searching for playbooks. Fixes https://trello.com/c/yJGDluu1
2014-12-03 19:10:49 -05:00
Chris Church
109988da13
Fix typo, modify can_update to prevent inventory update from even starting when source script is missing.
2014-12-03 18:35:33 -05:00
Jared Tabor
f893e4b00b
Fixed small issue with JT form vars
...
A '$' got deleted somewhere along the line
2014-12-03 16:34:23 -05:00
Matthew Jones
e05f9e081c
Throw an error when running an inventory update against an inventory
...
script that has been deleted
2014-12-03 16:09:55 -05:00
Jared Tabor
c095ebcbfb
Tooltip fix for vmware vars
...
on the source panel for vmware extra vars, had to change the wording of the tooltip
2014-12-03 15:40:17 -05:00
Matthew Jones
706b770814
Fix up unit test referencing the custom inventory script
2014-12-03 15:35:08 -05:00
Matthew Jones
19c0d04885
Adding organization reference to the custom inventory script
2014-12-03 15:05:44 -05:00
Jared Tabor
9a90277e5e
Environment Variables for VMWare inv source
...
added the yaml/json parser for VMWare inventory sources
2014-12-03 15:04:17 -05:00
Luke Sneeringer
6f09bb16ba
Do not require an admin password on upgrade.
...
This commit makes us only require an admin password if there is a new
admin user.
2014-12-03 13:11:30 -06:00
Matthew Jones
fcc7d3d7b1
Rework the callback emitter a little more, purge tower internals from
...
the module and fallback to the older codebase's mechanism. Make sure
we are passing the callback port as a string otherwise it seems to
corrupt the shell
2014-12-03 11:27:37 -05:00
Jared Tabor
8a2a829bac
Fixed reset on custom inv form
...
Instead of clearing the form we reset it to the values in the API
2014-12-03 11:11:04 -05:00
James Laska
4d99e917ce
Updated build_system docs
2014-12-03 08:43:10 -05:00
Chris Church
987fd4b3e0
Add name as default sort field for portal job templates. Fixes https://trello.com/c/AIZfaLVC
2014-12-03 00:52:01 -05:00
Chris Church
ba652b5dd3
Updated blacklist/rules for environment variables that can be set by source_vars for a custom inventory script. Fixes https://trello.com/c/CWbeHJ0L
2014-12-03 00:45:46 -05:00
Chris Church
21385d1315
Added /portal redirect. Fixes https://trello.com/c/E63JCT96
2014-12-03 00:33:25 -05:00
Chris Church
02f9f68536
Added API validation of instance filter names. Fixes https://trello.com/c/VH9Vnd8z
2014-12-03 00:26:25 -05:00
Chris Church
2f3d9e9f36
Handle/ignore poorly formatted EC2 instance filters. Fixes https://trello.com/c/YMtWTaW9 , https://trello.com/c/laUovaOm and https://trello.com/c/Hu11HhC4
2014-12-02 23:56:35 -05:00
Chris Church
564ba7bf68
Work on update/cancel serializers/views to return correct field names in OPTIONS response.
2014-12-02 18:55:54 -05:00
Jared Tabor
696475591a
Cleanup Jobs prompt for days >=0
...
I've made the prompt_for_days modal require an integer, as well as a non-negative integer (allows 0), and fixed ngMin to new awMin
2014-12-02 15:46:32 -05:00
Matthew Jones
13ee4e6048
Fix up an issue passing the callback port, which isn't strictly
...
necessary... if provided it causes a crash that corrupts the shell
2014-12-02 15:46:18 -05:00
Chris Church
7e94282934
Better handling of foreign key parameters for (re)launching jobs. Fixes https://trello.com/c/Ty5cjHBd
2014-12-02 15:12:45 -05:00
Luke Sneeringer
9dfa26fa58
Do not use ip_address on instances anymore.
2014-12-02 13:17:38 -06:00
Jared Tabor
f99a73fb85
text/textarea min/max length
...
added fields on survey maker for text/textarea min/max length. on survey taker added the error handling for these.
2014-12-02 14:01:34 -05:00
Jared Tabor
e9e2c1f6ab
awSurveyVariableName directive
...
created a new directive to check the variable name field for spaces. this could be expanded for future use if we want to check against other constraints. checked with matt though and he said space checking shoudl suffice
2014-12-02 12:45:31 -05:00
Luke Sneeringer
f890b6daa7
Shift makefile to hostname.
2014-12-02 11:20:03 -06:00
Luke Sneeringer
c3b962ced5
/api/v1/ping/ was added in 2.1.0
2014-12-02 10:39:54 -06:00
Luke Sneeringer
d6699353e5
Save hostnames, not IP addresses, for HA.
2014-12-02 10:34:25 -06:00
James Laska
4afa7a0d4d
Remove AMI vars-aws-keys.json file
...
When building AMI using packer, the caller is responsible for setting
the required environment variables to make packer and AWS happy. For
guidance, refer to https://www.packer.io/docs/builders/amazon-ebs.html .
2014-12-02 11:29:49 -05:00