Alan Rominger
01c6463b1b
Merge pull request #1162 from AlanCoding/remove_cred_sf
...
Remove credential from node and schedule summary fields
2018-02-08 10:37:46 -05:00
Alan Rominger
181399df7a
Merge pull request #1159 from AlanCoding/reschedule_msg
...
Verbose error messages for failure to re-schedule
2018-02-08 10:28:11 -05:00
AlanCoding
0f66892d06
remove credential from node and schedule summary fields
2018-02-08 09:22:55 -05:00
AlanCoding
87b59903a5
verbose error messages for failure to re-schedule
2018-02-08 08:46:56 -05:00
Alan Rominger
b38aa3dfb6
Merge pull request #1153 from AlanCoding/fix_wfjt_scheduling
...
fix bug scheduling WFJT without prompts
2018-02-07 15:49:13 -05:00
AlanCoding
fe69a23a4e
fix bug scheduling WFJT without prompts
2018-02-07 14:34:25 -05:00
AlanCoding
80a2d10742
fix bug when creating system job schedule
2017-12-20 15:30:57 -05:00
AlanCoding
08570fe785
make inventory update name combination of inventory and source
2017-12-18 16:21:39 -05:00
Alan Rominger
6e27294e2b
Merge pull request #846 from AlanCoding/encrypt_on_save
...
Encrypt password answers on config save
2017-12-18 16:20:08 -05:00
AlanCoding
3439ba5f3b
allow WFJT nodes without required variables
2017-12-18 12:03:40 -05:00
AlanCoding
c8e10adc96
fix bug saving extra_data and follow prompts rules
...
display_extra_vars was not taking a copy of the data before
acting on it - this causes a bug where the activity stream will
modify the existing object on the model. That leads to new data
not being accepted.
Also moved the processing of extra_data to prior to the accept
or ignore kwargs logic so that we pass the right (post-encryption)
form of the variables.
2017-12-18 10:50:22 -05:00
AlanCoding
1e1839915d
validate against unencrypted values at spawn point
2017-12-15 10:47:23 -05:00
AlanCoding
74bf058d62
encrypt password answers on config save
2017-12-15 07:48:55 -05:00
AlanCoding
0bb9c58e25
cache the global settings list, cProfile speedup
2017-12-14 11:29:30 -05:00
Alan Rominger
9c783aa0ce
Merge pull request #804 from AlanCoding/active_count
...
simplify query for active_count
2017-12-14 10:47:12 -05:00
Alan Rominger
526391a072
Merge pull request #838 from AlanCoding/no_unicode_loop_2
...
Avoid slowdown generating smart_filter (alternative 2)
2017-12-14 10:23:31 -05:00
AlanCoding
98f8faa349
simplify query for active_count
2017-12-14 09:53:26 -05:00
AlanCoding
8a2a5b0fb1
avoid slowdown generating smart_filter
2017-12-14 09:39:39 -05:00
AlanCoding
e188692acf
use Options models to consolidate field_names list
2017-12-13 22:39:38 -05:00
AlanCoding
9fb24f1a4c
add hack to TimingMiddlWare for Shippable tests
2017-12-13 18:49:26 -05:00
Alan Rominger
7eb2d86890
Merge pull request #749 from AlanCoding/detail_opt
...
Apply list view optimizations to detail view
2017-12-13 18:19:00 -05:00
AlanCoding
e3a731bb9e
apply listview optimizations to detail view
2017-12-13 16:09:37 -05:00
AlanCoding
77a1c405a6
flake8 fixes from removal of reencrypt test
2017-12-13 14:32:34 -05:00
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