AlanCoding
1b0bca8229
add back in support of towervars lost in merge
2017-12-13 14:30:11 -05:00
Alan Rominger
6c1c850c5f
Merge pull request #816 from AlanCoding/ints
...
use credential property that returns integers
2017-12-13 12:56:07 -05:00
AlanCoding
f4f1e0fd3c
use credential property that returns integers
2017-12-13 12:54:32 -05:00
AlanCoding
7243f871b4
fix bug creating inventory source schedules
2017-12-12 17:49:51 -05:00
Alan Rominger
8d348f916b
Merge pull request #794 from AlanCoding/hide_config_pass
...
Hide survey passwords in saved launch configs
2017-12-12 10:37:41 -05:00
AlanCoding
659d31324d
hide survey passwords in saved launch configs
2017-12-12 09:35:46 -05:00
Alan Rominger
1be3c77ac6
Merge pull request #787 from AlanCoding/workflow_system_jobs
...
allow using SystemJobTemplates in workflows
2017-12-11 13:21:33 -05:00
AlanCoding
4adfb9804e
allow using SystemJobTemplates in workflows
2017-12-11 08:58:45 -05:00
Alan Rominger
64ac1ee238
Merge pull request #746 from AlanCoding/i_forgot
...
Intentionally forget start_args when job is done
2017-12-11 08:08:27 -05:00
AlanCoding
0bf06479d5
add migration to remove old start_args
2017-12-10 12:08:59 -05:00
AlanCoding
1f8cab4171
intentionally forget start_args when job is done
2017-12-10 12:08:54 -05:00
Alan Rominger
2135291f35
Merge pull request #740 from AlanCoding/configs_rebased5
...
Feature: saved launchtime configurations
2017-12-08 16:55:00 -05:00
AlanCoding
a9aae91634
generalize schedule prompts validation
...
This makes ScheduleSerializer behave same as WFJT nodes
Prevents providing job_type for workflow jobs, as example
2017-12-08 16:23:56 -05:00
AlanCoding
905ff7dad7
fix bugs where ask_ var was checked on node
2017-12-08 13:57:33 -05:00
AlanCoding
e59a724efa
fix bug that broke combining WFJT and node vars
2017-12-08 13:48:45 -05:00
AlanCoding
1c8217936d
Bug fixes from integration ran on launchtime branch
...
Make error message for muti-vault validation more
consistent with historical message
2017-12-08 13:46:38 -05:00
AlanCoding
72a8854c27
Make ask_mapping a simple class property
...
from PR feedback of saved launchtime configurations
2017-12-08 13:45:23 -05:00
AlanCoding
98df442ced
combine launch config and multi-cred migrations
2017-12-08 13:45:21 -05:00
AlanCoding
5ada021a6e
Tweak validation to allow multiple vault credentials
...
support providing vault passwords based on id
include needed passwords in launch serializer defaults
2017-12-08 13:43:43 -05:00
AlanCoding
34a8e0a9b6
Feature: saved launchtime configurations
...
Consolidate prompts accept/reject logic in unified models
Break out accept/reject logic for variables
Surface new promptable fields on WFJT nodes, schedules
Make schedules and workflows accurately reject variables
that are not allowed by the prompting
rules or the survey rules on the template
Validate against unallowed extra_data in system job schedules
Prevent schedule or WFJT node POST/PATCH with unprompted data
Move system job days validation to new mechanism
Add new psuedo-field for WFJT node credential
Add validation for node related credentials
Add related config model to unified job
Use JobLaunchConfig model for launch RBAC check
Support credential overwrite behavior with multi-creds
change modern manual launch to use merge behavior
Refactor JobLaunchSerializer, self.instance=None
Modularize job launch view to create "modern" data
Auto-create config object with every job
Add create schedule endpoint for jobs
2017-12-08 13:38:54 -05:00
Alan Rominger
7fe22e9c53
Merge pull request #757 from AlanCoding/vault_cred_noop
...
allow no-op case for vault_credential
2017-12-04 16:01:00 -05:00
Alan Rominger
42d8368596
Merge pull request #763 from AlanCoding/remember_where_you_came_from
...
add AWX meta extra_vars for workflow + schedule
2017-12-04 15:52:30 -05:00
AlanCoding
eecf997856
add AWX meta extra_vars: WFJT + schedule
2017-12-04 15:33:05 -05:00
Alan Rominger
759867c863
Merge pull request #609 from AlanCoding/more_encryption_tests
...
encryption tests around the contract with survey functionality
2017-12-04 14:20:30 -05:00
Alan Rominger
d4613d448c
Merge pull request #608 from AlanCoding/empty_string_defaults
...
allow password default reuse with empty default
2017-12-04 14:19:32 -05:00
AlanCoding
dbd68c5747
encryption tests around the contract with survey functionality
2017-12-04 11:45:07 -05:00
AlanCoding
d23d7c422d
allow password default reuse with empty default
2017-12-04 10:49:36 -05:00
Alan Rominger
e0edfeac7c
Merge pull request #602 from AlanCoding/clean_defaults
...
block user from entering encrypted as bare default
2017-12-01 14:54:42 -05:00
AlanCoding
47f45bf9b3
block user from entering encrypted as bare default
2017-12-01 14:44:06 -05:00
AlanCoding
6269b43456
update tests to new Ansible core code
2017-12-01 12:31:56 -05:00
AlanCoding
67867cf0c8
flake8: comply with new E722 rule
2017-12-01 12:16:44 -05:00
AlanCoding
dfc154ed95
allow no-op case for vault_credential
2017-12-01 10:29:23 -05:00
Alan Rominger
fde5a8850d
Merge pull request #748 from AlanCoding/no_job_in_relaunch
...
Do not show job serialization in relaunch GET
2017-11-30 09:58:35 -05:00
AlanCoding
c359c072c4
do not show job serialization in relaunch GET
2017-11-30 08:47:35 -05:00
Alan Rominger
53c6248a6d
Merge pull request #647 from AlanCoding/no_sql
...
remove raw SQL in visible_roles
2017-11-29 16:46:09 -05:00
AlanCoding
c4bc310271
remove raw SQL in visible_roles
2017-11-29 16:04:31 -05:00
Alan Rominger
43c58b5bf5
Merge pull request #731 from AlanCoding/enabled_fix
...
fix inventory import bug with enabled_var
2017-11-29 14:46:16 -05:00
AlanCoding
2c06bfc9ce
fix inventory import bug with enabled_var
2017-11-29 14:12:03 -05:00
Alan Rominger
5602b5d2d7
Merge pull request #733 from AlanCoding/credentials_in_list
...
Show credentials in list view
2017-11-29 12:09:52 -05:00
Alan Rominger
04f682bf7a
Merge pull request #694 from AlanCoding/credentials_not_a_thing
...
adjust assertions about JT credentials to be correct
2017-11-29 10:41:48 -05:00
Alan Rominger
070a12a10c
Merge pull request #692 from AlanCoding/vault_credential_check
...
Modify JT access tests to reflect new vault_credential reality
2017-11-29 10:40:35 -05:00
AlanCoding
37a44c439e
show credentials in list view
2017-11-29 08:14:45 -05:00
Alan Rominger
8f5be46d52
Merge pull request #730 from AlanCoding/list_bug
...
fix bug with inventory update queryset
2017-11-28 18:41:39 -05:00
AlanCoding
a880f47925
fix bug with inventory update queryset
2017-11-28 14:13:35 -05:00
AlanCoding
9fe524cd20
adjust assertions about JT credentials to be correct
2017-11-21 10:03:57 -05:00
AlanCoding
1481a62b23
modify JT access tests to reflect new vault_credential reality
2017-11-21 08:40:04 -05:00
Alan Rominger
ce6d96feda
Merge pull request #687 from AlanCoding/new_kill
...
allow deletion of new jobs
2017-11-21 07:20:05 -05:00
AlanCoding
6c57a3bb68
allow deletion of new jobs
2017-11-20 11:19:22 -05:00
Alan Rominger
4ea27e0d1b
Merge pull request #587 from AlanCoding/computed_self
...
update original when updating computed fields
2017-11-17 12:23:43 -05:00
AlanCoding
51c73cb357
update original when updating computed fields
2017-11-17 10:16:49 -05:00
AlanCoding
fb29f68efc
update smart inventory computed fields
2017-11-16 11:57:30 -05:00
Alan Rominger
71127c039d
Merge pull request #668 from AlanCoding/null_cred_okay2
...
Do not filter out JTs with null credentials
2017-11-16 11:18:16 -05:00
AlanCoding
127da5525c
do not filter out JTs with null credentials
2017-11-16 10:20:41 -05:00
Alan Rominger
0f52ab47a0
Merge pull request #665 from AlanCoding/prefetch_credentials
...
prefetch UnifiedJob related credentials
2017-11-16 09:57:22 -05:00
AlanCoding
8cb5ce8307
prefetch UnifiedJob related credentials
2017-11-15 22:35:10 -05:00
Alan Rominger
dbe135991b
Merge pull request #575 from AlanCoding/single_cancel
...
do not propogate cancel of inventory sync back up to project
2017-11-15 09:46:41 -05:00
Alan Rominger
93b80307db
Merge pull request #624 from AlanCoding/dev_super
...
get development supervisor use working again
2017-11-14 10:14:11 -05:00
Alan Rominger
0a883edd4d
Merge pull request #632 from AlanCoding/some_test_fixes
...
do not use expensive visible_roles for Activity Stream filter
2017-11-14 09:56:27 -05:00
AlanCoding
7eac219eae
do not use expensive visible_roles for Act Stream filter
2017-11-14 08:37:14 -05:00
AlanCoding
805170ffd7
get development supervisor use working again
2017-11-13 20:31:32 -05:00
AlanCoding
33574d70c8
do not propogate cancel of inventory sync back up to project
2017-11-13 08:44:00 -05:00
Alan Rominger
e22486ada8
Merge pull request #573 from AlanCoding/7765
...
[3.2.2] fix bug of system auditor 404 viewing job
2017-11-08 11:16:28 -05:00
AlanCoding
0051da95c9
fix bug of system auditor 404 viewing job
2017-11-08 10:44:41 -05:00
Alan Rominger
1ed3a8f0e9
Merge pull request #566 from AlanCoding/no_can_read
...
Fix bug where system gets 404 viewing job detail view
2017-11-06 15:23:30 -05:00
AlanCoding
270a41443c
fix bug of system auditor 404 viewing job
2017-11-03 08:20:15 -04:00
Alan Rominger
0579db1162
Merge pull request #439 from AlanCoding/retry_subset
...
Feature: retry on subset of jobs hosts
2017-11-01 11:33:15 -04:00
AlanCoding
41c84b4652
update retry-on-failed acceptance docs
...
Relaunching by other status values is tabled for later.
2017-11-01 10:24:46 -04:00
AlanCoding
0ae9283fba
Feature: retry on subset of jobs hosts
2017-11-01 10:22:52 -04:00
AlanCoding
d7ae95684c
fix bug with dependent SCM inv updates
...
This change causes all SCM inventory updates to run a local
project sync unless they were specifically marked as a
dependency of an already-existing project update, as
opposed to just doing so on manual launch types.
This should be a more robust criteria.
2017-10-30 11:59:33 -04:00
AlanCoding
8b39b3b41a
fix admin edit of WFJT survey spec
2017-10-29 16:27:16 -04:00
Alan Rominger
d7f5ef6564
Merge pull request #511 from AlanCoding/wrong_type_error
...
raise error for invalid type lookup
2017-10-27 14:14:11 -04:00
Alan Rominger
003d7f0915
Merge pull request #543 from AlanCoding/urlencode_host_filter
...
[3.2.2] urlencode unquote host_filter on save
2017-10-27 08:50:39 -04:00
Alan Rominger
c323a2393a
Merge pull request #552 from AlanCoding/retry_cleanup
...
[3.2.2] retry cleanup of build artifacts for bwrap race condition
2017-10-27 08:23:28 -04:00
Alan Rominger
bc7793def1
Merge pull request #494 from AlanCoding/get_queryset_modest_refactor
...
Refactor get_queryset inside of access.py
2017-10-26 13:52:08 -04:00
AlanCoding
48ec69c4f5
retry cleanup of build artifacts for bwrap race condition
2017-10-26 13:33:21 -04:00
AlanCoding
4e16b19ae6
Refactor access.py get_queryset into filtering method
...
Use BaseAccess class to enforce the superuser and system
auditor conditions, as well as the optimizations.
Declare optimizations on access class as tuple.
Limit role of access class method narrowly to RBAC filtering.
2017-10-26 11:40:08 -04:00
AlanCoding
b4a446dba0
raise error for invalid type lookup
2017-10-26 11:25:40 -04:00
Alan Rominger
641b18fe13
Merge pull request #509 from AlanCoding/lib_test_fixes
...
update tests to new Ansible core code
2017-10-26 09:28:52 -04:00
AlanCoding
e5d2eb9f3d
update tests to new Ansible core code
2017-10-26 08:34:00 -04:00
AlanCoding
018514d657
urlencode unquote host_filter on save
2017-10-24 08:05:08 -04:00
Alan Rominger
73ece87e68
Merge pull request #487 from AlanCoding/E722
...
flake8: comply with new E722 rule
2017-10-23 14:58:27 -04:00
AlanCoding
90f63774f4
flake8: comply with new E722 rule
2017-10-23 14:36:48 -04:00
Alan Rominger
083e56d97d
Merge pull request #464 from AlanCoding/actiony_permissions
...
fix bug where JT admins could not edit spec
2017-10-19 16:22:14 -04:00
AlanCoding
098a407e25
fix bug where JT admins could not edit spec
2017-10-19 16:05:44 -04:00
Alan Rominger
6347db56c5
Merge pull request #473 from AlanCoding/test_fix_exc
...
fix test fallout from 321 merge
2017-10-19 16:05:01 -04:00
AlanCoding
e660879a00
fix test fallout from 321 merge
2017-10-19 15:47:51 -04:00
Alan Rominger
350699eda8
Merge pull request #504 from AlanCoding/fk_error_msg
...
[3.2.2] tweak of error message for ForeignKey filters
2017-10-18 19:06:12 -04:00
Alan Rominger
353a9a55c7
Merge pull request #406 from AlanCoding/variables_debt
...
Consolidation of variables parsing throughout codebase
2017-10-13 15:40:36 -04:00
AlanCoding
993fa9290d
additional verbosity for vars parsing exceptions
2017-10-13 11:41:11 -04:00
Alan Rominger
f6bf0ad21f
Merge pull request #521 from AlanCoding/update_isolated
...
[3.2.2] update isolated container requirements
2017-10-12 14:24:38 -04:00
Alan Rominger
ad0e43dc52
Merge pull request #379 from AlanCoding/awx160
...
Enforce max line length of 160 characters
2017-10-12 14:05:31 -04:00
AlanCoding
8b41810189
Consolidation of variables parsing throughout codebase
...
* Remove attempted support of key=value pattern, because
it is not actually allowed in practice
* Have variables validator defer to the utils variables parser
* Prune serializers of a handful of cases that previous
attempts at cleanup have missed
2017-10-11 16:21:50 -04:00
AlanCoding
f03b40aa50
enforce max line length of 160 characters
2017-10-11 12:38:39 -04:00
Alan Rominger
b2e63d5e47
Merge pull request #510 from AlanCoding/event_accounting
...
add logger statement for number of events
2017-10-10 22:12:11 -04:00
Alan Rominger
e7ede6af4a
Merge pull request #525 from AlanCoding/update_isolated_version
...
[3.2.2] update fallback isolated version to 3.2.2
2017-10-10 22:06:09 -04:00
Alan Rominger
5503d4efb4
Merge pull request #523 from AlanCoding/fix_isolated_capacity
...
[3.2.2] fix equation for isolated instance capacity
2017-10-10 22:04:03 -04:00
AlanCoding
eab82f3efa
updated fallback isolated version to 3.2.2
2017-10-10 15:45:20 -04:00
AlanCoding
e66a1002ee
fix equation for isolated instance capacity
2017-10-10 14:58:09 -04:00
AlanCoding
e814f28039
add logger statement for number of events
2017-10-10 14:48:00 -04:00
AlanCoding
03e58523b2
tweak of error message for ForeignKey filters
2017-10-10 14:47:37 -04:00