1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +03:00
Commit Graph

1520 Commits

Author SHA1 Message Date
Matthew Jones
11cfacd57a Update unit tests to manage zeromq based tasks 2014-02-18 13:54:56 -05:00
Matthew Jones
f6870634c4 Cleanup and refactor some parts of thew new zeromq based callback receiver 2014-02-18 13:54:28 -05:00
Matthew Jones
2c694e5e07 Some cleanup and documentation for zeromq implementation 2014-02-17 11:11:48 -05:00
Matthew Jones
770947d18d Pull results off zeromq and distribute to workers 2014-02-12 16:09:57 -05:00
Matthew Jones
063380304a Manage the zeromq connection per-pid 2014-02-11 05:56:51 -05:00
Matthew Jones
66e9e2310c Initial 0mq implementation 2014-02-11 05:40:31 -05:00
Chris Church
cb8b58b0ae AC-1015 Added retry count for saving to database, minor retry refactor for publishing job events. 2014-02-09 13:51:40 -05:00
Chris Church
a3ee83258c Re-enable debug prints from saving job events. 2014-02-09 06:07:00 -05:00
Chris Church
a4ae6567dc AC-1015 Update queue names so that job events are only received by the right save job events task. Add database retry to save job events task. 2014-02-09 05:58:33 -05:00
Chris Church
818f235f72 AC-507 Allow forcefully marking a job canceled if we can detect it isn't running via Celery, make sure a job canceled before it is started doesn't attempt to run at all, raise an exception for canceled jobs to interrupt the task chain. 2014-02-09 01:50:15 -05:00
Chris Church
2423c9a63c AC-1013 Updated API docs to indicate that an auth token is tied to remote address and user agent. 2014-02-08 02:22:39 -05:00
Chris Church
b708edffd9 AC-1012 Force use of pyamqp even if librabbitmq is installed. 2014-02-07 20:03:52 -05:00
Chris Houseknecht
cac49c199c Fixed issues with Lookup.js helper. With multipe pages of data available to a lookup dialog, original selection was lost if user clicked cancel. Removed console.log statement left in pagination helper. 2014-02-07 17:20:24 -05:00
Chris Houseknecht
a1e7b28380 Fixed pagination error on related sets. Initial page size was not being set and first page number set to 0 rather than 1. 2014-02-07 17:20:24 -05:00
Chris Church
f02a93c333 AC-1012 Open a new RabbitMQ connection for each forked process to prevent intermittent hang, update debug logging for job event callback. 2014-02-07 17:12:52 -05:00
Chris Church
8638f1e3d1 AC-1020 Fix django-jsonfield to avoid generating PostgreSQL error. 2014-02-07 17:09:12 -05:00
Chris Church
455ed2bc63 Don't return result_stdout for job list, only for job detail; significantly improves speed to refresh jobs list. 2014-02-07 16:00:26 -05:00
Matthew Jones
2a88d3cb07 Close issue AC-905... refactor RBAC to handle inactive and deleted items 2014-02-07 09:37:59 -05:00
Chris Church
d6a457397a AC-1027 Removed stupid trailing comma I overlooked. 2014-02-07 13:53:18 -05:00
Matthew Jones
fb1bff54ca Fix an issue where we were checking object existence
In the new to_native methods on serializers
2014-02-07 05:56:26 -05:00
Chris Houseknecht
8c88ee5663 AC-1016 put font size back to 14px on host fly-out. 2014-02-06 18:25:43 -05:00
Chris Houseknecht
2ef38adf26 AC-1016 Added tool-tip to status icon on host status fly-out. Changed z-index on tooltips to be greater than that of pop-overs. Made sure all tooltips when a pop-over opens. 2014-02-06 18:16:30 -05:00
Chris Church
e9d308c927 AC-1015 Changed where save_job_events task is started so that job events don't appear to be missing when they're stuck in the queue. 2014-02-06 17:44:17 -05:00
Chris Houseknecht
4e49314bad AC-1016 on host status fly-out job id now links to job detail page rather than showing modal dialog. Fixed js errors happening when job_template is deleted and cannot be found. 2014-02-06 17:36:51 -05:00
Chris Houseknecht
c55d3e935b Aftr user edits a group, update the sync related icons based on whether or not user added sync source or removed sync source. This allows a sync to be started immediately (or prevents starting one) without having to first click the refresh button. 2014-02-06 17:05:35 -05:00
Chris Church
9807477944 AC-905 Work in progress on better filtering of inactive/deleted objects. 2014-02-06 16:52:09 -05:00
Chris Church
f579dbd72d Remove test license file accidentally checked in. 2014-02-06 15:26:57 -05:00
Chris Church
ae4743724a AC-982 Added configuration options to disable activity stream logging entirely, or disable only when running inventory import. 2014-02-06 15:25:58 -05:00
Chris Houseknecht
c52818ecee AC-1023 AC-1025 fixed drag-n-drop issues. Linting exposed a datatype mismatch issue. 2014-02-06 15:20:07 -05:00
Chris Church
11d8387120 AC-990 Make job event filtering by host work even when not capturing hosts M2M. Also fix unit tests to skip checking hosts M2M. 2014-02-06 15:07:42 -05:00
Chris Houseknecht
4c38b05f90 AC-1021 fixed issues with group edit and source not saving. 2014-02-06 14:14:12 -05:00
Matthew Jones
57030390c0 Fix AC-975... filter inactive permissions in some of the access code. 2014-02-06 08:47:00 -05:00
Chris Houseknecht
8c5fb4bca4 AC-1021 fixed javascript error on group edit save. When user makes changes to a group, we attempt to update the group name and title on the tree view. The update process was building an invalid string. 2014-02-06 13:40:44 -05:00
Chris Houseknecht
1445fb533e Applying jsHint standards to form-generator.js. Adding unminified jquery to facilitate debugging. 2014-02-06 13:28:02 -05:00
Chris Houseknecht
010a998431 Applied jsHint code checking standards. 2014-02-06 12:17:12 -05:00
Chris Church
1b65a3256d AC-990 Disabled capturing hosts M2M associated with job events. 2014-02-06 11:25:51 -05:00
Chris Houseknecht
e17d076e55 AC-1017 Added events and hosts links to the job status fly-out. Fixed a bug in search where claring the value and hitting enter did not switch the icon back to the magnifying glass. Linted Search.js and Hosts.js helpers. 2014-02-06 00:58:45 -05:00
Chris Church
9f40862676 AC-990 Some query improvements for saving job events. 2014-02-05 19:19:26 -05:00
Chris Houseknecht
5e7290aa85 AC-1014 fixed issued related to deleted templates and templates containing quotes in the name. De-linted job templates and the jobs controller. 2014-02-05 16:34:25 -05:00
Chris Houseknecht
229df6d4f7 AC-1010 Fixed breadcrumb capitalization to accommodate multi-word paths. Added .jshintrc which contains jsHint directives for delinting .js files. Delinted Utilities.js. 2014-02-05 11:54:24 -05:00
Chris Church
a115988a4b AC-982 Fix typo (missing @) from earlier commit. 2014-02-04 23:56:29 -05:00
Chris Church
e94e1978be Disable capturing SQL queries in memory when running celeryd in development. 2014-02-04 23:04:58 -05:00
Chris Church
ce56f1c17d AC-982 Fixes for inventory import speed when deleting groups. 2014-02-04 22:55:53 -05:00
Chris Houseknecht
033968a0a9 Fixed compilation error. 2014-02-04 18:28:56 -05:00
Chris Church
91cc144e87 AC-990 Updated callback plugin and related task to prevent missed/duplicate job events, catch exceptions and retry. Fixed task run_pexect method so that canceling a job will work. 2014-02-04 17:38:38 -05:00
Chris Houseknecht
d08319100d Fixed styling on Job Events page to give the Event column more room. Added monospacing and nowrap to txt fields.Shotened Created On and Status columns. Centered Status column. Fixed Actions column so that columnClass directive works. 2014-02-04 21:27:31 +00:00
Matthew Jones
00156a5518 Updating AC-984... only conditionally recompute inventory fields in group delete if it isn't a part of an inventory delete 2014-02-04 09:55:55 -05:00
Matthew Jones
e911bdc3da Updating AC-984... delay field computation until after the group has been removed 2014-02-04 09:29:28 -05:00
Chris Houseknecht
6d6ea293a4 Fixing 'working' ovrerlay to fit document height. 2014-02-04 19:04:41 +00:00
Chris Houseknecht
bbdfc3ea4f Background for jqueryui modal and twitter bootstrap modal now match. 2014-02-04 13:23:03 -05:00