Commit Graph

1142 Commits

Author SHA1 Message Date
Ryan Petrello
78f6907c1b don't show inventory_source/update.related.credentials in /api/v1/ 2018-06-20 17:21:08 -04:00
AlanCoding
f753bea24f Test-based fixes to launch config password handling
Fix bug creating WFJT schedule with passwords:
discard survey_passwords field if given in WFJT
prompts processing method.
Fixed by porting prior JT fix to WFJT method of
same name.

Fix bug where API browser will show encrypted form
of variables in the POST submission box after
failed attempt:
copy extra_data so encrypted data values are not
added in still-linked request.data

Fix a bug where submitted extra_data $encrypted$ string
literal was saved because survey_passwords was empty
when there was no diff from prior.

Allow not answering required password questions with a
non-empty default value when saving a launch config.
The literal $encrypted$ string now gets passed into the
prompts / survey validator.
2018-06-20 14:18:38 -04:00
Yunfan Zhang
37d61904bf Merge pull request #2177 from YunfanZhang42/disallow_dict_on_credentials
Disallow posting dictionary as credentials to JT launch API endpoint.
2018-06-20 13:37:21 -04:00
Yunfan Zhang
9fec43c643 Disallow posting dictionary as credentials to JT launch API endpoint. 2018-06-20 13:05:47 -04:00
Ryan Petrello
45fb262556 fix a bug in JobTemplate.extra_credentials summary_fields
see: https://github.com/ansible/tower/issues/2184
2018-06-15 12:19:40 -04:00
adamscmRH
462e0be8d3 adds related tokens link to app endpoint 2018-06-14 14:12:18 -04:00
Jared Tabor
1a8b5426f8 UI i18n Audit: Translates strings throughout the UI
Translations for dashboard lists -> tooltips

Changing "Portal Mode" to "My View," in part due to translations.

Adding "Job Template" to strings to be translated from OPTIONS on API

Marking translations for JT that has a project that needs to be re-synced.

Marking translations for survey maker

Marking translations for lookup modal directive

Marking translations for empty, "Go To Notifications To Add Template"

Adds strings service for scheduler, and marking strings for translation

Translations for teams linkout from orgs, as well as cred types

Translations for instance groups

Marks translations for the Network UI

Translates strings on the workflow editor

Translations for workflow results

Translations for host event modal and some missing translations on

