Ryan Petrello
c96b1d87ee
Merge pull request #6106 from ryanpetrello/more_cred_migration
...
fix a few more migration-related issues for credentials
2017-04-26 09:40:09 -04:00
Ryan Petrello
66e004a9db
fix a few more migration-related issues for credentials
2017-04-26 09:24:33 -04:00
Marliana Lara
babe59a9cc
Merge pull request #6104 from marshmalien/fix/addContrastToRowShading
...
Add more contrast to row shading in Tower
2017-04-25 18:56:05 -04:00
Marliana Lara
79791a4fbc
Remove ng-class-odd and ng-class-even directives
2017-04-25 16:22:18 -04:00
Matthew Jones
52fa9410f2
Merge pull request #6084 from cchurch/paginate_this
...
Add custom paginator to avoid separate COUNT(*) query
2017-04-25 16:05:48 -04:00
Marliana Lara
59ff065a65
fixes #3636
2017-04-25 15:54:07 -04:00
Ryan Petrello
9a4b972bab
Merge pull request #6102 from ryanpetrello/vault_migration
...
properly migrate vault credentials to the new credentialtype model
2017-04-25 15:35:16 -04:00
Ryan Petrello
c0add33212
properly migrate vault credentials to the new credentialtype model
2017-04-25 15:03:16 -04:00
Aaron Tan
48934461c4
Merge pull request #5783 from jangsutsr/5718_enable_udp_communication_to_log_aggregators
...
Enable TCP/UDP communication to log aggregators
2017-04-25 13:37:23 -04:00
Aaron Tan
8d2ee8c30f
Refactor log handler and support TCP/UDP communications
2017-04-25 11:07:57 -04:00
Chris Meyers
1f99a0df85
Merge pull request #6098 from chrismeyersfsu/fix-facts_query_performance
...
coarse json queries to use gin index
2017-04-25 10:58:09 -04:00
Ryan Petrello
7037daa799
Merge pull request #6096 from ryanpetrello/api_new_in_v2
...
refactor API v2 version detection
2017-04-25 10:48:00 -04:00
Ryan Petrello
f0f859f553
Merge pull request #6088 from ryanpetrello/v1_custom_credentials
...
for /api/v1/ requests, filter out v2 (custom) credentials
2017-04-25 10:30:02 -04:00
Ryan Petrello
12f244495c
Merge pull request #6089 from ryanpetrello/credential_type_injectors
...
Implement custom credential type injectors
2017-04-25 10:27:00 -04:00
Chris Meyers
d69ae2cc92
coarse json queries to use gin index
2017-04-25 10:21:22 -04:00
Alan Rominger
e1a96092fc
Merge pull request #6094 from ansible/AlanCoding-patch-2-1
...
Fix 500 error in ProjectScmInventorySources
2017-04-25 10:10:48 -04:00
Ryan Petrello
80df1523b0
refactor API v2 version detection and feature inclusion
2017-04-25 09:35:03 -04:00
Alan Rominger
34b697ce17
Fix 500 error in ProjectScmInventorySources
2017-04-24 16:54:17 -04:00
Ryan Petrello
83dc4f6757
for /api/v1/ requests, filter out v2 (custom) credentials
...
see: #5877
2017-04-24 15:21:30 -04:00
Ryan Petrello
aff25c914e
blacklist special env vars from being used in CredentialType injectors
...
see: #5877
2017-04-24 15:03:50 -04:00
Ryan Petrello
a36a53fe40
implement CredentialType env, file, and extra_vars injectors
...
see: #5877
2017-04-24 15:03:33 -04:00
Ryan Petrello
e65ef35acf
Merge pull request #6001 from ryanpetrello/new_credential_model
...
Introduce a new CredentialTemplate model
2017-04-24 14:54:27 -04:00
Ryan Petrello
97b2524156
migrate v1 credentials to the new v2 credentialtype + credential model
...
see: #5878
2017-04-24 13:00:13 -04:00
Ryan Petrello
3067435799
add additional test coverage for tasks.py credential usage
2017-04-21 15:42:27 -04:00
Ryan Petrello
7e64a6fd60
add "added_in_api_version" metadata to OPTIONS requests
2017-04-21 15:42:27 -04:00
Ryan Petrello
ba259e0ad4
Introduce a new CredentialTemplate model
...
Credentials now have a required CredentialType, which defines inputs
(i.e., username, password) and injectors (i.e., assign the username to
SOME_ENV_VARIABLE at job runtime)
This commit only implements the model changes necessary to support the
new inputs model, and includes code for the credential serializer that
allows backwards-compatible support for /api/v1/credentials/; tasks.py
still needs to be updated to actually respect CredentialType injectors.
This change *will* break the UI for credentials (because it needs to be
updated to use the new v2 endpoint).
see: #5877
see: #5876
see: #5805
2017-04-21 15:42:26 -04:00
Chris Church
9f1f770ebe
Add custom paginator to use PostgreSQL window function instead of needing a separate COUNT(*) query.
2017-04-20 16:45:14 -04:00
Alan Rominger
4931bec1be
Merge pull request #6056 from AlanCoding/another_v1
...
Add back group summary_field for v1 InvSrc
2017-04-20 15:49:52 -04:00
Shane McDonald
c14672b485
Merge pull request #6073 from ansible/pgdg96
...
Postgres 9.6
2017-04-20 13:34:01 -04:00
Shane McDonald
570b28f3e3
Merge pull request #6070 from shanemcd/fix-debian-builds
...
Fix Ubuntu builds
2017-04-20 11:50:03 -04:00
Shane McDonald
896460d32e
Build psycopg2 from source
...
Fixes Ubuntu build errors where dh_strip was choking on a shared object file.
2017-04-20 11:15:21 -04:00
AlanCoding
d1698ece34
Add back group summary_field for v1 InvSrc
2017-04-20 08:43:56 -04:00
Alan Rominger
498abd6764
Merge pull request #6061 from AlanCoding/new_inv_src_fix
...
Fix bug that is blocking creating new custom (script-based) inventory sources
2017-04-19 14:20:58 -04:00
Chris Meyers
4a4edc3700
Merge pull request #6059 from chrismeyersfsu/fix-6054
...
pin twisted and asgiref for asgi-amqp
2017-04-19 14:05:56 -04:00
AlanCoding
a066905997
fix InvSrc validation Organization requirement for new sources
2017-04-19 14:00:19 -04:00
Chris Meyers
5a7b78220d
pin twisted and asgiref for asgi-amqp
...
* asgi-amqp translation layer needs a specific version of channels which
requires a specific version of daphne and all of the fall out.
2017-04-19 13:56:36 -04:00
Chris Meyers
8c8ccba5a5
add mock to ansible dev env requirements
2017-04-18 12:31:05 -04:00
Chris Meyers
a64f8a7660
Merge pull request #6045 from chrismeyersfsu/fix-hosts_list
...
return count, results, next, prev
2017-04-18 09:08:05 -04:00
Chris Meyers
70a8ccef0f
return count, results, next, prev
...
* This returns /api/vx/hosts/ to having all the nice response items like
count, results, next, prev. I had "chopped" that off by explicitly only
returning result.
2017-04-17 16:43:29 -04:00
Greg Considine
52afc377cd
Merge pull request #6038 from gconsidine/uxi/improvements
...
Fix layout/padding and font sizing
2017-04-17 16:40:14 -04:00
Alan Rominger
1011e54689
Merge pull request #5985 from AlanCoding/scm_inv5
...
SCM file-based inventory sources
2017-04-17 16:22:24 -04:00
Alan Rominger
6ff6948688
Merge pull request #6043 from AlanCoding/v1_group_fixes
...
Group V1 serializer fixes from QE feedback
2017-04-17 15:44:35 -04:00
AlanCoding
6d92c56da5
SCM Inventory model, view, and task system changes
...
Inventory source file-type combined with a linked project
will allow the inventory source to be updated when the
project is updated. The inventory update runs in the
post-run hook of the project update.
2017-04-17 15:01:19 -04:00
Chris Meyers
2c34aef661
Merge pull request #6041 from chrismeyersfsu/feature-jsonsearch
...
remove facts_latest in favor of ansible_facts
2017-04-17 14:52:02 -04:00
AlanCoding
29de1056e7
Group V1 serializer fixes from QE feedback
...
Straightforward bug fixes and edits to be more consistent with
the 3.1 v1 API structure
- remove `inventory_source` as a field from group
- add inventory source as a group summary field
- fix user_capabilities bug for group start permission
- fix 500 error on /inventory_sources/N/update/
2017-04-17 14:43:17 -04:00
Chris Meyers
55268a8ff0
remove facts_latest in favor of ansible_facts
...
* Closer align our facts data structure with ansible facts data
structure for purposes of ... wait for it ... 2-way fact caching
2017-04-17 14:27:33 -04:00
Chris Meyers
42a4bfa926
Merge pull request #5944 from chrismeyersfsu/improvement-pyparsing
...
add pyparsing a top level dep and fix other deps
2017-04-17 14:26:31 -04:00
gconsidine
7f84a58bd2
Fix layout/padding and font sizing
2017-04-17 13:48:47 -04:00
Chris Meyers
880f4a77a4
Merge pull request #6036 from chrismeyersfsu/fix-hosts_v2
...
run host listing through v1 vs. v2 logic
2017-04-17 12:12:24 -04:00
Chris Meyers
775093294e
run host listing through v1 vs. v2 logic
...
* api/v1/hosts related fields were getting v2 in the related urls. The
context is now included in the serializer instantiation.
2017-04-17 11:43:44 -04:00