Commit Graph

3577 Commits

Author SHA1 Message Date
Jared Tabor 280126310a Adding filter on portal jobs for user/team
Feature request from Bill for the jobs view of portal mode to be filterable for users/teams
2015-01-27 16:15:13 -05:00
James Laska 77c76bece1 Disable SSLv3 in apache config
Fixes: https://trello.com/c/BGy5voWf
2015-01-27 16:15:13 -05:00
James Laska 7728c720db Mark eula_accepted as new to 2.1.1 2015-01-27 16:15:13 -05:00
Chris Meyers 85743d2250 fixed inventory source update # license hosts check 2015-01-27 16:15:12 -05:00
Matthew Jones 93de3f9a73 Fix up an issue posting eula with the license to the config endpoint 2015-01-27 16:14:15 -05:00
Matthew Jones 20910e0e95 Fix up some serious issues posting new surveys and deleting them by
non-super users.   Also fix up some issues checking can_change for job
templates for operations like PATCH where not all of the data points
will be submitted
2015-01-27 15:12:58 -05:00
Chris Meyers 6fba494692 Merge pull request #43 from chrismeyersfsu/improvement-inventory_import_more_like_ansible
inventory_import behave more like ansible
2015-01-27 15:11:13 -05:00
Chris Meyers cfb56c25a0 inventory_import behave more like ansible
```
mkdir inv
echo foo > inv/hosts
mkdir inv/host_vars
touch inv/host_vars/foo
touch inv/host_vars/foo.yml
```

```
ansible -i ./inv -c local -m ping all
```

```
tower-mange inventory_import --inventory-id=1 ./inv
```

The tower command above now throws an error similar to ansible:

`Multiple variable files found. There should only be one.`
2015-01-27 14:56:03 -05:00
Jared Tabor 582bca474c Adding filter on portal jobs for user/team
Feature request from Bill for the jobs view of portal mode to be filterable for users/teams
2015-01-27 14:31:28 -05:00
James Laska f255f39915 Disable SSLv3 in apache config
Fixes: https://trello.com/c/BGy5voWf
2015-01-27 13:18:29 -05:00
James Laska dc09fc5ad1 Mark eula_accepted as new to 2.1.1 2015-01-27 13:12:35 -05:00
Matthew Jones 41d294c101 Merge pull request #40 from chrismeyersfsu/fix-inventory_update_license_expired
fixed inventory source update # license hosts check
2015-01-27 10:50:04 -05:00
Chris Meyers 76ad9720dd fixed inventory source update # license hosts check 2015-01-27 08:58:30 -05:00
John Mitchell 7fbdc1d0db Fixing jshint errors 2015-01-26 19:21:51 -05:00
John Mitchell 18de663c02 Initial fix of displaying shell commands and warnings in event detail modals 2015-01-26 19:10:11 -05:00
John Mitchell 13913019dd Making the index.html file serving conditional more obvious 2015-01-26 19:10:11 -05:00
Matthew Jones 89b1ef62e6 Merge pull request #38 from chrismeyersfsu/fix-project_status
Fix child job->parent job status update.
2015-01-26 17:46:29 -05:00
Luke Sneeringer fea31271d2 Move cert and key files to tower.cert and tower.key. 2015-01-26 16:11:56 -06:00
Chris Meyers d051b6348b Fix child job->parent job status update.
* refactored so that project shares parents _update_parent_instance() code
* allow parent job status field to be anything a child status job field can be
* fixed child job status to parent job status propagation
2015-01-26 16:55:26 -05:00
Matthew Jones 89eeadacdb Merge pull request #39 from chrismeyersfsu/fix-task_retry_spelling
fixed variable name error
2015-01-26 16:09:57 -05:00
Chris Meyers 8e22aafbed fixed variable name error 2015-01-26 16:08:28 -05:00
Matthew Jones de429ac683 Fix an issue where extra data wasn't being passed down to system jobs
from the schedules
2015-01-26 15:31:57 -05:00
Matthew Jones 698b58e19f filter utility method got caught up in the python boolean dragnet 2015-01-26 15:00:49 -05:00
Matthew Jones 19c6e474cd Missing boolen utility function export 2015-01-26 14:33:20 -05:00
Matthew Jones e807507203 Missing one boolean converter from filters after conversion 2015-01-26 12:50:23 -05:00
Matthew Jones b5db74a7d9 Generalize the python boolean converter so we can use it in RBAC methods 2015-01-26 11:57:21 -05:00
Matthew Jones 9447c092ac Fix a 500 error when posting empty json to the config endpoint, this
code was just wrong
2015-01-26 10:12:26 -05:00
Chris Church 8da5ba60f3 Pass updated kwargs to new unified job instance. Fixes https://trello.com/c/LFsi5Cq5 2015-01-24 17:48:49 -05:00
jaredevantabor 0f793dbf6b Merge pull request #37 from jlmitch5/master
Updated the explanation and result traceback on the job details page. 

