Commit Graph
100 Commits
Author SHA1 Message Date
Alan Rominger 9a414c5c60 Merge pull request #133 from AlanCoding/anon_user_act_str
fix bug introduced with anon user activity stream entries
2017-08-01 10:55:08 -04:00
AlanCoding f794472b3d fix bug introduced with anon user activity stream entries 2017-08-01 10:43:49 -04:00
Alan Rominger d42aac5fa4 Merge pull request #48 from AlanCoding/user_name_deletion
impersonate requesting user in inventory deletion task
2017-07-31 16:51:20 -04:00
AlanCoding 55cc23a712 impersonate requesting user in inventory deletion task 2017-07-31 16:06:36 -04:00
Alan Rominger faa40b23e2 Merge pull request #118 from AlanCoding/no_active_task_list
remove support for celery_active_tasks
2017-07-31 15:25:53 -04:00
Alan Rominger e686e07ca7 Merge pull request #120 from AlanCoding/retry_delete2
retry to delete inventory in deadlocks
2017-07-31 15:10:55 -04:00
AlanCoding 9572b429ad remove support for celery_active_tasks 2017-07-31 15:02:22 -04:00
Alan Rominger 60eba9fbe2 Merge pull request #104 from AlanCoding/extra_cred_restart
Fix RBAC bugs in job relaunch with prompted extra_credentials
2017-07-31 14:59:06 -04:00
AlanCoding 9d4fd44127 retry to delete inventory in deadlocks 2017-07-31 13:43:33 -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
AlanCoding 83dca62e16 add job_type to job summary fields 2017-07-31 10:34:04 -04:00
AlanCoding 1722d2169b Fix RBAC bugs in job relaunch with prompted extra_credentials
In addition to just checking for similarity with JT,
in all cases (prompt_for_credential_on_launch both T/F)
check for use_role on all extra_credentials the job has
if the job extra_credentials differ from the JT
2017-07-28 15:53:29 -04:00
Alan Rominger 76da28783e Merge pull request #98 from AlanCoding/shutdown_signal
set instance capacity to 0 on celery shutdown signal
2017-07-28 13:47:34 -04:00
AlanCoding aff07747f8 set instance capacity to 0 on celery shutdown signal 2017-07-28 12:38:57 -04:00
Alan Rominger 368ff8a4fb Merge pull request #71 from AlanCoding/man_overboard
Set capacity to 0 if instance has not checked in lately
2017-07-27 20:55:16 -04:00
AlanCoding 1112557c79 set capacity to 0 if instance has not checked in lately 2017-07-27 16:20:04 -04:00
Alan Rominger 56e752f7ae Merge pull request #49 from AlanCoding/raw_data_attachment
show just id field for API browser POST box
2017-07-26 16:22:42 -04:00
Alan Rominger 22e1e14c4f Merge pull request #62 from AlanCoding/log_exceptions
introduce new parent task class in order to log exceptions
2017-07-26 12:31:34 -04:00
AlanCoding cf033f3190 introduce new parent task class in order to log exceptions 2017-07-26 12:20:07 -04:00
AlanCoding aa14d12f42 show just id field for API browser POST box 2017-07-25 15:49:16 -04:00
Alan Rominger ac11dcac05 Merge pull request #52 from AlanCoding/my_bad
fix tests
2017-07-25 15:47:39 -04:00
AlanCoding 8746df7b31 update SCM test to mock inventory update 2017-07-25 15:41:01 -04:00
Alan Rominger bd02dd4f1d Merge pull request #36 from AlanCoding/dont_tell_me_twice
Disable activity stream messages for copying labels on job launch
2017-07-25 10:53:33 -04:00
AlanCoding a49209b954 disable activity stream messages for copying labels on job launch 2017-07-25 09:44:06 -04:00
Alan Rominger 439ca6d32e Merge pull request #27 from AlanCoding/initial_sync
Use "sync" type when doing SCM inv src update on create
2017-07-24 21:20:08 -04:00
Alan Rominger ca2671f17e Merge pull request #2 from AlanCoding/ansible_inv_update
Pull upstream changes for ansible-inventory backport
2017-07-24 16:34:12 -04:00
AlanCoding 4aa332d7e1 pull upstream changes for ansible-inventory backport 2017-07-24 15:25:54 -04:00
AlanCoding cc547af18b on initial SCM inv src creation update, dont update project rev 2017-07-24 15:12:16 -04:00
Alan Rominger 2ce300aa1e Merge pull request #15 from AlanCoding/awx_morphin
update TOWER_VENV_PATH setting to new awx location
2017-07-24 12:26:08 -04:00
AlanCoding eaeff7e290 rename setting TOWER_VENV_PATH to AWX_VENV_PATH 2017-07-24 12:23:54 -04:00
AlanCoding 6e3978fe66 update TOWER_VENV_PATH setting to new awx location 2017-07-24 12:13:46 -04:00
Alan Rominger cf967d244b Merge pull request #7166 from AlanCoding/reverse_fk_search
Correct search terms for reverse FK fields
2017-07-21 15:06:47 -04:00
AlanCoding 4bb9bd5a2b correct search terms for reverse FK fields 2017-07-21 14:16:14 -04:00
Alan Rominger 52f8579c04 Merge pull request #7136 from AlanCoding/id_metadata
provide id field in OPTIONS for attaching sublists
2017-07-21 14:11:54 -04:00
AlanCoding dfa892aae1 provide id field in attaching sublists 2017-07-21 13:50:27 -04:00
Alan Rominger b8fafa7160 Merge pull request #7232 from AlanCoding/on_update_words
Clarify UI help text for update_on_project_update
2017-07-21 10:56:42 -04:00
Alan Rominger 1581fd7c50 Merge pull request #7226 from AlanCoding/act_strm_cleanup
disable 2 more types of unhelpful act. str. entries
2017-07-21 10:50:30 -04:00
Alan Rominger eff5022635 Merge pull request #7195 from AlanCoding/exceptions_galore
Additional exception handling for SCM inv updates
2017-07-21 10:49:08 -04:00
AlanCoding 73570ab4dd Clarify UI help text for update_on_project_update 2017-07-21 10:26:25 -04:00
AlanCoding a2b98f0a40 disable 2 more types of unhelpful act. str. entries
project local_path changed as a secondary save after creation
adding jobs to dependency list (not user facing)
2017-07-21 07:47:30 -04:00
AlanCoding f735b649ac additional exception handling for SCM inv updates 2017-07-20 11:40:34 -04:00
Alan Rominger cde950dce7 Merge pull request #7152 from AlanCoding/inv_src_block
block deletion of inventory sources with running jobs
2017-07-20 10:31:25 -04:00
Alan Rominger 834e68ebc9 Merge pull request #7149 from AlanCoding/agressive_canceling
Cancel dependent project updates
2017-07-20 10:29:57 -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 4c7e7c281c Merge pull request #7188 from AlanCoding/just_update_already
Allow manual updates in spite of update_on_project_update
2017-07-20 10:13:15 -04:00
AlanCoding f2d51f99dc Allow manual updates in spite of update_on_project_update
This makes inventory sources with the that flag set behave
like any other inventory source with manual use.
They will still update when triggered by a project SCM
hash change.
2017-07-20 09:38:47 -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
AlanCoding 7ff23e049a block deletion of inventory sources with running jobs 2017-07-19 08:26:57 -04:00
AlanCoding b0c0176be0 use task code to cancel dependent project updates 2017-07-18 16:44:03 -04:00
Alan Rominger 415c80a279 Merge pull request #7127 from AlanCoding/cannot
Change 'can not' to cannot (by request)
2017-07-18 10:39:15 -04:00
AlanCoding 1e9a0e5814 Change 'can not' to cannot (by request) 2017-07-18 09:01:09 -04:00
Alan Rominger c06d4eaa08 Merge pull request #7121 from AlanCoding/silent_groups
silence activity stream IG assignment
2017-07-18 08:12:47 -04:00
AlanCoding d02bc52ca2 silence activity stream IG assignment 2017-07-17 16:28:13 -04:00
AlanCoding ed7e558575 add various validation for schedule extra_data 2017-07-15 20:47:24 -04:00
Alan Rominger 3d78aa7223 Merge pull request #7087 from AlanCoding/message_tweaking
tweaks to SCM inventory related validation errors
2017-07-14 16:02:53 -04:00
AlanCoding 850f03331b tweaks to SCM inventory related validation errors 2017-07-14 15:48:29 -04:00
Alan Rominger 9f277e8acd Merge pull request #7068 from AlanCoding/nesting_err
fix double nesting of error message in dictionary
2017-07-14 08:52:12 -04:00
AlanCoding f1acb6b79d fix double nesting of error message in dictionary 2017-07-14 08:01:57 -04:00
Alan Rominger 7c3020eada Merge pull request #7048 from AlanCoding/fix-7022
Act. stream Race condition avoidance with additional adjustments
2017-07-13 09:57:10 -04:00
AlanCoding 0a6329feff deleted related in activity stream tests/surfacing
This adds a test to replicate the scenario reported about
bugs in activity stream entry generation in cascade delete
chains. Also puts a new string in the entry that uses the
deleted objects's primary key.
2017-07-13 09:07:53 -04:00
Alan Rominger 506209baae Merge pull request #7037 from AlanCoding/6535_2
Mark inventory source creation views as added 3.2
2017-07-12 19:49:42 -04:00
AlanCoding 45d9b670fd mark inventory source creation views as added 3.2 2017-07-12 15:25:19 -04:00
Alan Rominger 7435162b87 Merge pull request #7027 from AlanCoding/more_trans_str
Mark view error codes for translation
2017-07-12 14:48:53 -04:00
AlanCoding 5153daab17 Mark view error codes for translation 2017-07-12 14:03:30 -04:00
Alan Rominger dc9a351485 Merge pull request #6948 from AlanCoding/6653
Inventory sources update status code tweaks
2017-07-12 13:58:18 -04:00
AlanCoding fb2a4dd20b Inventory sources update status code tweaks
* If all can be updated - 200
* If only some could be updated - 202
* If none could be updated - 400
2017-07-12 13:35:21 -04:00
Alan Rominger fbaba9058c Merge pull request #7021 from AlanCoding/alan_source_project_fix
Fix bug just introduced by source_project validation
2017-07-12 13:09:42 -04:00
AlanCoding 6f84cb8784 fix bug just introduced by source_project validation 2017-07-12 13:00:29 -04:00
Alan Rominger 9371fb2e53 Merge pull request #6926 from AlanCoding/no_manual_manual_sources
prohibit direct creation of manual inventory sources
2017-07-12 12:45:37 -04:00
AlanCoding 2c81a2489e prohibit direct creation of manual inventory sources 2017-07-12 12:29:56 -04:00
Alan Rominger 0c3eac6aa0 Merge pull request #6922 from AlanCoding/dir_crawling
Detailed tweaking of inventory and playbook listings
2017-07-12 12:10:55 -04:00
Alan Rominger 4afb65f447 Merge pull request #6909 from AlanCoding/no_manual_source_proj
Disallow manual projects for SCM inventory
2017-07-12 12:08:19 -04:00
Alan Rominger 28b311fdb5 Merge pull request #6992 from AlanCoding/inv_src_name
Make inventory source naming consistent with v1
2017-07-11 17:04:51 -04:00
AlanCoding 777b1c3023 make inventory source naming consistent with v1 2017-07-11 16:15:33 -04:00
Alan Rominger 6d251babb5 Merge pull request #6947 from AlanCoding/circular
Move circular group association validation to view
2017-07-11 12:45:29 -04:00
Alan Rominger 586961907c Merge pull request #6969 from AlanCoding/censor_overwriting
Prevent overwriting of playbook data when censoring
2017-07-11 09:40:35 -04:00
AlanCoding b393a60ece prevent overwriting of playbook data when censoring 2017-07-11 08:45:55 -04:00
Alan Rominger b8b2d8695e Merge pull request #6912 from AlanCoding/schedule_scm_inv
Allow scheduling of SCM inventory sources (with exception)
2017-07-10 21:55:16 -04:00
Alan Rominger 0c061e1a78 Merge pull request #6950 from AlanCoding/startup_sch_mod_act_st
Avoid unwanted activity stream entries on startup
2017-07-10 21:08:15 -04:00
Alan Rominger 047624a857 Merge pull request #6944 from AlanCoding/splunk_host
handle Splunk hostname case from support
2017-07-10 21:07:12 -04:00
Alan Rominger 30d7ed8c9b Merge pull request #6955 from AlanCoding/dashboard_now
Fix naive datetime in jobs dashboard graph
2017-07-10 21:02:39 -04:00
AlanCoding e599b0fdec fix naive datetime in jobs dashboard graph 2017-07-10 13:28:54 -04:00
AlanCoding 11a8b53e8f Avoid unwanted activity stream entries on startup
Schedule computed fields generates a modification entry
on system startup - this change avoids that noise
2017-07-10 11:22:27 -04:00
Alan Rominger 1a46f7b451 Merge pull request #6952 from AlanCoding/314_merge_tests
Unit test fixes from 3.1.4 merge
2017-07-10 11:21:13 -04:00
AlanCoding 613b9205b8 unit test fixes from 3.1.4 merge 2017-07-10 11:09:56 -04:00
AlanCoding 459c33d272 More consistently provide fields in job_events logger
* Change scheme from using event dict to JobEvent object
* Add processing to grok object fields
* Allow override of provided formatter in case of future issues
2017-07-10 10:34:04 -04:00
AlanCoding fed2eddf07 move circular group association validation to view 2017-07-10 09:12:02 -04:00
AlanCoding d23e11c43c handle Splunk hostname case from support 2017-07-07 21:03:16 -04:00
Alan Rominger 757f5cec70 Merge pull request #6927 from AlanCoding/new_ui_target
Mew target to make the UI
2017-07-07 13:37:05 -04:00
Alan Rominger bd07bec813 Merge pull request #6923 from AlanCoding/datetime_warning
fix datetime warning
2017-07-07 13:32:57 -04:00
AlanCoding 592df0c8e2 new target to make the UI 2017-07-07 11:37:51 -04:00
AlanCoding 5711378d92 fix datetime warning 2017-07-07 10:38:09 -04:00
AlanCoding 2471e4dffc Detailed tweaking of inventory and playbook listings
* exclude anything inside group_vars or host_vars directories
* include all ini or yml files in inventory listing
2017-07-07 09:33:29 -04:00
Alan Rominger 99834a8552 Merge pull request #6920 from AlanCoding/6873
Prevent server error in POST to group hosts
2017-07-07 09:26:53 -04:00
Alan Rominger 447624fd47 Merge pull request #6919 from AlanCoding/ask_vault
include vault_credentials in ask_for_passwords and launch summary
2017-07-07 09:25:11 -04:00
AlanCoding 0a339ed05c prevent server error in POST to group hosts 2017-07-07 08:24:50 -04:00
AlanCoding a2e88a9cdf include vault_credentials in passwords and launch summary 2017-07-07 07:57:34 -04:00
AlanCoding 687074a3d7 allow reasonable scheduling of SCM inventory sources 2017-07-06 16:24:26 -04:00
AlanCoding bb3c4c78f8 do not allow inv src source_project of manual type 2017-07-06 15:44:21 -04:00