Commit Graph

2688 Commits

Author SHA1 Message Date
Chris Church
58b434e08a Enable support for file scheme in SCM URLs. 2016-10-12 15:29:20 -04:00
Alan Rominger
7bd19b8e98 Merge pull request #3687 from AlanCoding/wf_fixes
Workflow serializer fixes
2016-10-11 08:39:01 -04:00
AlanCoding
21a04f196c workflow serializer fixes 2016-10-10 17:13:02 -04:00
Wayne Witzel III
594fa8cf89 Merge pull request #3657 from wwitzel3/jtabor-sockets
Switch to Django Channels
2016-10-07 10:39:04 -04:00
Matthew Jones
20b5aa7424 Fix some issues with management commands for clustering 2016-10-07 09:58:47 -04:00
Wayne Witzel III
5d8e7c17c2 Merge branch 'devel' into jtabor-sockets 2016-10-07 09:50:03 -04:00
Wayne Witzel III
39f337d933 added model for holding channel group information, updating asgi_amsqp req 2016-10-06 16:16:27 -04:00
Matthew Jones
babe29ebfa Implement cluster health checks
* Add a local node queue to execute targeted jobs
* Add a setting for active cluster node id (per-node)
* Base the heartbeat time on the `modified` time on the Instance table
* Add periodic task that calls save() on the instance to update the
  heartbeat time if services are up
* Purge/update any ha/instance management commands
* Fix up CELERY_ROUTES settings data structure
2016-10-06 16:05:39 -04:00
Alan Rominger
cd8aeac5c3 Merge pull request #3644 from AlanCoding/3559_manual_proj
Set `start` capability to False for manual projects
2016-10-06 12:04:35 -04:00
Wayne Witzel III
9049fb208f Merge branch 'devel' of https://github.com/ansible/ansible-tower into jtabor-sockets 2016-10-06 10:06:30 -04:00
Wayne Witzel III
71c84a6383 convert scheduler to use websocket 2016-10-06 09:58:51 -04:00
Jared Tabor
3d979bb661 draft 1 of socket refactoring 2016-10-04 14:16:59 -07:00
Wayne Witzel III
6d4a2a8f8e converting from socketio to channels websocket 2016-10-04 14:13:16 -07:00
Aaron Tan
0b3833ced0 Merge pull request #3647 from jangsutsr/3592_enable_jt_assoc_without_extra_deps
Change JT can_change behavior.
2016-10-04 09:51:32 -04:00
AlanCoding
e1ace0ba0a extend license fix to workflow jobs 2016-10-03 20:32:11 -04:00
Aaron Tan
2be5d2f23f Unit test added. 2016-10-03 17:32:43 -04:00
Aaron Tan
764ed8d576 Change JT can_change behavior. 2016-10-03 15:37:33 -04:00
Alan Rominger
f23a87e5a0 Merge pull request #3553 from AlanCoding/wf_rbac_prompt
workflows RBAC and prompting
2016-10-03 15:34:47 -04:00
AlanCoding
0154c41eb2 switch to UJT method of creating new jobs 2016-10-03 15:22:15 -04:00
Alan Rominger
03d97792ed Merge pull request #3640 from AlanCoding/3597_start_license
Make validate_license common to all start access checks
2016-10-03 14:13:58 -04:00
AlanCoding
d734145c38 start capability to return False for manual projects 2016-10-03 11:41:42 -04:00
AlanCoding
3d38637b2d update migration name 2016-10-03 11:16:08 -04:00
Chris Meyers
9e3528de31 change migration name to align with version semantic 2016-10-03 11:15:33 -04:00
Matthew Jones
959342a5fd Fixing up unit tests from HA/Clustering work
* Also purge old fact migration tests
* Upgrade some services on various container images
2016-10-03 10:40:30 -04:00
Wayne Witzel III
530a5c0c88 merging devel 2016-10-03 10:35:50 -04:00
AlanCoding
020c66f6ce make validate_license common to all can_start methods 2016-10-03 10:09:41 -04:00
Chris Meyers
b4c852cf53 change migration name to align with version semantic 2016-10-03 10:06:50 -04:00
Chris Meyers
203df91a5d more robust test mode checking 2016-10-03 09:28:44 -04:00
AlanCoding
2faafa8071 Merge branch 'devel' of https://github.com/ansible/ansible-tower into wf_rbac_prompt 2016-09-30 10:06:23 -04:00
AlanCoding
2776a56043 bump migration after another one was merged 2016-09-30 09:03:31 -04:00
Chris Meyers
9cafebd8db remove job to jt allow_simultaneous dependency
* Foreshadowing of what's to come with the task manager. When deciding
on what job to run in our task manager, we can't depend on job template
fields. Otherwise, this would cost us a query.
2016-09-29 16:19:19 -04:00
Chris Meyers
1a60dd89bd add back in removed method 2016-09-29 16:01:51 -04:00
Chris Meyers
dd3c3c9f29 Merge branch 'feature-ha_task_manager' into devel 2016-09-29 10:27:17 -04:00
Chris Meyers
fbc1dff4de flake8 fixes 2016-09-29 10:23:00 -04:00
Chris Meyers
bdd444fb44 removed print 2016-09-29 09:53:36 -04:00
Aaron Tan
cf39f28d62 Merge pull request #3238 from jangsutsr/3088_make_admin_visible_to_oprhaned_users
Make system admin and system auditor visible to oprhaned users.
2016-09-29 09:42:05 -04:00
Aaron Tan
3acaca376a Merge pull request #3615 from jangsutsr/3486_notification_failure_wrt_unicode_jt_name
Convert notification_subject from byte string to unicode.
2016-09-28 16:26:21 -04:00
Aaron Tan
e3d27bf593 Merge pull request #3613 from jangsutsr/3534_job_host_summary_missing
Set up post_process flag for JobEvent save in callback receiver.
2016-09-28 16:25:55 -04:00
Alan Rominger
29308b08f0 Merge pull request #3571 from AlanCoding/3570_user_self_access_list
Fix user access_list bug
2016-09-28 16:20:04 -04:00
Aaron Tan
eaa6567cf3 Convert notification_subject from byte string to unicode. 2016-09-28 15:51:34 -04:00
AlanCoding
78fc6df59d fix up the PATCH scenario with the char_prompts in WFJT node 2016-09-28 15:02:05 -04:00
Aaron Tan
38f5ae21f8 Set up post_process flag for JobEvent save in callback receiver. 2016-09-28 14:14:29 -04:00
Chris Meyers
0d538f8b0f Revert "removed wait_task look restriction"
This reverts commit f159fd45406c6af2aacc48a44e2a3993bfa19ce8.
2016-09-28 10:23:45 -04:00
AlanCoding
8036e294dd move vars validation method into validators.py 2016-09-28 09:49:17 -04:00
AlanCoding
166053e0eb Merge branch 'devel' into wf_rbac_prompt 2016-09-28 09:10:13 -04:00
AlanCoding
6f7e61a5be bump migration number 2016-09-28 09:09:26 -04:00
Wayne Witzel III
5faa21b72d add group_name to channel data 2016-09-27 18:39:14 -04:00
Wayne Witzel III
ee09d881a4 only discard if groups have been created previously 2016-09-27 18:39:12 -04:00
Wayne Witzel III
850934c89d remove reply_channel from groups 2016-09-27 18:39:09 -04:00
Wayne Witzel III
4c8aaf1aed converting from socketio to channels websocket 2016-09-27 18:39:07 -04:00