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
Matthew Jones
6cb7f911b7
Merge pull request #21 from chrismeyersfsu/improvement-inventory_script_organization_relationship
...
added 'organization' to list of related fields for inventory_scripts
2015-01-19 10:24:51 -05:00
Chris Meyers
8705f03bf9
added 'organization' to list of related fields for inventory_scripts
2015-01-19 08:39:55 -05:00
Chris Meyers
0fcf7a51b7
Merge pull request #20 from chrismeyersfsu/fix-ec2_groups
...
fixed broken ec2 inventory tag_ checks
2015-01-16 16:29:51 -05:00
Jared Tabor
aae9e2c14b
error handling in Job Detail page
...
a JS error can get thrown if the user navigates to the job detail page as a job is ending
2015-01-16 16:07:23 -05:00
Jared Tabor
e49159af00
License -> 0 days
...
0 days needs to be plural
2015-01-16 14:26:14 -05:00
Chris Meyers
e822689ca1
test for non-existance of tag changed to be more strict to the tags form i.e. check for tag_*_* form rather than tag_*
...
tag_none grouping is more like ec2 global groups. Thus, removed the children filter test.
2015-01-16 14:16:23 -05:00
Jared Tabor
6d10e31ea8
fixed Firefox error for submitting survey question
...
hadn't passed the 'event' object as part of hte ng-click event
2015-01-16 12:47:30 -05:00
Chris Church
ee42ae8571
Support older versions of psutil that don't implement as_dict().
2015-01-16 12:30:31 -05:00
Jared Tabor
d8af3198fc
changed opacity on survey maker action buttons
...
had to change some of the css/div classes
2015-01-16 12:00:20 -05:00
Matthew Jones
4b14fa9e6b
Merge pull request #19 from chrismeyersfsu/documentation-register_instance
...
added documentation to command: tower-manage register_instance --help
2015-01-16 11:47:56 -05:00