Wayne Witzel III
320d6377d0
add Red Hat for CloudForms and Satellite 6
2016-04-19 18:03:58 -04:00
Akita Noek
849a9c08b0
Drop our implicit order by inventory for Host models
...
Sorting by inventory (which is really by inventory.name) which is
untenable for a large number of hosts
2016-04-16 18:30:30 -04:00
Akita Noek
2ddac6cb64
Fixed up some role parenting
2016-04-15 15:07:50 -04:00
Akita Noek
a361f14266
Added adhoc_role to inventory and group, read_role to CustomInventorySource
2016-04-15 14:57:08 -04:00
Akita Noek
128a4f1823
Added read_role to inventory, group, and job templates
2016-04-15 14:33:09 -04:00
Akita Noek
b25894aae8
New field name fixes
2016-04-15 12:19:06 -04:00
Wayne Witzel III
d508254742
updater_role -> update_role
2016-04-15 11:01:35 -04:00
Wayne Witzel III
7098ef8da5
usage_role -> use_role
2016-04-15 11:01:08 -04:00
Wayne Witzel III
5bca1283b2
executor_role -> execute_role
2016-04-15 11:00:33 -04:00
Akita Noek
8887db231b
Progress on ripping out RolePermissions
2016-04-14 09:44:20 -04:00
Wayne Witzel III
e5b9766c8f
Update Job start / access permissions
2016-04-12 13:28:03 -04:00
Akita Noek
2d31021296
Merge pull request #1411 from wwitzel3/more-rht-integration
...
RedHat Inventory Integrations
2016-04-07 12:56:12 -05:00
Wayne Witzel III
4a41c0f3b4
make CustomInvetoryScript a resource.
2016-04-07 11:53:21 -04:00
Wayne Witzel III
6635782ed8
add API support for CloudForms inventory ( #1099 )
2016-04-05 14:43:25 -04:00
Wayne Witzel III
051dfd4b0e
add API support for Satellite 6 inventory ( #1098 )
2016-04-05 14:34:22 -04:00
Akita Noek
219c09728d
Merge branch 'devel' of github.com:ansible/ansible-tower into rbac
2016-03-31 11:32:02 -04:00
AlanCoding
fa92b2e851
back out openstack_v3 options but retain v3 functionality
2016-03-30 16:20:20 -04:00
Akita Noek
5baa784ce2
Merge branch 'devel' of github.com:ansible/ansible-tower into merge-devel
2016-03-24 13:51:00 -04:00
AlanCoding
f4b1de766d
Adding OpenStack v3 cred type
2016-03-18 16:41:09 -04:00
Akita Noek
cf3c988330
Missing import
2016-03-16 16:43:13 -04:00
Akita Noek
1face5aa28
Dropped unused ResourceMixin from InventorySource
2016-03-16 14:19:31 -04:00
Akita Noek
9e79cf733f
Added missing permission grants on a Inventory updater and executor roles
2016-03-16 13:46:15 -04:00
Akita Noek
6ea99583da
Mass active flag code removal
2016-03-15 09:29:55 -04:00
Akita Noek
ba833d683e
Active flag removal: switched from using mark_inactive to delete calls
2016-03-15 09:29:28 -04:00
Akita Noek
db6117a56d
Added role description fields
...
Completes #1096
2016-03-03 16:19:10 -05:00
Akita Noek
ea2cabe4d4
Merge branch 'devel' of github.com:ansible/ansible-tower into merge-devel
2016-03-01 15:09:58 -05:00
Matthew Jones
0ee12901fe
Fix some notifications issues and write some tests
...
* Fixes some notifier merging issues
* Fixes some more unicode problems
* Implements unit tests
2016-02-29 12:30:00 -05:00
Matthew Jones
75ef0dd395
Implement tower ui view url on models
2016-02-23 14:19:42 -05:00
Matthew Jones
050ed8a200
Proper type for in check
...
Still an __in for when we need to add another trigger obj
2016-02-23 12:18:31 -05:00
Matthew Jones
dde70dafec
Refactor NotificationTemplate to Notifier
2016-02-17 15:18:18 +00:00
Akita Noek
e2a428b9f5
Removed resource_field ImplicitRoleField
...
We just now assume that this field is always named 'resource'
Completes functionality of #926 , documentation next
2016-02-15 12:38:17 -05:00
Wayne Witzel III
6877a7a566
added Group.parents rebuilding
2016-02-10 15:13:24 -05:00
Matthew Jones
8db2f60405
Notification serializers, views, and tasks
...
* Implement concrete Notification model for notification runs
* Implement NotificationTemplate and Notification serializers and views
* Implement ancillary views
* Implement NotificationTemplate trigger m2m fields on all job templates
via a fields mixin
* Link NotificationTemplates with an org
* Link notifications with the activity stream
* Implement Notification celery tasks
* Extend Backend field parameters to identify sender and receiver as
parameters needed by the message and not the backend itself
* Updates to backends to better fit the django email backend model as it
relates to Messages
* Implement success job chain task + notifications
* Implement notifications in error job chain task
2016-02-09 23:12:55 -05:00
Wayne Witzel III
0ba7992004
flake8 fixup
2016-02-08 16:37:05 -05:00
Wayne Witzel III
e71de34cc1
convert Inventory to django migrations
2016-02-08 16:22:41 -05:00
Akita Noek
9f33835582
Added RBAC migration code
2016-02-05 16:58:41 -05:00
Wayne Witzel III
7b3f3675f8
flake8 fixes
2016-02-05 09:18:52 -05:00
Akita Noek
4d080497cc
Updated inventory role/resource model to better match the spec
2016-02-04 15:12:25 -05:00
Akita Noek
5b50ebb8da
Added a ResourceMixin to be added to any model that is a "Resource"
...
Also added initial permissions checking and accessible object methods to
the mixin
2016-02-04 15:12:25 -05:00
Akita Noek
6dad0406b8
Initial implicit role / resource field additions into models
...
"Completes" #731 until we find out what I missed
2016-02-04 15:12:24 -05:00
Chris Church
60224cdbe4
Update Django to 1.8 and DRF to 3.3, add new Django migrations, update serializers/pagination/metadata, update browsable API styling.
2016-02-02 17:48:04 -05:00
Matthew Jones
b25413002c
Fix custom inventory scripts on org deletion
...
We'll now clear the organization for it, this requires a database
migration to accept null values for custom inventory scripts
2015-10-19 12:07:09 -04:00
Matthew Jones
5727d722b6
Merge remote-tracking branch 'upstream/release_2.3' into devel
...
* upstream/release_2.3: (91 commits)
Include python-{paramiko,ecdsa} dependencies
Remove extra epel testing stanzas
Unit test for ec2 credentialless inventory
Fix issue with ec2 iam sync with no credential.
Use the htpasswd command instead the ansible module
Pip is no longer needed
check local user root or not in ./configure
Remove unneeded when check for super user addition
Improve distro detection in setup.sh
Fix superuser check on upgrade
Minor improvements to setup.sh
Remove ansible prerequisite check from configure
Attempt to install ansible within setup.sh
Allow munin processes to access postgres
Move up base package dependency install
fixes jenkins failures
Proper flake8 fix
fixes executing processes with correct PYTHONPATH will pickup .pth files
Show the repo for bundled package file dump
Proper flake8 fix
...
2015-09-03 15:46:10 -04:00
Matthew Jones
15005d3e6b
Fix issue with ec2 iam sync with no credential.
...
When checking if an inventory sync can start allow an ec2 sync to run
even if credentials are not supplied
2015-09-03 13:37:38 -04:00
Sandra Wills
453bbf64e9
fixed a typo, mumber to number
...
https://github.com/ansible/ansible-tower/blob/devel/awx/main/models/inventory.py#L63
typo fix from mumber to number
2015-08-27 09:36:12 -04:00
Chris Meyers
c038bdb1d5
flake8 fixes
2015-08-24 08:48:53 -04:00
Chris Church
001127f8bd
Limit max depth when building mapping of group depths to avoid hitting recursion limit. Fixes https://trello.com/c/2zc0odvX
2015-08-06 21:31:42 -04:00
Chris Church
3560e5a2eb
Limit max depth when building mapping of group depths to avoid hitting recursion limit. Fixes https://trello.com/c/2zc0odvX
2015-08-06 14:59:04 -04:00
Chris Meyers
2dc22042ee
flake8 fixes
2015-07-20 11:21:03 -04:00
Chris Meyers
fcc789f13b
Differentiate between an expired license and a non-existant license
2015-06-16 15:59:23 -04:00