Aaron Tan
a11e33458f
Include Tower configurations into activity stream
...
Relates #7386 of ansible-tower.
Due to the uniqueness of Tower configuration datastore model, it is not
fully compatible with activity stream workflow. This PR introduced
setting field for activitystream model along with other changes to make
Tower configuration a special case for activity streams.
Signed-off-by: Aaron Tan <jangsutsr@gmail.com>
2017-10-10 14:38:45 -04:00
Ryan Petrello
c8f4320b58
allow the credential type to be changed for unused credentials
...
see: https://github.com/ansible/ansible-tower/issues/7607
2017-10-10 14:38:43 -04:00
AlanCoding
edda5e5420
feedback on ad hoc prohibited vars error msg
2017-10-06 14:07:38 -04:00
AlanCoding
eacbeef660
Validate against ansible variables on ad hoc launch
...
Share code between this check for ad hoc and JT callback
2017-10-05 12:14:05 -04:00
Ryan Petrello
d3df5de0ce
build extra_cred related urls for jobs and JTs a less volatile way
...
see: https://github.com/ansible/ansible-tower/issues/7635
2017-09-13 13:28:26 -04:00
Ryan Petrello
e5043093eb
Merge pull request #393 from jangsutsr/7587_remove_cred_type_id_in_api_v1
...
Remove credential_type_id in API v1
2017-09-11 08:22:10 -07:00
Ryan Petrello
6f26f88bbd
Add a TODO for 3.3 cleanup
2017-09-11 10:48:32 -04:00
Aaron Tan
bf7c96defb
Merge pull request #372 from jangsutsr/7536_prevent_mistakenly_truncate_sgr
...
Prevent mistakenly truncate ANSI SGR code in job event stdout
2017-09-11 09:32:58 -04:00
Aaron Tan
94d4a7e3f0
Fix 7587: Remove credential_type_id in API v1
2017-09-06 10:39:49 -04:00
Alan Rominger
757a91a7d2
Merge pull request #385 from AlanCoding/smart_validation
...
fuller validation for host_filter
2017-09-05 10:39:33 -04:00
AlanCoding
a36a141141
fuller validation for host_filter
2017-08-31 23:10:09 -04:00
Aaron Tan
15f57eb911
Merge pull request #333 from jangsutsr/7505_disallow_changing_credential_type_of_credential
...
Disallow changing credential_type of an existing credential
2017-08-31 11:37:43 -04:00
Alan Rominger
3530b643b6
Merge pull request #374 from AlanCoding/v1_adhoc
...
remove can_run_ad_hoc_commands in v2
2017-08-31 11:33:18 -04:00
Aaron Tan
276bed2d0b
Disallow changing credential_type of an existing credential
2017-08-31 11:25:01 -04:00
Aaron Tan
35110ef738
Prevent mistakenly truncate ANSI SGR code in job event stdout
2017-08-31 10:19:04 -04:00
Ryan Petrello
5f416cce74
Merge pull request #365 from ryanpetrello/fix-7521
...
include extra_credentials data in summary fields for JT/Job detail view
2017-08-31 09:53:21 -04:00
AlanCoding
ceafa3803a
remove can_run_ad_hoc_commands in v2
2017-08-30 23:14:05 -04:00
Ryan Petrello
7192d5c4bb
include extra_credentials data in summary fields for JT/Job detail view
...
see: https://github.com/ansible/ansible-tower/issues/7521
2017-08-30 11:56:24 -04:00
AlanCoding
20e82eba42
more coherent source_script & inv validation
2017-08-30 08:31:08 -04:00
Alan Rominger
ba8326285e
Merge pull request #337 from AlanCoding/capacity_fix
...
correct capacity algorithm for task manager
2017-08-28 16:49:19 -04:00
AlanCoding
5327a4c622
Use global capacity algorithm in serializer
...
The task manager was doing work to compute currently consumed
capacity, this is moved into the manager and applied in the
same form to the instance group list.
2017-08-28 12:07:47 -04:00
AlanCoding
495d6e9887
remove job start endpoint in v2
2017-08-28 11:12:13 -04:00
Aaron Tan
baa7478ff0
Add pending_deletion check to job relaunch validation
2017-08-25 15:34:32 -04:00
adamscmRH
9b84670cf0
Removes auth field from Access List serializer
2017-08-21 10:43:28 -04:00
Aaron Tan
fd8da1e7ce
Add missing super call in NotificationTemplateSerializer
2017-08-15 11:10:55 -04:00
Alan Rominger
fe66d161b2
Merge pull request #140 from AlanCoding/poly_why
...
hack to work around Django-polymorphic prefetch_related bug
2017-08-07 14:24:17 -04:00
AlanCoding
45a58b24a6
allow insights_system_id to self-enforce its read_only property
2017-08-04 15:54:56 -04:00
Aaron Tan
19bd051011
Merge pull request #165 from jangsutsr/7352_prevent_setting_scm_fields_for_non_scm_is
...
Prevent setting SCM fields for non-SCM inventory sources
2017-08-03 18:04:13 -04:00
Alan Rominger
22d538702a
Merge pull request #147 from AlanCoding/underscores
...
add underscores to Role serializer resource_type
2017-08-03 09:01:18 -04:00
Aaron Tan
195c0bdfe4
Prevent setting SCM fields for non-SCM inventory sources
2017-08-02 17:22:15 -04:00
Chris Meyers
22aa251a24
Merge pull request #127 from chrismeyersfsu/fix-6559
...
remove conditional inventory sources POST
2017-08-02 12:25:50 -04:00
Chris Meyers
6cc5f14e16
remove conditional inventory sources POST
...
* Move logic from validator down to model
* Allow only 1 inventory source of type scm with
update_on_project_update set to True; for each inventory
2017-08-02 11:49:10 -04:00
AlanCoding
321591515c
hack to work around Django-polymorphic select_related bug
2017-08-02 09:32:13 -04:00
AlanCoding
4d8faa7265
add underscores to Role serializer resource_type
2017-08-02 08:27:25 -04:00
Alan Rominger
24d173c74f
Revert "add job_type to job summary fields"
2017-08-01 12:36:36 -04:00
Alan Rominger
9d1853f6df
Merge pull request #117 from AlanCoding/add_job_type
...
add job_type to job summary fields
2017-07-31 12:12:08 -04:00
Jim Ladd
98d2ca5b16
Vault credential should have ssh type for v1 job templates ( #119 )
2017-07-31 11:41:14 -04:00
AlanCoding
83dca62e16
add job_type to job summary fields
2017-07-31 10:34:04 -04:00
adamscmRH
3dcd6ef2c2
Blocks creation of Hosts, Groups, and IS for Smart Inventories
...
* Updated View unit tests
* Refactored Validators
* Validator Fix for Blocking
2017-07-28 16:24:09 -04:00
Ryan Petrello
b0f5d2f82d
allow Job Templates to launch with *only* a vault credential
...
see: https://github.com/ansible/ansible-tower/issues/7252
2017-07-24 11:42:35 -04:00
Alan Rominger
8dc89d913e
Merge pull request #7189 from AlanCoding/dont_update_me_bro
...
Tell user how to use update_on_launch with source_project
2017-07-20 10:25:08 -04:00
Alan Rominger
c038116626
Merge pull request #7095 from AlanCoding/schedule_validation
...
Add various validation for schedule extra_data
2017-07-20 09:30:29 -04:00
AlanCoding
828821ada6
tell user how to use update_on_launch with source_project
2017-07-20 08:49:46 -04:00
Ryan Petrello
b98d384671
filter CredentialType OPTIONS *and* help text for kind requirements
...
see: #7115
see: #6959
2017-07-18 17:51:07 -04:00
AlanCoding
1e9a0e5814
Change 'can not' to cannot (by request)
2017-07-18 09:01:09 -04:00
AlanCoding
ed7e558575
add various validation for schedule extra_data
2017-07-15 20:47:24 -04:00
AlanCoding
850f03331b
tweaks to SCM inventory related validation errors
2017-07-14 15:48:29 -04:00
AlanCoding
f1acb6b79d
fix double nesting of error message in dictionary
2017-07-14 08:01:57 -04:00
Aaron Tan
636147f7f0
Stablize summary field display for host serializer.
2017-07-13 16:30:47 -04:00
AlanCoding
6f84cb8784
fix bug just introduced by source_project validation
2017-07-12 13:00:29 -04:00