mabashian
9645e5bcd3
Remove portalMode accidental portalMode inclusion that resulted from merge conflict
2018-10-15 18:50:58 -04:00
mabashian
0a09d98fe8
Removes system tracking code from the UI. Moves import of shared out to app.js
2018-10-15 18:50:58 -04:00
Ryan Petrello
1224e2c889
Merge pull request #2440 from ryanpetrello/fix-list-based-survey-choices
...
remove over-eager survey choices validation
2018-10-15 17:05:06 -04:00
Ryan Petrello
00cae104b3
remove over-eager survey choices validation
...
it looks like choices can also be a list and _maybe_ comma delimited;
clearly there's a lot of history here; let's verify and test what's _really_ supported and _then_ add any necessary validation
2018-10-15 16:40:17 -04:00
Ryan Petrello
720a634702
don't attempt to recover special QUIT messages in the worker pool
...
when `--reload` is sent to the dispatcher, it sends a special QUIT
message to each worker in the pool so that it will exit gracefully at
the next opportunity
when a worker process exits unexpectedly, the dispatcher attempts to
recover its queued messages and sends them to another worker in the
pool; in this scenario, we should _never_ re-enqueue these special
QUIT messages (because the process doesn't need to quit, it's already
gone)
To reproduce this race condition:
1. Launch an adhoc that does `sleep 60`
2. Run `awx-manage run_dispatcher --reload` to enqueue a `QUIT` message
into the worker's queue
3. Find the pid of the worker running the `sleep 60` and `SIGKILL` it.
4. Observe that dispatcher attempts to requeue the `QUIT` message and
logs a confusing error.
2018-10-15 12:17:52 -04:00
Chris Meyers
c722e50595
Merge pull request #2425 from chrismeyersfsu/fix-ldap_group_type
...
fix issue with ldap queries containing unicode
2018-10-15 10:49:43 -05:00
Ryan Petrello
011c8ae822
fix a typo on the JT add page that breaks the custom venv field
2018-10-15 11:04:31 -04:00
softwarefactory-project-zuul[bot]
73f54b2237
Merge pull request #2373 from marshmalien/always_nodes_ui
...
Display WF always nodes in conjunction with success and failure
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2018-10-12 22:43:32 +00:00
softwarefactory-project-zuul[bot]
0a964b2bf6
Merge pull request #2266 from ansible/celery-tastes-bad
...
replace the celery-based task queue with a kombu-based implementation
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2018-10-12 18:40:54 +00:00
chris meyers
2e98446394
fix issue with ldap queries containing unicode
2018-10-12 10:33:01 -04:00
Marliana Lara
e7c52bc5e7
Merge pull request #8 from dsesami/always_nodes_ui_tests
...
Always nodes ui tests
2018-10-12 10:20:10 -04:00
Daniel Sami
c25d208465
added browser close at end, waits for spinners
2018-10-12 10:18:49 -04:00
softwarefactory-project-zuul[bot]
9570981c7f
Merge pull request #2351 from jakemcdermott/enhancement-2515
...
add views for organization permissions and roles
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2018-10-11 20:41:08 +00:00
softwarefactory-project-zuul[bot]
6eb1feffcd
Merge pull request #2117 from walkafwalka/allow_awx_login_autocomplete
...
Allow autocomplete on the AWX login page
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2018-10-11 20:23:37 +00:00
softwarefactory-project-zuul[bot]
48511b6c33
Merge pull request #2281 from AlanCoding/consistent2
...
Always allow resource creation via global list
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2018-10-11 20:12:39 +00:00
softwarefactory-project-zuul[bot]
3a4cc0d464
Merge pull request #1911 from AlanCoding/spec_it_out
...
Much more comprehensive validation of survey specs
Reviewed-by: Shane McDonald <me@shanemcd.com >
https://github.com/shanemcd
2018-10-11 20:00:43 +00:00
Jake McDermott
78901ab48e
add organization permissions view
2018-10-11 14:21:44 -04:00
Jake McDermott
938bf1b531
add organizations tab to team permissions screen
2018-10-11 14:21:29 -04:00
Marliana Lara
27da141889
Address review comments
2018-10-11 13:13:01 -04:00
Daniel Sami
1e3c229460
lint fixes
2018-10-11 12:24:55 -04:00
AlanCoding
cfa93b52b7
Always allow resource creation via global list
2018-10-11 12:21:45 -04:00
Daniel Sami
8fceaf8810
Tests for UI workflow always nodes
2018-10-11 12:14:00 -04:00
AlanCoding
bdc7efb274
humble beginnings of survey question type validation
2018-10-11 12:10:40 -04:00
Ryan Petrello
10c76e2337
update Azure inventory script to latest from Ansible
...
rebased version of https://github.com/ansible/awx/pull/2234
2018-10-11 11:47:55 -04:00
Ryan Petrello
ff1e8cc356
replace celery task decorators with a kombu-based publisher
...
this commit implements the bulk of `awx-manage run_dispatcher`, a new
command that binds to RabbitMQ via kombu and balances messages across
a pool of workers that are similar to celeryd workers in spirit.
Specifically, this includes:
- a new decorator, `awx.main.dispatch.task`, which can be used to
decorate functions or classes so that they can be designated as
"Tasks"
- support for fanout/broadcast tasks (at this point in time, only
`conf.Setting` memcached flushes use this functionality)
- support for job reaping
- support for success/failure hooks for job runs (i.e.,
`handle_work_success` and `handle_work_error`)
- support for auto scaling worker pool that scale processes up and down
on demand
- minimal support for RPC, such as status checks and pool recycle/reload
2018-10-11 10:53:30 -04:00
Ryan Petrello
da74f1d01f
refactor and test the callback receiver as a base for a task dispatcher
2018-10-11 10:53:26 -04:00
Jake McDermott
5ae19fd9c2
update development documentation
2018-10-10 09:23:47 -04:00
Daniel Sami
b02677a8d0
Initial commit for UI tests for always nodes
2018-10-09 16:32:24 -04:00
Marliana Lara
1b25dd0127
Fix ui-lint error
2018-10-09 14:21:59 -04:00
AlanCoding
a4dfd96a8d
Validate ANSIBLE_ injectors on save and increase verbosity
2018-10-09 13:46:51 -04:00
Marliana Lara
a2f4e36e47
Show all wf options when node is not a root node
...
* Edge type of root node is always "always"
* If node is not a root node, show all options: always, success, fail
* Remove edge conflict logic
2018-10-09 11:30:53 -04:00
adamscmRH
ad566cc651
tests for always_nodes
2018-10-09 11:30:53 -04:00
adamscmRH
4d9523afa4
lift always node mutex restriction
2018-10-09 11:30:49 -04:00
Jake McDermott
89e41f7524
replace phantomjs with headless chrome
2018-10-05 13:40:06 -04:00
Ryan Petrello
7752446067
fix busted notification tests
2018-10-05 10:18:27 -04:00
mabashian
9f25fdd079
Ensure workflow graph width is 100% of container
2018-10-05 06:42:53 -06:00
André Backeby
02c23fc1c6
Fixed typo Ansbile->Ansible
2018-10-04 15:07:52 +02:00
Wayne Witzel III
f18c965a8a
fix test patches
2018-09-28 15:18:59 -04:00
Wayne Witzel III
f874e55051
split out mixins in views
2018-09-28 12:48:06 -04:00
Wayne Witzel III
1dcd2b1883
make views.py a directory based module
2018-09-28 12:29:12 -04:00
Ryan Petrello
16e89ed081
send test notifications after the transaction closes to avoid a race
2018-09-28 09:43:10 -04:00
Ryan Petrello
dc3f81920e
Merge pull request #2302 from AlanCoding/verbose_data
...
create_preload_data: log no-op operation, remove unnecessary credential
2018-09-26 16:35:18 -04:00
Ryan Petrello
23d4122574
properly support deprecated Authorization: Token xyz
2018-09-24 14:50:33 -04:00
AlanCoding
5900af726b
log no-op operation and changed status
2018-09-21 15:23:02 -04:00
John Mitchell
3b11219fff
delete old npm-shrinkwrap lock file
2018-09-18 13:42:02 -04:00
Shane McDonald
1b4c3f56fa
Merge pull request #2113 from kialam/upgrade-node-lts
...
Upgrade Node and NPM to LTS
2018-09-18 12:46:30 -04:00
Shane McDonald
ec67feef2f
Bump npm version in package.json
...
This is what’s served out of the 8.x LTS yum repos.
2018-09-18 12:18:21 -04:00
Shane McDonald
580004b395
Merge remote-tracking branch 'downstream/release_3.3.0' into devel
...
# Conflicts:
# awx/main/notifications/slack_backend.py
2018-09-18 08:11:50 -04:00
Ryan Petrello
43aa0fc741
consolidate celery init signals to avoid an instance registration race
2018-09-07 09:29:53 -04:00
Jake McDermott
093f453073
don't render playbook_on_start events
2018-09-06 13:17:39 -04:00