7407 Commits

Author SHA1 Message Date
Matthew Jones
60c64d9fe8 Merge branch 'release_2.4.4' into stable
* release_2.4.4: (35 commits)
  Update changelog for 2.4.4 release
  Make pycompile non-fatal during deb build
  Revert "Add virtualenv site-pagkages to Python path before system dist-packages, to get new setuptools"
  Roll back mock version due to packaging issues
  Add virtualenv site-pagkages to Python path before system dist-packages, to get new setuptools
  change to warning behavior
  Resolve bug when building with /bin/sh on Ubuntu
  Attempt to workaround pip install issue
  point at packages with source on pypi
  Mock requires a newer setuptools when building requirements
  requests needs openssl
  Properly set the shell during directory migration
  pyrax bumpb new python license
  Typo's are bad and should be vanquished
  Conditionally install 2.6 python requirements
  separate pip requirements file for python2.6
  Added missing 'skipped' field for no_log
  Obey no_log even more when using ansible 2.0
  bump shade from 0.5.0 to 1.4
  RHEL5 compatibility and handling of error scenarios
  ...
2016-02-22 09:49:04 -05:00
Akita Noek
1e1f49c3eb Initial unit tests for core rbac functionality 2016-02-22 09:44:00 -05:00
Akita Noek
80476cbb2a Automatically add/remove user to the member_role when a user is added to / removed from a team 2016-02-22 09:44:00 -05:00
Akita Noek
aa3a33447e Automatically add users with is_superuser to System Admin role
Also fixed issue with System Admin role name not being set and made some
constants for the singleton names we use
2016-02-22 09:44:00 -05:00
Akita Noek
161f4f22cf Merge branch 'devel' of github.com:ansible/ansible-tower into merge-devel 2016-02-22 09:37:14 -05:00
Michael Abashian
5ee78d7fec Merge pull request #1000 from mabashian/stdout-breadcrumbs
Added breadcrumbs to stdout pages
2016-02-22 08:44:14 -05:00
Matthew Jones
eb3d663d18 Support notification password field encryption
Modify encrypt_field and decrypt_field to support sub-fields under a
dictionary object.  It still uses the parent key when encrypting.
2016-02-21 23:11:17 -05:00
Wayne Witzel III
dcb378fff9 Merge pull request #974 from wwitzel3/rbac
RBAC Testing Fixes
2016-02-19 16:39:28 -05:00
Michael Abashian
fa29608f50 Configured standard out breadcrumbs for adhoc, inventory sync, management jobs and scm updates. 2016-02-19 16:17:16 -05:00
Wayne Witzel III
fa1137d371 Use TransactionTestCase with Django 1.8+ 2016-02-19 15:05:07 -05:00
Jared Tabor
30633cc82e Merge pull request #998 from jaredevantabor/job-detail-results
Job detail results
2016-02-19 10:47:07 -08:00
Jared Tabor
93719094ea Using aliases for colors instead of hard coded pigments 2016-02-19 10:39:17 -08:00
Jared Tabor
68f619e358 Job Detail Results panel tweaks after UX review 2016-02-19 10:23:18 -08:00
Michael Abashian
fffa590a82 Merge pull request #994 from mabashian/stdout-results
Added standard out details to inventory sync, management jobs and scm updates
2016-02-19 13:02:48 -05:00
Leigh Johnson
5f75fa9b46 #696 remove logging pt. 2 2016-02-19 12:04:09 -05:00
Leigh Johnson
247c78c44d #696 clean up logging 2016-02-19 10:59:58 -05:00
Michael Abashian
81e044c97c Added standard out details to inventory sync, management jobs and scm updates. 2016-02-19 10:41:17 -05:00
Leigh Johnson
eae92f8751 delete management-jobs/schedule, create management-jobs/scheduler, add ui-router states, update references to state names #696
prep for isFactCleanup test in the view - change the way Schedule.js AddSchedule factory recognizes a management job #696
2016-02-19 10:40:56 -05:00
Jared Tabor
95467a6b97 Restyling of job detail results panel 2016-02-18 19:38:49 -08:00
Wayne Witzel III
fb5369404d (HACK) bump values while we investigate slowness 2016-02-18 15:33:27 -05:00
Jared Tabor
8f1c88e35d adding less file 2016-02-18 12:27:30 -08:00
Akita Noek
d3c620926a Merge pull request #990 from anoek/devel
Updated API test fixtures
2016-02-18 13:37:04 -05:00
Wayne Witzel III
65c20e9de2 use objects instead of _default_manager 2016-02-18 13:36:36 -05:00
Akita Noek
0051464525 Added put,head,options,delete, & patch test fixtures for api related tests 2016-02-18 11:23:31 -05:00
Akita Noek
6aeaec2b76 Switch to resolve in api test fixtures to automatically resolve View's and their arguments
Also changed the signature of the post/get methods to better align with
libraries like `requests`
2016-02-18 11:19:27 -05:00
Michael Abashian
7dbb69dd6d Accidentally included JobDetailController in app.js during my last merge. This is now pulled in via the job detail module. 2016-02-18 10:04:12 -05:00
Wayne Witzel III
30f88b6e30 Added redis in-memory fixture for functional tests 2016-02-18 09:51:32 -05:00
Michael Abashian
ce8f40277c Merge branch 'remove-standalone-stdout' into devel 2016-02-18 09:47:01 -05:00
AlanCoding
6bd5d8553b fix to allow jobs to run in dev server again 2016-02-18 08:34:14 -05:00
Jared Tabor
673611b7bd Merge pull request #985 from jaredevantabor/job-detail-results
Initial restructuring of Job Detail code
2016-02-17 14:25:55 -08:00
Jared Tabor
8ec19f9226 Initial restructuring of Job Detail code
To use our new modular approach to organizing code by feature
2016-02-17 13:53:18 -08:00
Michael Abashian
e9899c278f Modularized Standard Out/Job details for all jobs that are not playbook runs. This is mostly scaffolding. 2016-02-17 15:54:53 -05:00
Wayne Witzel III
d464ea0f56 Merge branch 'devel' into rbac 2016-02-17 14:26:05 -05:00
Wayne Witzel III
74e1554463 Only touch the attribute if it does not exist to avoid recursion in activity streams 2016-02-17 11:59:06 -05:00
Wayne Witzel III
241ee09fff Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac 2016-02-17 11:23:18 -05:00
Matthew Jones
52974648df Notification configuration type checking 2016-02-17 16:01:54 +00:00
Matthew Jones
dde70dafec Refactor NotificationTemplate to Notifier 2016-02-17 15:18:18 +00:00
Chris Church
d8ae1115f0 Fix extra_vars/survey handling since request.data is now an OrderedDict. 2016-02-17 00:04:28 -05:00
Chris Church
8b2e699ea7 Merge pull request #972 from AlanCoding/755_related_job_templates
Add job_template related list to inventory endpoint
2016-02-16 23:04:11 -05:00
Wayne Witzel III
5306eaa98c more access tests and a Makefile driveby 2016-02-16 21:04:33 -05:00
Chris Church
99150b5a05 Flake8 fixes. 2016-02-16 20:02:52 -05:00
Chris Church
4873e2413f * Populate browsable API raw data form with submitted request data in response to an update.
* Remove fields from browsable API raw data that are set implicitly based on URL / parent object.
* Fix issue where a group/host could be assigned to a different inventory.
* Update validation to load values from existing instance if not present in new data; allows PATCH requests to succeed.
* Remove job_args, job_cwd, job_env, result_stdout and result_traceback fields from job listings.
2016-02-16 17:49:34 -05:00
Chris Meyers
6434171977 add -y to ansible ppa adding 2016-02-16 13:51:16 -05:00
Wayne Witzel III
40ec6a2da2 Fix rbac cred tests 2016-02-16 10:59:53 -05:00
AlanCoding
33e84d03ef add job_template related list to inventory endpoint 2016-02-16 10:12:35 -05:00
Michael Abashian
67b5dcd817 Merge pull request #929 from jlmitch5/schedulerFormStylingFinal
Scheduler form styling fixes
2016-02-16 10:07:02 -05:00
Wayne Witzel III
a8a0cd380d Merge pull request #970 from wwitzel3/rbac
RBAC: access unit tests and new migration
2016-02-16 10:02:01 -05:00
John Mitchell
b3667ce56a combine sleect2 creation into single class 2016-02-16 14:37:57 +00:00
John Mitchell
ffcb8ec65d update less to improve color default 2016-02-16 14:30:11 +00:00
Wayne Witzel III
017a7ee060 Updating RBAC migrations 2016-02-16 08:53:35 -05:00