1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 22:21:13 +03:00
Commit Graph

3368 Commits

Author SHA1 Message Date
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
Matthew Jones
eaee8d76c4 Fix a bug launching a custom inventory script under proot where we would
never actually launch the job under proot
2014-12-15 10:42:22 -05:00
Jared Tabor
312c76788d Copy JT
Cleared the value of the copy JT form of any stale text
2014-12-15 10:14:51 -05:00
Luke Sneeringer
4e5ebac6a0 Nicer error on bad arguments to user_info. 2014-12-12 13:43:23 -06:00
Matthew Jones
1e1ea4e9ee Some fixes for passing arguments to system/management jobs 2014-12-12 13:40:34 -05:00
Jared Tabor
c0f4f7185b Projects/add
With fixes to the manual scm type, if the local path returns no playbooks then an error message should be shown.
2014-12-12 11:46:07 -05:00
Jared Tabor
696e356fd1 Changed labels for survey maker min/max
For text and textarea questions, i changed the labels from 'Minimum' and 'Maximum' to 'Minimum Length' and 'Maximum Length'
2014-12-12 10:23:04 -05:00
Matthew Jones
f52cf37200 All job template launches now require a credential, so we'll pass this along 2014-12-11 16:30:23 -05:00
Jared Tabor
c2c47328df Survey taker float required error field
adding the div for the float required error field
2014-12-11 16:01:26 -05:00
Jared Tabor
7b9a6a4bb8 float's weren't required for survey taker
accidentally goofed up the expression for ng-required for floats on survey maker.
2014-12-11 15:43:50 -05:00
Matthew Jones
1bfab5ad5c Make credential required when launching job template if it isn't
provided on the job template
2014-12-11 15:31:12 -05:00
Jared Tabor
eb51600790 Hiding 'relaunch' icon for system jobs
hiding the relaunch icon for queued jobs, running jobs, and the dashboard view of jobs
2014-12-11 14:56:10 -05:00
Jared Tabor
f41a6f22bf Hide 'relaunch' icon for system jobs
system jobs don't have a relaunch resource, therefore we don't want the user thinking that they can relaunch these jobs.
2014-12-11 14:48:44 -05:00
Matthew Jones
96433b07d4 Incorrect object reference in Custom Inventory Script read acl for non-super-users 2014-12-11 13:47:33 -05:00
Jared Tabor
1c1aa1f807 Add custom inventory script to activity streams
added custom inventory script filtering on the activity stream widget
2014-12-11 13:35:10 -05:00
Matthew Jones
2ef4ee0987 Change up older custom inventory script migration to not set unique on
the name field
2014-12-11 13:26:41 -05:00
Matthew Jones
6f2a354b6e Wrong base class for Custom Inventory Scripts 2014-12-11 13:25:31 -05:00
Luke Sneeringer
0357bd074e Change user_exists to user_info. 2014-12-11 12:04:13 -06:00
Jared Tabor
acf7e83843 delete Job Template
added the div for styling of the delete job template prompt
2014-12-11 12:04:12 -05:00
Matthew Jones
60d8505fd3 Disallow creating callback jobs for the same host under the same job
template while another one is pending/waiting.  Update unit tests to
check for this scenario
2014-12-11 11:50:49 -05:00
Jared Tabor
2688f2c3cc Survey cancel button
Need to clean up lingering question object if cancel is pressed on the survey maker modal
2014-12-11 11:44:19 -05:00
Jared Tabor
7510714386 ToJSON fix
Expanded the list of things the ToJSON method can accept
2014-12-11 11:24:08 -05:00