Commit Graph
100 Commits
Author SHA1 Message Date
Aaron Tan 3856431da1 Merge pull request #7084 from jangsutsr/ux_improve_logger_ctint_label_text
[UX]Improve `LOG_AGGREGATOR_LOGGERS` label text
2017-07-14 15:30:07 -04:00
Aaron Tan e7b37c6627 [UX]Improve LOG_AGGREGATOR_LOGGERS label text 2017-07-14 14:35:19 -04:00
Aaron Tan e053d2c33a Merge pull request #7059 from jangsutsr/6624_stablize_summary_field_display_for_host_serializer
Stablize summary field display for host serializer
2017-07-13 16:48:17 -04:00
Aaron Tan 636147f7f0 Stablize summary field display for host serializer. 2017-07-13 16:30:47 -04:00
Aaron Tan c6ed70dd9d Merge pull request #6928 from jangsutsr/6904_strengthen_attribute_check_for_tower_conf_validators
Strengthen attribute check for Tower configuration validations
2017-07-12 13:30:44 -04:00
Aaron Tan 3fe12e77b7 Merge pull request #6837 from jangsutsr/6107_ldap_setting_field_validator_updates
LDAP setting fields validation updates.
2017-07-12 12:09:48 -04:00
Aaron Tan 19e3071fec Merge pull request #6997 from jangsutsr/625_enable_source_region_for_azure_inv_src
Enable source_region for azure_rm inventory source
2017-07-11 17:02:41 -04:00
Aaron Tan bfec1aceb3 Enable source_region for azure_rm inventory source 2017-07-11 16:41:42 -04:00
Aaron Tan 0138510936 Strengthen attribute check for Tower configuration validations 2017-07-07 11:44:56 -04:00
Aaron Tan 5df0ba5a06 Merge pull request #6874 from jangsutsr/6398_release_ujt_uniqueness_constraint
Release unified UJT unique_together constraint
2017-07-06 09:58:28 -04:00
Aaron Tan 178bcb02a7 Merge pull request #6650 from jangsutsr/5799_allow_specifying_log_handler_level
Allow specifying log handler level
2017-07-06 09:51:30 -04:00
Aaron Tan 97e0835d1c Release unified UJT unique_together constraint. 2017-07-06 09:44:34 -04:00
Aaron Tan 9874e123be Allow specifying log handler level. 2017-07-06 09:39:54 -04:00
Aaron Tan a6b2df6c98 Merge pull request #6846 from jangsutsr/6798_remove_named_url_setting_category_from_api_v1
Remove named URL setting category from API V1
2017-07-05 14:43:26 -04:00
Aaron Tan 3451591e66 Merge pull request #6884 from jangsutsr/6406_expose_ctint_log_aggregator_verify_cert
Expose LOG_AGGREGATOR_VERIFY_CERT to Tower configuration
2017-07-05 12:41:17 -04:00
Aaron Tan a881946337 Expose LOG_AGGREGATOR_VERIFY_CERT to Tower configuration 2017-07-05 12:28:24 -04:00
Aaron Tan 3e3c11433d Remove named URL setting category from API V1 2017-07-05 11:04:44 -04:00
Aaron Tan 6c006690d3 Merge pull request #6861 from jangsutsr/6857_enable_named_url_display_in_resource_creation_response
Enable named URL display in resource creation response
2017-07-03 15:30:28 -04:00
Aaron Tan 9a8dd399f1 Enable named URL display in resource creation response. 2017-07-03 11:21:39 -04:00
Aaron Tan e3b7ec8997 Merge pull request #6817 from jangsutsr/6768_apply_validation_to_ctint_all_endpoint
Apply accumulated validation for CTinT all endpoint
2017-06-30 15:39:19 -04:00
Aaron Tan 2c69d433e9 LDAP setting fields validation updates. 2017-06-30 15:30:59 -04:00
Aaron Tan f40182fef8 Apply accumulated validation for CTinT all endpoint. 2017-06-29 16:56:55 -04:00
Aaron Tan e8433c6301 Merge pull request #6695 from ansible/jangsutsr_6005_add_boto3_support
Add boto3 dependency and remove requests freezing
2017-06-29 16:41:07 -04:00
Aaron Tan 9aa4ea8e61 Add boto3 dependency and remove requests freezing 2017-06-29 16:03:07 -04:00
Aaron Tan 055c83f4e6 Merge pull request #6741 from jangsutsr/6711_trim_querystring_from_reverse_outcome
Trim querystring from reverse outcome
2017-06-29 12:16:54 -04:00
Aaron Tan a184058aa2 Merge pull request #6642 from jangsutsr/6593_enforce_mutual_exclusiveness_of_tower_user_origins
Expand scope of enterprise user types
2017-06-29 12:15:07 -04:00
Aaron Tan bfb56480b2 Merge pull request #6705 from jangsutsr/6516_audit_cloud_regions
Audit lists of cloud regions
2017-06-29 12:14:01 -04:00
Aaron Tan d9d5fb38b8 Merge pull request #6732 from jangsutsr/6719_aggregate_service_restart_attempts
Aggregate Tower service restart attempts
2017-06-29 12:13:01 -04:00
Aaron Tan 92f5025817 Aggregate Tower service restart attempts. 2017-06-28 16:49:36 -04:00
Aaron Tan 8140fc2fb2 Merge pull request #6781 from jangsutsr/6084_revert_adding_custom_paginator
Revert adding custom paginator
2017-06-28 16:30:05 -04:00
Aaron Tan c40614b8a4 Revert adding custom paginator. 2017-06-28 15:49:55 -04:00
Aaron Tan 1a75b1836e Trim querystring from reverse outcome. 2017-06-27 17:03:16 -04:00
Aaron Tan fbb1912e98 Merge pull request #6723 from jangsutsr/6208_add_tacacsplus_configuration_validation
Add Tower configuration category validation for TACACS+
2017-06-26 13:10:44 -04:00
Aaron Tan 5e398e4a25 Add Tower configuration category validation for TACACS+ 2017-06-26 10:58:05 -04:00
Aaron Tan 2c98294035 Merge pull request #6575 from jangsutsr/6220_add_docs_for_tower_configuration
Add docs to Tower configuration
2017-06-26 09:46:09 -04:00
Aaron Tan f1869a2f70 Merge pull request #6220 from jangsutsr/6188_enable_ctint_category_specific_validation
Enable Tower configuration category-specific validation
2017-06-26 09:45:12 -04:00
Aaron Tan 68ee601359 Merge pull request #6595 from jangsutsr/6234_set_priority_rules_for_find_matching_hosts
Set priority rules for find_matching_hosts
2017-06-23 14:04:18 -04:00
Aaron Tan acbf8b060e Audit lists of cloud regions. 2017-06-23 14:00:17 -04:00
Aaron Tan 238e069bf3 Merge pull request #6586 from jangsutsr/6584_change_model_url_name_implementation
Handle unexpected resource url naming convention
2017-06-21 20:42:59 -04:00
Aaron Tan 0be3d39047 Handle unexpected resource url naming convention. 2017-06-21 16:34:35 -04:00
Aaron Tan 6db945247d Merge pull request #6576 from jangsutsr/6568_update_named_url_delimiter
Update named URL delimiter
2017-06-21 15:56:02 -04:00
Aaron Tan 70cccb0e57 Expand scope of enterprise user types. 2017-06-20 12:17:13 -04:00
Aaron Tan b2639cf1ee Update named URL delimiter. 2017-06-16 09:40:27 -04:00
Aaron Tan 04ca05ac43 Merge pull request #6603 from jangsutsr/6602_add_value_validation_to_sublist_attach
Add value type validation to sublist (un)attach
2017-06-15 13:28:49 -04:00
Aaron Tan 7039e2e3de Merge pull request #6420 from jangsutsr/license_updates
License updates
2017-06-15 13:27:19 -04:00
Aaron Tan bef009659d Add value type validation to sublist (un)attach 2017-06-15 12:24:15 -04:00
Aaron Tan 0dae058bef Set priority rules for find_matching_hosts. 2017-06-15 11:45:44 -04:00
Aaron Tan 9c37340b3c Merge pull request #6596 from jangsutsr/6118_regress_trailing_comma_modification
Regress trailing comma modification and enhance error message
2017-06-15 11:24:28 -04:00
Aaron Tan ef6da022ee Merge pull request #6600 from jangsutsr/6313_make_up_migration_updates
Make up migration updates
2017-06-15 11:19:30 -04:00
Aaron Tan bcba9e53fd Make up migration updates. 2017-06-15 10:14:52 -04:00
Aaron Tan 96d491fdce Regress trailing comma modification and enhance error message 2017-06-14 16:26:03 -04:00
Aaron Tan aa962a26f1 Merge pull request #6590 from jangsutsr/programmatically_generate_named_url
Add the ability to programmatically generate named URLs on client-side
2017-06-14 11:00:35 -04:00
Aaron Tan 2ed3be0aab Add the ability to programmatically generate named URLs on client-side. 2017-06-14 10:37:40 -04:00
Aaron Tan ffda2057d9 Add docs to Tower configuration. 2017-06-12 16:23:13 -04:00
Aaron Tan bd4b2cfd6d Merge pull request #6537 from jangsutsr/6410_add_count_to_host_group_summary_field
Add count to host group summary field.
2017-06-12 09:50:51 -04:00
Aaron Tan b09ad85978 Add count to host group summary field. 2017-06-09 17:53:41 -04:00
Aaron Tan 2197d24845 Merge pull request #6449 from jangsutsr/6410_show_related_groups_for_hosts
Add groups field to host summary
2017-06-08 16:47:51 -04:00
Aaron Tan b380b1587a Merge pull request #6445 from jangsutsr/6433_prevent_generating_named_url_for_non_existing_endpoints
Prevent generating named URL from non-existing endpoints
2017-06-06 15:20:39 -04:00
Aaron Tan fac72082d2 Merge pull request #6472 from jangsutsr/6317_make_up_missing_model_help_texts_for_job_timeout
Make up missing model help texts for job timeout
2017-06-06 15:19:36 -04:00
Aaron Tan 9e9a3e22c8 Add groups field to host summary. 2017-06-06 13:23:58 -04:00
Aaron Tan bf3712122c Make up missing model help texts for job timeout. 2017-06-06 11:28:56 -04:00
Aaron Tan ceab33df80 Prevent generating named URL from non-existing endpoints. 2017-06-02 12:25:37 -04:00
Aaron Tan 88baf1d579 License updates. 2017-06-01 16:33:48 -04:00
Aaron Tan a993025e0d Merge pull request #6053 from jangsutsr/named_url
Named URL
2017-05-31 17:02:42 -04:00
Aaron Tan 5af5f50797 Merge pull request #6397 from jangsutsr/6347_fix_usage_of_tacacs_api
Fix tacacs API usage
2017-05-31 13:11:28 -04:00
Aaron Tan f25391fe86 Implement named URL feature. 2017-05-31 12:09:54 -04:00
Aaron Tan 3094527759 Fix usage of tacacs API 2017-05-31 11:49:03 -04:00
Aaron Tan 518baee5ba Merge pull request #6389 from jangsutsr/6343_add_url_and_type_fields_to_instances
Add URL and type fields to instances/instance groups
2017-05-31 09:40:55 -04:00
Aaron Tan 604243428c Add URL and type fields to instances/instance groups. 2017-05-30 17:00:27 -04:00
Aaron Tan b049d624ad Merge pull request #6374 from jangsutsr/6352_fix_500_when_deleting_user
Update remove_tower_source.py to reflect sso model changes
2017-05-30 15:40:31 -04:00
Aaron Tan da24ef0dba Update remove_tower_source to reflect sso model changes. 2017-05-30 15:14:11 -04:00
Aaron Tan 1eca41ce92 Merge pull request #6332 from jangsutsr/5943_simplify_tower_config_help_texts
Simplify Tower configuration help texts
2017-05-29 10:16:38 -04:00
Aaron Tan b50820fa60 Merge pull request #6305 from jangsutsr/6272_prevent_nested_encrypted_field_leak_in_activity_stream
Prevent nested encrypted field leak in activity stream
2017-05-24 09:55:29 -04:00
Aaron Tan 2476c42b1e Simplify Tower configuration help texts. 2017-05-24 09:51:54 -04:00
Aaron Tan a15bc6d0f7 Merge pull request #6295 from jangsutsr/6243_update_user_profile_to_record_source_backend
Introduce sso UserEnterpriseAuth model
2017-05-24 09:42:41 -04:00
Aaron Tan 7f1f68ee28 Prevent nested encrypted field leak in activity stream. 2017-05-23 14:05:55 -04:00
Aaron Tan 4272a38aa9 Merge pull request #6317 from jangsutsr/6313_improve_job_timeout_config_help_text_by_denoting_time_unit
Improve job timeout config help text by denoting time unit.
2017-05-23 11:30:24 -04:00
Aaron Tan 69dc56c5a1 Enable CTinT category-specific validation. 2017-05-22 17:13:38 -04:00
Aaron Tan 507591be5c Improve job timeout config help text by denoting time unit. 2017-05-22 17:10:19 -04:00
Aaron Tan d314f83416 Introduce sso UserEnterpriseAuth model. 2017-05-22 13:30:00 -04:00
Aaron Tan 903e3076aa Merge pull request #6298 from jangsutsr/6237_prevent_ldap_user_from_imposing_existing_tower_user
Prevent LDAP user from imposing existing Tower user
2017-05-22 11:08:21 -04:00
Aaron Tan 4f9875f895 Prevent LDAP user from imposing existing Tower user. 2017-05-18 16:39:58 -04:00
Aaron Tan 1946730d8c Merge pull request #6286 from jangsutsr/remove_rax_from_v320_migration_file
Remove rax from v320 migration file
2017-05-18 15:08:27 -04:00
Aaron Tan 114598a56d Remove rax from v320 migration file 2017-05-18 10:46:42 -04:00
Aaron Tan f18b7f2f19 Merge pull request #6211 from jangsutsr/6188_handle_500_error_with_toggling_log_aggregator_enable
Handle 500 error with toggling log aggregator enable
2017-05-10 15:38:47 -04:00
Aaron Tan ecd87e07c6 Merge pull request #6224 from jangsutsr/6169_create_tacacs_n_radius_users_with_password_disabled
Create tacacs and radius users with password disabled
2017-05-10 15:26:36 -04:00
Aaron Tan 3099fd7a01 Merge pull request #6117 from jangsutsr/dynamic_inv_src_dependency_update
Dependency updates
2017-05-10 09:57:58 -04:00
Aaron Tan f5e58922ab Create tacacs and radius users with password disabled. 2017-05-09 16:36:50 -04:00
Aaron Tan 95b09795a8 Handle 500 error with toggling log aggregator enable. 2017-05-08 15:47:58 -04:00
Aaron Tan 6728bb2315 Merge pull request #6187 from jangsutsr/6169_prevent_third_party_based_user_to_impose_tower_user
Prevent third-party-based user from imposing tower user
2017-05-08 14:43:32 -04:00
Aaron Tan 3110a9b4b0 Merge pull request #6185 from jangsutsr/6023_add_prompt_for_verbosity
Add prompt for verbosity
2017-05-08 14:42:04 -04:00
Aaron Tan cfb633e8a6 Dependency Updates
* Dynamic Inventory Source
Template against ansible 2.3 dynamic inventory sources.
The major change is removal of `rax.py`. Most upstream scripts except
`foreman.py` has quite trivial coding style changes, or minor functional
extensions  that does not affect Tower inventory update runs.
`foreman.py`, on the other hand, went through quite a major refactoring,
but functionalities stay the same.

