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

591 Commits

Author SHA1 Message Date
chouseknecht
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. 2013-06-12 11:52:10 -04:00
chouseknecht
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. 2013-06-12 11:10:16 -04:00
chouseknecht
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. 2013-06-11 17:23:54 -04:00
Chris Church
65c8176507 Added tarballs for third-party Python dependencies, updated requirements, added optional django-debug-toolbar support. 2013-06-10 21:54:42 -04:00
Chris Church
bbdfe8bc46 Minor fix for host has_active_failures field, indentation on custom_filters file. 2013-06-10 21:51:44 -04:00
chouseknecht
49ca140e30 Set DEBUG back to True 2013-06-10 18:37:58 -04:00
chouseknecht
9e9e41db35 Script for building minified javascript using closure compiler 2013-06-10 18:32:52 -04:00
Chris Church
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.
2013-06-10 17:34:37 -04:00
chouseknecht
7b0bbff376 Added Datatables.net style sorting to all lists and related lists 2013-06-07 16:50:07 -04:00
chouseknecht
e58e80bbad All tables (lists and related lists) hightight current row on hover. Hover over a row and the background turns white. 2013-06-06 19:14:04 -04:00
chouseknecht
9a98b4f573 Cleaned up verbosity drop down options to match AC-104. Applied all Job Template changes to Job detail page. 2013-06-06 18:50:45 -04:00
chouseknecht
9373fbca61 Inventory clean up. Found a couple bugs when adding existing hosts to a group. 2013-06-06 18:16:13 -04:00
chouseknecht
5ca6910612 Dismiss tool tip dialog when escape key is pressed. 2013-06-06 17:50:00 -04:00
chouseknecht
ca4e85bb09 Added tool tips to job type, forks, limit and verbosity fields on Job Templates detail page. 2013-06-06 17:29:01 -04:00
chouseknecht
47595e67f0 On Job Template add page, move slider handle back to default value if Reset button clicked. 2013-06-06 15:06:28 -04:00
chouseknecht
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. 2013-06-06 15:01:23 -04:00
chouseknecht
c7748999d8 Supplied missing labels and button tool-tips on related sets. 2013-06-05 16:25:15 -04:00
chouseknecht
933ebbb8b6 Removed Hint from Users tab, since users can now be added directly rather than navigating through the Organizations tab. 2013-06-05 16:17:37 -04:00
chouseknecht
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. 2013-06-05 16:13:25 -04:00
chouseknecht
135d4db94b Users can now be added from the Users tab. 2013-06-05 15:02:27 -04:00
chouseknecht
69a6fc75fb Moved Credentials related set to the top. The is the one set user can modify, so lets make easier to access. 2013-06-05 10:29:45 -04:00
chouseknecht
a33d90de83 Added support for button labels and tool tips on related sets. 2013-06-05 10:26:53 -04:00
chouseknecht
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. 2013-06-05 09:57:05 -04:00
chouseknecht
6dba6bbdb9 Fixed organization lookup on Inventory Edit section of Inventory detail page. 2013-06-04 19:19:44 -04:00
chouseknecht
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. 2013-06-04 19:12:28 -04:00
chouseknecht
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. 2013-06-04 11:32:21 -04:00
Chris Church
ec986f4ebe Fix for root groups to actually show only the groups with no parents. 2013-06-04 11:17:23 -04:00
chouseknecht
a29e60b533 Tree refresh is working for the Group Add and Group Edit buttons. Tree is refreshed and opened back to the previously selected node and the host view is left in the correct state. 2013-06-03 18:05:34 -04:00
chouseknecht
eca7b3888f Inventory add/edit/delete group buttons now working. Inventory detail form now maintains values independently so common fields such as Name and Description do not get overridden by Group Add/Edit modal dialog. 2013-06-03 12:59:35 -04:00
chouseknecht
b19e1dd97a Moved inventory detail load procedure from inventory controller to the helper so that it can be called when the detail page first loads and anytime we need to refresh tree data. Working on a way to refresh tree data, re-open previously open nodes and re-select previously active node after add/edit/delete of a group. Any change to tree data should be instantly reflect in the tree in an ajax/async fashion. 2013-06-03 07:08:08 -04:00
chouseknecht
9ca489d5ab Inventory UI changes. Added action buttons to tree. Removed All Hosts group from tree (click on Inventory root node to see All Hosts). Added Create/Select buttons to hosts list. Preparing to move group/host views to modal dialog. 2013-05-31 23:02:18 -04:00
chouseknecht
e121235ba9 Latest inventory detail page modifications. 2013-05-30 18:12:36 -04:00
chouseknecht
f16f41fc99 Inventory detail page changes. Added accordion. Added custom theme to tree. Fixed tooltips. Added button labels. 2013-05-30 14:58:16 -04:00
Chris Church
4fae801355 Bumped version number, updated settings and playbook to add support for logging via syslog. 2013-05-30 01:02:43 -04:00
Chris Church
40dd9b08be Added error handling views and templates, added setting to log request errors to a file. 2013-05-28 14:11:19 -04:00
chouseknecht
e61a966464 Added tooltips to host/group/extra variables using TB popover. Fixed bugs on Inventory detail page causing js errors. Added JSON validation to extra_vars on Job Templates add/edit page. Always grey-out/disable fields on Jobs detail page because upading a Pending job throws a 405 error -will investigate with CC later. 2013-05-27 13:18:15 -04:00
chouseknecht
2a0f528954 Added 'Loading...' message to all lists and sublists. 2013-05-26 23:36:54 -04:00
Michael DeHaan
9e519400bc Don't install PyYAML as ansible already will have. 2013-05-26 12:47:37 -04:00
Michael DeHaan
95ce3cddf7 Rename directory structure in release package. 2013-05-26 11:01:00 -04:00
chouseknecht
2947c03adb Add a re-run button to Jobs page. 2013-05-25 00:13:34 -04:00
Michael DeHaan
13ccb6fbdf Add makefile target to build release package, assumes ansible-doc checked out at same level. 2013-05-24 19:22:12 -04:00
Chris Church
c71a04dfb0 Minor fix to migration cleanup target. 2013-05-24 18:12:20 -04:00
Chris Church
c0aaff7850 Cleaned up migrations, updated Makefile migrate target to handle this change. 2013-05-24 17:55:03 -04:00
chouseknecht
aa9b4741dc Completed requested changes to Host Summary page. 2013-05-24 13:21:55 -04:00
chouseknecht
007db3435d Latest UI changes. More tweaks to related set buttons and styling. 2013-05-24 12:28:34 -04:00
chouseknecht
ef16ec55f1 On related sets, moved create button near filter widget and added labels to all buttons. 2013-05-24 12:10:03 -04:00
chouseknecht
fd25d68ffe Fixed login dialog so that it now submits when Enter pressed in password field. Fixed more button more button labels. 2013-05-24 09:55:52 -04:00
chouseknecht
b4709c5138 Latest UI changes. Add button labels on all pages. 2013-05-24 07:43:55 -04:00
Michael DeHaan
8b919b666f README.md is gone so tweak setup. 2013-05-23 13:36:59 -04:00
Michael DeHaan
ab0fafa5a7 Some doc updates, don't mention vagrant 2013-05-23 13:20:50 -04:00