Commit Graph

2198 Commits

Author SHA1 Message Date
Akita Noek
a6f735b4b9 Fixed call to role rebuilder during migrations 2016-04-27 15:27:52 -04:00
AlanCoding
a7311a69c9 runtime test fixtures organized better 2016-04-27 14:24:54 -04:00
Chris Meyers
526e04a00c Merge pull request #1690 from chrismeyersfsu/fix-labels_disassociate
delete label on last disassociate
2016-04-27 13:21:14 -04:00
AlanCoding
271701a968 clean up unused test code 2016-04-27 10:43:03 -04:00
Chris Meyers
1925742da1 delete orphaned labels when jt or j deleted 2016-04-27 09:46:34 -04:00
AlanCoding
5dc17cd72f New tests for user launching/relaunching with credential/inventory access 2016-04-27 09:03:38 -04:00
Alan Rominger
62acda143f Merge pull request #1665 from AlanCoding/job_ask_fields
Fix display of prompt-ability in job data
2016-04-26 12:21:56 -04:00
Alan Rominger
c1ee5910d1 Merge pull request #1670 from AlanCoding/1642_scan_JT_counts
Include scan jobs in organization's job template count
2016-04-26 11:05:25 -04:00
Akita Noek
9921d90316 Fixed duplicate active_roles entries
#1692
2016-04-25 20:33:59 -04:00
Chris Meyers
2f18a9f2c1 delete label on last disassociate 2016-04-25 17:20:07 -04:00
Akita Noek
3ffefd30a3 flake8 2016-04-25 14:43:03 -04:00
Akita Noek
40147f28f8 Updated test 2016-04-25 14:29:05 -04:00
Akita Noek
4c15374b05 Optimized (user|team)/:n/roles/ 2016-04-25 14:29:05 -04:00
Akita Noek
9df157c971 Added gfk index pair for Role for our access_list queries 2016-04-25 14:29:05 -04:00
Akita Noek
8e4d013342 Optimized /api/v1/hosts/ 2016-04-25 14:29:05 -04:00
Akita Noek
6250d9f7e7 Optimized RBAC visible_roles query 2016-04-25 14:29:05 -04:00
Matthew Jones
256487a963 Strip hash marks from slack channels at send time 2016-04-25 09:49:36 -04:00
Chris Meyers
16744e6b78 added missed job template label relationship 2016-04-25 09:46:54 -04:00
Wayne Witzel III
f457e54a23 Merge pull request #1672 from wwitzel3/devel
adjusting how we restrict __in based on PR feedback
2016-04-25 09:31:18 -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
Wayne Witzel III
b6b02bee99 adjusting how we restrict __in based on PR feedback 2016-04-22 17:54:44 -04:00
AlanCoding
7ac59de75e scan jobs linked by inventory in org JT counts 2016-04-22 16:41:58 -04:00
Wayne Witzel III
334f303a6f Merge pull request #1666 from wwitzel3/issue-1652
do not allow requests with empty values in __in values
2016-04-22 16:06:41 -04:00
Wayne Witzel III
2a03556729 Merge pull request #1653 from wwitzel3/issue-1482
update Access methods for superuser
2016-04-22 16:06:14 -04:00
Wayne Witzel III
697f97972f Host is not a Resource, access is granted indirectly through Inventory 2016-04-22 15:51:18 -04:00
Wayne Witzel III
4ef291b00b do not allow requests with empty values in __in values 2016-04-22 15:39:33 -04:00
AlanCoding
5e05859c20 add credential to job ask_ properties 2016-04-22 15:07:38 -04:00
AlanCoding
6958fb457a display of ask_ vars on job model 2016-04-22 14:56:54 -04:00
Akita Noek
2d4e9f15df Merge pull request #1650 from anoek/performance
More RBAC optimizations
2016-04-22 14:51:42 -04:00
Chris Meyers
bab627d973 Merge pull request #1649 from chrismeyersfsu/fix-label_alpha
order tags alphabetically
2016-04-22 12:34:41 -04:00
Chris Meyers
396848e97a labels on unified jobs 2016-04-22 12:32:30 -04:00
Wayne Witzel III
1adbcc03d0 update Access methods for superuser 2016-04-22 11:28:19 -04:00
Matthew Jones
cf7b71ae2c Merge branch 'release_2.4.5' into devel
* release_2.4.5:
  Remove distribute from the setup virtualenv if installed (#1631)
  Update changelogs for 2.4.5 release
  Only export changed targets in reprepro
  Improve the efficiency of the stdout dump database migration
  Added logic to not show the loop summary events in the UI by looking at event_data.event_loop.
  Handle runner items from ansible v2
  bump boto
  fix case of Ansible v2 _result.cmd is list for release 2.4.5
  Handle both string and list hosts in our hosts->name conversion
  Default play names to the hosts the play was run against
  Use better isinstance(x) type checking
  Backporting test fixes from PR #1020: Fix error with ad hoc command events when running in check mode.
  Fix for tasks breaking when using 'yum' with ansible 1.9.4
  Bump 2.4.5 version, changelogs, and reprepo
2016-04-22 10:54:23 -04:00
Chris Meyers
b8a22c2c17 order tags alphabetically 2016-04-22 10:53:22 -04:00
Akita Noek
b1e140d83d flake8 fixes 2016-04-22 10:17:21 -04:00
Akita Noek
17120ffe4f Futher optimze role rebuilding to be aware of whether we are adding or removing parentage 2016-04-22 10:17:21 -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
Alan Rominger
88f79dc20a Merge pull request #1636 from AlanCoding/job_test_updates
Mock & speed up tests of job runtime variables
2016-04-21 20:38:58 -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
Wayne Witzel III
0309757439 Add parent ORing for Role field, renamed permissions -> active_roles 2016-04-21 15:54:36 -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
e1808a6ed7 Update indentation for flake8 2016-04-21 14:13:03 -04:00
AlanCoding
64fc0c8ecb Mock out job start related stuff in runtime tests 2016-04-21 14:07:39 -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