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

1659 Commits

Author SHA1 Message Date
Matthew Jones
a6a1a6504a Check for anonymous user in the activity stream middleware and don't
attempt to attach user information to the event
2014-02-21 11:09:03 -05:00
Matthew Jones
00676c95e0 Change zmq socket characterstics to ack response. Fix up unit tests 2014-02-21 10:40:53 -05:00
Matthew Jones
3231f966db More small cleanup for zeromq work. Switch back to single-path
writing of job events
2014-02-19 13:57:13 -05:00
Chris Houseknecht
6f54574a94 Fixed spelling issue found in job_templates.limit help. 2014-02-19 13:18:54 -05:00
Matthew Jones
94e0d9ab1d Remove an unneeded print statement 2014-02-18 23:09:07 -05:00
Matthew Jones
28a1f64d54 Implement a signal handler on the callback receiver. Use the full
receiver when running unit tests
2014-02-18 23:01:55 -05:00
Matthew Jones
398d7633d3 Fix some issues starting the callback receiver workers 2014-02-18 19:13:36 -05:00
Matthew Jones
155837ebbb Update dev requirements to mention zeromq dependency 2014-02-18 15:22:49 -05:00
Matthew Jones
2a65fbe77c Update contributing documentation and add receiver target to Makefile 2014-02-18 15:16:39 -05:00
Matthew Jones
570f53e62c Merge remote-tracking branch 'origin/zeromq'
* origin/zeromq:
  Update supervisor configuration during deployment to allow pulling in zeromq based dependencies and so that the new callback handler will get started alongside celery
  Update unit tests to manage zeromq based tasks
  Cleanup and refactor some parts of thew new zeromq based callback receiver
  Update playbook to install zeromq3 and the dependent python module
  Some cleanup and documentation for zeromq implementation
  Pull results off zeromq and distribute to workers
  Manage the zeromq connection per-pid
  Initial 0mq implementation
2014-02-18 14:15:57 -05:00
Matthew Jones
d3ea140baf Merge remote-tracking branch 'origin/master' into zeromq
* origin/master: (36 commits)
  AC-564 fixed a bug with CodeMirror editor and post dialog removal/cleanup.
  AC-564 fixed a bug with CodeMirror editor and post dialog removal/cleanup.
  AC-564 added new method to codemirror wrapper to enable replacing textarea fields with an editor. Implemented in inventory, groups, hosts, and templates. Solved issues with groups related to two potential textareas at the same time. Found and fixed an error in the way ReturnToCaller() utility was being called. Finished implementing angular-md5. Adding or saving a job template now shows a pop-up on save when a callback is enabled. The pop-up shows the callback url and host key. Before user had to save and then re-open the template to get the URL. With the pop-up we're now showing it immmediately on save.
  AC-564 added new method to codemirror wrapper to enable replacing textarea fields with an editor. Implemented in inventory, groups, hosts, and templates. Solved issues with groups related to two potential textareas at the same time. Found and fixed an error in the way ReturnToCaller() utility was being called. Finished implementing angular-md5. Adding or saving a job template now shows a pop-up on save when a callback is enabled. The pop-up shows the callback url and host key. Before user had to save and then re-open the template to get the URL. With the pop-up we're now showing it immmediately on save.
  Fixed broken links where ngHref is used in list objects.
  Fixed js error post host edit save.
  Fixed menu bar height. After TB upgrade it was fixed at 50px. Moved back to 0 and let image height be dominant. Pulled in angular-codemirror overlay fix.
  Install add-apt-repository during AMI build
  Assume yes when adding PPA
  UUID will always be random
  Don't forget to install the PPA
  Fixed twiter js package. Now repo includes dist subdir.
  Fixing twitter js library
  Update to latest ubuntu-12.04 base AMI
  Include awx.min.js in sdist packaging
  Add 'npm install' task to the make process
  AC-564 implemented angular-codemirror to provide JSON/YAML syntax highlighting and linting in a full-screen editor.
  Fix issue AC-977 by including job_template in summary fields for job activity stream events
  Fixed a bug in Groups.js helper that blocked GroupsEdit, so you couldn't edit an existing group. Issue was Angular depenedency ineject was misaligned with function parameters.
  AC-725 Added tower version to app footer and license dialog. Refactored license dialog to use tabs rather than accordions. Fixed conflict between angular routes and TB tabs.
  ...
