Matthew Jones
ba7f48abf1
Updating tests around data preload
2016-04-18 11:27:39 -04:00
Matthew Jones
d1801bdf9f
Demo data flake8 cleanup
2016-04-15 15:14:10 -04:00
Matthew Jones
8c4e4f4c0d
Creating pre-loaded demo data
...
* Bootstrap some initial data if there is no default org
* Renamed default org script appropriately
2016-04-15 14:42:51 -04:00
Matthew Jones
6f79ec8830
Revert "Merge pull request #1534 from chrismeyersfsu/fix-config_performance"
...
This reverts commit 7cc144fa59f157a5e1789a913e0d9a31720141ec, reversing
changes made to 86af9950e754b06f40cb293a36ab365f589273db.
2016-04-14 11:40:07 -04:00
Chris Meyers
27a710c508
Merge pull request #1534 from chrismeyersfsu/fix-config_performance
...
fixes config endpoint performance issue
2016-04-14 10:25:19 -04:00
Chris Meyers
de1681663d
fix flake8 and spelling
2016-04-14 08:55:56 -04:00
Jared Tabor
d5f032acb8
updated org-add form controller with form obj
2016-04-13 17:54:38 -07:00
Chris Meyers
043f97fe35
fixes config endpoint performance issue
2016-04-13 17:28:38 -04:00
Michael Abashian
d7f75ce130
Merge pull request #1524 from mabashian/jt-form-save-refactor
...
Refactor of job template formSave
2016-04-13 16:33:04 -04:00
Chris Meyers
f0a761e889
Merge pull request #1517 from chrismeyersfsu/fix-scan_job_time
...
fix scan job timestamp
2016-04-13 15:49:13 -04:00
Michael Abashian
946cec2b7a
Refactored formSave to remove old survey logic as well as remove unnecessary event emit.
2016-04-13 14:52:56 -04:00
Wayne Witzel III
90f9e5185a
Merge pull request #1514 from wwitzel3/rbac-bug-1477
...
RBAC JobTemplate / Job Access Updates
2016-04-13 14:50:17 -04:00
Leigh
fe3f01a6fc
Merge pull request #1518 from leigh-johnson/UserTeamsEdit
...
Populate fields in users.edit & teams.edit, fix Organization lookup in team.edit
2016-04-13 13:57:51 -04:00
Wayne Witzel III
c2e9237b14
adjusting access based on PR feedback
2016-04-13 13:06:08 -04:00
Wayne Witzel III
e53c2bdfa5
Fixes #1477
2016-04-13 12:40:22 -04:00
Wayne Witzel III
4950db8ac9
remove tests that are no longer valid
2016-04-13 11:41:15 -04:00
Wayne Witzel III
c0b5fafafe
read-only view /organization/<id>/projects
2016-04-13 11:39:14 -04:00
Chris Meyers
c8010fc0ce
use new timestamp logic in tests
2016-04-13 09:41:28 -04:00
Michael Abashian
3e479d5602
Merge pull request #1449 from mabashian/survey-rework
...
Create/edit survey re-work
2016-04-13 07:44:12 -04:00
Jared Tabor
eee91eea86
Merge pull request #1451 from jaredevantabor/notifications
...
Adding notifications into the UI
2016-04-12 16:11:13 -07:00
Leigh Johnson
30439a85b0
populate fields in users.edit and teams.edit $states resolves #1403
...
users edit done
finish fixes to UsersTeamsEdit
fix logging issue
2016-04-12 17:37:16 -04:00
Chris Meyers
e7d68409f7
fix scan job timestamp
2016-04-12 17:07:11 -04:00
Matthew Jones
28ffa57258
Implement rbac and related unit tests for notifications
2016-04-12 17:00:38 -04:00
Akita Noek
40731f6fc8
Merge pull request #1513 from anoek/1499
...
Fix erronous singleton role created for users
2016-04-12 16:54:19 -04:00
Akita Noek
1d27ddc7d2
Fix bad migration from #1496
2016-04-12 16:50:54 -04:00
Akita Noek
ad89491a07
Fixed bad merge
2016-04-12 16:31:11 -04:00
Akita Noek
ea3a7ef227
Merge branch 'devel' of github.com:ansible/ansible-tower into migration
2016-04-12 16:30:09 -04:00
Wayne Witzel III
6bc765d1b5
Merge pull request #1507 from wwitzel3/rbac-bug-1422
...
RBAC Job Fixes
2016-04-12 16:22:47 -04:00
Akita Noek
a0356afbac
Improved code clarity and UI naming for user owner role creation
...
#1499
2016-04-12 16:11:45 -04:00
jlmitch5
e3ebbab17d
fix list label of status
2016-04-12 15:58:17 -04:00
Jared Tabor
62ecefb716
removing unncessary line
2016-04-12 12:55:01 -07:00
Jared Tabor
462eb19087
Changing ngToast success color
2016-04-12 12:55:01 -07:00
Jared Tabor
de56747d1c
Cleaning up code from PR feedback
2016-04-12 12:55:00 -07:00
Jared Tabor
72ae8f46c9
Adding notifications into the UI
2016-04-12 12:55:00 -07:00
Akita Noek
c984b33f1e
Fix erronous singleton role created for users
...
Needed to be just a normal role, ie with `name` assigned instead of
`singleton_name`
Addresses #1499
2016-04-12 15:43:27 -04:00
Akita Noek
29c7ecf6a8
Merge branch 'devel' into migration
2016-04-12 15:12:43 -04:00
Akita Noek
8c917de24d
Fix faulty activitystream test
...
Test assumed that the only entry in activitystream would be related to
the creation of the organization, which in this case was not true, the
most recent being something related to the user object being created or
modified.
2016-04-12 15:03:24 -04:00
Akita Noek
7b4e7ec5b3
Switch to explicitly stored implicit role parents
...
Completes #1496
2016-04-12 14:50:52 -04:00
Wayne Witzel III
7cd4fb7b7a
Merge pull request #1502 from wwitzel3/rbac-feature-1324
...
Update docs, driveby test fix.
2016-04-12 13:32:56 -04:00
Wayne Witzel III
e5b9766c8f
Update Job start / access permissions
2016-04-12 13:28:03 -04:00
Chris Meyers
69812fc8ab
Merge pull request #1490 from chrismeyersfsu/fix-labels_unique
...
cascade delete labels
2016-04-12 13:09:26 -04:00
Akita Noek
b77d8dab47
flake8 fixes
...
Signed-off-by: Akita Noek <anoek@ansible.com>
2016-04-12 12:04:39 -04:00
Akita Noek
e9aff8d67d
Moved necessary add field migration to exist prior to dependent implicit role field which references the field
2016-04-12 11:40:17 -04:00
Akita Noek
74d86859f1
Fix project migration when project has exactly one org
2016-04-12 11:40:17 -04:00
Akita Noek
5f8e7bbf55
Replace user.admin_role usage with manual version that works in migrations
2016-04-12 11:40:17 -04:00
Akita Noek
86e29221d5
Fixed missing orgfunc usage to resolve organization during credential migration
2016-04-12 11:40:17 -04:00
Akita Noek
59b6ed3b9c
Update rbac schema migrations so we have all parameters we need to operate during a migration
...
We need all those rbac fields definied in the migration in order for the
current apps to have access to them during a migration.
2016-04-12 11:40:17 -04:00
Akita Noek
e3a45235a6
Do an initial save on all resources during amigration to force the creation of RBAC role objects.
2016-04-12 11:40:17 -04:00
Akita Noek
7d2e660749
Make use of 'current' apps so RBAC ImplicitRoleField can work during migrations
...
While a migration is taking place, we can't juse use normal model
references like Role and RolePermission, nor can we use generic foreign
keys without manually referring to the content type and object id
fields.
2016-04-12 11:40:17 -04:00
Akita Noek
682552d9b0
Added field deconstruct method so ImplicitRoleField works in migrations
...
Apparently we need this, who'da known.
https://docs.djangoproject.com/en/1.9/howto/custom-model-fields/
2016-04-12 11:40:17 -04:00