Ryan Petrello
4c0096a524
implement celery failure logging using CELERY_ANNOTATIONS
...
see: https://github.com/ansible/awx/issues/1720
see: https://github.com/ansible/tower/issues/1190
2018-04-06 11:23:23 -04:00
chris meyers
bd7d9db1ce
correctly cascade set null
...
* It's problematic to delete an instance that is referenced by a foreign
key; where the referening model is one that has a Polymorphic parent.
* Specifically, when Django goes to nullify the relationship it relies
on the related instances[0] class type to issue a query to decide what
to nullify. So if the foreignkey references multiple different types
(i.e. ProjectUpdate, Job) then only 1 of those class types will get
nullified. The end result is an IntegrityError when delete() is called.
* This changeset ensures that the parent Polymorphic class is queried so
that all the foreignkey entries are nullified
* Also remove old Django "hack" that doesn't work with Django 1.11
2018-04-06 11:10:16 -04:00
mabashian
5fb532c87b
Updated job results related resources tooltips
2018-04-06 11:05:54 -04:00
Ryan Petrello
ac2ece5313
Merge pull request #1217 from rooftopcellist/json_parser
...
Json parser
2018-04-06 10:23:09 -04:00
mabashian
cb92f1794a
Handle race condition where workflow job status might appear stuck in waiting if we miss the socket event indicating that it got moved to running
2018-04-06 10:15:24 -04:00
AlanCoding
a344ceda0e
User editing permission changes
...
Only allow administrative action for a user
who is a system admin or auditor if the
the requesting-user is a system admin.
Previously a user could be edited if the
requesting-user was an admin of ANY of the
orgs the user was member of.
This is changed to require admin permission
to ALL orgs the user is member of.
As a special-case, allow org admins to add
a user as a member to their organization if
the following conditions are met:
- the user is not member of any other orgs
- the org admin has permissions to all of
the roles the user has
2018-04-06 09:51:08 -04:00
adamscmRH
0f046338ac
check ParseError fix
2018-04-06 08:47:54 -04:00
Jake McDermott
21b58e689a
Merge pull request #1256 from wenottingham/typo-fix
...
Fix trivial UI typo
2018-04-05 20:15:11 -04:00
Paul Neumann
c407cb78b5
Fix trivial UI typo
2018-04-05 14:15:55 -04:00
Michael Abashian
d1b504e34d
Merge pull request #1255 from mabashian/templates-forms-disabled
...
Fixed bug where job/workflow templates add forms were disabled
2018-04-05 14:13:30 -04:00
mabashian
d9c9df73d2
Fixed unit test failure
2018-04-05 14:00:13 -04:00
mabashian
78893590d1
Fixed bug where job/workflow templates add forms were fully disabled for users with add access
2018-04-05 13:34:16 -04:00
adamscmRH
881688dd77
fix authentication order
2018-04-05 12:04:07 -04:00
mabashian
2f746c9fd9
Complete removal of InitialPlaybookRun
2018-04-05 12:00:41 -04:00
Wayne Witzel III
0bd9919108
Make use of callback explicitly for Project and Inventory
2018-04-05 11:05:48 -04:00
Wayne Witzel III
3411389d00
Added JobTemplate ownership change test
2018-04-05 11:00:13 -04:00
Bill Nottingham
442c209899
Merge pull request #1251 from wenottingham/release_3.3.0
...
Set `raw=True` when reading passwords from ConfigParser files.
2018-04-05 10:46:12 -04:00
Bill Nottingham
17f8ec64ce
Set raw=True
when reading passwords from ConfigParser files.
...
Cherry-pick of https://github.com/ansible/ansible/pull/35582
2018-04-05 10:32:50 -04:00
Michael Abashian
e47570e323
Merge pull request #1243 from mabashian/1011-codemirror-syntax
...
Fixed codemirror syntax highlighting
2018-04-05 09:59:10 -04:00
Wayne Witzel III
524343870b
Added Project & Inventory signals for JobTemplate RBAC
2018-04-05 09:46:03 -04:00
Ben Thomasson
bb596e8ce8
Merge pull request #1203 from benthomasson/release_3.3.0
...
Removes --fake-initial from awx-manage migrate.
2018-04-05 09:08:16 -04:00
Ben Thomasson
dfe35bd405
Merge pull request #1187 from benthomasson/networking-acceptance-ben
...
Adds acceptance doc for networking UI
2018-04-05 09:07:57 -04:00
Alan Rominger
ab277e816a
Merge pull request #1242 from AlanCoding/copy_scripts
...
Remove shortcut for custom scripts copy
2018-04-05 08:45:15 -04:00
Alan Rominger
596523b2fa
Merge pull request #1246 from AlanCoding/cred_total_int
...
Fix bug from new credential property
2018-04-05 08:23:03 -04:00
Alan Rominger
e5f93bdf95
Merge pull request #1245 from AlanCoding/orphaned_workflows
...
Fix WFJT user_capabilities special-case
2018-04-05 08:22:42 -04:00
Alan Rominger
1d26c2feb0
Merge pull request #1241 from AlanCoding/actually_validate_spec
...
check for existence and type of all spec items
2018-04-05 08:06:19 -04:00
AlanCoding
133cca1446
fix WFJT user_capabilities special-case
2018-04-05 08:04:18 -04:00
AlanCoding
50794452c8
fix bug from new credential property
2018-04-05 08:01:26 -04:00
Alan Rominger
16732e52f2
Merge pull request #1244 from AlanCoding/cancel_weirdness
...
avoid v1 cruft fields in JobCancelSerializer
2018-04-05 07:23:52 -04:00
Jake McDermott
dd0e7e2751
Merge pull request #1163 from ansible/job-results
...
job results / job event output
2018-04-05 03:12:29 -04:00
Jake McDermott
1362b444f2
move search tag test
2018-04-05 02:50:09 -04:00
Jake McDermott
cf68df41d5
remove unused code
2018-04-05 02:49:56 -04:00
Jake McDermott
01d9c8546e
fix team, credential, and workflow copy regressions
2018-04-05 02:49:45 -04:00
Jake McDermott
939666f172
add polyfills for phantomjs
2018-04-05 02:49:42 -04:00
Jake McDermott
b44c7127f7
reactivate linter for dev server
2018-04-05 02:49:39 -04:00
Jared Tabor
fe58b74d1e
Adds the host event modal to the standard out feature
...
Removes old host modal code
2018-04-05 02:49:38 -04:00
Jake McDermott
18dc0e9066
switch ordering of output panel actions
2018-04-05 02:49:35 -04:00
Jake McDermott
a7bcb491d7
disable search while searching
2018-04-05 02:49:32 -04:00
Jake McDermott
356defff09
remove unused lib code
2018-04-05 02:49:28 -04:00
Jake McDermott
379e2226fa
rename search tag test
2018-04-05 02:49:24 -04:00
Jake McDermott
e4ad34fa14
update smoke test for new job results view
2018-04-05 02:49:20 -04:00
Jake McDermott
cf4b29c6d5
remove has-ansi dependency
2018-04-05 02:49:12 -04:00
Jake McDermott
95a37fab05
fix lint errors
2018-04-05 02:48:47 -04:00
Jake McDermott
a5e20117e3
move search into feature-level component
2018-04-05 02:48:23 -04:00
Jake McDermott
1f9b325f38
use status service in details and stats components
2018-04-05 02:47:54 -04:00
Jake McDermott
bdd36341ae
add status service
2018-04-05 02:47:51 -04:00
Jake McDermott
6c8923d653
tighten up status transitions for relaunch
2018-04-05 02:47:47 -04:00
Jake McDermott
66dcf01088
add raw txt download
2018-04-05 02:47:44 -04:00
Jake McDermott
181d7e0e01
add delete and cancel
2018-04-05 02:47:41 -04:00
Jake McDermott
fc01af2298
hide dev utility
2018-04-05 02:47:37 -04:00