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
AlanCoding
02b7424b29
check for existence and type of all spec items
2018-04-04 16:39:36 -04:00
AlanCoding
f0862cd413
avoid v1 cruft fields in JobCancelSerializer
2018-04-04 16:30:44 -04:00
AlanCoding
6e1e7d8426
remove shortcut for custom scripts copy
2018-04-04 14:35:28 -04:00
Alan Rominger
c2446beb6e
Merge pull request #1235 from AlanCoding/rm_TOWER_HOST
...
remove TOWER_HOST from job env vars
2018-04-04 10:42:16 -04:00
AlanCoding
c064195025
remove TOWER_HOST from job env vars
2018-04-04 10:32:41 -04:00
Alan Rominger
716a2a6b0f
Merge pull request #1213 from AlanCoding/alan_does_jsonschema
...
custom message for JSONschema type error
2018-04-04 10:27:23 -04:00
AlanCoding
996a5b20b0
unit tests of cred field types
2018-04-04 09:38:50 -04:00
Alan Rominger
bf4251794a
Merge pull request #1223 from AlanCoding/delete_user_role
...
Delete user role on deletion of a user
2018-04-04 07:04:04 -04:00
Alan Rominger
ac1bc08480
Merge pull request #1220 from AlanCoding/fix_check_related
...
fix bug where role name was given incorrectly
2018-04-03 15:12:23 -04:00
AlanCoding
ee8416140a
custom message for JSONschema type error
2018-04-03 14:38:30 -04:00
AlanCoding
a52b22ffdf
delete user role on deletion of a user
2018-04-03 14:31:56 -04:00
Alan Rominger
59c30af19f
Merge pull request #1219 from AlanCoding/dragon_vault_id
...
Prevent unicode errors in cred unique_hash
2018-04-03 14:01:51 -04:00
AlanCoding
8a7f00bdf7
fix bug where role name was given incorrectly
2018-04-03 13:39:16 -04:00
AlanCoding
9695031b27
prevent unicode errors in cred unique_hash
2018-04-03 13:34:21 -04:00
Alan Rominger
275cc061f0
Merge pull request #1216 from AlanCoding/no_inv_no_callback
...
prohibit config callback with no inventory
2018-04-03 12:35:31 -04:00
AlanCoding
482c159ac6
prohibit config callback with no inventory
2018-04-03 10:56:35 -04:00
Alan Rominger
6a835b8a6b
Merge pull request #1193 from AlanCoding/broken_no_launch
...
hide launch button for invalid JTs (using user_capabilities)
2018-04-02 13:08:53 -04:00
AlanCoding
d8f37e799b
hide launch button for invalid JTs
2018-04-02 11:58:02 -04:00
Alan Rominger
2e1a2f0a95
Merge pull request #1184 from AlanCoding/validate_scope
...
Validate token scope
2018-04-02 09:36:12 -04:00
Alan Rominger
afd54a9ff9
Merge pull request #1174 from AlanCoding/cred_type_deets
...
Include credential type details (and more!) in activity stream
2018-04-02 08:03:33 -04:00
AlanCoding
a4721dc9e7
validate token scope
2018-03-29 15:43:25 -04:00
Alan Rominger
09801d6dab
Merge pull request #1150 from AlanCoding/types_docs
...
Make example credential type work
2018-03-29 15:03:03 -04:00
AlanCoding
9244989a14
test for all models in ActivityStreamSerializer
2018-03-29 14:57:26 -04:00
Alan Rominger
b919c36994
Merge pull request #1166 from AlanCoding/role_mods
...
Exclude created/modified from RoleSerializer
2018-03-29 14:05:41 -04:00
AlanCoding
0295351bf1
include credential type details in activity stream
2018-03-29 12:07:05 -04:00
Alan Rominger
f16ad97081
Merge pull request #1165 from AlanCoding/you_know_who_you_are
...
Prevent modified from showing up in activity stream
2018-03-29 12:00:36 -04:00
Alan Rominger
05a56b9b22
Merge pull request #1164 from AlanCoding/path_words
...
Add verbosity to local_path error
2018-03-29 11:58:39 -04:00
AlanCoding
19c3e26cf2
exclude created/modified from RoleSerializer
2018-03-29 08:59:03 -04:00
AlanCoding
48112f2c56
prevent modified from showing up in activity stream
2018-03-29 08:37:20 -04:00
AlanCoding
27e4630426
add verbosity to local_path error
2018-03-29 07:53:10 -04:00
Alan Rominger
c7ecbb7d2a
Merge pull request #1157 from AlanCoding/no_access_token
...
Remove access_token from Activity Stream serializer
2018-03-28 15:56:12 -04:00
AlanCoding
33e2457721
remove access_token from ActStr serializer
2018-03-28 15:38:58 -04:00
AlanCoding
2a45f352bb
make example cred type work
2018-03-28 14:40:38 -04:00
Alan Rominger
ae5d17d151
Merge pull request #1147 from AlanCoding/exclude_last_used
...
Exclude last_used from activity stream
2018-03-28 14:32:55 -04:00
AlanCoding
98dc59765e
exclude last_used from activity stream
2018-03-28 12:53:11 -04:00
Alan Rominger
bed9b06426
Merge pull request #1124 from AlanCoding/hot_potato
...
Stream standard out in non-event models
2018-03-28 11:38:49 -04:00
AlanCoding
8c167e50c9
Continuously stream data from verbose jobs
...
In verbose unified job models (inventory updates, system jobs,
etc.), do not delay dispatch just because the encoded
event data is not part of the data written to the buffer.
This allows output from these commands to be submitted
to the callback queue as they are produced, instead
of waiting until the buffer is closed.
2018-03-28 11:05:49 -04:00
Alan Rominger
3411721a2c
Merge pull request #1676 from AlanCoding/unused_settings
...
Removed unused settings (replaced by source_vars)
2018-03-26 14:16:42 -04:00
AlanCoding
9db0fdfc0b
sync tower verify_ssl parameter with tower-cli
...
Add new input for the tower type credential
elsewhere, tests are being added for verify_ssl in modules
tower-cli also updating to use the original tower.py var
2018-03-26 13:42:52 -04:00
Alan Rominger
e38955e1fa
Merge pull request #1670 from AlanCoding/no_credential
...
Inventory source can_change - remove credential check
2018-03-26 12:06:57 -04:00
Alan Rominger
4c2cff7a63
Merge pull request #1666 from AlanCoding/fix_workflow_vars_again
...
Ignore workflow survey passwords when not applicable
2018-03-26 11:17:32 -04:00
Alan Rominger
fe6755eca8
Merge pull request #1659 from AlanCoding/relaunch_creds
...
New credential passwords system on relaunch
2018-03-26 11:16:03 -04:00
AlanCoding
d91ce03652
removed unused settings (replaced by source_vars)
2018-03-26 10:19:17 -04:00
AlanCoding
894eeee979
inventory source can_change rm credential check
2018-03-26 09:45:45 -04:00
AlanCoding
7ea9575e78
ignore workflow survey passwords when not applicable
2018-03-23 13:01:45 -04:00
AlanCoding
5fe63894d5
new credential passwords system on relaunch
2018-03-23 12:44:52 -04:00
Alan Rominger
b3e15f70cb
Merge pull request #1612 from AlanCoding/token_no
...
Make user_capabilities False for read tokens
2018-03-21 14:45:19 -04:00
AlanCoding
4f1f578fde
make user_capabilities False for read tokens
2018-03-21 13:14:14 -04:00
AlanCoding
001fa634aa
include related Jobs in group del protection
2018-03-21 08:05:16 -04:00
Alan Rominger
8056ac5393
Delay import of freeze to make tests run ( #1617 )
...
* Delay import of freeze to make tests run
* fix flake8 error
2018-03-20 11:58:11 -04:00
Alan Rominger
30fb4076df
Merge pull request #1569 from AlanCoding/relaunch_survey
...
Allow normal users to relaunch jobs with survey answers
2018-03-20 07:14:09 -04:00
Alan Rominger
1413659f5f
Merge pull request #1593 from AlanCoding/fix_processed
...
Fix bug with non-event model
2018-03-16 14:53:05 -04:00
AlanCoding
bbbb7def0a
fix bug with non-event model
2018-03-16 14:27:36 -04:00
Alan Rominger
75dd8d7d30
Merge pull request #1587 from AlanCoding/more_event_blocking
...
Block deletion of resources with unprocessed events
2018-03-16 11:26:33 -04:00
AlanCoding
66108164b9
remove unnecessary mock
2018-03-16 10:55:48 -04:00
AlanCoding
69eccd3130
move ACTIVE_STATES to constants
2018-03-16 10:31:41 -04:00
AlanCoding
7881c921ac
block deletion of resources w unprocessed events
2018-03-16 10:14:28 -04:00
AlanCoding
43aef6c630
allow normal users to relaunch jobs w survey answers
2018-03-15 07:43:03 -04:00
Alan Rominger
5c0a52df16
Merge pull request #1533 from AlanCoding/count_events
...
Track emitted events on model
2018-03-14 10:30:43 -04:00
Alan Rominger
92b8fc7e73
Merge pull request #1554 from AlanCoding/poly_who
...
fix bugs with UJT optimizations
2018-03-14 09:11:57 -04:00
AlanCoding
5170fb80dc
fix bugs with UJT optimizations
2018-03-14 08:19:53 -04:00
AlanCoding
04a27d5b4d
Namechange events_processed -> event_processing_finished
...
from PR review, also adding tests to assert that the
value is passed from the stdout_handle to the UnifiedJob
object on finalization of job run in tasks.py
2018-03-14 07:53:04 -04:00
AlanCoding
b803a6e557
Track emitted events on model
2018-03-14 07:53:02 -04:00
Alan Rominger
0db584e23e
Merge pull request #1530 from AlanCoding/inv_env_vars
...
More restrictive inventory env vars management
2018-03-14 07:23:42 -04:00
Alan Rominger
dcae4f65b5
Merge pull request #1330 from AlanCoding/capable_of_anything
...
New copy fields, clean up user_capabilities logic
2018-03-13 12:05:45 -04:00
AlanCoding
3566140ecc
more restrictive inventory env vars management
2018-03-12 13:35:22 -04:00
Alan Rominger
b41d9c4620
Merge pull request #1470 from AlanCoding/mo_exceptions
...
Include stack trace for delete_inventory logs
2018-03-08 17:18:40 -05:00
Alan Rominger
3605dbfd73
Merge pull request #1472 from AlanCoding/more_deps
...
Add shade back into AWX requirements
2018-03-08 11:04:20 -05:00
AlanCoding
4a01805a19
add shade back into AWX requirements
...
Last round of dependency updates showed that AWX
depended on packages which came implicitly from shade
decorator is added as an explicit dependency
and all of the rest of shade requirements are
added back in here.
2018-03-08 10:32:19 -05:00
AlanCoding
54a68da088
include stack trace for delete_inventory logs
2018-03-08 08:30:59 -05:00
Alan Rominger
044b85ce7a
Merge pull request #1415 from AlanCoding/depgrades
...
Dependency Upgrades
2018-03-08 08:29:46 -05:00
AlanCoding
556e6c4a11
Dependency Updates
...
Upgrades of minor dependency upgrades
Inventory scripts were upgraded in separate commit
Major exclusions from this update
- celery was already downgraded for other reasons
- Django / DRF major update already done, minor bumps here
- asgi-amqp has fixes coming independently, not touched
- TACACS plus added features not needed
Removals of note
- remove shade from AWX requirements
- remove kombu from Ansible requirements
Other notes
Add note about pinning setuptools and pip,
done but not mentioned previously
Stop pinning gevent-websocket and twisted
upgrade Azure to Ansible core requirements
more detailed notes
https://gist.github.com/AlanCoding/9442a512ab6977940bc7b5b346d4f70b
upgrade version of Django for Exception
2018-03-06 16:04:01 -05:00
Alan Rominger
cc33109412
Merge pull request #1445 from AlanCoding/platform
...
Add platform to ec2 group by options
2018-03-06 07:23:22 -05:00
AlanCoding
341e2c0fe2
add platform to ec2 group by options
2018-03-05 15:43:28 -05:00
Alan Rominger
8d57b84251
Merge pull request #1353 from AlanCoding/dep_scripts
...
Update inventory scripts
2018-03-01 10:56:11 -05:00
Alan Rominger
4fba2d61e6
Merge pull request #1394 from AlanCoding/text_type2
...
Prevent unicode bug in job_explanation
2018-02-28 12:42:11 -05:00
AlanCoding
54c0436959
prevent unicode bug in job_explanation
2018-02-28 11:01:20 -05:00
Alan Rominger
ee0e239a9e
Merge pull request #1374 from AlanCoding/your_name
...
More consistent representations of model objects
2018-02-28 09:08:29 -05:00
AlanCoding
bacd895705
more consistent representations of model objects
2018-02-27 12:18:57 -05:00
Alan Rominger
6d7f60ea61
Merge pull request #1368 from AlanCoding/none_client
...
Fix server error with absent client_secret
2018-02-27 10:39:50 -05:00
AlanCoding
c900027f82
fix server error with absent client_secret
2018-02-27 09:23:36 -05:00
AlanCoding
b878a844d0
Update inventory scripts
...
ec2
- added support for tags and instance attributes
- allow filtering RDS instances by tags
- add option to group by platform
- set missing defaults
- make cache unique to script ran
- bug fixes
- implement AND'd filters
azure_rm
- minor python 3 upgrades
cloudforms
- minor regex fix
foreman
- several new configurables
- changes to caching
gce
- python 3 upgrades
- added gce_subnetwork param
openstack
- added `--cloud` parameter
ovirt4
- obtain defaults from env vars
vmware_inventory
- changed imports
- allow for custom filters
- changed host_filters
- error handling
- python 3 upgrades
2018-02-26 13:46:21 -05:00
AlanCoding
7b78a2ebcc
update tests for new call pattern for capabilities prefetch
2018-02-26 12:13:41 -05:00
AlanCoding
ce9234df0f
Revamp user_capabilities with new copy fields
...
Add copy fields corresponding to new server-side copying
Refactor the way user_capabilities are delivered
- move the prefetch definition from views to serializer
- store temporary mapping in serializer context
- use serializer backlinks to denote polymorphic prefetch model exclusions
2018-02-26 12:13:41 -05:00
Alan Rominger
ad8822bcfc
Merge pull request #1314 from AlanCoding/fix_rescheduling
...
Correct permission check for job rescheduling
2018-02-22 16:04:04 -05:00
Alan Rominger
db39ab1b0c
Merge pull request #1322 from AlanCoding/check_version
...
Loosen overwrite_vars constraint for new feature
2018-02-22 14:26:30 -05:00
AlanCoding
4727cda336
Loosen overwrite_vars constraint for new feature
2018-02-22 07:47:28 -05:00
Alan Rominger
2ebee58727
Merge pull request #1321 from AlanCoding/magic_credential
...
Alias filters by credential to credentials
2018-02-21 15:51:42 -05:00
AlanCoding
91e59ebd29
alias filters by credential to credentials
2018-02-21 14:57:26 -05:00
AlanCoding
992d7831b1
add test for ScheduleAccess prompts
2018-02-21 14:11:55 -05:00
AlanCoding
de4e95f396
correct permission check for job rescheduling
2018-02-21 09:25:43 -05:00
Alan Rominger
1582fcbb50
Merge pull request #1277 from AlanCoding/inv_multicred
...
Use the m2m field for inventory source credentials
2018-02-20 14:08:22 -05:00
AlanCoding
bb6032cff6
docs and review change for IS multivault
...
Mention inventory sources /credentials/ endpoint in docs
Also change means of identifying projects for the purose
of injecting custom credentials
2018-02-20 12:34:58 -05:00