Commit Graph
100 Commits
Author SHA1 Message Date
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
AlanCoding 020144d1ee add surveys on workflow models 2016-11-08 13:39:08 -05:00
Alan Rominger 5a78095e05 Merge pull request #3913 from AlanCoding/reimplement_sjta
Remerge: only allow superusers to start a job from a SystemJobTemplate
2016-11-08 11:06:36 -05:00
Alan Rominger 549274f97b Merge pull request #3909 from AlanCoding/un_db_ify
Remove db access from unit test
2016-11-08 10:21:11 -05:00
AlanCoding c49200a024 remove db access from unit test 2016-11-08 10:12:53 -05:00
Alan Rominger 5a3fa395d6 Merge pull request #3908 from AlanCoding/indent_comment
flake8 fix
2016-11-08 09:42:47 -05:00
AlanCoding 74a118b447 flake8 fix 2016-11-08 09:37:07 -05:00
Alan Rominger 3c60e254b9 Merge pull request #3877 from AlanCoding/related_access
[RBAC] Refactor of ForeignKey access checks
2016-11-08 09:30:15 -05:00
Alan Rominger 6bcd0f5259 Merge pull request #3907 from AlanCoding/rename_migraiton
Rename migration file to use the v prefix
2016-11-08 08:27:43 -05:00
AlanCoding 2d88d9a573 rename migration file to use the v prefix 2016-11-08 08:25:15 -05:00
AlanCoding 9c30058abe improvements to related access unit tests 2016-11-07 17:01:22 -05:00
AlanCoding 2afdc04ac0 cleanup inventory admin access syntax 2016-11-07 11:56:11 -05:00
AlanCoding cae2cdaad8 check related method small fixups 2016-11-07 08:53:04 -05:00
AlanCoding f2846101a3 deal with a special null null case 2016-11-05 14:24:04 -04:00
AlanCoding 2279e1e8dc unit test related field checks, finialize scenarios 2016-11-05 13:45:07 -04:00
AlanCoding 2ddda56f09 expand check_related to polymorphic related fields 2016-11-05 11:01:59 -04:00
AlanCoding db890b5759 interpret absent related field as a unchanged state in permissions check 2016-11-04 22:08:00 -04:00
AlanCoding 5c2c46c5aa Consolidate related field access checks into BaseAccess method 2016-11-04 22:07:59 -04:00
Alan Rominger eaca67af18 Merge pull request #3811 from AlanCoding/ctit_timeout_second_try
Move timeout settings into 3 different settings vars
2016-11-02 15:12:33 -04:00
AlanCoding aaf3a89a64 fixed typo in project timeout setting 2016-11-02 14:59:51 -04:00
AlanCoding 83e31b8618 remove timeout settings example, attach minimum timeout values 2016-11-02 14:59:51 -04:00
AlanCoding de66318381 move timeout settings into 3 different settings vars 2016-11-02 14:59:51 -04:00
Alan Rominger a5aa2df681 Merge pull request #3838 from AlanCoding/wf_dag_prefetch
Keep queries for building WF DAG to a minimum
2016-11-02 14:47:16 -04:00
Alan Rominger 7855d314c5 Merge pull request #3839 from ansible/AlanCoding-patch-4
Remove incorrect use of user capabilities prefetch
2016-11-02 14:42:03 -04:00
Alan Rominger c6bbc63058 flake8 fix from release branch merge 2016-11-02 14:13:16 -04:00
Alan Rominger dd14e51c7c Remove incorrect use of user capabilities prefetch
Connect #3574
2016-11-02 08:10:55 -04:00
Alan Rominger 43fbff7e8c Merge pull request #3813 from AlanCoding/stdout_fix
Fix bug blocking jobs from running
2016-10-31 16:09:36 -04:00
AlanCoding 23af9d6b72 fix bug blocking jobs from running 2016-10-31 14:54:45 -04:00
Alan Rominger f74a3c75de Merge pull request #3794 from AlanCoding/workflow_status_8
Reimplement select workflow status items
2016-10-31 13:36:59 -04:00
AlanCoding 47de8c5963 keep queries for building WF DAG to a minimum 2016-10-28 11:20:25 -04:00
Alan Rominger fb33878d64 Merge pull request #3770 from AlanCoding/playbook_files
Update JT playbook validation for HA
2016-10-27 16:05:09 -04:00
Alan Rominger f406b00b79 Merge pull request #3795 from AlanCoding/timeout_ctit
Add job timeouts to CTiT
2016-10-27 16:00:42 -04:00
Alan Rominger d4f0fd2c50 Merge pull request #3789 from AlanCoding/rm_compat
Delete awx.lib
2016-10-27 15:28:52 -04:00
AlanCoding 3ae5a4b9a8 add job timeouts to CTiT 2016-10-27 13:22:01 -04:00
AlanCoding 6e228248c1 remove fail_on_job_failure from the workflow status PR 2016-10-27 12:58:27 -04:00
AlanCoding a2c972e513 Workflow status original commit 2016-10-27 12:52:07 -04:00
Alan Rominger 88edff521e Merge pull request #3791 from ansible/revert-3711-workflow_status
Revert "Introduce workflow failure condition"
2016-10-27 12:38:13 -04:00
Alan Rominger 76fae6c052 Revert "Introduce workflow failure condition" 2016-10-27 12:21:31 -04:00
AlanCoding 1fec29dcb3 remove awx.compat, since it looks like it is not necessary 2016-10-26 17:22:03 -04:00
Alan Rominger 57b1666abe Merge pull request #3711 from AlanCoding/workflow_status
Introduce workflow failure condition
2016-10-26 16:46:18 -04:00
Alan Rominger 0900c4fbbc Merge pull request #3771 from AlanCoding/job_unit_tests
Make job unit tests pass
2016-10-26 15:55:39 -04:00
AlanCoding 0e99d150bb correct error in workflow unit tests 2016-10-26 10:47:09 -04:00
AlanCoding 6b4737b5f0 more WFJT node docs feedback 2016-10-26 09:53:54 -04:00
AlanCoding 2794d62b4a fix null problem with char_prompts 2016-10-26 09:35:00 -04:00