Major python dependency updates include apache-libcloud (1.3.0 -->
2.0.0), boto (2.45.0 --> 2.46.1) and shade (1.19.0 --> 1.20.0). Minor
python dependency updates include indirect updates via `pip-compile`,
which are determined by base dependencies.

Some minor `task.py` extensions:
 - `.ini` file for ec2 has one more field `stack_filter=False`, which
   reveals changes in `ec2.py`.
 - `.ini` file for cloudforms will catch these four options from
   `source_vars_dict` of inventory update: `'version', 'purge_actions',
   'clean_group_keys', 'nest_tags'`. These four options have always been
   available in `cloudforms.py` but `cloudforms.ini.example` has not
   mentioned them until the latest version. For consistency with upstream
   docs, we should make these fields available for tower user to customize.
 - YAML file of openstack will catch ansible options `use_hostnames`,
   `expand_hostvars` and `fail_on_errors` from `source_vars_dict` of
   inventory update as a response to issue #6075.

* Remove Rackspace support
Supports of Rackspace as both a dynamic inventory source and a cloud
credential are fully removed. Data migrations have been added to support
arbitrary credential types feature and delete rackspace inventory
sources.

Note also requirement `jsonschema` has been moved from
`requirements.txt` to `requirements.in` as a primary dependency to
reflect it's usage in `/main/fields.py`.

