Commit Graph

6942 Commits

Author SHA1 Message Date
Michael Abashian
49a458b178 Styling update on the activity stream action details modal. Removed its dependency on the form generator and moved it out into a directive. 2016-02-08 16:59:37 -05:00
Wayne Witzel III
0ba7992004 flake8 fixup 2016-02-08 16:37:05 -05:00
Akita Noek
6df8017cb1 Merge pull request #877 from wwitzel3/rbac-port-migrations
Convert migrate_to_rbac method to Migrations
2016-02-08 16:30:35 -05:00
Wayne Witzel III
e71de34cc1 convert Inventory to django migrations 2016-02-08 16:22:41 -05:00
Wayne Witzel III
f29fdf694f convert Team to django migrations 2016-02-08 16:06:12 -05:00
Wayne Witzel III
8cf0ba0da7 convert Credential to django migration 2016-02-08 15:54:11 -05:00
Wayne Witzel III
1ed18e4561 convert Organization to django migration 2016-02-08 15:53:48 -05:00
Wayne Witzel III
b8a7ad17ea Added initial rbac migrations 2016-02-08 15:33:59 -05:00
John Mitchell
ada183f979 update to scheduler form styling 2016-02-08 12:55:00 -05:00
Wayne Witzel III
0d868b702e Merge pull request #817 from wwitzel3/rbac
flake8 fixups
2016-02-08 11:33:21 -05:00
Wayne Witzel III
9ddabeff83 flake8 fixups 2016-02-08 10:32:55 -05:00
Wayne Witzel III
702ce85074 change mocking behavior to be closer to the source 2016-02-06 08:57:44 -05:00
Wayne Witzel III
18ea2e0201 default to reuse-db for testing 2016-02-05 21:40:01 -05:00
Wayne Witzel III
0ab11e53dd refactoring activity_stream functional tests 2016-02-05 21:38:48 -05:00
Akita Noek
1418e95155 Merge pull request #813 from anoek/rbac 2016-02-05 17:05:30 -05:00
Akita Noek
70229076d2 Removed unnecessary ResourceHierarchy model 2016-02-05 17:03:59 -05:00
Akita Noek
fe29486d7b Removed unnecessary save() 2016-02-05 17:01:19 -05:00
Akita Noek
619e5797d4 RBAC inventory migration tests 2016-02-05 16:59:38 -05:00
Akita Noek
d5740408e9 Addd inventory fixture 2016-02-05 16:59:22 -05:00
Akita Noek
9f33835582 Added RBAC migration code 2016-02-05 16:58:41 -05:00
Akita Noek
332b8b3b49 Added Role.is_ancestor_of predicate 2016-02-05 16:58:16 -05:00
Akita Noek
4540eb0079 Updated role hierarchy cache rebuilder to handle adds to .children as well as .parents 2016-02-05 16:46:00 -05:00
Wayne Witzel III
737fad8c5a Merge pull request #805 from wwitzel3/rbac
Added Credential migration tests and extended organization tests.
2016-02-05 10:26:13 -05:00
Wayne Witzel III
5ed766ed35 Added Team.migrate_to_rbac and tests 2016-02-05 09:57:15 -05:00
Matthew Jones
a2cf365325 Merge pull request #804 from cchurch/allow-null-or-blank-for-project-booleans
Allow null/blank input for boolean fields on projects.
2016-02-05 09:55:15 -05:00
Matthew Jones
b8dfa3df16 Merge pull request #803 from cchurch/remove-fields-for-ad-hoc-commands
Remove unified_job_template and description fields for ad hoc commands
2016-02-05 09:55:06 -05:00
Matthew Jones
38b1d13edc Merge pull request #802 from cchurch/metadata-check-if-view-has-serializer
Check if view has a get_serializer method before trying to call it.
2016-02-05 09:54:59 -05:00
Matthew Jones
a20fa59b9c Merge pull request #801 from cchurch/include-api-css-js
Include api.css and api.js under awx/static/.
2016-02-05 09:54:48 -05:00
Matthew Jones
e890f23d00 Merge pull request #799 from cchurch/quick-fix-select-related
Quick fix for select related error with unified job templates and jobs
2016-02-05 09:54:37 -05:00
Matthew Jones
71cd77c3e0 Merge pull request #798 from cchurch/fix-792
Don't show playbooks under project detail.
2016-02-05 09:54:26 -05:00
Wayne Witzel III
7b3f3675f8 flake8 fixes 2016-02-05 09:18:52 -05:00
Wayne Witzel III
89236a1fe6 extended test_rbac_organization tests 2016-02-05 08:50:27 -05:00
Wayne Witzel III
58a603bac1 added Credential.migrate_to_rbac and tests 2016-02-05 08:47:15 -05:00
Chris Church
abc8da4531 Allow null/blank input for boolean fields on projects. Fixes #791. 2016-02-05 05:14:48 -05:00
Chris Church
da0f87c325 Remove unified_job_template and description fields for ad hoc commands. Fixes #789. 2016-02-05 04:55:40 -05:00
Chris Church
23feccdbf3 Check if view has a get_serializer method before trying to call it. Fixes OPTIONS issue in #788. 2016-02-05 04:45:14 -05:00
Chris Church
da7d4f4c67 Include api.css and api.js under awx/static/. Fixes #788. 2016-02-05 04:41:10 -05:00
Chris Church
7a0574e6f3 Quick fix for select related error with unified job templates and jobs. Fixes #793 and #795. 2016-02-05 04:30:08 -05:00
Chris Church
217fd383b3 Don't show playbooks under project detail. Fixes #792. 2016-02-05 04:09:17 -05:00
Michael Abashian
8b5e8be2e3 Merge pull request #787 from mabashian/activity-stream-subtitle
Added subtitle to the activity stream
2016-02-04 19:24:41 -05:00
Wayne Witzel III
b903726ddb updated organization rbac tests 2016-02-04 16:53:06 -05:00
Matthew Jones
319deffc18 Implement notification serializer and validations 2016-02-04 15:52:23 -05:00
Matthew Jones
172207cd4b Notification endpoints and url expositions
Also some changes to the footprint of the notification handler classes
2016-02-04 15:52:23 -05:00
Matthew Jones
96b0fb168f Updating makefile migration generator 2016-02-04 15:52:23 -05:00
Matthew Jones
805514990b Changes to celery tasks to support success signals
Linking in a success callback that will be invoked by our UnifiedJobs in
the case they terminate normally.  This is where we'll hook in the
success notification type.
2016-02-04 15:52:23 -05:00
Matthew Jones
7385efef35 Adding some early Notifications stubs
* A basic NotificationTemplate model class with early notification type
  definitions
* Initial implementations of the Email, Slack, and Twilio Notification
  backends using the Django email backend system
* Some dependencies thereof
2016-02-04 15:52:23 -05:00
Wayne Witzel III
724b572a3c test_rbac_migrations -> test_rbac_organization 2016-02-04 15:52:15 -05:00
Wayne Witzel III
896ecab031 Added rbac tests and migrations for Organization 2016-02-04 15:12:25 -05:00
Wayne Witzel III
932b6a4c82 add basic Organization migration 2016-02-04 15:12:25 -05:00
Akita Noek
c6b2e509fd Fixed ImplicitRoleField and ImplicitResourceField's from being too lazy
This ensures that the role and resource fields get created and bound
automatically without having to explicitly access them a first time.
2016-02-04 15:12:25 -05:00