Confirming merge--JT
2015-01-23 15:07:22 -05:00
John Mitchell ef331d37bb finished styling for explanation/traceback on the details page 2015-01-23 15:00:18 -05:00
John Mitchell 7a668c9089 add explanation and result traceback to details page for failed jobs 2015-01-23 15:00:18 -05:00
Matthew Jones 1c19924b9a Merge pull request #35 from chrismeyersfsu/housekeeping-system_job_template_launch
removed system job specific code that handles extra_vars
2015-01-23 14:52:28 -05:00
Jared Tabor b530538b03 JSHint errors.
cleaned up some errors from jmitchell
2015-01-23 11:59:35 -05:00
Jared Tabor c02e5ffa41 Adding EULA checkbox in license modal
Added the EULA text and checkbox on the UI. We received the shortened text from Rob Nalen
2015-01-23 11:59:07 -05:00
Matthew Jones 2bb4629fe3 Merge pull request #36 from chrismeyersfsu/fix-extra_vars_comments
extra_vars_dict: handle the case where an entire yaml file is commented
2015-01-23 11:37:57 -05:00
Chris Meyers fad5fb5f58 extra_vars_dict: handle the case where an entire yaml file is commented 2015-01-23 11:00:16 -05:00
Matthew Jones 6a7e887369 Fix an issue where non super users would not be able to update a job
template survey spec
2015-01-23 10:34:41 -05:00
Matthew Jones ea8537ac71 Adjust the behavior of the cancel action
For pending and waiting jobs this should set the cancel status
immediately. For running jobs it should just set the cancel flag and let
the running job set the cancelled status itself during its cancelation
procedure.  This also prevents a race condition where the task manager
will start dependent jobs before realizing the status is cancelled.
2015-01-23 10:20:57 -05:00
John Mitchell cdd61d5b9f small fix to what is required/not required on the add inventory sources modal 2015-01-23 09:33:10 -05:00
Matthew Jones f676d1eeeb Add EULA and EULA acceptance on the config endpoint 2015-01-22 15:43:44 -05:00
John Mitchell b5a27d0a0f Added tooltips for jobs page name columns 2015-01-22 12:00:37 -05:00
Matthew Jones 12855e6c44 Make some assumptions on 'check' unit tests after talking with jimi-c.
Unit tests will now only all pass on ansible 1.8+.  We'll probably need
to revisit this, definitely for v2 if for no other reason
2015-01-22 11:16:17 -05:00
Chris Meyers 51a7d403db removed system job code that handles extra_vars in favor using common (unified job) code alread in use by normal jobs 2015-01-22 09:41:52 -05:00
Jared Tabor 7e822c34d5 Fixed issue with permissions for admins
When I added the callback for the CheckAccess module, I forgot to add the callback for whether the user is an admin (already added for non-admin users)
2015-01-21 18:01:33 -05:00
Jared Tabor 0bf3d54095 JSHint errors
fixed some JSHint errors from the prompt dialog commit
2015-01-21 18:00:25 -05:00
Jared Tabor f9af559379 Preventing delete modal from tabbing
There is an open issue with bootstrap modals where they do not prevent tabbing in the background of a modal. I've had to add some custom behavior to prevent this.
2015-01-21 17:38:31 -05:00
Chris Meyers 837eb7ae2c Merge pull request #34 from chrismeyersfsu/fix-tower_ha_redirect
redirect to primary host with the original requesting path preserved
2015-01-21 15:07:41 -05:00
Chris Meyers da63fc64d0 redirect to primary host with the original requesting path preserved 2015-01-21 13:53:46 -05:00
Matthew Jones 16a9af0803 Fix an issue where non-org-admin users with appropriate job template
permissions were not able to view or edit schedule details
2015-01-21 13:49:24 -05:00
Matthew Jones 556d7a8ac6 Merge pull request #33 from chrismeyersfsu/improvement-cleanup_jobs_error_handling
output number of deleted items when running cleanup_deleted
2015-01-21 12:12:30 -05:00