the stdout page.
2018-06-13 12:49:22 -04:00
Alan Rominger
ce117285e1 Merge pull request #2079 from AlanCoding/creds_no_op
Allow no-op case when modifying deprecated credentials
2018-06-12 09:08:35 -04:00
Jake McDermott
92ae09e163 add host_status_counts and playbook_counts to project update details 2018-06-08 22:27:41 -04:00
Jake McDermott
b1f36572c6 Merge pull request #2065 from jakemcdermott/2058
add host_status, play, and task counts to job details
2018-06-07 12:59:11 -04:00
AlanCoding
dde706b61f allow no-op case when modifying deprecated credentials 2018-06-07 07:16:07 -04:00
Jake McDermott
f8f59c8c8c add host_status, play, and task counts to job details 2018-06-06 18:02:31 -04:00
chris meyers
0702692ca9 add controller_node to adhoc command job 2018-06-06 16:28:28 -04:00
Chris Meyers
429c1bf2b4 Merge pull request #2070 from chrismeyersfsu/fix-controller_node_not_needed_on_some_jobs
remove controller_node field from jobs that don't apply
2018-06-06 16:19:00 -04:00
chris meyers
74155dfc9d add system jobs to controller_node exceptions 2018-06-06 15:04:41 -04:00
Ryan Petrello
0fd89579e9 Merge pull request #2073 from ryanpetrello/more-i18n
sprinkle more i18n for certain field labels
2018-06-06 14:57:58 -04:00
Ryan Petrello
d0249d3ae6 sprinkle more i18n for certain field labels
see: https://github.com/ansible/tower/issues/2063
2018-06-06 14:06:34 -04:00
chris meyers
8ee4b9680c remove controller_node field from jobs that don't apply 2018-06-06 11:26:15 -04:00
chris meyers
b876c2af62 add total job count for instance + instance group 2018-06-05 12:05:22 -04:00
chris meyers
8d352a4edf conform isolated system to new early node choice
* Randomly chose an instance in the controller instance group for which
to control the isolated node run. Note the chosen instance via a job
controller_node field
2018-06-04 10:06:59 -04:00
adamscmRH
97c5ff0b33 make scope write by default 2018-06-01 13:24:32 -04:00
Yunfan Zhang
2c4f7911a6 Added an awx-manage command for generating OAuth2 token. 2018-05-31 14:27:21 -04:00
AlanCoding
c690da4058 make copy endpoints specific to v2 2018-05-30 14:01:58 -04:00
Ryan Petrello
af7ec17ccd fix a few minor issues that have broken the User Token creation
see: https://github.com/ansible/tower/issues/1928
2018-05-25 17:37:02 -04:00
Ryan Petrello
e03c584b80 mark dynamic Credential Type labels and help_text for i18n
see: https://github.com/ansible/tower/issues/1960
related: https://github.com/ansible/ansible-tower/pull/6844
2018-05-25 15:08:11 -04:00
adamscmRH
3d5605f4b5 refactor & purge cruft 2018-05-24 14:33:27 -04:00
adamscmRH
be9598af53 fix refresh token & refactor 2018-05-24 12:25:27 -04:00
adamscmRH
5d220e8222 add scope validator to token endpoints 2018-05-24 11:06:58 -04:00
Ryan Petrello
f434196bae store denormalized metadata about ActivityStream.actor for accounting
see: https://github.com/ansible/tower/issues/1782
2018-05-23 09:47:26 -04:00
AlanCoding
222fbfc328 add help text, deprecate field 2018-05-18 14:26:22 -04:00
Ryan Petrello
c52eb0f327 provide a naive UNTIL= datestamp for schedules for UI convenience 2018-05-09 15:51:52 -04:00
Ryan Petrello
fbe2391b86 provide the timezone so that the UI doesn't have to
this will also ensure that UI doesn't use a different front end library
that will yield different results than the underlying Python code
2018-05-07 13:00:01 -07:00
chris meyers
38885580b4 only require the name field when creating instance group 2018-05-02 12:32:08 -04:00
Christian Adams
fd4f78a64c Merge pull request #1637 from rooftopcellist/exp_setting_update
Token Expiration Setting Update
2018-05-01 15:05:33 -04:00
adamscmRH
1963ab689a rm an unnecessary uwsgi restart 2018-05-01 14:12:00 -04:00
chris meyers
202ddae813 make tower instance group name field read-only 2018-05-01 13:31:24 -04:00
AlanCoding
c691d16b11 validate instance group host list 2018-04-25 09:45:30 -04:00
chris meyers
619ec905b2 policy fields not required
* They were previously not required until a min/max was enforced. This
caused the fields to, unintentionally, be required.
* This fix makes the policy fields not required and provides sane defaults.
2018-04-24 14:05:38 -04:00
AlanCoding
7c621a91ee use named formatting in error messages 2018-04-24 11:26:36 -04:00
Wayne Witzel III
765ad07d9e Fix migration name/ordering 2018-04-23 11:00:21 -04:00
Wayne Witzel III
f1b37ff53a Fix order become methods render and migration query 2018-04-23 10:33:59 -04:00
Alan Rominger
cbe3bc3f2a Merge pull request #1337 from AlanCoding/not_negative_no
never show negative remaining capacity values
2018-04-18 16:33:09 -04:00
adamscmRH
0d2f92c364 Fix app json error 2018-04-17 12:02:35 -04:00
AlanCoding
9bd64fd490 never show negative remaining capacity values 2018-04-16 08:05:16 -04:00
adamscmRH
dcb6ca33a5 fix id for app in act_stream 2018-04-13 14:37:19 -04:00
adamscmRH
8529f2b5eb makes censor characters consistent 2018-04-10 14:02:33 -04:00
Ryan Petrello
18c95bf706 add exception handling to deprecated v1 credential support
see: https://github.com/ansible/tower/issues/1268
2018-04-09 14:23:43 -04:00
AlanCoding
c88621f5fb more accurate handling of serializer cred versioning 2018-04-09 08:39:27 -04:00
AlanCoding
7dd4dd00b3 add min/max to IG fields 2018-04-06 12:37:11 -04:00
AlanCoding
50794452c8 fix bug from new credential property 2018-04-05 08:01:26 -04:00