Connected issue: #6080.

* `pexpect` major update
`pexpect` stands at the very core of our task system and underwent a
major update from 3.1 to 4.2.1. Although verified during devel, please
still be mindful of any suspicious issues on celery side even after this
PR gets merged.

* Miscellaneous
 - requests now explicitly declared in `requirements.in` at version 2.11.1
   in response to upstream issue
 - celery: 3.1.17 -> 3.1.25
 - django-extensions: 1.7.4 -> 1.7.8
 - django-polymorphic: 0.7.2 -> 1.2
 - django-split-settings: 0.2.2 -> 0.2.5
 - django-taggit: 0.21.3 -> 0.22.1
 - irc: 15.0.4 -> 15.1.1
 - pygerduty: 0.35.1 -> 0.35.2
 - pyOpenSSL: 16.2.0 -> 17.0.0
 - python-saml: 2.2.0 -> 2.2.1
 - redbaron: 0.6.2 -> 0.6.3
 - slackclient: 1.0.2 -> 1.0.5
 - tacacs_plus: 0.1 -> 0.2
 - xmltodict: 0.10.2 -> 0.11.0
 - pip: 8.1.2 -> 9.0.1
 - setuptools: 23.0.0 -> 35.0.2
 - (requirements_ansible.in only)kombu: 3.0.35 -> 3.0.37
2017-05-08 12:03:02 -04:00
Aaron Tan 7a6364c642 Prevent third-party-based user from imposing tower user. 2017-05-04 17:31:57 -04:00
Aaron Tan 18ba56964f Add prompt for verbosity. 2017-05-04 14:32:08 -04:00
Aaron Tan 6fe133dc7f Merge pull request #6142 from jangsutsr/6113_allow_concurrent_workflow_job_runs
Allow concurrent workflow job runs
2017-05-02 16:41:32 -04:00
Aaron Tan 057b24ccd0 Allow concurrent workflow job runs. 2017-05-02 16:28:24 -04:00
Aaron Tan 59376feb70 Merge pull request #6133 from jangsutsr/6118_rework
Trailing comma rework
2017-05-02 15:41:23 -04:00
Aaron Tan df49a70fd7 Trailing comma rework. 2017-05-01 16:42:32 -04:00
Aaron Tan 89f239ce66 Merge pull request #6119 from jangsutsr/5658_enforce_org_dependency_of_notification_template
Enforce org dependency of notification template
2017-04-28 11:08:21 -04:00
Aaron Tan d0d201863b Enforce org dependency of notification template. 2017-04-28 10:14:21 -04:00