Commit Graph

107 Commits

Author SHA1 Message Date
Wayne Witzel III
31a461956a Fixed up m2m_changed for rbac, added User.admin_role 2016-03-11 14:59:47 -05:00
Wayne Witzel III
55e071535b Added user role creation, accessible methods, and fixed up m2m_update 2016-03-11 07:07:17 -05:00
Wayne Witzel III
09d46f9336 test fixups and re-add can_access 2016-03-09 15:33:12 -05:00
Wayne Witzel III
39a1e893fb Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac 2016-03-07 08:49:48 -05:00
Wayne Witzel III
a1cc5b06b8 Remove can_access methods and registration 2016-03-01 17:30:32 -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
Chris Meyers
356b9c99b3 Merge branch 'mongoectomy_implementation' into devel 2016-03-01 08:22:40 -05:00
Wayne Witzel III
180911dfa8 Added UserResource 2016-02-24 14:09:56 -05:00
Akita Noek
b08809f7cc Initial RBAC API implementation 2016-02-22 16:21:56 -05:00
Matthew Jones
dde70dafec Refactor NotificationTemplate to Notifier 2016-02-17 15:18:18 +00:00
Chris Meyers
56b0da30f1 adds fact model 2016-02-15 15:39:22 -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
Matthew Jones
7385efef35 Adding some early Notifications stubs
* A basic NotificationTemplate model class with early notification type
  definitions
* Initial implementations of the Email, Slack, and Twilio Notification
  backends using the Django email backend system
* Some dependencies thereof
2016-02-04 15:52:23 -05:00
Akita Noek
00619b7e36 Initial RBAC field and model definitions 2016-02-04 15:12:24 -05:00
Matthew Jones
f53f3d805d View and some validation logic for database config
* Fixing some bugs in the manifest definition
* Database model and schema migration for tower settings
* Initial View and Serializer implementation using a strategy of merging
  model instances and named tuples
2015-12-11 16:57:11 -05:00
John Mitchell
32d1c0e4db fixed copyright date 2015-06-11 16:10:23 -04:00
Matthew Jones
b3da3b34a3 Changing some legal headers for python source files 2015-05-29 12:10:39 -04:00
Chris Church
f7b8d510dc Implement support for ad hoc commands. 2015-03-30 13:04:19 -04:00
Matthew Jones
6a18a50d99 Fixing flake8 errors, this should be almost all of them! 2015-02-11 16:42:55 -05:00
Matthew Jones
017d42364b Add Custom Inventory Script to the activity stream from the api side 2014-12-10 11:33:22 -05:00
Luke Sneeringer
072ab2118f Instance model (for HA) 2014-10-20 08:04:15 -05:00
Chris Church
bfb0159083 AC-1071 Moved credential model to its own file. Added API support and tests for ssh_key_path field.
AC-1095 Added validation for SSH private keys.
2014-03-26 16:06:02 -04:00
Chris Church
296e87a632 AC-1040 Removed extra model definitions used for generating migrations. 2014-03-25 09:38:25 -04:00
Chris Church
02af35dffd AC-1040 Updates to get unit tests to pass. 2014-03-24 18:13:53 -04:00
Chris Church
0ee5c07738 AC-1040 Update jobs models and migrations (work in progress). 2014-03-24 17:02:43 -04:00
Chris Church
2b7af0a2ec Happy new year!!! 2014-01-02 11:51:43 -05:00
Matthew Jones
61059fa1a4 Work to complete AC-673, mass refactoring of the activity stream. Some work towards AC-664/662 but will complete on those issues. This also fixes issue AC-743 (Adding help text for OPTIONS requests) and AC-675 (updates where active changes to False will now be treated as deletes) 2013-12-10 16:08:35 -05:00
Matthew Jones
c039fc4a1f Remove JobHostSummary and JobEvent actions from the activity stream registry 2013-11-20 21:19:26 -05:00
Chris Church
b8edfab481 Fixed unit test error caused by extra definition of ActivityStream model. Rearranged imports of signal handlers. 2013-11-18 22:54:52 -05:00
Matthew Jones
a1edfe0dc2 Move ActivityStream to it's own model file 2013-11-12 17:01:15 -05:00
Matthew Jones
b7b22fa7f8 Catch some errors that pop up during ActivityStream testing 2013-11-12 17:01:15 -05:00
Matthew Jones
2ab4cab495 Fix some inconsistencies after the merge 2013-11-12 17:01:15 -05:00
Matthew Jones
3a02c17d2a Initial backend implementation for AC-25, activity stream/audit love 2013-11-12 17:01:15 -05:00
Chris Church
b1e7252e66 Refactored models into separate files. 2013-11-07 12:40:11 -05:00
Chris Church
56a4bc8d3a AC-543 Removed comment print statements. 2013-11-06 22:47:13 -05:00
Chris Church
fb13da86cf AC-543 Add credential model validation for unique constraint with nullable fields. 2013-11-06 22:25:36 -05:00
Chris Church
98883e771f Moved API code into separate Django app. 2013-11-04 15:44:49 -05:00
Chris Church
413a799829 AC-537 Fix typo. 2013-11-04 10:16:56 -05:00
Chris Church
19155baf5f AC-537 Add cloud flag to credential. 2013-11-04 10:16:56 -05:00
Chris Church
271a2c0f06 AC-537 Don't allow saving a credential with both user and team assigned. 2013-11-04 10:16:55 -05:00
Chris Church
40b56c5175 AC-537 Fixes to get unit tests to pass. 2013-11-04 10:16:55 -05:00
Chris Church
6815905882 AC-537 Even more updates following database changes. 2013-11-04 10:16:54 -05:00
Chris Church
0c98b7ed69 AC-537 Minor migration change, fix broken models/serializers. 2013-11-04 10:16:54 -05:00
Chris Church
1ef8261925 AC-537 Work in progress on cloud credentials. 2013-11-04 10:16:54 -05:00
Chris Church
27ad680f4d AC-567 Remove source_tags from API/UI. Modify EC2 inventory to not return instance ID groups. 2013-10-23 22:46:04 -04:00
Chris Church
a32fc02323 Fix NameError in case where job extra vars are specified as key=value. 2013-10-22 14:31:05 -04:00
Chris Church
556e1572e7 Better handling of variables as dictionary from JSON/YAML string. 2013-10-17 09:57:36 -04:00
Chris Church
432ed60a1f Update EC2 inventory import to use any variables defined in source_vars. Fix AC-565 by setting default regions_exclude to us-gov-west1 (same as default ec2.ini). Fix AC-566 by stripping extra whitespace from comma-separated region names. 2013-10-16 23:05:51 -04:00
Chris Church
a11f25a68d AC-548 Added counts for total_hosts, total_groups, groups_with_active_failures to inventory and group. AC-560 Added total_inventory_sources and inventory_sources_with_failures to inventory. 2013-10-16 22:34:04 -04:00
Chris Church
b8ad8184ef AC-553 Added test, fixed extra_vars for passing to jobs. 2013-10-12 01:53:52 -04:00