Commit Graph
100 Commits
Author SHA1 Message Date
Alan Rominger 5575f67aba Merge pull request #4393 from AlanCoding/encrypt_log_pass
Encrypt log token or password
2016-12-12 12:16:58 -05:00
AlanCoding 249469c576 encrypt log token or password 2016-12-12 12:02:56 -05:00
Alan Rominger ecdb9ac02a Merge pull request #4374 from AlanCoding/logger_reloading_PR
Chain reloading uWSGI on log setting change
2016-12-12 10:28:27 -05:00
Alan Rominger 39e5765f12 Merge pull request #4381 from AlanCoding/prefetch_optimizing
Use prefetch_related for several more things
2016-12-12 10:22:43 -05:00
Alan Rominger 5ee11b5ba3 Merge pull request #4379 from AlanCoding/node_exec_rbac
Check for UJT start access when adding node
2016-12-12 10:12:20 -05:00
AlanCoding 4cc1642ab3 clarity edit of uWSGI chain reload task 2016-12-12 09:40:49 -05:00
AlanCoding a90bafe6f0 move various items to prefetch for optimization 2016-12-11 07:31:04 -05:00
AlanCoding c3666752e6 check for UJT start access when adding node 2016-12-10 07:46:30 -05:00
Alan Rominger 75a85cdab2 Merge pull request #4376 from AlanCoding/wf_start_survey
Do not check survey license for workflow job relaunch
2016-12-09 16:49:26 -05:00
AlanCoding c6f3d498de remove django configure_logging import 2016-12-09 16:07:47 -05:00
AlanCoding c318b12428 do not check survey license for workflow job relaunch 2016-12-09 16:03:10 -05:00
AlanCoding 431dcc6490 switch to smoother chain reloading 2016-12-09 15:38:38 -05:00
AlanCoding 5ff62c97b6 uwsgi auto-reload on logging change 2016-12-09 15:21:03 -05:00
Alan Rominger 26adcf5972 Merge pull request #4321 from AlanCoding/role_filter2
filter.py implementation of RBAC downselection
2016-12-08 12:45:07 -05:00
AlanCoding 2092e67f6f docs and lazy eval for role_level filter 2016-12-08 12:28:46 -05:00
Alan Rominger c13a2e9401 Merge pull request #4323 from AlanCoding/team_singleton
Prohibit adding singleton permissions as child of team
2016-12-07 10:10:31 -05:00
AlanCoding 3663c97ac2 Prohibit adding singleton permissions as child of team 2016-12-07 08:42:39 -05:00
AlanCoding adebe00ca5 filter.py implementation of role level filtering 2016-12-06 20:43:15 -05:00
Alan Rominger 95f54b59cf Merge pull request #4288 from AlanCoding/user_aud_31_fixes
Fix system auditor getter logic
2016-12-05 17:07:19 -05:00
AlanCoding 1daeff8db1 unsaved user system auditor status made more conservative 2016-12-05 17:01:50 -05:00
Alan Rominger 9396fb0400 Merge pull request #4289 from AlanCoding/org_sublist_fix
Avoid applying system auditor prop if action was association
2016-12-05 16:58:28 -05:00
Alan Rominger 6d43771190 Merge pull request #4296 from AlanCoding/org_admin_cred_movement
Let the org admins share credentials
2016-12-05 16:56:31 -05:00
Alan Rominger 4f8bc13fdb Merge pull request #4297 from AlanCoding/cred_org_fd
Allow reading of credential org field in list view
2016-12-05 16:56:04 -05:00
AlanCoding 81cb57be4f remove tests pertaining to credential org related field 2016-12-05 16:17:58 -05:00
AlanCoding e81dca3249 allow reading of credential org field in list view 2016-12-05 16:00:54 -05:00
AlanCoding 4b5e131362 allow org admins to share credentials between orgs 2016-12-05 15:17:34 -05:00
Alan Rominger b6c8fc1513 Merge pull request #4290 from AlanCoding/wf_type_options
Workflow jobs in OPTIONS for unified_jobs
2016-12-05 13:39:34 -05:00
AlanCoding 0255b9483d add workflow jobs to UJ options 2016-12-05 13:27:17 -05:00
AlanCoding 8c64fa2fe1 handle is_system_auditor case with unsaved users 2016-12-05 12:13:28 -05:00
AlanCoding 057efd3d5a avoid applying system auditor prop if action was association 2016-12-05 11:40:26 -05:00
AlanCoding 14746eebe3 fix system auditor getter logic 2016-12-05 11:22:11 -05:00
Alan Rominger 8e76da89f2 Merge pull request #4286 from AlanCoding/destroyer_of_nodes
Switch job destroy WF check to OneToOne patterns
2016-12-05 11:15:47 -05:00
AlanCoding 101b50c888 switch job destroy WF check to OneToOne patterns 2016-12-05 10:10:04 -05:00
Alan Rominger ef87a58239 Merge pull request #4242 from ansible/logging_int
Logging Integration
2016-12-02 16:51:00 -05:00
AlanCoding 064a40ba92 Manage null default state for logging integration and DB definition 2016-12-02 16:45:27 -05:00
AlanCoding ebff4f4f24 get rid of out of date logger unit tests 2016-12-02 15:16:00 -05:00
AlanCoding 7848198b9f New awx.main.utils directory, distributed task to invalidate settings 2016-12-02 14:36:04 -05:00
AlanCoding db21178b14 remove unused log handlers and cleanup 2016-12-02 10:21:36 -05:00
AlanCoding 7344a998b2 move formatter to logger file, settings reload on startup 2016-12-01 19:09:55 -05:00
AlanCoding 3643d9c06b allow for reloading of logging settings via CTiT 2016-11-30 16:52:47 -05:00
AlanCoding 37ef4e8bc8 HTTP logger overrides kwargs with settings 2016-11-29 16:26:28 -05:00
AlanCoding f3805b1317 enable Logstash auth and prepare for handler for multiple auth types 2016-11-29 14:05:19 -05:00
AlanCoding f3427d1359 Logging Integration, ELK docker-compose as update file 2016-11-29 13:09:47 -05:00
Alan Rominger 25eaae5f09 Merge pull request #4140 from ansible/AlanCoding-patch-1
Fix scan job relaunch bug
2016-11-29 08:52:01 -05:00
AlanCoding dd02ab329a add test assertions that check the relaunch job_type bug 2016-11-29 08:07:57 -05:00
Alan Rominger fbd27e25a6 Fix scan job relaunch bug 2016-11-28 16:55:11 -05:00
Alan Rominger df658e7f65 Merge pull request #4108 from AlanCoding/wfjt_ssf
Add WFJT survey and recent_jobs
2016-11-23 16:11:16 -05:00
AlanCoding dc3e744dda change unit tests to work with JobTemplateMixin serializer 2016-11-23 16:06:23 -05:00
AlanCoding bf0a235ce9 Add WFJT survey and recent_jobs 2016-11-23 15:48:11 -05:00
Alan Rominger 6bffaec6f9 Merge pull request #4066 from AlanCoding/log_doc
Logging Integration feature documentation
2016-11-22 15:38:43 -05:00
Alan Rominger dd1d911775 Merge pull request #4022 from AlanCoding/workflow_copy_relaunch
Workflow copy and relaunch
2016-11-22 11:50:51 -05:00
Alan Rominger 69f1e2d24c Merge pull request #3679 from AlanCoding/3677
Fixes for manual groups/projects
2016-11-22 11:46:34 -05:00
AlanCoding 8cd4ba0175 refactor of create_unified_job in connection with new copy endpoint development 2016-11-22 11:35:41 -05:00
AlanCoding a39af2a7fd update to consistent copy naming with UI 2016-11-22 11:35:41 -05:00
AlanCoding 4a992e531a copy organization when copying a WFJT 2016-11-22 11:35:40 -05:00
AlanCoding 31a95e5c04 fix up tests from workflow copy work 2016-11-22 11:35:40 -05:00
AlanCoding 8cda12c020 add workflow relaunch 2016-11-22 11:35:40 -05:00
AlanCoding 14ce50c845 implement copying of WFJT objects 2016-11-22 11:35:01 -05:00
Alan Rominger 266d29936d Merge pull request #3985 from AlanCoding/auditor_optimization
System auditor optimization via cache
2016-11-22 11:19:23 -05:00
AlanCoding fb5575f71c fqdn 2016-11-21 10:20:06 -05:00
Alan Rominger ab840f9551 Merge pull request #4074 from AlanCoding/test_filename
Fix test naming conflict
2016-11-21 08:03:27 -05:00
AlanCoding fe6e928480 Fix test naming conflict 2016-11-20 20:06:32 -05:00
AlanCoding fa766c3657 update old test to new scheme 2016-11-19 11:56:11 -05:00
AlanCoding fc72aafeb8 introduce caching for is_system_auditor method 2016-11-19 11:54:06 -05:00
AlanCoding 42cf74b085 block user from shooting themselves in the foot by scheduling a manual project 2016-11-19 11:48:28 -05:00
AlanCoding 48c155dfb0 schedule capability set to False for manual groups 2016-11-19 11:48:28 -05:00
Alan Rominger 34b638f59d Merge pull request #4071 from AlanCoding/fix_workflow_test
Fix launch_type kwarg that broke workflow unit tests
2016-11-19 11:14:25 -05:00
AlanCoding c717bf090d update workflow unit tests to new launch_type addition 2016-11-19 10:55:48 -05:00
Alan Rominger a192077be4 Merge pull request #4025 from AlanCoding/text_type
Change JSONField to be a DB text type
2016-11-18 11:50:13 -05:00
AlanCoding 3d8429fe30 Logging Integration feature documentation 2016-11-18 11:20:50 -05:00
AlanCoding a1f2f64a09 change JSONField to be a DB text type 2016-11-15 13:57:10 -05:00
Alan Rominger 50cafe4456 Merge pull request #3949 from AlanCoding/label_ct_opt
Optimization to avoid query for count of JT /  labels
2016-11-15 11:48:29 -05:00
Alan Rominger ca34ea4c3b Merge pull request #4011 from AlanCoding/sys_aud_test_issue
Remove in-place operations on Models in unit tests
2016-11-15 09:13:33 -05:00
AlanCoding 262f82af43 flake8 fix 2016-11-15 08:42:22 -05:00
AlanCoding 5258c2a040 Remove in-place operations on model in test_label unit test 2016-11-15 08:33:29 -05:00
AlanCoding 1ca9426270 Remove in-place operation on User in unit test 2016-11-15 08:06:40 -05:00
Alan Rominger f5d3e1885e Merge pull request #4003 from AlanCoding/test_fix
Change ordering of test dirs
2016-11-14 18:08:31 -05:00
AlanCoding 8f3e3c4ae1 change ordering of test dirs 2016-11-14 17:50:10 -05:00
Alan Rominger 731420a834 Merge pull request #3992 from AlanCoding/jsonfd_monkey
New method to monkeypatch JSONField
2016-11-14 17:12:47 -05:00
AlanCoding 339661a6a5 New method to monkeypatch JSONField 2016-11-14 16:35:56 -05:00
Alan Rominger 1885ca0adc Merge pull request #3974 from AlanCoding/notification_test
Avoid using serialized notification configuraiton
2016-11-11 15:32:15 -05:00
AlanCoding 059345e330 avoid reading notification configuration from already-serialized data 2016-11-11 15:23:49 -05:00
Alan Rominger e7d9fe0204 Merge pull request #3951 from AlanCoding/label_test_fix
Environment specific label test failure fix
2016-11-11 12:52:50 -05:00
Alan Rominger 93f68ad0e2 Merge pull request #3956 from AlanCoding/spec_update
Change survey_spec validation to work with newer JSONField
2016-11-11 12:52:38 -05:00
AlanCoding d105414708 change survey_spec validation to work with newer JSONField 2016-11-11 10:59:51 -05:00
AlanCoding 15558aac08 environment specific label test failure fix 2016-11-11 09:40:35 -05:00
AlanCoding edda2beded apply optimization to avoid query for count of JT labels 2016-11-11 08:26:03 -05:00
Alan Rominger 75c364930f Merge pull request #3932 from AlanCoding/rbac_related_fixes
Quick RBAC check_related fixes
2016-11-10 12:20:42 -05:00
AlanCoding 2c9cf0f6d6 fixes for RBAC bugs from check_related 2016-11-09 15:38:09 -05:00
Alan Rominger 78acab168c Merge pull request #3899 from AlanCoding/wf_survey
Workflow surveys
2016-11-08 14:17:11 -05:00
AlanCoding 105175b6b4 Fix errors in workflow surveys found through tests 2016-11-08 13:51:29 -05:00
AlanCoding a1c17a7243 Fix issue where unified_job method overrode the SurveyMixin methods 2016-11-08 13:39:11 -05:00
AlanCoding 76eb0bb866 bump workflow survey migration number 2016-11-08 13:39:10 -05:00
AlanCoding 7f41f16509 passwords in WFJT surveys working correctly 2016-11-08 13:39:10 -05:00
AlanCoding a87a56f518 workflow JT survey and launch serializer in functional state 2016-11-08 13:39:10 -05:00
AlanCoding 64b5e2ba5b bump migration 2016-11-08 13:39:10 -05:00
AlanCoding 1bd8bd245b bump migrations, and enable survey license check 2016-11-08 13:39:09 -05:00
AlanCoding 8ff671bfd6 finish editing the WFJT launch validate method 2016-11-08 13:39:09 -05:00
AlanCoding 9b7d046cec move job tests to new survey testing file 2016-11-08 13:39:09 -05:00
AlanCoding 21c6dd6b1e move survey models to mixins, start WFJT launch endpoint 2016-11-08 13:39:09 -05:00