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

1588 Commits

Author SHA1 Message Date
Chris Houseknecht
bb67020c30 Fixed buttons on inventory help dialog. The Prev button never enabled and Next button never disabled. 2014-03-06 11:22:35 -05:00
Chris Houseknecht
a63b9e661b Fixed pagination column sizing. As screen shrinks the page number now remains right justified. 2014-03-06 10:51:22 -05:00
James Laska
02a4ff1c36 Disable grunt color output when called from a non-interactive shell
The grunt command is still configurable via the GRUNT environment variable.  By
default, we disable colored output when we detect the shell is non-interactive.
This improves reviewing output when run from automation.
2014-03-06 09:39:20 -05:00
James Laska
4dcc6938dd Allow customizing grunt cli options
Automation can now set GRUNT to provide a path to a specific grunt binary, or
to add grunt parameters.  For example, to disable color output during a Jenkins
build:

    GRUNT="grunt --no-color" make lintjs
2014-03-06 08:56:02 -05:00
Chris Houseknecht
93bd1d859a AC-1065 in anticipation of potentially having to sort the keys of any incoming json variable objects, consolidated the variable handling code into a single helper. Anytime variable data is fetched from the API it gets passed to the helper and turned into a YAML doc. The helper checks the incoming data type for string or object. If string it first attempts to parse as YAML. If it fails, then tries JSON. If no joy, fails gracefully, logging the error and notifying the user. Anytime variables need to be sent to the API, a method in the helper is called to parse the variable text into a JSON object. 2014-03-05 18:13:49 -05:00
Chris Houseknecht
1ba917afaf AC-1035 UI now supports stringified YAML coming from the API on Job Template. 2014-03-05 15:49:16 -05:00
Chris Houseknecht
10e85b50b1 Found an issue when deleting multipkle credentials. First delete worked fine. Second delete left the overlay hiding the page. Seems the .off() option on bootstrap modal no longer works as expected. 2014-03-05 14:13:17 -05:00
Chris Houseknecht
cda1a8bd10 After fixes to app footer, the footer background color was off. Fixed. 2014-03-05 13:32:53 -05:00
Chris Houseknecht
15e6b5a25f Fixing tooltips. Fixed now. 2014-03-05 13:28:56 -05:00
Chris Houseknecht
1579ce0b29 Fixing tooltips. They stopped working. It seems that twitter bootstrap requires jqueryui to be loaded. We were inlcluding after bootstrap. 2014-03-05 13:26:19 -05:00
Chris Houseknecht
bc6edeb65c Fixed site footer unhappiness. The footer sometimes had a bottom margin. Slimmed the footer down as well. Made sure it looks good down to phone size. 2014-03-05 11:14:03 -05:00
Chris Houseknecht
770eab8af1 Fixed column sizing centering of username/password on login dialog. Form now remains horizontal down to xs screen size. 2014-03-05 09:58:48 -05:00
Chris Houseknecht
b8eb7c51b6 AC-1024 Hosts deletes now work as described in the ticket. Removing a host from a group removes it from the selected group and its children. Removing a host from a group does still leave it in All Hosts, and this is explained in the dialog prompt. Removing it from All Hosts permanently deletes it, again explained in the dialog prompt. 2014-03-05 00:28:37 -05:00
Chris Houseknecht
dc376c1c40 AC-1070 creating new credential fails. 2014-03-04 19:06:16 -05:00
Matthew Jones
d176466ccc Fix a customer issue in HEAD. We should catch OSError here instead of IOError 2014-03-04 15:43:49 -05:00
Chris Church
16d9af6945 Updated browseable API footer text/links. 2014-02-27 09:25:46 -05:00
Chris Church
52282cba50 Update ansible documentation links in browseable API help. 2014-02-27 09:08:44 -05:00
Chris Church
316f34f3f7 AC-473 Quote all parameters passed to source control tasks. 2014-02-26 23:12:38 -05:00
Chris Church
8e61d17cb4 Updated zeromq callback to receive callback port via environment variable. Changed production, development and unit tests to all use different ports/queues for the callback. 2014-02-26 14:11:59 -05:00
Matthew Jones
78bba13bbb Merge pull request #8 from jlaska/rhel7_support
Add rhel7 support to setup playbook
2014-02-26 11:37:15 -05:00
James Laska
41d4a6e717 Correct md syntax 2014-02-26 10:51:13 -05:00
James Laska
e8d6d69fff Doc updates and add release_process.md 2014-02-26 10:48:34 -05:00
James Laska
d9d8fbd432 Bump version to 1.4.8
Update README.md with previous release information.
2014-02-26 08:42:17 -05:00
James Laska
a4257e207c Create package.json during build target
Rather than hard-code the name and version in package.json, generate the file
during the build process.  The strings %NAME% and %VERSION% will be replaced
with appropriate values during a new build target 'package.json'.
2014-02-26 08:39:41 -05:00
Chris Church
0462bb3f3f AC-1061 Removed my test exception raised in the inventory script. 2014-02-25 18:49:30 -05:00
Chris Church
a18b9e2270 AC-1061 Fix inventory script to return dict with failed flag when there is an error instead of an empty dict so that ansible-playbook will propagate the error message. 2014-02-25 17:11:04 -05:00
Matthew Jones
a1ec54920f Small fix to license expire time check 2014-02-25 14:53:58 -05:00
Chris Church
8c9a98befc AC-406 Added support for importing inventory host patterns/ranges from INI files. 2014-02-22 16:23:11 -05:00
Matthew Jones
43491721b6 Fix issue AC-1008... not checking license expiration when running import inventory 2014-02-21 11:40:04 -05:00
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