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

1536 Commits

Author SHA1 Message Date
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
Chris Houseknecht
5cb6c22fc8 Fixed inventory sync status dialog to use jqueryui dialog- making it draggable and resizable. 2014-02-04 16:59:19 +00:00
Chris Houseknecht
6c2b8358a0 Fixed 'empty directory' warning on project detail page. The styling was off, and it was incorrectly displaying when scm_type was to empty. 2014-02-03 23:20:33 +00:00
Chris Church
32364ad055 AC-990 Add new task for saving all job events from a queue, updated callback plugin to send to queue, work on optimizing SQL that runs when saving a job event. 2014-02-03 17:05:03 -05:00
Chris Houseknecht
88dc25fc15 Fixed support links. 2014-02-03 21:46:16 +00:00
Chris Houseknecht
7ecc382a71 AC-595 stop translating object name in breadcrumbs. 2014-02-03 14:59:30 -05:00
James Laska
df9be04a20 Require LICENSE_TIER to specify the license filename
Previously, LICENSE_TIER was used to generate the license file by appending
'.json'.
2014-02-03 13:52:00 -05:00
James Laska
ab7c65df1d Add official ansible-tower-1.4.5 AMI license files
Update Makefile syntax to no longer generate the license as a build step.  In
addition, updated ansible-tower.json to provide a more descriptive ami_name and
ami_description.
2014-02-03 13:24:40 -05:00
Chris Houseknecht
57fdacb242 AC-997 enable activity stream for non-privileged users. 2014-02-03 12:25:21 -05:00
Matthew Jones
9b67b575f1 Fix issue AC-1002, make sure we return a count of the number of inventories with active failed jobs 2014-02-03 06:11:51 -05:00
Chris Houseknecht
47ad240b99 AC-997 enable activity stream for non-privileged users. 2014-02-03 10:31:10 -05:00
Chris Houseknecht
926ec500e2 Inventory help- turned resizable off on modal dialog. Fixed compilation error. 2014-01-31 17:35:44 -05:00
Chris Houseknecht
763ed5241d Latest changes to Inventory help. Re-styled dialogs. Fixed presentation so that Next and Previous are possible. Added close button. 2014-01-31 17:32:22 -05:00
Matthew Jones
a21332a2d4 Fix AC-969, Convert variables element in changes dictionary from json representation 2014-01-31 10:59:06 -05:00
Matthew Jones
77e77d905a Fix AC-1004, Instead of using serializers.Field() which will force a repr() of the object... use serializers.PrimaryKeyField() which will use the expected field type for the response 2014-01-31 10:34:02 -05:00
Matthew Jones
867c22c36c Fix AC-981, mark last_job* fields as read only on the host serializer so activity stream will ignore them when processing events 2014-01-31 09:04:07 -05:00
Matthew Jones
bb0a2887d5 Fix AC-998, Don't set created_by on the object when updating the object (only when creating). activity stream will save modifications and who made them 2014-01-31 07:00:21 -05:00
Matthew Jones
380f6c6d6f Fix AC-1001, hide BROKER_URL from the job_env section of task api data 2014-01-31 05:17:26 -05:00
Chris Houseknecht
cbc0d7a8ad Fixed bug in Capitalize directive. Fixed issues found with jsLint. 2014-01-31 05:19:42 -05:00
Chris Houseknecht
183cbde1bc Add missing 'use strict' directive. 2014-01-31 04:27:56 -05:00
Chris Houseknecht
6cbd2beb7a AC-602 last bit of help changes. 2014-01-30 16:43:42 -05:00
Chris Houseknecht
c81fa0d285 AC-976, AC-1000, AC-602 2014-01-30 15:23:49 -05:00
Matthew Jones
bc6ec06d8f Rollback and retry the task update status. Disable default idle timeouts on certain tasks 2014-01-30 15:09:49 -05:00
Matthew Jones
b226737ec5 Handle database errors and retry 2014-01-30 14:00:49 -05:00
Matthew Jones
a85e109da7 Merge remote-tracking branch 'origin/celery-refactor'
* origin/celery-refactor: (33 commits)
  Fix spelling mistake
  Jobs begin in the waiting state
  Don't raise an exception at the end of a task if we are running unit tests
  Enable canceling on certain levels.... fix up some unit tests
  Check for invalid tasks and mark created tasks as failed when constructing task chains
  Fix merge spacing from conflicted merge
  Fix some bugs and show more error detail on a current task when a previous task fails
  Leave another TODO on the job runner, fix a misspelling on the project update hook
  Initial work towards the celery refactor... adjusting logic to allow building a worker chain... temporarily relax requirements on status checks
  Remove 'awx-' prefix when reporting version
  Explicitly include the egg-info in rpm packaging
  Fixing store references to point to http://www.ansible.com/ansible-pricing
  Update make develop command, version check after package rename.
  AC-992 Fix inventory import tests.
  AC-967 Fixed job name in the host status fly-out. Text now wraps rather than extending beyond boundaries of pop-over. Removed status label- just show red/green dot. Clicking on ID or red/green dot shows the status dialog. When dialog closes the window.resize() watcher is restored.
  AC-976 now using custom javascript to apply ellipsis to long group and host names. Fixed indes.html title.
  Fix ansible-tower deb build
  Rename package awx to ansible-tower
  AC-976 add job template name to activity stream
  AC-979 using activity stream object arrays correctly. AC-980 fixed Action label on detail dialog.
  ...
