Ryan Petrello
d6ecb486d2
deprecate /api/v2/dashboard in favor of /api/v2/metrics
2019-04-18 11:45:37 -04:00
Vismay Golwala
f4dc4d5849
Cap page_size in pagination urls
...
Currently, even with a `max_page_size` of n, we can see urls
formed in pagination with `page_size` > n. API still caps the
number of results it returns, but the URL remain invalid there.
This is a bit messy solution to make string replacement in URL
if the query param exceeds `max_page_size`
Signed-off-by: Vismay Golwala <vgolwala@redhat.com>
2019-04-18 11:39:22 -04:00
Jake McDermott
db4734be85
Merge pull request #169 from ansible/jakemcdermott-only-coverage
...
don't use --watch by default when running tests
2019-04-18 11:29:54 -04:00
John Mitchell
e1333f5e00
move value by prop in providers to consistent interface
2019-04-18 10:52:35 -04:00
Keith Grant
ae72d8dce5
Context test tools ( #168 )
...
* add enzyme test helper with lingui provider
* add router context to enzyme test helper
* get 18n, router, & config contexts rendering together in enzyme helper
* add config context to enzyme helpers
* add network and dialog contexts to enzymeHelpers
* convert OrganizationForm tests to use new mountWithContexts helper
* default all context value keys to default unless provided
* document use of mountWithContexts()
* fix typo in CONTRIBUTING.md
* update Organizations to use mountWithContext
2019-04-18 10:03:06 -04:00
softwarefactory-project-zuul[bot]
87d55b13bc
Merge pull request #3549 from vismay-golwala/verify_venv_on_launch
...
Validate virtual environment while running a job/inventory update
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-18 12:31:25 +00:00
Vismay Golwala
5d570a017a
Validate virtual environment while running a job/inventory update
...
Currently we only check the custom virtual environment path when
it's created. However, to tackle with the case when the venv might
have been changed/deleted afterward, we need to validate it at
run-time too.
Signed-off-by: Vismay Golwala <vgolwala@redhat.com>
2019-04-18 08:09:49 -04:00
softwarefactory-project-zuul[bot]
6d5897f371
Merge pull request #3728 from chrismeyersfsu/speed_boost
...
instantiate dispatcher once per job run
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-18 11:14:32 +00:00
softwarefactory-project-zuul[bot]
e14f19468b
Merge pull request #3729 from rooftopcellist/rename_analytics_setting
...
rename analytics setting
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-17 22:55:43 +00:00
Jeff Bradberry
8ad0b3f787
Check the permissions for adding users to orgs/teams in the other direction
2019-04-17 17:45:20 -04:00
Alex Corey
2067718c0e
fixed tests
2019-04-17 16:42:39 -04:00
Keith Grant
25db22e072
fix RoutedTabs tests
...
Signed-off-by: Alex Corey <alex.swansboro@gmail.com>
2019-04-17 16:20:24 -04:00
Jeff Bradberry
70b0679a0c
Adjust the access logic for settings.MANAGE_ORGANIZATION_AUTH = False
...
so that changing the membership of Organizations and Teams are
disallowed unless you are a superuser, but granting resource
privileges is still permitted.
2019-04-17 15:37:02 -04:00
Christian Adams
add8673d7c
rename analytics setting
2019-04-17 15:28:15 -04:00
chris meyers
84c09a19d1
instantiate dispatcher once per job run
...
* Instantiating the callback dispatch queue on each job event callback
is expensive. Instead, instantiate it only once. Note, we do not need to
instantiate the callback queue in the iso case so we do not.
2019-04-17 14:03:00 -04:00
Alex Corey
ca6153c955
RoutedTabs is now a functional component
2019-04-17 13:51:09 -04:00
Alex Corey
76a7a76e81
refactoring and updating tests
2019-04-17 13:50:38 -04:00
Alex Corey
2daf202e52
addresses PR issues
2019-04-17 13:50:38 -04:00
Alex Corey
178d519f6e
Remove unwanted committed file
2019-04-17 13:50:38 -04:00
Jake McDermott
a414c4e60e
don't use --watch by default when running tests
2019-04-17 11:54:22 -04:00
softwarefactory-project-zuul[bot]
fbc7d1a9f2
Merge pull request #3711 from AlanCoding/conservative_upgrades3
...
Apply critical dependency upgrades (try 2)
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-17 13:04:24 +00:00
softwarefactory-project-zuul[bot]
daeeb31590
Merge pull request #3715 from ryanpetrello/local-python
...
properly set ansible_python_interpreter for local task execution
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-17 12:44:39 +00:00
softwarefactory-project-zuul[bot]
66886fb57a
Merge pull request #3721 from AlanCoding/org_members_read_teams
...
Use querset special case to let org members see teams
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-17 12:24:49 +00:00
AlanCoding
1ddb675fa2
Use querset special case to let org members see teams
2019-04-17 07:05:25 -04:00
softwarefactory-project-zuul[bot]
4fd04e095f
Merge pull request #2860 from AlanCoding/auditor_association
...
Show entry for system auditor associations
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-17 10:48:37 +00:00
Ryan Petrello
9d000a76de
properly set ansible_python_interpreter for local task execution
...
this works a limitation in ansible for connection: local and makes it so
that you can run connection: local playbooks with a /usr/bin/python that
is Python3 and an Ansible virtualenv that is Python2
see: https://github.com/ansible/awx/issues/3267
2019-04-16 21:24:23 -04:00
softwarefactory-project-zuul[bot]
7f5227809f
Merge pull request #3723 from ryanpetrello/django-works-in-mysterious-ways
...
fix a bug that breaks the isolated heartbeat
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-16 20:46:14 +00:00
Ryan Petrello
f1d87bf392
fix a bug that breaks the isolated heartbeat
2019-04-16 16:24:40 -04:00
AlanCoding
941009bf6d
Apply critical dependency upgrades
...
fix PyYAML warnings in unit tests
update paramiko source file for license
2019-04-16 16:00:09 -04:00
AlanCoding
9c71204435
show activity stream entry for system auditor association
2019-04-16 15:59:04 -04:00
softwarefactory-project-zuul[bot]
15ef095366
Merge pull request #3720 from shanemcd/memcache-config
...
Fix memcached configuration in local Docker installs
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-16 19:53:23 +00:00
softwarefactory-project-zuul[bot]
c2daccade7
Merge pull request #3667 from chrismeyersfsu/delete-system-tracking
...
remove system tracking
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-16 17:24:03 +00:00
Shane McDonald
3bfb54d2fd
Fix memcached configuration in local Docker installs
...
Related: https://github.com/ansible/awx/issues/3719
Signed-off-by: Shane McDonald <me@shanemcd.com>
2019-04-16 12:51:28 -04:00
Jake McDermott
7c2554be8c
Merge pull request #165 from jakemcdermott/dependency-updates
...
update vulnerable dependencies
2019-04-16 09:40:28 -04:00
Jake McDermott
468a290ba6
update vulnerable dependencies
2019-04-16 09:14:14 -04:00
softwarefactory-project-zuul[bot]
a5d31e56d6
Merge pull request #3709 from AlanCoding/piparoo
...
Apply same pip and setuptools to AWX and Ansible venv
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-15 21:05:49 +00:00
softwarefactory-project-zuul[bot]
d222bed932
Merge pull request #3712 from jladdjr/iso_node_healthcheck_should_not_reset_capacity
...
Do not reset capacity of iso nodes when disabled
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-15 20:40:01 +00:00
softwarefactory-project-zuul[bot]
45cc8f1cc9
Merge pull request #3703 from mabashian/upgrade-bootstrap-yay
...
Bumps Bootstrap to 4.3.1
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-15 20:35:03 +00:00
Vismay Golwala
e0c4fd4b3a
Disallow deleting controller or isolated instance groups
...
Added two new properties to the InstanceGroup model - `is_controller`
and `is_isolated`. Used these properties to hide the trash icon for
instance groups that are either controller or isolated.
Signed-off-by: Vismay Golwala <vgolwala@redhat.com>
2019-04-15 16:08:27 -04:00
Jim Ladd
6ef3b18803
Do not reset capacity of iso nodes when disabled
2019-04-15 12:36:15 -07:00
softwarefactory-project-zuul[bot]
f23b4e7b9a
Merge pull request #3708 from rooftopcellist/update_prom_docs
...
add url to prom docs
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-15 18:23:19 +00:00
softwarefactory-project-zuul[bot]
1d4773545e
Merge pull request #3707 from ryanpetrello/report-ansible-runner-crashes
...
if runner crashes, attempt to record why
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-15 18:16:09 +00:00
AlanCoding
e40c6da552
Apply same pip and setuptools to AWX and Ansible venv
2019-04-15 13:54:25 -04:00
Christian Adams
8ef81065b7
add url to prom docs
2019-04-15 13:39:55 -04:00
mabashian
08fcdf0e25
Bumps Bootstrap to 4.3.1
2019-04-15 13:20:00 -04:00
Ryan Petrello
387682ed8d
if runner crashes, attempt to record why
...
this attempts to surface the underlying runner exception for tracebacks
like this one:
FileNotFoundError: [Errno 2] No such file or directory:
'/tmp/awx_41_93gtgv25/artifacts/41/status'
2019-04-15 13:17:45 -04:00
softwarefactory-project-zuul[bot]
707c3883a8
Merge pull request #3702 from AlanCoding/revert_upgrades
...
Revert "Merge pull request #3697 from AlanCoding/conservative_upgrades"
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-15 16:54:36 +00:00
softwarefactory-project-zuul[bot]
47b0a96e96
Merge pull request #3704 from rooftopcellist/cleanup_prom_files
...
add prometheus data to gitignore
Reviewed-by: awxbot
https://github.com/awxbot
2019-04-15 15:17:07 +00:00
Michael Abashian
d6f91f8b2d
Merge pull request #163 from mabashian/146-access-expand-collapse
...
Remove expand/collapse from org access list
2019-04-15 10:48:47 -04:00
Christian Adams
fb4495b1b5
add prometheus data to gitignore
2019-04-15 10:43:28 -04:00