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
e6377a1243
Fix lingering import statement, add context processor to expose settings to templates.
2013-05-09 14:31:08 -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
Chris Church
eff2e65c9a
Moved UI into its own Django app.
2013-05-08 11:41:00 -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
chouseknecht
c1cc2a1e0b
Added UI under lib/static/web. Updated README.md
2013-05-06 14:26:49 -04:00
Chris Church
ef92fe3960
Updates to permissions checks (and tests), add logging around permission checks, permission-related fixes to support browsable API, work in progress on job templates API, added default logging settings.
2013-05-01 14:10:42 -04:00
Chris Church
edbd9c42ff
Admin updates, added a few more related resources.
2013-04-29 16:02:21 -04:00
Michael DeHaan
e511b60e29
Allow more advanced django filtering.
2013-04-22 10:43:18 -04:00
Chris Church
bc1f3e320e
Changed how Project local_path is configured, added option to specify playbook on JobTemplate and Job, updated admin and tests.
2013-04-19 15:40:13 -04:00
Michael DeHaan
5336316f2e
Resolve merge conflicts.
2013-04-17 20:35:01 -04:00
Chris Church
52ace2700c
Added relationships to hosts from launch job status and launch job status event, updated admin to display host stats and events.
2013-04-15 19:23:06 -04:00
Chris Church
9dbbf330e8
Added support for token authentication (with test).
2013-04-10 00:41:51 -04:00
Michael DeHaan
09cca99c69
Just use plain GPL.
2013-04-09 01:05:55 -04:00
Chris Church
0155f0acea
Update settings template to use SQLite test database when running acom_inventory script in tests, initial stub for callback event logger.
2013-04-02 14:53:52 -04:00
Chris Church
63ef048d73
Fixed test database name in app setup template.
2013-04-02 14:06:54 -04:00
Michael DeHaan
184a68b0f9
License change. GPLv3 -> Affero GPLv3.
2013-04-01 17:44:30 -04:00
Chris Church
c149f03119
Initial working test for run_launch_job task.
2013-03-31 17:25:18 -04:00
Michael DeHaan
fa54f7ad66
This allows for creation of subresources when posting new objects to a subcollection.
2013-03-26 18:18:05 -04:00
Michael DeHaan
a071ff65e4
Add copyright headers.
2013-03-23 18:43:11 -04:00
Chris Church
4e7827829f
Work on executing launch job via celery to run ansible playbook.
2013-03-22 18:56:09 -04:00
Chris Church
cb381849f3
Updated requirements/settings to use new version of devserver.
2013-03-22 01:47:24 -04:00
Michael DeHaan
7722e414e2
Add functions for checking size of paginated results
2013-03-20 22:47:51 -04:00
Michael DeHaan
d6aea8edcb
Switch over to django-rest-framework from tastypie. Less black magic, seems to just work :)
2013-03-19 22:26:35 -04:00
Michael DeHaan
23e685bba8
make test database use sqlite
2013-03-19 10:27:14 -04:00
Michael DeHaan
0758a28c08
Get tastypie relationships operational, consolidate resources into one file for easier sharing
2013-03-18 19:32:03 -04:00
Michael DeHaan
b7133ca35a
Some initial hammering of the python API client layer into shape.
2013-03-18 17:31:14 -04:00
Michael DeHaan
03204e1027
show exceptions in plain text, not HTML
2013-03-18 15:53:55 -04:00
Michael DeHaan
bc69076f69
Operational authorization via tastypie.
2013-03-15 22:35:50 -04:00
Chris Church
a1fb81c4f4
Added basic celery support and configuration.
2013-03-14 16:11:14 -04:00
Chris Church
da9a31b599
Added sample angularjs page to be served by Django, updated admin styles.
2013-03-14 15:52:35 -04:00
Michael DeHaan
2cea592c6c
get organizations API working, hello REST world!
2013-03-13 17:58:51 -04:00
Chris Church
ffcc869de2
Updates to enable admin.
2013-03-13 17:15:00 -04:00
Michael DeHaan
0a3c59daf8
Don't use devserver
2013-03-13 16:54:01 -04:00
Chris Church
2714e36268
Rearranged settings.
2013-03-13 16:49:22 -04:00