Commit Graph
100 Commits
Author SHA1 Message Date
AlanCoding 3af0f505d8 Setting for external log emissions cert verification
Stopgap solution for issue for 3.1.3 where Splunk servers with a
self-signed certificate could not receive logs from Tower.
Users should set `LOG_AGGREGATOR_VERIFY_CERT = False` in settings
to use this.
2017-04-17 14:50:01 -04:00
Alan Rominger 6d17158b34 Merge pull request #5973 from AlanCoding/survey_choices_string
When survey choices are strings, don't just check "X in choices"
2017-04-17 11:05:50 -04:00
Alan Rominger 7dd69a36d8 Merge pull request #6017 from AlanCoding/supervisor_verbosity
Add supervisorctl logs
2017-04-13 11:07:41 -04:00
AlanCoding 6f0a8949a6 Add supervisorctl logs
In some systems, the tower service process may not have sufficient
permissions to communicate with the supervisorctl socket, in which
case an automated restart will not be possible.
2017-04-12 16:46:58 -04:00
Alan Rominger f0102ef0ff Merge pull request #5978 from AlanCoding/hide_ev_notification
Hide extra_vars in job notifications
2017-04-07 15:33:34 -04:00
AlanCoding 3e9bc3b3d4 Hide extra_vars in job notifications 2017-04-07 11:49:03 -04:00
AlanCoding b9c45ed54a Fix bug where API assumed survey choices were list
Applies to both single-select and multi-select type questions.
UI sends choices in the form of text with line breaks
separating the options.
Customer complained about empty string erronously sent by
the UI being passed to playbook, which is a component of this.
2017-04-07 09:03:45 -04:00
AlanCoding 0046421f05 set log formatter message type 2017-03-07 16:48:48 -05:00
Alan Rominger 8b383e788b Merge pull request #5560 from AlanCoding/dup_related
Avoid duplicated related search fields
2017-02-24 16:55:25 -05:00
AlanCoding 84e2f4d626 avoid duplicated related search fields 2017-02-24 16:49:54 -05:00
Alan Rominger 0bdcfbb33e Merge pull request #5512 from AlanCoding/inv_src_qs
Add InventorySource back into schedule queryset
2017-02-22 17:01:11 -05:00
Alan Rominger 1f0b3876cc Merge pull request #5506 from AlanCoding/no_bad_names
More gutting of related_search_fields in 3.1 scope
2017-02-22 16:52:56 -05:00
AlanCoding d85eda99c6 add back in Inv Src into schedule queryset computation 2017-02-22 15:34:18 -05:00
AlanCoding a69a4de51e prohibit additional items from related_search_fields 2017-02-22 13:32:05 -05:00
Alan Rominger 6039ad15af Merge pull request #5498 from AlanCoding/expire_tasks
Expire certain beat tasks if not ran on schedule
2017-02-21 17:10:26 -05:00
AlanCoding 7c5856cee6 set expiration time for the disposable system tasks 2017-02-21 15:54:18 -05:00
Alan Rominger 711bee9633 Merge pull request #5414 from AlanCoding/manage_context
Disable activity stream in cleanup_jobs, test things
2017-02-21 12:20:34 -05:00
AlanCoding 0bd606e26f remove unnecessary imports after context manager change 2017-02-21 12:08:03 -05:00
Alan Rominger c9e3fc3601 Merge pull request #5445 from AlanCoding/sub_ct_from_cache
Allow UJT content type list to come from manager cache
2017-02-21 10:33:21 -05:00
Alan Rominger 95e1caed56 Merge pull request #5443 from AlanCoding/vars_disp
Prevent server error in /variables/ endpoint
2017-02-20 22:29:08 -05:00
Alan Rominger 7d49d048e7 Merge pull request #5429 from AlanCoding/m2m_types
Integer (or generic ForeignKey) coercion for m2m filters
2017-02-20 22:25:57 -05:00
Alan Rominger 2b0f327523 Merge pull request #5458 from AlanCoding/migration_version
add method to obtain the migration state of Tower
2017-02-20 17:14:08 -05:00
AlanCoding a57d8fe9fd treat GFJ and FJ and M2M all the same for type in querystring 2017-02-20 17:11:08 -05:00
AlanCoding 87af8f7a38 add method to obtain the migration state of Tower 2017-02-20 13:17:21 -05:00
Alan Rominger 928d160f3d Merge pull request #5439 from AlanCoding/sys_aud_NT
block system auditors from attaching notification templates
2017-02-20 11:32:50 -05:00
AlanCoding 757982088c allow UJT content type list to come from cache 2017-02-17 22:08:18 -05:00
AlanCoding 1386fdeb1a prevent server error in /variables/ endpoint 2017-02-17 16:57:13 -05:00
AlanCoding 6d961d92c9 block system auditors from attaching notification templates 2017-02-17 16:17:07 -05:00
AlanCoding d8d874d964 treat m2m fields as FK in filter python coercion 2017-02-17 11:06:29 -05:00
Alan Rominger 68fc75070d Merge pull request #5348 from AlanCoding/dual_jt_count
Update organization counts to correspond with UI lists
2017-02-17 10:13:10 -05:00
Alan Rominger 377d6ebcab Merge pull request #5396 from AlanCoding/signal_intelligence
Avoid a particular kind of nonsense activity stream entry
2017-02-17 10:09:59 -05:00
Alan Rominger b25a040278 Merge pull request #5418 from AlanCoding/orphan_hack
Make triple-sure that system admins can manage orphaned JTs
2017-02-17 10:07:02 -05:00
AlanCoding 6b45aa758c fix special case where orphan JTs can not be edited by system admins in UI 2017-02-16 14:48:20 -05:00
AlanCoding 9e363d82d8 disable activity stream in cleanup_jobs and test context managers 2017-02-16 14:09:48 -05:00
AlanCoding d67dadd649 avoid activity stream entries of singleton implicit role associations 2017-02-16 10:22:21 -05:00
AlanCoding d687ff1be0 delete disable_signals fixture that is not being used 2017-02-15 15:34:14 -05:00
Alan Rominger 0e4f3c8015 Merge pull request #5376 from AlanCoding/logger_full_reload
Add supervisor command to restart select services on reload event
2017-02-15 15:19:27 -05:00
AlanCoding 3023b4dfaa switch to new nested with pattern from PR review 2017-02-15 14:58:04 -05:00
AlanCoding 7e3a5fd2c2 move reload functionality to its own file 2017-02-15 13:42:49 -05:00
AlanCoding 186b672e4f move service definition into settings 2017-02-15 12:07:30 -05:00
Alan Rominger b4b83e0248 Merge pull request #5342 from AlanCoding/unified_jobs_rel_m2m
fixes for unified_jobs related m2m search listing
2017-02-15 09:30:17 -05:00
AlanCoding d8f133d175 Add supervisor command to restart select services on reload event 2017-02-15 09:13:59 -05:00
Alan Rominger 02962698d7 Merge pull request #5370 from AlanCoding/invite_beat_to_join
add celery beat to supervisor group
2017-02-14 22:24:04 -05:00
AlanCoding d054f86652 update organization counts to correspond with UI lists 2017-02-14 14:05:23 -05:00
AlanCoding c3eff539d0 fixes for unified_jobs related m2m search listing 2017-02-14 08:59:02 -05:00
Alan Rominger 138b672ba0 Merge pull request #5316 from AlanCoding/supervisor_dev
Add supervisor option to development environment
2017-02-14 08:47:27 -05:00
AlanCoding 9a88091042 get supervisorctl to work in dev supervisor env 2017-02-13 17:36:35 -05:00
AlanCoding b5aad8cbed bypass the makefile target for most commands in dev supervisor 2017-02-13 17:36:35 -05:00
AlanCoding d1a71fb7be add supervisor option to development environment 2017-02-13 17:36:34 -05:00
Alan Rominger 3f0c42c1f6 Merge pull request #5329 from AlanCoding/disable_sig_jobs
Disable computed fields in cleanup_jobs
2017-02-13 17:35:24 -05:00
Alan Rominger 0d396384bc Merge pull request #5334 from AlanCoding/orphan_wfjt_cap
Special case for user capability with null WFJT organization
2017-02-13 17:06:50 -05:00
Alan Rominger 42184d2416 Merge pull request #5333 from AlanCoding/jt_related_search
Surface labels related search for job templates
2017-02-13 17:03:01 -05:00
AlanCoding 770580b612 special case for user capability with null WFJT organization 2017-02-13 16:25:05 -05:00
Alan Rominger c5da81eb19 Merge pull request #5305 from AlanCoding/celery_dynamic_option
Get celery logging autoreload + don't reconfigure the whole config
2017-02-13 16:22:40 -05:00
AlanCoding fbe712dcd1 refactor adding logger loop from PR review 2017-02-13 15:45:05 -05:00
AlanCoding 603dfea580 get rid of HTTPSHandler subclass which is not needed 2017-02-13 15:07:33 -05:00
AlanCoding 31098d1b5d surface labels related search for job templates 2017-02-13 14:34:40 -05:00
AlanCoding b0e992d6ab disable computed field signals in cleanup_jobs 2017-02-13 12:34:21 -05:00
AlanCoding d912013db7 fix some bugs with the logging reload approach 2017-02-10 15:57:24 -05:00
AlanCoding cdf28f1bca remove old logger reconfig method 2017-02-10 11:54:19 -05:00
AlanCoding 91031cbbc8 modularize logging config in proper Django fashion 2017-02-10 11:38:32 -05:00
Alan Rominger 0234d7676d Merge pull request #5285 from AlanCoding/fifo2
Get uWSGI reloading working in dev environment
2017-02-09 15:56:47 -05:00
Alan Rominger 8c1be80215 Merge pull request #5277 from AlanCoding/various_logging_updates
Update logging docs & switch out null logger
2017-02-09 15:56:09 -05:00
AlanCoding 1d6a36876b have tasks.py deduce location of uwsgi fifo 2017-02-09 15:27:58 -05:00
AlanCoding 279546e110 make obvious updates to the logging related docs 2017-02-09 12:37:57 -05:00
AlanCoding 1c6f037076 stop using Django NullHandler which is being removed in future version 2017-02-09 11:53:51 -05:00
Alan Rominger 90cbfb3cf2 Merge pull request #5234 from AlanCoding/im_the_boss_but_pretend_to_be_one_of_the_members
switcharoo of team admin for member role
2017-02-08 16:53:36 -05:00
Alan Rominger b21513754d Merge pull request #5245 from AlanCoding/inv_src_cred
check related credential for inventory source
2017-02-08 13:47:24 -05:00
AlanCoding f60f1fdcc4 check related credential for inventory source 2017-02-08 13:16:02 -05:00
AlanCoding 07773bb19e Remove unsuported team indirect access from test
Add in team admin_role in its place
confirm that team admin looks the same as team member
2017-02-08 11:43:38 -05:00
AlanCoding 99b7532ef6 switcharoo of team admin for member role 2017-02-07 17:43:43 -05:00
Alan Rominger 5d45e01219 Merge pull request #5211 from AlanCoding/orphan_jt
Fix bug with system auditors and detail view of orphaned JT
2017-02-07 17:01:13 -05:00
Alan Rominger a7e43034d7 Merge pull request #5213 from AlanCoding/dry_run
Surface dry_run option for system jobs through the API
2017-02-07 13:41:58 -05:00
AlanCoding 93034ef1d6 surface dry_run option for system jobs through the API 2017-02-07 10:37:41 -05:00
AlanCoding e5a8eb95b2 fix bugs with system auditors and orphan JTs 2017-02-07 09:18:23 -05:00
Alan Rominger 5a1b56af42 Merge pull request #5202 from AlanCoding/pretty_sys_jobs
aesthetic editing of system job output
2017-02-07 08:41:50 -05:00
AlanCoding b2f5b82610 aesthetic editing of system job output 2017-02-06 15:15:00 -05:00
Alan Rominger 68d9457de9 Merge pull request #5205 from AlanCoding/fail_inconsistent_system_jobs
Allow system jobs to get sucked up in the fail inconsistent task cleanup
2017-02-06 15:13:52 -05:00
AlanCoding 0f0e92ff33 allow system jobs to get sucked up in the fail inconsistent task cleanup 2017-02-06 14:45:44 -05:00
Alan Rominger 1651f62a76 Merge pull request #5192 from AlanCoding/signal_start_kwargs
Simplify use of signal_start
2017-02-06 11:15:11 -05:00
AlanCoding 32a7d46ac1 do not pass detailed kwargs into signal_start 2017-02-06 10:24:10 -05:00
Alan Rominger b8aa1bd76e Merge pull request #5191 from AlanCoding/UJT_capability_prefetch
Unified Job Template user_capability prefetch + listview optimizations
2017-02-06 10:18:26 -05:00
Alan Rominger b0fde25bb3 Merge pull request #5187 from AlanCoding/robot_survey_taking
Allow JT start on callback if mandatory survey variables are there
2017-02-06 10:05:36 -05:00
AlanCoding c9f424ea74 unit test update for use pattern change 2017-02-06 09:50:48 -05:00
AlanCoding 7967cc7722 force UJT user_capabilities to be correct for all submodels 2017-02-05 08:07:36 -05:00
AlanCoding 78b474d92e shortcut for generating role summary_fields 2017-02-03 22:56:10 -05:00
AlanCoding eb3b9d96ac prefetch labels 2017-02-03 22:55:34 -05:00
AlanCoding d9799d6f45 fix accessible_pk_qs method in UJT subclasses 2017-02-03 21:45:35 -05:00
AlanCoding da887241aa allow JT start on callback if mandatory survey variables are there 2017-02-03 20:29:28 -05:00
AlanCoding 914288c982 adapt the capabilities_prefetch to work with unified models 2017-02-03 15:59:35 -05:00
Alan Rominger b822ef14c4 Merge pull request #5105 from AlanCoding/data_gen_to_the_moon
Make data generator work for larger data sets
2017-02-03 12:34:56 -05:00
Alan Rominger 9993c5d5fd Merge pull request #5144 from AlanCoding/act_str_clean
Put more summary fields into activity stream
2017-02-03 12:13:44 -05:00
AlanCoding 8683da986d remove redundant clause in act str serializer 2017-02-02 14:59:48 -05:00
Alan Rominger fff8564bee Merge pull request #5151 from AlanCoding/ssssssss
make help text noun plural
2017-02-02 13:41:00 -05:00
AlanCoding fad19eb9c7 make help text noun plural 2017-02-02 13:38:45 -05:00
AlanCoding ebb2b886f1 put more summarizable things into activity stream serializer 2017-02-02 11:51:50 -05:00
Alan Rominger 7021655d7d Merge pull request #5124 from AlanCoding/help_text_generalizing
fix inconsistencies in the workflow API help text pages
2017-02-01 17:07:30 -05:00
Alan Rominger 7a9c4c00a2 Merge pull request #5109 from AlanCoding/proj_sch_rbac
Avoid unnecessary attach when creating schedules
2017-02-01 16:16:51 -05:00
AlanCoding 047880b5db fix inconsistencies in the workflow API help text pages 2017-02-01 15:58:38 -05:00
Alan Rominger ceef65b63a Merge pull request #5111 from AlanCoding/no_stdout_censor
Disable standard out censoring
2017-02-01 13:26:41 -05:00