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
jlmitch5
7d7d1daae7
Merge pull request #6074 from jlmitch5/fixEscapingStdout
...
Fix escaping stdout
2017-04-24 11:47:39 -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
74636d3623
Merge pull request #6082 from shanemcd/5959
...
Stop / start ansible-tower-service during restores
2017-04-20 15:03:34 -04:00
Shane McDonald
c14672b485
Merge pull request #6073 from ansible/pgdg96
...
Postgres 9.6
2017-04-20 13:34:01 -04:00
Wayne Witzel III
c058f76960
value_to_python should encode lookup fields as ascii
2017-04-20 13:22:54 -04:00
John Mitchell
a44e5b208a
fix brace interpolation on standard out pane
2017-04-20 12:27:58 -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
Bill Nottingham
e8126aab34
Merge pull request #6068 from wenottingham/release_3.1.3
...
Adjust some hardcoded usages of 'awx' to use 'aw_user' and 'aw_group'.
2017-04-20 11:28:05 -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
Shane McDonald
2cb88deee1
Merge pull request #6065 from shanemcd/updated-es-translations
...
Updated Spanish translations
2017-04-20 08:14:37 -04:00
Shane McDonald
08aada3362
Pull Spanish updates from Zanata
2017-04-20 08:05:14 -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
Shane McDonald
9831c4551d
Merge pull request #6057 from shanemcd/external-db-restore
...
Fix external database restores
2017-04-19 10:09:46 -04:00
Jared Tabor
5b20b0a02f
Merge pull request #6048 from jaredevantabor/adhoc-modules
...
CTiT -> adhoc modules should allow the user to add new modules
2017-04-18 15:46:18 -07:00
Greg Considine
c8394bbca3
Merge pull request #6050 from gconsidine/fix/dropdown-text-truncation
...
Add dropdown li truncation with ellipsis
2017-04-18 15:23:06 -04:00
Michael Abashian
58cc33481e
Merge pull request #6000 from mabashian/5926-survey-password-minlength
...
Fixed min/max length survey password bug
2017-04-18 14:09:08 -04:00
jlmitch5
9b3036f150
Merge pull request #6051 from jlmitch5/fixCappedLines
...
don't display chunked lines'
2017-04-18 13:46:32 -04:00
Greg Considine
820bc6f630
Merge pull request #6035 from gconsidine/fix/permission-mod-basic-license
...
Fix permission modal in team settings
2017-04-18 13:32:02 -04:00
John Mitchell
ea0f7ad0de
don't display chunked lines'
2017-04-18 12:56:22 -04:00
Chris Meyers
8c8ccba5a5
add mock to ansible dev env requirements
2017-04-18 12:31:05 -04:00
gconsidine
da0a721a2d
Add dropdown li truncation with ellipsis
...
Display the full text on hover by expanding the list item
container.
2017-04-18 12:07:18 -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
jaredevantabor
90a45c8fc3
CTiT -> adhoc modules should allow the user to add new modules
...
the adhoc module field was not setup to allow users to input
additional options.
2017-04-17 15:48:41 -07:00
Shane McDonald
7de092ff37
Merge pull request #6044 from shanemcd/awx-user-supervisorctl
...
Give awx ownership of supervisor.sock
2017-04-17 17:31:55 -04:00
Alan Rominger
31c18f2e16
Merge pull request #6039 from AlanCoding/log_certs
...
Setting for external logging cert verification
2017-04-17 16:59:33 -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
3af0f505d8
Setting for external log emissions cert verification
...
Stopgap solution for issue for 3.1.3 where Splunk servers with a
self-signed certificate could not receive logs from Tower.
Users should set `LOG_AGGREGATOR_VERIFY_CERT = False` in settings
to use this.
2017-04-17 14:50:01 -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