Commit Graph

  • 5500a5647d Changed 'failed jobs' to 'view failures' on Inventories tab -making it consistent with Hosts list. chouseknecht 2013-06-27 14:33:08 -04:00
  • a48f2cb236 Changed label on Inventories tab for has_active_failures to 'Failed Jobs?' chouseknecht 2013-06-27 14:30:19 -04:00
  • 760aa7bc2b Changed html page title to AnsibleWorks AWX and changed favicon to new style. chouseknecht 2013-06-27 14:23:11 -04:00
  • 652f7ceb7b Check /api/v1/me to determine if user can perform create/update/delete on Permissions. chouseknecht 2013-06-27 04:51:23 -04:00
  • 0277a2177c Replaced TB accordions with JQueryUI accordions. We now keep track of which accordions are open on each page. When the user navigates away and then comes back to a page, the accordions are restored. Accordion state is stored in the session cookie. chouseknecht 2013-06-27 03:37:42 -04:00
  • 453c13f116 On Permissions detail page, Permission radio button is now required and validation works correctly. chouseknecht 2013-06-26 12:14:21 -04:00
  • cfb638e8e1 Added awRequiredWhen directive. Make fields required only when an expression evaluates to true. Used on Permissions detail page to toggle Project required attribute based on permission type. chouseknecht 2013-06-26 12:03:10 -04:00
  • c649aedc8b Minor change to fix an issue with official rpm builds James Cammarata 2013-06-26 08:10:17 -04:00
  • 1a3fbcd796 Change for RPM packaging to allow daily dev builds James Cammarata 2013-06-26 07:33:09 -04:00
  • bf5a1d1d67 Added modified sdist command to distribute certain files as pyc only. Chris Church 2013-06-25 19:46:12 -04:00
  • a86ebc9221 Fixing release_ball Makefile target James Cammarata 2013-06-25 19:42:06 -04:00
  • 9342e01468 Permissions CRUD now functional within Users tab. chouseknecht 2013-06-25 15:35:57 -04:00
  • 07d151b8cb Add validation for permission serializer. Chris Church 2013-06-25 14:54:09 -04:00
  • 946492b023 Changes to build process to remove .py files James Cammarata 2013-06-25 14:30:40 -04:00
  • bb65f7556c Removed old path for inventory script. Chris Church 2013-06-25 11:43:26 -04:00
  • d9fb5d17a5 Support South migrations and Django management commands in .pyc files. Chris Church 2013-06-25 11:35:40 -04:00
  • 7943134168 Add radio button support to form-generator. Created permission list and permission add form. Form is currently accessible from User tab. chouseknecht 2013-06-24 23:26:53 -04:00
  • 13b8b68449 Failed jobs link on Inventories tab list now works. Clicking takes user to Jobs tab, filters jobs by Inventory ID and sorts by Status (so that failed jobs appear first in list). chouseknecht 2013-06-24 13:11:34 -04:00
  • cbc9f18366 More debian packaging stuff * Added ability to do official vs dev builds (need to add to the RPM builds now) * Reverted changes to awx/wsgi.py after talking with Chris C. regarding the pathing issues and created config/wsgi.py instead that is installed to /var/lib/awx * Cleaned up package scripts so there's less junk being written to the screen during the install/uninstall James Cammarata 2013-06-24 13:03:33 -04:00
  • f5869134b2 UI clean-up chouseknecht 2013-06-24 11:49:10 -04:00
  • 85ab582155 UI clean-up chouseknecht 2013-06-24 11:43:10 -04:00
  • 956b076e5b Updated wsgi.py to get the lib path from distutils.sysconfig * also re-added the WSGISocketPrefix line to the apache config, since that was broken on RHEL systems, however it is now changed to be in /var/run instead of just run (relative to the httpd root) which didn't work on Ubuntu systems. James Cammarata 2013-06-24 02:32:52 -04:00
  • 80afb2e08d More work on debian packaging James Cammarata 2013-06-24 01:16:00 -04:00
  • cbd64ee65d Include local versions of third-party dependencies, particularly those unavailable or outdated as OS packages. Chris Church 2013-06-23 21:04:55 -04:00
  • c2a0004c6c Initial work for packaging .deb James Cammarata 2013-06-23 15:40:07 -04:00
  • 07657926b9 Rename ansibleworks to awx. Chris Church 2013-06-23 13:21:02 -04:00
  • 2da6966f8d Added main readme, work on contributing doc. Chris Church 2013-06-23 11:50:46 -04:00
  • 28404dd8a6 Fix comment typos. Chris Church 2013-06-22 16:30:17 -04:00
  • d822287609 Updated to be compatible with Django 1.4.5, added tox settings for automated testing with Python 2.6/2.7 and Django 1.4/1.5. Chris Church 2013-06-22 16:27:09 -04:00
  • 939cbf31ef Fixed mislabeled help pop-overs chouseknecht 2013-06-21 18:11:30 -04:00
  • baad4bd7e6 Host Config Key field and checkbox are on the Job detail page as well. Jobs controller now pulls the values from the related job template -API does not expose the values on /jobs/N. chouseknecht 2013-06-21 18:03:27 -04:00
  • 8ef9c9ed0b Added Callback checkbox and Host Config Key field to Job Template. Also added button to generate a config key value using md5 hash. Added button to select-all on key so user can ctrl-c copy to clipboard. chouseknecht 2013-06-21 17:45:24 -04:00
  • 5495709a61 Project base path now displayed on Project detail page. Project path (the subdir under base path) is now selected from a drop-down. Using /api/v1/config to determine base path and drop-down values. Added help text pop-overs that should eliminate confussion around how to setup project directory structure. chouseknecht 2013-06-21 13:36:31 -04:00
  • d5705ffdd0 Latest UI changes. chouseknecht 2013-06-21 10:41:26 -04:00
  • 5851d678bb Style/label tweaks to Hosts section of Inventory detail page. chouseknecht 2013-06-20 15:30:25 -04:00
  • f0a0a69ec7 Makefile updates, updated requirement packages, added requirements files for both local and PyPI installations. Chris Church 2013-06-20 15:53:10 -04:00
  • b511b08014 Inventory variables now working chouseknecht 2013-06-20 15:20:52 -04:00
  • 4da0beb6e7 Tweaked modal dialog header. Made it not quite so overbearing. Still not happy with it though. chouseknecht 2013-06-20 13:45:37 -04:00
  • 89fe5c39e4 Changes to inventory detail page -improved display of has_active_failures, added variable data field. Fixed Teams organization lookup issue. Set production min js setting to False (leave set to False until we actually have minified js). chouseknecht 2013-06-20 13:25:14 -04:00
  • 1d3bd62bd2 Update callback plugin to use API, remove inventory/callback management commands. Chris Church 2013-06-20 12:44:51 -04:00
  • 59d1ae7322 Work in progress on inventory script using API. Chris Church 2013-06-20 04:20:48 -04:00
  • 65defb75fb Modal dialog button color tweaks chouseknecht 2013-06-19 17:20:35 -04:00
  • 7303107450 Modified styling of modal dialog. chouseknecht 2013-06-19 17:12:50 -04:00
  • 15b720b42b Link from Inventories tab, hosts, Failed events now redirects to /jobs/N/job_events?host=<host_name>, displaying most recent job events for the host. chouseknecht 2013-06-19 15:20:23 -04:00
  • 6b8deab753 Job Event detail is now displayed in a modal dialog. Inside all modal dialogs displaying a form, reduced amount of space given to field labels and expanded amount of space given to text area fields. chouseknecht 2013-06-19 13:03:17 -04:00
  • 11e16dfdfc Fixed additional pagingation issues. Should be good now. chouseknecht 2013-06-19 11:18:56 -04:00
  • 7392e59f3b Fixed pagination issue that generated broken URL request. chouseknecht 2013-06-19 10:46:23 -04:00
  • 964a523daf Limited filter on Job Events page to only those fields that make sense: Host and Status chouseknecht 2013-06-19 10:22:23 -04:00
  • 85a483a6fb Update API/admin to accept either JSON or YAML for inventory/host/group variables. Chris Church 2013-06-19 01:39:34 -04:00
  • 9c6a20d4c7 On Job Events page, Event and Host columns now have a min-width css setting to help prevent 'jump' when collapsing/expanding children. Fixes the jump, but sort of wrecks the TB's responsive layout on small screens. May have to circle back and add media query at some point. chouseknecht 2013-06-18 18:33:16 -04:00
  • 9d4a2f528e Fixed missing host and status values on Job Events page. chouseknecht 2013-06-18 18:12:28 -04:00
  • 2abd33cf22 Collapse/expand job_events list using the api parent/child relationship chouseknecht 2013-06-18 17:20:25 -04:00
  • c9da8294df Fix to only specify sudo user if explicitly given by the credentials, so as not to force the playbook to require sudo privileges to run. Chris Church 2013-06-17 19:48:09 -04:00
  • 0dbb737f20 Added setting for using minified JS in production. Chris Church 2013-06-17 12:31:26 -04:00
  • 232c4f2391 Added job event parent/child fields, update event display to show hierarchy levels. Chris Church 2013-06-17 12:28:21 -04:00
  • c979817593 On lists searchField now has precedence over sourceModel/sourceField when generating search query string. chouseknecht 2013-06-17 11:40:51 -04:00
  • f9b385bed2 Fix tests to pass when using PostgreSQL as the test database. Chris Church 2013-06-16 00:06:56 -04:00
  • ca4050aee8 Adding ability to run "make rpm" James Cammarata 2013-06-15 04:10:11 -04:00
  • c6cb86321e Renaming some views for somewhat consistent naming, add hosts/N/groups and hosts/N/all_groups views, removed creation_date field from seralizers. Chris Church 2013-06-15 00:16:56 -04:00
  • e435951fe4 Added config resource with project base dir and local paths, various other API cleanup. Chris Church 2013-06-14 23:15:31 -04:00
  • abd81b7492 Added variable data field and resource on inventory. Updated inventory script to output inventory variables for the 'all' group. Chris Church 2013-06-14 20:09:55 -04:00
  • d47ea40d60 Re-styled tree pieces on Inventory detail page. Blended boxes on left into one continuous box to match box on right. chouseknecht 2013-06-14 15:16:41 -04:00
  • 0cf6faaff4 Added use of new Column helper to BuildCollections. chouseknecht 2013-06-14 14:52:13 -04:00
  • 6ea2fa4462 Combined more pieces of List Generator and Form Generator into shared helpers to streamline and re-use code for creating lists. chouseknecht 2013-06-14 14:48:22 -04:00
  • ab9b9f84c5 Synced code between list view and related list view. Column displaying icon with text rather than actual value (i.e. true/false for has_active_failures) works consistently. Changed icon and text for our has_active_failures column -preparing it to link to hosts/N/job_events data. chouseknecht 2013-06-14 12:17:31 -04:00
  • 703bc0fca1 Latest UI changes chouseknecht 2013-06-14 10:08:13 -04:00
  • c526f58098 Updates to work with REST framework 2.3.x, update browseable API style to mimic UI. Chris Church 2013-06-14 04:13:34 -04:00
  • e5737cae46 Inventories tab list shows Failures. Added Failures to detail form. chouseknecht 2013-06-13 16:15:39 -04:00
  • 6806619e98 On inventory tree widget, has_active_failures turns node text color to red. Checkbox at bottom filters nodes based on value of has_active_failures. chouseknecht 2013-06-13 16:08:17 -04:00
  • 365a21f103 Added has_active_failures as database field on Inventory, Group and Host models. Chris Church 2013-06-12 23:57:30 -04:00
  • 6557fb33f3 Updated inventory script to only return active groups and active hosts for active inventories. Chris Church 2013-06-12 22:37:25 -04:00
  • 6f43190b2b Fixup makefile Michael DeHaan 2013-06-12 16:13:23 -04:00
  • 614607fd0e Added has_active_failures to Hosts view under Inventory detail. There is now a Failures column. A red dot (icon-circle) displays for hosts where has_active_failures == true, otherwise the column is empty. chouseknecht 2013-06-12 16:12:07 -04:00
  • 3bb0323b02 Applied list search widget changes (dropdown, boolean, int, etc) to related sets search widget. Fixed desc sort order and desc sort icon display for related set page load. Added job status with icon and color styling to Job Templates related jobs. chouseknecht 2013-06-12 14:57:39 -04:00
  • 4ac2a98eda Fixed list generator to display the desc icon when list key has desc attribute. See jobs tab for example. When first loaded, the jobs list is sorted by job id in desc order, so the desc sort icon now displays in the job id column header. chouseknecht 2013-06-12 11:52:10 -04:00
  • e1d714a335 Fixed extra_vars on job_templates and jobs detail pages. No longer attempts to compile string into a JSON object. Assumes user will enter valid JSON or key=value pairs. Updated help text to reflect this and link to ansibleworks.com documentation on --extra-vars parameter. chouseknecht 2013-06-12 11:10:16 -04:00
  • c8c9e62b4c Added YAML support to Host and Group variable data. User can enter variables in either format, UI will parse it and send to API as JSON. Fixed post to /hosts/N/variable_data and /groups/N/variable_data so that JSON is sent as an object rather than a string. chouseknecht 2013-06-11 17:23:08 -04:00
  • 65c8176507 Added tarballs for third-party Python dependencies, updated requirements, added optional django-debug-toolbar support. Chris Church 2013-06-10 21:54:42 -04:00
  • bbdfe8bc46 Minor fix for host has_active_failures field, indentation on custom_filters file. Chris Church 2013-06-10 21:51:34 -04:00
  • 49ca140e30 Set DEBUG back to True chouseknecht 2013-06-10 18:37:58 -04:00
  • 9e9e41db35 Script for building minified javascript using closure compiler chouseknecht 2013-06-10 18:31:17 -04:00
  • cba55a061a Numerous model-related updates and supporing changes, including: - Add variables field on Host/Group models and remove separate VariableData model. - Add data migrations for existing variable data. - Update views, serializers and tests to keep roughly the same API interface for variable data. - Add has_active_failures properties on Group/Host models to provide indication of last job status. - Add job_tags field on JobTemplate/Job models to specify tags to ansible-playbook. - Add host_config_key field to JobTemplate model for use by empheral hosts. - Add job_args, job_cwd and job_env fields to Job model to capture more info from running the job. - Add failed flag on JobHostSummary model. - Add play/task fields on JobEvent model to capture new context variables from callback. - Add parent field on JobEvent model to capture hierarchy of job events. - Add hosts field on JobEvent model to capture all hosts associated with the event (especially useful for parent events in the hierarchy). - Removed existing Tag model, replace with django-taggit instead. - Removed existing AuditLog model, replacement TBD. Chris Church 2013-06-10 17:21:04 -04:00
  • 7b0bbff376 Added Datatables.net style sorting to all lists and related lists chouseknecht 2013-06-07 16:50:07 -04:00
  • e58e80bbad All tables (lists and related lists) hightight current row on hover. Hover over a row and the background turns white. chouseknecht 2013-06-06 19:14:04 -04:00
  • 9a98b4f573 Cleaned up verbosity drop down options to match AC-104. Applied all Job Template changes to Job detail page. chouseknecht 2013-06-06 18:50:45 -04:00
  • 9373fbca61 Inventory clean up. Found a couple bugs when adding existing hosts to a group. chouseknecht 2013-06-06 18:16:13 -04:00
  • 5ca6910612 Dismiss tool tip dialog when escape key is pressed. chouseknecht 2013-06-06 17:50:00 -04:00
  • ca4e85bb09 Added tool tips to job type, forks, limit and verbosity fields on Job Templates detail page. chouseknecht 2013-06-06 17:29:01 -04:00
  • 47595e67f0 On Job Template add page, move slider handle back to default value if Reset button clicked. chouseknecht 2013-06-06 15:06:28 -04:00
  • 93e9c7a24d Created an Angular slider directive to support JQueryUI slider widget. Job Template page now uses a slider for Forks value. User can set the value with the slider or type in a value btwn 0 and 100. Additionally turned verbosity into a drop-down. chouseknecht 2013-06-06 15:01:23 -04:00
  • c7748999d8 Supplied missing labels and button tool-tips on related sets. chouseknecht 2013-06-05 16:25:15 -04:00
  • 933ebbb8b6 Removed Hint from Users tab, since users can now be added directly rather than navigating through the Organizations tab. chouseknecht 2013-06-05 16:17:37 -04:00
  • 5a22f3b955 Applied change to all list controllers to remove success class after page refresh. If the list was previously used to make a selection, there won't be any remnants or reminders of the selection next time the list is visited. chouseknecht 2013-06-05 16:13:25 -04:00
  • 135d4db94b Users can now be added from the Users tab. chouseknecht 2013-06-05 15:02:27 -04:00
  • 69a6fc75fb Moved Credentials related set to the top. The is the one set user can modify, so lets make easier to access. chouseknecht 2013-06-05 10:29:45 -04:00
  • a33d90de83 Added support for button labels and tool tips on related sets. chouseknecht 2013-06-05 10:26:53 -04:00
  • 540ad1ad47 Clicking host name on Inventory detail page now works correctly. Host is displayed in a modal dialog, allowing user to make changes and save. chouseknecht 2013-06-05 09:57:05 -04:00
  • 6dba6bbdb9 Fixed organization lookup on Inventory Edit section of Inventory detail page. chouseknecht 2013-06-04 19:19:44 -04:00
  • 2accb94972 Hosts side of inventory detail page now working through modal dialogs. Fixed pagination on modal list. Test Add/Edit/Delete host buttons. Only piece left is to fix the host name link, which should bring up the Edit dialog. chouseknecht 2013-06-04 19:12:28 -04:00
  • 4575faf831 Tree drop-down menu now works. Right clicking node and selecting menu option now fires modal dialogs. Using same code as buttons near top-right corner of tree. Clean-up code for deleting a node. It now correctly inspects parenet of selected node and uses either /inventory/N/groups or /groups/N/children to POST the disassociate request. chouseknecht 2013-06-04 11:31:45 -04:00