Commit Graph

7661 Commits

Author SHA1 Message Date
Aaron Tan
96e3228c9d Change global settings structure and fix potential celery issue. 2016-10-17 16:56:39 -04:00
Aaron Tan
651a09f5fb Remove stdout indicator. 2016-10-17 16:56:39 -04:00
Aaron Tan
33952808c4 Readability improvement and job explaination added. 2016-10-17 16:56:39 -04:00
Aaron Tan
70481414c6 Migration update. 2016-10-17 16:56:39 -04:00
Aaron Tan
69be94feb9 Implement global job timeout mechanism. 2016-10-17 16:56:39 -04:00
Aaron Tan
2eda6b9528 Implement timeout on other unified jobs/JTs. 2016-10-17 16:56:39 -04:00
Aaron Tan
d52e237ea0 Implement timeout on job/job-template. 2016-10-17 16:56:39 -04:00
Aaron Tan
37139301b4 Add job timeout mechanism to tasks. 2016-10-17 16:53:54 -04:00
Aaron Tan
f4c93f842d Merge pull request #3715 from jangsutsr/3380_add_corner_case_check_to_user_can_admin
Add corner case check to user can_admin.
2016-10-17 15:32:11 -04:00
Aaron Tan
d9ac461bb8 Merge pull request #3696 from jangsutsr/3535_add_rbac_check_to_project_validate
Patch up missing org access checks in access.py
2016-10-14 14:37:52 -04:00
Aaron Tan
3999ffd52a Unit test & project access refactoring to prevent potential issue. 2016-10-14 11:36:20 -04:00
AlanCoding
8d89d68d5e flake8 fixes for Jenkins 2016-10-14 09:46:41 -04:00
Aaron Tan
f301cb0f9b Split unit tests & add access obj org sanity check. 2016-10-13 17:06:37 -04:00
Aaron Tan
189bdd6167 Add corner case check to user can_admin. 2016-10-13 16:48:39 -04:00
Alan Rominger
1979d63c25 Merge pull request #3708 from AlanCoding/ancestors_PR
Store vars from set_artifact tasks, pipe data through workflows
2016-10-13 15:59:58 -04:00
Aaron Tan
a0ea2337c6 Unit tests added. 2016-10-13 15:35:03 -04:00
Alan Rominger
7022edc646 Merge pull request #3701 from AlanCoding/wf_socket
Get workflows and channels to work together
2016-10-13 15:32:43 -04:00
Aaron Tan
1d3c890e79 null value check added. 2016-10-13 14:59:57 -04:00
Aaron Tan
4ae11f6557 Patch up missing org access checks in access.py 2016-10-13 11:45:34 -04:00
AlanCoding
7472fbae8f insert back in REPLACE_STR import that was lost 2016-10-13 11:05:06 -04:00
AlanCoding
638b07e17b remove yaml and json imports from workflow 2016-10-13 10:47:11 -04:00
AlanCoding
ef861e5256 move set_artifact module to its own repository 2016-10-12 17:54:35 -04:00
AlanCoding
5d4cf9d4fc Add job artifacts and workflow artifact passing
artifacts redact from job when no_log is set
parent no_log artifacts treated as survey passwords
2016-10-12 17:45:50 -04:00
Chris Church
bedb363613 Merge pull request #3665 from cchurch/prevent-removing-license-via-system-settings
Prevent removing license via settings
2016-10-12 14:54:49 -04:00
Chris Church
8883738a7c Fix issue when string list settings field is null. Resolves #3683. 2016-10-12 14:47:22 -04:00
AlanCoding
3cfe544ada update workflows to work with new channels implementation 2016-10-12 13:54:13 -04:00
Chris Church
2488e1e3f0 Show actual settings module in use. 2016-10-12 13:40:05 -04:00
jaredevantabor
9274b90b9b switching websocket to secure websocket (wss://) dpending on protocol 2016-10-11 14:22:42 -07: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
Jake McDermott
47b2b4322b use created and modified dates from TowerSettings when migrating to conf Settings 2016-10-10 10:25:53 -04:00
Chris Church
0992e354e3 Prevent removing license via PUT/PATCH/DELETE to /api/v1/settings/system/. 2016-10-07 14:13:51 -04:00
Matthew Jones
2a844b9c42 Add api node request servicer to response headers 2016-10-07 11:40:44 -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
Jared Tabor
3a1b4a10c8 Turning debug_mode to false 2016-10-06 20:15:15 -07:00
Jared Tabor
c6d5f751fb Feedback from PR
specifically the scope that is used for attaching event listeners
for the $emit/$braodcast/$on that is used for routing socket messages.
Also removing some commented out code
2016-10-06 18:42:18 -07: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
1b8b4a68b7 Resubscribing the UI to the last group it was on, whenever a disconnect happens that
was no intentional
2016-10-05 14:10:40 -07:00
Graham Mainwaring
180209236e Change names of Windows scan modules to avoid ambiguity 2016-10-05 16:43:19 -04:00
Jared Tabor
e80c99e737 removing status checks in socket.service 2016-10-05 10:35:55 -07:00
Jared Tabor
5edd9e73c8 removing npm-shrinkwrap to avoid conflict 2016-10-04 16:24:58 -07:00
Jared Tabor
37e282735a fixing statusTip and socketStatus 2016-10-04 14:27:29 -07:00
Jared Tabor
849c48a101 committing first pass at unit test for SocketService 2016-10-04 14:27:29 -07:00
Jared Tabor
541f55fece removing shrinkwrap to avoid merge conflict for now 2016-10-04 14:26:48 -07:00