Akita Noek
820ed0b747
Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac
2016-03-14 15:05:01 -04:00
Akita Noek
ba6752fb23
Eliminate multiple-organization projects
...
Projects are duplicated with this migration to provide a nearly
equivalent functionality.
Satisifies #1164
2016-03-14 14:57:24 -04:00
Wayne Witzel III
2e6e7ff9c8
Updating migration path for RBAC
2016-03-14 14:42:09 -04:00
Wayne Witzel III
49165c4fcd
Rename users/admins deprecated_users/deprecated_admins
2016-03-14 11:56:42 -04:00
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
80013e67bc
Remove UserResource and ensure RolePermission during migration
2016-03-11 10:58:24 -05:00
Akita Noek
97a6f23380
Fixed up migrations after last merge
2016-03-09 13:08:02 -05:00
Akita Noek
9d4e6dfc16
Merge branch 'devel' of github.com:ansible/ansible-tower into rbac
2016-03-09 12:04:05 -05:00
Akita Noek
efcd4efda2
Moved the rbac field removal migration to happen after the migrate script part of the rbac migration
2016-03-09 11:31:00 -05:00
Akita Noek
b486c8d658
Merge branch 'rbac-resource-gfk' into rbac
2016-03-09 10:17:58 -05:00
Akita Noek
9aae2979d9
Replaced our 'Resource' table with a GenericForeignKey in RolePermission
2016-03-09 10:12:05 -05:00
Wayne Witzel III
3df4c4ec93
fixing tests and migration issues
2016-03-08 14:09:16 -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
Chris Church
f1c13e0837
Add migration to create system job templates for a new database.
2016-03-04 15:41:40 -05:00
Wayne Witzel III
a1cc5b06b8
Remove can_access methods and registration
2016-03-01 17:30:32 -05:00
Akita Noek
2c690c82d9
Renamed rbac migrations to be after the notification and fact migrations
2016-03-01 15:34:06 -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
Wayne Witzel III
a4b3567619
Added migration to remove users/admins FK from Org/Teams
2016-03-01 15:00:53 -05:00
Chris Meyers
67d1aa6c86
migration with correct help_text
2016-03-01 10:39:51 -05:00
Akita Noek
41c06dc2d0
Update user migration to not bomb out when a UserResource already exists for a user
2016-03-01 09:54:35 -05:00
Chris Meyers
f6fa11e383
fix Fact migration
2016-03-01 09:16:48 -05:00
Chris Meyers
356b9c99b3
Merge branch 'mongoectomy_implementation' into devel
2016-03-01 08:22:40 -05:00
Matthew Jones
99ec07b8a5
Merge branch 'notifications_work' into devel
...
* notifications_work: (23 commits)
Updates to notification unit tests after @wwitzel3's feedback
Fix some notifications issues and write some tests
Add notification system documentation
Clean up flake8 related issues
Fixing up some unicode issues
Implement tower ui view url on models
Sanity check and force proper types in admin check
Proper type for in check
Adding migration and base notification type
Add a periodic administrative notification
Refactor message generator
Support notification password field encryption
Notification configuration type checking
Refactor NotificationTemplate to Notifier
Implement irc notification backend
Add webhook notification backend
Pagerduty and Hipchat backends plus some cleanup
Notification serializers, views, and tasks
Implement notification serializer and validations
Notification endpoints and url expositions
...
2016-02-29 16:50:33 -05:00
Akita Noek
46e1839ab1
Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac
2016-02-24 16:14:41 -05:00
Akita Noek
e18592fa87
Merge branch 'devel' into rbac
2016-02-24 16:14:32 -05:00
Chris Meyers
7ffe46fc74
add postgres Fact model, update views, tests
...
* awx.main.models Fact added
* view host fact and timeline updated to use new Postgres Fact model instead of Mongo
* Removed license set start Mongo logic
* added View tests
* added Model tests
* Removed mongo fact unit tests
* point at modified jsonbfield that supports sqlite storage driver
* postgresify fact cache receiver
* test OPTIONS endpoint
* Note: single fact view not implemented yet.
2016-02-24 14:38:54 -05:00
Wayne Witzel III
180911dfa8
Added UserResource
2016-02-24 14:09:56 -05:00
Chris Church
2f763d0ff5
Fix error with ad hoc command events when running in check mode.
2016-02-23 18:26:38 -05:00
Chris Church
9f44888c00
Update existing settings migration with minor field change.
2016-02-23 12:15:39 -05:00
Matthew Jones
39c942e98b
Adding migration and base notification type
2016-02-23 11:20:08 -05:00
Wayne Witzel III
017a7ee060
Updating RBAC migrations
2016-02-16 08:53:35 -05:00
Chris Meyers
56b0da30f1
adds fact model
2016-02-15 15:39:22 -05:00
Akita Noek
243b78ee25
Job template migration and migration tests
2016-02-15 11:48:17 -05:00
Akita Noek
e0371f3745
Switched back to multiple-organizations for Projects
2016-02-15 10:43:50 -05:00
Akita Noek
a03d48eeb7
Add member_role to organizations
2016-02-08 22:54:19 -05:00
Akita Noek
a2b9777cc7
Add migrate_users and migrate_projects to our migration plan
2016-02-08 22:54:19 -05:00
Akita Noek
34067d9c0e
Project migration and tests
2016-02-08 22:54:19 -05:00
Akita Noek
d51447e158
Migration and tests for super users
2016-02-08 22:54:19 -05:00
Wayne Witzel III
e71de34cc1
convert Inventory to django migrations
2016-02-08 16:22:41 -05:00
Wayne Witzel III
f29fdf694f
convert Team to django migrations
2016-02-08 16:06:12 -05:00
Wayne Witzel III
8cf0ba0da7
convert Credential to django migration
2016-02-08 15:54:11 -05:00
Wayne Witzel III
1ed18e4561
convert Organization to django migration
2016-02-08 15:53:48 -05:00
Wayne Witzel III
b8a7ad17ea
Added initial rbac migrations
2016-02-08 15:33:59 -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
b35f84b401
Bypass license database check for cleanup schedule
...
We pre-create some cleanup jobs if a license is already present, this
doesn't work with the database config as-is. These can be removed at
some point in the future once the 2.4 migration path is not needed
2016-01-25 15:53:17 -05:00
Matthew Jones
eab8743e15
Purge Tower Settings reference from activitystream
2016-01-12 13:52:29 -05:00
Matthew Jones
ae12be9afa
Fixing up settings reset issue
...
This is done by not assigning the ActivityStream foreign key. Which is
almost superflous at this point
2016-01-05 14:34:40 -05:00
Matthew Jones
273181e894
Expand dbconfig support
...
* Support updating settings values
* Support activity stream endpoint
* Support clearing value
* Improve type conversion system for displaying values
2015-12-14 15:09:10 -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
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