chouseknecht
32573ab013
Jobs page cosmetic fixes. Fixed pagination/search issue causing current page # to be incorrect.
2013-05-19 19:05:26 -04:00
chouseknecht
6b881a58bf
Job detail page now working. Form generator now supports 2 column layout and a status fields section.
2013-05-19 18:55:13 -04:00
chouseknecht
f409db7778
Latest UI changs. First iteration on Jobs page.
2013-05-19 15:05:03 -04:00
chouseknecht
14bc3c02f8
Updated playbook select on Job Template add page. Playbook selection working.
2013-05-17 16:18:27 -04:00
chouseknecht
4abe92a7a6
Playbook select list finally works on edit. Woot\!
2013-05-17 16:14:33 -04:00
chouseknecht
94ff36b62f
All select pages now have clickable rows. The checkbox is still present and will e toggled along with row color. Fixed the typ-o on User select page.
2013-05-17 07:55:17 -04:00
chouseknecht
0f4a4b6cb9
Key column on a list view is now clickable -taking you to the detail page. Moved action buttons to top of page next to search widget. Added finishing touches to job submission on job_templates list view.
2013-05-17 06:38:37 -04:00
chouseknecht
66f93364b1
No longer create\/execute job when template is saved. Execute job from list view by clicking 'play' button. Prompts for missing credential and all required password.
2013-05-17 00:17:28 -04:00
Chris Church
ac172928f8
Added job_events and job_host_summaries for groups.
2013-05-16 21:59:58 -04:00
Chris Church
602fce73e4
Removed failing organization test (since we no longer return a 409).
2013-05-16 19:53:29 -04:00
chouseknecht
6ab9878e65
Latest job template UI changes. Template edit working. Need to add job submission steps and fix playbook initial value on edit page.
2013-05-16 13:00:17 -04:00
Michael DeHaan
d1ba197126
Add a test to show you can create a new host by posting to a groups host list.
2013-05-15 18:40:34 -04:00
Michael DeHaan
ddf10251cc
Fix some issues when creating a new object and posting to a subcollection. Tested with groups.
...
Also removed some dead code.
2013-05-15 18:31:32 -04:00
chouseknecht
1bc85f608c
Latest inventory tree updates. Now using root_groups to retrieve top-level inventory groups. Ajax group load now works -hosts and subgroups loading. Need to add sorting, but all works.
2013-05-15 17:24:49 -04:00
chouseknecht
01ec33ec8f
Removed refernces to jquery-ui. Was going to use spinner, decided not too. Will likely conflict with Angular directives for form validation.
2013-05-15 12:59:03 -04:00
chouseknecht
86bd91dfb8
Directives integer, min, max, and awlookup now working. Lookups now allow user to enter a value, the name is validated, and capitalization is corrected.
2013-05-15 12:59:00 -04:00
Chris Church
b3615465d1
Renamed _get_queryset in new inventory view to reflect filtering updates.
2013-05-14 19:18:28 -04:00
Chris Church
7183549289
Moved queryset filtering/ordering out of BaseList into the CustomFilterBackend. Added job_host_summaries sublists for jobs and hosts, add detail view for job host summary, with tests.
2013-05-14 19:17:17 -04:00
Michael DeHaan
5c6895e606
Correct some things in the README
2013-05-14 18:47:53 -04:00
Michael DeHaan
09252d5c1d
Replace COPYING document
2013-05-14 18:45:38 -04:00
Michael DeHaan
b83e70b09a
Remove various license headers. License was changed to proprietary previously so fix up headers.
2013-05-14 18:44:02 -04:00
Michael DeHaan
72fbb6c3a3
Add inventory root groups to related resources.
2013-05-14 18:38:32 -04:00
Michael DeHaan
5b65b3bfac
Add code that allows getting just the root groups for an inventory.
2013-05-14 18:28:13 -04:00
Chris Church
e528ede913
Disable transaction middleware when starting jobs via the API (only for tests).
2013-05-14 15:29:12 -04:00
chouseknecht
0818e6ab3d
Latest UI changes -working on Job Templates
2013-05-14 13:50:45 -04:00
chouseknecht
c9018a0aca
Latest UI changes
2013-05-14 11:05:56 -04:00
chouseknecht
55f44b86f1
Latest UI inventory changes
2013-05-14 09:51:26 -04:00
chouseknecht
2612ebd792
Latest UI Inventory updates
2013-05-14 01:52:38 -04:00
Chris Church
fe5a454441
Basic support for job start/cancel via REST API with supporting tests.
2013-05-13 10:43:43 -04:00
Chris Church
a20573a68d
More job template tests, enable creating a new job by posting to the job template job list.
2013-05-11 05:11:31 -04:00
Chris Church
6e6600b822
Model and test updates for last_job and last_job_host_summary fields on Host.
2013-05-11 02:10:17 -04:00
Chris Church
8f2ea04b48
Add simple test for credentials list, should not allow POST (for now).
2013-05-10 11:14:14 -04:00
chouseknecht
bae177460b
Merge branch 'master' of github.com:ansible/ansible-commander
2013-05-10 04:10:03 -04:00
chouseknecht
0ff66f668d
Credentials add\/edit now works. Ask checkbox is functional.
2013-05-10 04:09:28 -04:00
Chris Church
17e96751c0
Removed local_settings*.tmp files added by @chouseknecht, updated .gitignore to prevent them from getting added again.
2013-05-10 00:51:03 -04:00
Chris Church
d7737f6b43
Changed project property available_playbooks to playbooks, exposed via API as a child resource of the project detail. Changed project local_path to a CharField and added helper method and API attribute to show the list of available choices for local_path.
2013-05-10 00:44:21 -04:00
chouseknecht
fdceb46c12
Latest UI changes. Credential List and Edit working -need to add ask pw option and validation around team vs. user. Lookup dialog is now a generic helper that can be shared by all controllers. Credentials controller is first to use api-loader which reads the \/api and \/api\/v1 to determine base set of urls. And more...
2013-05-09 23:49:51 -04:00
Chris Church
2cbed11034
Reverted JSONField change on VariableData and fixed related tests and migration. Also fixed older migrations that break when migrating backwards.
2013-05-09 17:11:45 -04:00
Chris Church
d51fa4f629
Added credentials list view.
2013-05-09 15:14:43 -04:00
Chris Church
e6377a1243
Fix lingering import statement, add context processor to expose settings to templates.
2013-05-09 14:31:08 -04:00
Chris Church
fdc9422409
Catch exception raised for the reverse access of a OneToOneField.
2013-05-08 17:56:40 -04:00
Chris Church
f7cd605415
Model changes based on jobs API discussion, code and test fixes to work with those changes.
2013-05-08 17:43:09 -04:00
Michael DeHaan
6238f0ab9a
Add summary_fields capability, which for items in a collection gives the names of related fields.
...
{
'summary_fields' : {
'organization' : {
'name' : 'foo',
'description' : 'bar',
}
}
}
etc. This is automatic for all field types configured in serializers.py (SUMMARIZABLE_FKs, etc).
2013-05-08 17:38:35 -04:00
chouseknecht
51ef375183
Team add/edit now working. Temporarily disabled organization name lookup on Team and Inventory lists. This will get fixed with AC-93 -add summary fields to response.
2013-05-08 16:26:21 -04:00
Chris Church
e5057fbd83
Removed old versions of UI in static directory.
2013-05-08 12:02:56 -04:00
Chris Church
cc16c394fe
Added debug condition to determine which JS files to include.
2013-05-08 11:58:37 -04:00
Chris Church
6f6e3d23a5
Added static url prefix to partials and images.
2013-05-08 11:46:22 -04:00
Chris Church
eff2e65c9a
Moved UI into its own Django app.
2013-05-08 11:41:00 -04:00
chouseknecht
839d681b70
Latest UI changes
2013-05-08 11:18:59 -04:00
Chris Church
2a15d07221
Split out RBAC and can_user_* methods from models into access.py. Moved list/item permissions checks from the base views into RBAC. Added serializers/views/tests for jobs REST API.
2013-05-08 10:46:16 -04:00