2014-02-18 14:04:51 -05:00
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
Chris Houseknecht
9652cd7333 AC-564 fixed a bug with CodeMirror editor and post dialog removal/cleanup. 2014-02-18 10:31:25 -05:00
Chris Houseknecht
633a9f6d61 AC-564 fixed a bug with CodeMirror editor and post dialog removal/cleanup. 2014-02-18 10:30:44 -05:00
Chris Houseknecht
9b8dcfb9dd AC-564 added new method to codemirror wrapper to enable replacing textarea fields with an editor. Implemented in inventory, groups, hosts, and templates. Solved issues with groups related to two potential textareas at the same time. Found and fixed an error in the way ReturnToCaller() utility was being called. Finished implementing angular-md5. Adding or saving a job template now shows a pop-up on save when a callback is enabled. The pop-up shows the callback url and host key. Before user had to save and then re-open the template to get the URL. With the pop-up we're now showing it immmediately on save. 2014-02-18 03:55:04 -05:00
Chris Houseknecht
55b574fa26 AC-564 added new method to codemirror wrapper to enable replacing textarea fields with an editor. Implemented in inventory, groups, hosts, and templates. Solved issues with groups related to two potential textareas at the same time. Found and fixed an error in the way ReturnToCaller() utility was being called. Finished implementing angular-md5. Adding or saving a job template now shows a pop-up on save when a callback is enabled. The pop-up shows the callback url and host key. Before user had to save and then re-open the template to get the URL. With the pop-up we're now showing it immmediately on save. 2014-02-18 03:50:36 -05:00
Chris Houseknecht
177080e43d Fixed broken links where ngHref is used in list objects. 2014-02-17 16:01:14 -05:00
Chris Houseknecht
b44b82dd52 Fixed js error post host edit save. 2014-02-17 15:50:42 -05:00
Chris Houseknecht
84f79d4342 Fixed menu bar height. After TB upgrade it was fixed at 50px. Moved back to 0 and let image height be dominant. Pulled in angular-codemirror overlay fix. 2014-02-17 15:04:23 -05:00
Chris Houseknecht
0b0140e385 Fixed twiter js package. Now repo includes dist subdir. 2014-02-17 13:33:22 -05:00
Chris Houseknecht
2f12dccf32 Fixing twitter js library 2014-02-17 13:27:29 -05:00
James Laska
2583bcb52c Include awx.min.js in sdist packaging
Resolves a problem where the recently renamed awx.min.js was not included in
packaging.
2014-02-17 13:06:49 -05:00
Matthew Jones
2c694e5e07 Some cleanup and documentation for zeromq implementation 2014-02-17 11:11:48 -05:00
James Laska
4df13d7e99 Add 'npm install' task to the make process
Also, clean up node_modules/ and other generated .js and .css files during
'make clean'.
2014-02-17 10:18:33 -05:00
Chris Houseknecht
cc9869b198 AC-564 implemented angular-codemirror to provide JSON/YAML syntax highlighting and linting in a full-screen editor. 2014-02-15 19:24:07 -05:00
Matthew Jones
e4d860e3dc Fix issue AC-977 by including job_template in summary fields for job
activity stream events
2014-02-14 09:48:34 -05:00
Chris Houseknecht
6a3e477c9a Fixed a bug in Groups.js helper that blocked GroupsEdit, so you couldn't edit an existing group. Issue was Angular depenedency ineject was misaligned with function parameters. 2014-02-13 19:52:37 +00:00
Chris Houseknecht
c77db691eb AC-725 Added tower version to app footer and license dialog. Refactored license dialog to use tabs rather than accordions. Fixed conflict between angular routes and TB tabs. 2014-02-13 19:01:17 +00:00
Chris Houseknecht
9aea64eb3f Fixed minor bugs lingering from package upgrades. Org lookup on User add page was throwing a js error. Flash message was not clearing on modal display. Store link was not working from modal button. 2014-02-13 16:19:21 +00:00
Chris Houseknecht
69b91afaf2 Fixed bugs from package upgrades. Updated all controllers to pass into form and list generators. Improved accordion styling. Refactored job status page. Tested using minified files and fixed build issues. 2014-02-13 03:04:27 -05:00
Chris Houseknecht
2fcb5a1ae4 More updates to contributing doc. Added Grunt to Makefile. Use lintjs to inspect .js files for lint and errors. Use minjs to compile and compress the .js and .less files. 2014-02-12 22:19:30 +00:00
Chris Houseknecht
3af771bca3 Fixed spacing issue in UI build script. 2014-02-12 22:07:06 +00:00
Chris Houseknecht
024264e87c Fixing missing less.js bits. 2014-02-12 21:20:33 +00:00
Chris Houseknecht
7df08907ea Fixing missing less.js bits. 2014-02-12 21:16:42 +00:00
Chris Houseknecht
5e5bd2dd3c Fixing missing twitter style sheets. 2014-02-12 21:12:43 +00:00
Matthew Jones
770947d18d Pull results off zeromq and distribute to workers 2014-02-12 16:09:57 -05:00
Chris Houseknecht
1f9de0e9eb Fixing missing twitter style sheets 2014-02-12 21:07:35 +00:00
Chris Houseknecht
a3e48849d8 Merge remote-tracking branch 'origin/javascript-cleanup'
Conflicts:
	awx/ui/static/js/helpers/Lookup.js
	awx/ui/static/js/helpers/PaginationHelpers.js
	awx/ui/static/js/helpers/related-search.js
2014-02-12 14:41:27 -05:00
Chris Houseknecht
e81d02885f AC-1006 upgraded all js libraries to latest release. Fixed obvious broken things. Installed bower to make package installation/upgrade easier. Added less to Grunt build. 2014-02-12 18:42:57 +00:00
Chris Church
3a5e2f4f1e AC-996 Don't try to use admin template since admin is disabled. 2014-02-11 15:19:51 -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
vagrant
d25e712e21 Finixhed applying jsHint linting to js files. Created initial Gruntfile.js build script and package.json script for keeping track of required node modules. 2014-02-11 04:52:15 +00: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