1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 18:21:12 +03:00
Commit Graph

7192 Commits

Author SHA1 Message Date
Akita Noek
40147f28f8 Updated test 2016-04-25 14:29:05 -04:00
Akita Noek
30ed9ab740 Reverted cursor pagination for /roles/
Turns out it doesn't play well with our custom filters, and performance
is still tolerable with the normal pagination..
2016-04-25 14:29:05 -04:00
Akita Noek
d0e9044dad Enforce team access permissions on team/:n/roles 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
754f8546a6 Switched /api/v1/roles/ to a cursor paginator so we don't have to do a count() on that potentially very large result set 2016-04-25 14:29:05 -04:00
Akita Noek
6250d9f7e7 Optimized RBAC visible_roles query 2016-04-25 14:29:05 -04:00
Jared Tabor
b59f8fd421 Merge pull request #1668 from jaredevantabor/inv_sources
Sat6, CloudForms, Network, and Azure_rm to the UI
2016-04-25 11:25:33 -07:00
Jared Tabor
4661437128 inventory source id parsing on edit 2016-04-25 09:21:50 -07: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
Akita Noek
e697a5441c Merge pull request #1663 from anoek/distinct-removal
.distinct() removal from global filter_queryset method
2016-04-25 08:46:01 -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
Jared Tabor
3d1efea862 Making network credential ssh-key optional 2016-04-22 16:06:07 -07:00
Jared Tabor
9a0363d913 Sat6, CloudForms, Network, and Azure_rm to the UI
Adding UI changes for RH Satellite6, RH CloudForms, Azure RM, and the new Network credentials and inventory sources.

Network Inventory on the UI

making host required for cloudforms and sat6

first commit of azure_rm

More Azure Credential form elements

Fixes to azure_rm after API merges

fixing network credential and new azure inv source
2016-04-22 16:06:07 -07:00
Wayne Witzel III
b6b02bee99 adjusting how we restrict __in based on PR feedback 2016-04-22 17:54:44 -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
2cf11b9fe3 Merge pull request #1667 from wwitzel3/issue-1622
Host is not a Resource, access is granted indirectly through Inventory
2016-04-22 16:02:04 -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
Matthew Jones
9ac8ee3ef0 Updating api side vendored licenses 2016-04-22 15:23:20 -04:00
kensible
739f8a54f9 Merge pull request #1656 from kensible/1654-hostTitleBar
Fixed title bar for hosts addition and edit in inventory section
2016-04-22 15:09:01 -04:00
Akita Noek
2d4e9f15df Merge pull request #1650 from anoek/performance
More RBAC optimizations
2016-04-22 14:51:42 -04:00
Jared Tabor
b5d0fb256f Merge pull request #1641 from jaredevantabor/notifications
Adding notifications panel to inventory sources
2016-04-22 10:49:54 -07:00
Akita Noek
c18aa44ced Return Queryset instead of Manager fix 2016-04-22 13:48:58 -04:00
Jared Tabor
fd61619063 Fix for notification lookup on inv_sources 2016-04-22 10:18:15 -07: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
Akita Noek
44a8da83c2 Removed all encompassing .distinct() call for all views
This .distinct() call applied .distinct() to all list query sets. Most
query sets are already unique, and adding .distinct causes the database
to do a lot of extra work. Views that rely on this behavior will be
rooted out during the hardening sprint and .distinct() will be added to
the individual querysets as needed instead of applying this everywhere.
2016-04-22 12:30:03 -04:00
Wayne Witzel III
8f9fe93de5 Merge pull request #1657 from wwitzel3/issue-1108
updating requests version
2016-04-22 12:08:56 -04:00
Wayne Witzel III
f0b4e18159 updating requests version 2016-04-22 12:07:34 -04:00
Ken Hoes
a1fbfba850 Fixed title bar for hosts addition and edit in inventory section 2016-04-22 11:38:09 -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
Jared Tabor
1fa8a4a4a3 Adding notifications panel to inventory sources 2016-04-22 07:23:42 -07: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
569f61ed30 Fixed swapped transaction/rebuild statements 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
Akita Noek
3a2f5d1362 Update BaseSerializer to handle objects that dont have created/modified fields 2016-04-22 10:16:04 -04:00
Wayne Witzel III
f7f4bfb289 Merge pull request #1651 from wwitzel3/devel
fixing broken JT migration
2016-04-22 10:06:52 -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