1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00
Commit Graph

3500 Commits

Author SHA1 Message Date
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
Chris Meyers
7204209b16 output number of deleted items when running cleanup_deleted 2015-01-21 12:10:51 -05:00
Chris Meyers
20d714cc00 Merge pull request #30 from chrismeyersfsu/improvement-tower-manage_ha
unified tower-manage *_instance commands
2015-01-21 11:55:15 -05:00
Matthew Jones
97f59a0b04 Filter TERM from variables pushed into the launch shell environment 2015-01-21 11:42:38 -05:00
Matthew Jones
76bcb12d9f Merge pull request #32 from matburt/fix_jtlaunch_without_proj
Make Inventory and Project required when initially launching.
2015-01-21 11:26:22 -05:00
Matthew Jones
873afd64d2 Make Inventory and Project required when initially launching.
This prevents the scenario where an inactive-but-present project or
inventory on a job template would carry on even when we wouldn't want
it to
2015-01-21 11:05:14 -05:00
Matthew Jones
bb5f3243e3 Merge pull request #31 from chrismeyersfsu/improvement-cleanup_jobs_error_handling
added graceful fail and meaningful error message when --days specified is too large
2015-01-21 09:53:53 -05:00
Chris Meyers
62d63607cc added graceful fail and meaningful error message when --days specified is too large 2015-01-21 08:31:19 -05:00
James Laska
2dd451b8ee Update development version 2015-01-20 16:48:41 -05:00
Chris Meyers
58617e41e0 unified tower-manage *_instance commands
Changes:
* split register_instance into register_instance and update_instance
* register_instance may only create an instance if an instance doesn't already exist and may not modify an existing instance. Before --hostname would modify the hostname for an already registered instance
* register_instance removed --timid parameter and always behave like timid is on
* remove_instance now accepts --hostname to match an instance to remove
* register_instance added better usage message
2015-01-20 15:13:12 -05:00
Matthew Jones
34aafb2db9 Fix an issue where we couldn't schedule custom inventory sources 2015-01-20 14:55:05 -05:00
Matthew Jones
92f4bef948 Merge pull request #28 from matburt/master
Revert "Make credential required when using a cloud inventory source"
2015-01-20 11:05:27 -05:00
Matthew Jones
9b80d25a24 Revert "Make credential required when using a cloud inventory source"
This reverts commit 9dab26eb0a66a910e41452e40e74480ed4639588.
2015-01-20 10:46:53 -05:00
Matthew Jones
73890a0eee Merge pull request #26 from matburt/atomic_computed_fields
Wrap computed fields in transaction atomic to prevent deadlocks and weird rollbacks
2015-01-20 09:58:56 -05:00
Matthew Jones
be2a0614cf Merge pull request #25 from matburt/remove_crazy_decorators
Purge old super user check decorator in favor of using RBAC.  Update unit tests
2015-01-20 09:58:48 -05:00
Matthew Jones
3beab0a22e Merge pull request #24 from matburt/make_credential_required
Make credential required when using a cloud inventory source
2015-01-20 09:58:39 -05:00
Matthew Jones
dba5a66fbc Merge pull request #22 from matburt/master
Modify the windows azure inventory script to import all of the instances
2015-01-20 09:58:23 -05:00
Matthew Jones
70d6e38f57 Wrap computed fields in transaction atomic to prevent deadlocks and
weird rollbacks
2015-01-19 15:37:29 -05:00
Matthew Jones
4ce0fc4eb4 Purge old super user check decorator in favor of using RBAC. Update
unit tests
2015-01-19 13:54:49 -05:00
Jared Tabor
91e3374c2d Adding check for job detail properties 2015-01-19 12:08:53 -05:00
Matthew Jones
a8c7b0dc41 Emit an error message if the host doesn't exist in azure 2015-01-19 12:04:58 -05:00
Matthew Jones
43d26d9993 Make credential required when using a cloud inventory source 2015-01-19 11:52:10 -05:00
Matthew Jones
a7e6d62e2c Rename 'primaries' in windows azure to 'Cloud_services' per recommendation 2015-01-19 11:48:34 -05:00
Matthew Jones
df68e45e16 Merge pull request #23 from wenottingham/rest-branch
Fix assorted UI error messages to reference the correct REST requests.
2015-01-19 11:21:46 -05:00
Matthew Jones
73954b7c7d Merge pull request #16 from wenottingham/firewalld-branch
This adds support for firewalld on RHEL 7/CentOS 7.
2015-01-19 11:21:20 -05:00
Jared Tabor
ce9e82d50b Added help text for custom inv script
added a line for the user to add the hashbang in their script
2015-01-19 11:03:18 -05:00
Bill Nottingham
3df996f999 Fix assorted UI error messages to reference the correct REST requests.
Noticed when James commented on one specific posted error that it shouldn't be doing a PUT instead of a POST; turns out the error was just copy/pasted wrong.
2015-01-19 10:56:10 -05:00
Matthew Jones
a80c5196ad Modify the windows azure inventory script to import all of the instances
and create a new group to identify primary hosts
2015-01-19 10:27:56 -05:00