Commit Graph
268 Commits
Author SHA1 Message Date
Matthew Jones 7a611cdb8a Fix an issue with the related through tables on notifications 2016-05-09 12:44:54 -04:00
Matthew Jones 32720b2cc4 Add Schedule to the system job migration 2016-05-05 16:06:26 -04:00
Matthew Jones 6cece17024 Purge cleanup_deleted tasks as they aren't needed
This also adds a periodic static task to cleanup auth tokens
2016-05-05 16:04:36 -04:00
Matthew Jones 3c90ecba0b Fix up notifications active field removal 2016-05-05 15:27:57 -04:00
Matthew Jones 5895b3a343 Refactor Notification's naming
Notifier -> NotificationTemplate
notifier -> notification_template
2016-05-05 13:53:46 -04:00
AlanCoding 2d230919f0 reorganizing migration numbering 2016-05-03 16:41:43 -04:00
Akita Noek 4c0f4363be Merge pull request #1794 from anoek/migration-fixes
Fixed JobTemplate migration when inventory is NULL
2016-05-03 16:25:49 -04:00
Akita Noek 83a30f57f5 Fixed JobTemplate migration when inventory is NULL
JobTemplate.inventory can be NULL if the inventory was deleted.
2016-05-03 15:56:02 -04:00
Matthew Jones eb714ce67f Merge pull request #1777 from matburt/ad_hoc_extra_vars
Implement extra vars on ad-hoc commands
2016-05-03 14:35:19 -04:00
Wayne Witzel III 5291420a17 Merge pull request #1771 from wwitzel3/issue-1608
Implement ActivityStream for RBAC Roles
2016-05-03 14:30:50 -04:00
Matthew Jones db541b4e5e Add ad-hoc extra vars migration 2016-05-03 14:04:59 -04:00
Wayne Witzel III 453a0aaff2 Implement ActivityStream for RBAC Roles 2016-05-03 10:16:04 -04:00
Akita Noek c7f2568c10 Fixed up some credential migration issues 2016-05-02 14:44:15 -04:00
Akita Noek 83e83a5db3 Actually do job template migrations
Seems important
2016-05-02 11:16:15 -04:00
Akita Noek 58e9c4ef87 Fixed JT migration issue
Role.__contains__ is not defined here, so we needed to drop in the
implementation instead.
2016-05-02 11:14:31 -04:00
Akita Noek 8a5e22cb4a Fix old_access user/team reference 2016-05-02 10:14:29 -04:00
Akita Noek 1bf4fdbff1 Fixed up the _old_access.py UserAccess queryset 2016-04-29 16:57:51 -04:00
Akita Noek ac1503e55c Fixed org migrations.. users are 'members' not 'auditors' 2016-04-28 11:50:36 -04:00
Akita Noek 27a7cf0d88 Added an explicit save everything step in the rbac migration
This step ensures all of our roles get setup before we start the
migration. It also speeds things up a little as we can wrap everything
with a `with batch_role_ancestor_rebuilding()`. We were pretty much
doing this already, but we had an issue where we didn't catch all job
templates all the time, so this just makes it very explicit and ensures
everything is setup, and does so a little faster.
2016-04-28 10:37:15 -04:00
Akita Noek c9501ad556 commented out code cleanup 2016-04-28 09:39:18 -04:00
Akita Noek af4daec314 More RBAC migration fixes 2016-04-27 16:59:33 -04:00
Akita Noek b670681f6c Handle JT "create" permissions during migration 2016-04-27 15:28:17 -04:00
Akita Noek 9df157c971 Added gfk index pair for Role for our access_list queries 2016-04-25 14:29:05 -04:00
Chris Meyers 16744e6b78 added missed job template label relationship 2016-04-25 09:46:54 -04:00
Chris Meyers 47b3222614 Merge pull request #1659 from chrismeyersfsu/fix-labels_unified
labels on unified jobs
2016-04-23 07:44:34 -04:00
Chris Meyers 396848e97a labels on unified jobs 2016-04-22 12:32:30 -04:00
Akita Noek 0c6dcb2337 Optimized our simultaneous role ancestry rebuilding method 2016-04-22 10:17:21 -04:00
Akita Noek ee97ef2fc8 Fix 0008 field addition orderings 2016-04-22 10:17:21 -04:00
Akita Noek 280993a15d Dropped stored role name/description and other superflous fields
For name and description, we'll derive these from the role_field and
content type, which is much better for lots of reasons (eg changing text
the future). Also ditched the rest of the fields comming from the
standard common base model, we didn't use them and they cost several
indexes on the table.
2016-04-22 10:16:04 -04:00
Akita Noek aae548fbdc Regenerated 0008 migration to get rid of Implicit role names/descriptions 2016-04-22 10:16:04 -04:00
Wayne Witzel III b045a94767 fixing broken JT migration 2016-04-22 10:06:28 -04:00
Matthew Jones fe360ca8e3 Updates to network credentials
Separating out the network credential used fields
2016-04-21 16:43:55 -04:00
Wayne Witzel III efebb3701b Merge pull request #1639 from wwitzel3/bug-1428
Add parent ORing for Role field, renamed permissions -> active_roles
2016-04-21 16:27:56 -04:00
Wayne Witzel III 8574a3080f update tests and adjust rbac migration 2016-04-21 16:03:49 -04:00
Matthew Jones da7a61354a Merge pull request #1635 from matburt/new_azure_inventory_and_credentials
Implement Azure RM creds and inventory
2016-04-21 14:38:13 -04:00
Matthew Jones 296f70ce17 Implement Azure RM creds and inventory
* Vendor ansible's azure_rm inventory script
* Add new inventory type
* Add new credential type
* Expand host instance_id column from varchar 100 to 1024 to accept the
  long instance ids returned by Azure
