Jared Tabor
6d45dbbeb4
Default sort by w/ no link
...
set key and noLink to true, which will force the list to have a default sort-by, but will not force the list to contain any links
2014-12-08 13:33:35 -05:00
Jared Tabor
be63b3e0b3
adding 'noLink' property for list generators
...
adding noLink option which will override any other options to make a list column an href. This is useful when using the 'key' attribute, which sorts a list and includes links on the items. Now there is a way to override this feature. This is for portal mode and used in custom inv scripts as well.
2014-12-08 13:29:57 -05:00
Jared Tabor
8e28c73623
made organization required on custom inv script
...
the organization field of the custom inv script modal needed to have the astericks to indicate that it is required.
2014-12-08 12:52:07 -05:00
Jared Tabor
9e8ec0ebd0
Host events variable parsing to prevent tag inject
...
The host events modal needs to have escape characters for tag elements in case a user tries to inject html code into the arguements of the host events.
2014-12-08 12:28:38 -05:00
Jared Tabor
fd86b940e2
Prevent html injection in host events
...
replaced '<' and '>' characters with their escape characters to prevent html from being rendered onto the view.
2014-12-08 11:11:50 -05:00
Matthew Jones
e8a837ea11
Add a default maximum of 10 jobs waiting from a job template if launched
...
by a schedule
2014-12-08 10:51:43 -05:00
Matthew Jones
91527228db
Demote settings imports in main utils
2014-12-05 15:47:25 -05:00
Matthew Jones
ec887f877f
Support running custom inventory scripts (only) from within proot if enabled
2014-12-05 15:25:06 -05:00
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