7053 Commits

Author SHA1 Message Date
AlanCoding
ca682fb362 remove connection error in fresh install, mongo setting in dev environment 2016-04-20 10:15:06 -04:00
Michael Abashian
6c7382b7b9 Merge pull request #1566 from mabashian/expand-aw-required-when
Expanded awRequiredWhen to support expressions
2016-04-19 08:35:42 -04:00
Akita Noek
969782fdca Merge pull request #1560 from anoek/11th-hour
RBAC RolePermission removal updates
2016-04-18 21:08:54 -04:00
Leigh
fd9157c9b7 Merge pull request #1544 from leigh-johnson/JobsListFields
Job details / Jobs list feedback #1543 #1543
2016-04-18 18:37:06 -04:00
Akita Noek
ad423e976b Bump splunk time limit up to pass tests, will fix in #1584 2016-04-18 17:58:18 -04:00
Michael Abashian
7bb7b4fd14 Changed variable to reqExpression per the update to awRequiredWhen 2016-04-18 17:10:16 -04:00
Akita Noek
043c71728c Bump our monolithic test time back up.. will try and reduce it post-merge 2016-04-18 17:06:47 -04:00
Akita Noek
41553c39bf Moved dummy data generator out to tools directory 2016-04-18 16:56:29 -04:00
Akita Noek
97f70cdbbc Merge branch 'devel' of github.com:ansible/ansible-tower into 11th-hour 2016-04-18 16:30:55 -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
kensible
2d8b1443cb Merge pull request #1565 from kensible/1555-1554-SystemTracking
Demo feedback - breadcrumbs, capitalization, labels. Covers 1554 + 1555.
2016-04-18 16:00:12 -04:00
Matthew Jones
d87213705b Adjust job launch blocking logic
Previously a job template would always block another job template launch
regardless of the details of the job template.   We now restrict that
blocking logic to only block in the case that the job template was
launched with the same inventory.   We keep the exclusion where if the
launch type is 'callback' and the limits differ then they won't be blocked
2016-04-18 15:57:31 -04:00
Leigh Johnson
2bc822f255 post-demo feedback #1542 2016-04-18 15:54:17 -04:00
Akita Noek
96aa3e2555 Attempt 2 at making jenkins' sqlite happy 2016-04-18 15:26:09 -04:00
Akita Noek
fa98b59b6c Merge pull request #9 from AlanCoding/11th-hour
Merge devel, update job launch behavior to newest permissions stuff
2016-04-18 15:03:58 -04:00
AlanCoding
1a97773aa1 remove more save calls 2016-04-18 14:36:18 -04:00
Akita Noek
0349737538 Attempt at a workaround for our larger sqlite tests
These tests are only failing on jenkins, not on our local dev
environments.
2016-04-18 14:32:21 -04:00
Akita Noek
0cf096e5b0 Updated users.py test expectations to match our current behavior 2016-04-18 14:31:42 -04:00
AlanCoding
5abde762ae updates to prompt-for tests and logic for new RBAC updates 2016-04-18 14:29:30 -04:00
Matthew Jones
226cb9acdf Protect job template and project template notifiers in the case where
the project or org may not be available.
2016-04-18 14:24:53 -04:00
Akita Noek
ceff538969 Merge branch '11th-hour' of github.com:anoek/ansible-tower into 11th-hour 2016-04-18 14:12:44 -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
Alan Rominger
33500f5816 Merge pull request #1431 from AlanCoding/1136_prompt_for_all_things3
Allow prompting for several new runtime variables
2016-04-18 14:04:11 -04:00
Matthew Jones
29875a428b Merge pull request #1558 from matburt/demo_data
Creating pre-loaded demo data
2016-04-18 13:54:40 -04:00
Akita Noek
f71c54f882 Merge branch 'devel' of github.com:ansible/ansible-tower into 11th-hour 2016-04-18 11:47:00 -04:00
Akita Noek
6c47aed852 Merge pull request #8 from AlanCoding/11th-hour-org-counts
Thorough organization counts testing, un-skip
2016-04-18 11:41:51 -04:00
Akita Noek
878455187f Optimized viewable user list, fixed up some project readability bugs 2016-04-18 11:28:46 -04:00
Matthew Jones
ba7f48abf1 Updating tests around data preload 2016-04-18 11:27:39 -04:00
Akita Noek
8b67f1d1c6 Removed team<->org role cycle 2016-04-18 11:27:22 -04:00
AlanCoding
fb013ed7f1 org counts: un-skip tests, more thorough counting 2016-04-18 11:15:05 -04:00
Michael Abashian
94c4591a3e Expanded awRequiredWhen to support an expression rather than looking at a truthy scope variable. 2016-04-18 11:09:12 -04:00
Ken Hoes
6d31136bfa Demo feedback - breadcrumbs, capitalization, labels. Covers 1554 + 1555. 2016-04-18 10:00:06 -04:00
kensible
4f2b245f71 Merge pull request #1470 from kensible/1045-systemTracking
1045 System Tracking restyle
2016-04-18 08:54:01 -04:00
Akita Noek
6d8bab97df Only rebuild ancestor list on post_* events 2016-04-18 08:53:40 -04:00
Akita Noek
2a676d80ce Handle vacuous role rebuilding condition instead of exploding 2016-04-18 08:45:44 -04:00
Akita Noek
85843cc6ad Fixed up some RBAC indexing 2016-04-17 10:20:38 -04:00
Akita Noek
a9f2507e91 flake8 2016-04-16 18:54:45 -04:00
Akita Noek
7637b51992 Merge branch 'devel' of github.com:ansible/ansible-tower into 11th-hour 2016-04-16 18:35:25 -04:00
Akita Noek
74caa18cb5 Ditch some expensive prefetching for Hosts
This prefetching gets really expensive when we have a large number of
hosts, it's far less expensive to just go out and do subsequent queries
to pull this data in. (dropped aggregate query time down from ~2400ms to
~180ms)
2016-04-16 18:32:54 -04:00
Akita Noek
a7f9eedb21 Be more explicit with our user_admin_role selection to avoid potential future bugs 2016-04-16 18:32:34 -04:00
Akita Noek
849a9c08b0 Drop our implicit order by inventory for Host models
Sorting by inventory (which is really by inventory.name) which is
untenable for a large number of hosts
2016-04-16 18:30:30 -04:00
Akita Noek
850e4c3ace Test fixes and a couple of view optimizations 2016-04-16 18:30:06 -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
25303cf4ec Reverted user owner_role back to admin_role 2016-04-16 18:24:26 -04:00
Akita Noek
6c50d0793d More test fixes 2016-04-16 10:22:03 -04:00
Akita Noek
2c45f79298 Migration updates for RolePermission removal 2016-04-16 08:47:51 -04:00
Akita Noek
7659da6162 Fixes for old/ad_hoc.py tests 2016-04-16 08:36:36 -04:00
Akita Noek
7bfc8cd43b flake8 2016-04-15 17:22:48 -04:00
Akita Noek
302774e85d Fixed up access_list functionality 2016-04-15 16:47:12 -04:00