* Make the inventory_import azure match rename more explicit.
2016-04-21 13:51:30 -04:00
Alan Rominger 09bc235054 Merge pull request #1612 from AlanCoding/1564_mongo_tiny_pieces
No mongo connection error in fresh install, no timeout in containers
2016-04-20 12:05:35 -04:00
AlanCoding ca682fb362 remove connection error in fresh install, mongo setting in dev environment 2016-04-20 10:15:06 -04:00
Wayne Witzel III 320d6377d0 add Red Hat for CloudForms and Satellite 6 2016-04-19 18:03:58 -04:00
Akita Noek c3144dc4d3 benign 0008 migration change to make makemigrations happy 2016-04-18 16:26:11 -04:00
Akita Noek 07eccbe3e4 Migration for dropping implicit host inventory,name ordering 2016-04-18 16:22:14 -04:00
AlanCoding 9c75ced9f8 Merge branch 'devel' of https://github.com/ansible/ansible-tower into 11th-hour 2016-04-18 14:12:13 -04:00
Akita Noek 878455187f Optimized viewable user list, fixed up some project readability bugs 2016-04-18 11:28:46 -04:00
Akita Noek 8b67f1d1c6 Removed team<->org role cycle 2016-04-18 11:27:22 -04:00
Akita Noek 85843cc6ad Fixed up some RBAC indexing 2016-04-17 10:20:38 -04:00
Akita Noek 5d0c6cc044 Switch to custom ancestry table for some optimized queries
Now we can stuff some more data in this table so we can take advantage
of some multi-column indexing and avoid another to join for our
accessible objects and permissions queries.
2016-04-16 18:27:57 -04:00
Akita Noek 2c45f79298 Migration updates for RolePermission removal 2016-04-16 08:47:51 -04:00
Akita Noek c440aefd85 fix jt tests 2016-04-15 16:08:14 -04:00
Wayne Witzel III d9538b200a fix User.accessible_objects 2016-04-15 14:57:01 -04:00
Wayne Witzel III d508254742 updater_role -> update_role 2016-04-15 11:01:35 -04:00