2014-01-30 11:59:17 -05:00
Matthew Jones
28359e16a1 Fix spelling mistake 2014-01-30 11:41:06 -05:00
Matthew Jones
32220405de Jobs begin in the waiting state 2014-01-30 11:40:20 -05:00
Matthew Jones
bf8c4b289a Don't raise an exception at the end of a task if we are running unit tests 2014-01-30 11:36:54 -05:00
Matthew Jones
280527f993 Enable canceling on certain levels.... fix up some unit tests 2014-01-30 10:54:54 -05:00
Matthew Jones
6afc584a4f Check for invalid tasks and mark created tasks as failed when constructing task chains 2014-01-30 01:19:49 -05:00
Matthew Jones
6ff98d87e9 Fix merge spacing from conflicted merge 2014-01-30 01:04:17 -05:00
Matthew Jones
82b692be9c Merge remote-tracking branch 'origin/master' into celery-refactor
* origin/master: (28 commits)
  AC-995 fixed typo and added extra error handling in case we actually cannot parse inventory variables. If that does happen, we now alert the user and keep the application stable and running.
  Use supervisorctl when restarting celeryd on Ubuntu
  Revert custom supervisor initscript
  fix for the small viewport issue (https://www.dropbox.com/s/dmf4aixfv7k67cm/Screenshot%202014-01-29%2015.19.52.png) where group name div gets pushed to a new line.
  Fixed AS widget breadcrumb links
  AC-977 Fixed raw html showing up in Action field on detail dialog. Added a subtitle on the AS widget. On inventory groups/host page the subtitle explains what activities are being displayed, and only activities realted to the selected group (on the inventory page) are displayed. If All Hosts selected, then all activities for all groups related to the current inventory are displayed. Also, brought back activity stream button for inventory hosts.
  During AMI boot, use custom initscript name
  Update tower-setup filename used in AMI build
  AC-578 - Add custom supervisor initscript on ubuntu
  Remove 'awx-' prefix when reporting version
  Explicitly include the egg-info in rpm packaging
  Fixing store references to point to http://www.ansible.com/ansible-pricing
  Update make develop command, version check after package rename.
  AC-992 Fix inventory import tests.
  AC-967 Fixed job name in the host status fly-out. Text now wraps rather than extending beyond boundaries of pop-over. Removed status label- just show red/green dot. Clicking on ID or red/green dot shows the status dialog. When dialog closes the window.resize() watcher is restored.
  AC-976 now using custom javascript to apply ellipsis to long group and host names. Fixed indes.html title.
  Fix ansible-tower deb build
  Rename package awx to ansible-tower
  AC-976 add job template name to activity stream
  AC-979 using activity stream object arrays correctly. AC-980 fixed Action label on detail dialog.
  ...

Conflicts:
	awx/ui/static/js/controllers/Inventories.js
	awx/ui/static/js/lists/InventoryHosts.js
	awx/ui/static/js/widgets/Stream.js
2014-01-30 01:00:00 -05:00
Chris Houseknecht
e2aef64a4d AC-995 fixed typo and added extra error handling in case we actually cannot parse inventory variables. If that does happen, we now alert the user and keep the application stable and running. 2014-01-29 19:58:46 -05:00
Chris Houseknecht
82aa0ac85d fix for the small viewport issue (https://www.dropbox.com/s/dmf4aixfv7k67cm/Screenshot%202014-01-29%2015.19.52.png) where group name div gets pushed to a new line. 2014-01-29 18:19:13 -05:00
Chris Houseknecht
9d8c124817 Fixed AS widget breadcrumb links 2014-01-29 17:06:53 -05:00