Commit Graph

107 Commits

Author SHA1 Message Date
Chris Church
c20300f6ce Fix for failing job template callback test. 2013-10-11 23:25:23 -04:00
Chris Church
2f135f99d4 AC-505 Implement update_on_launch for inventory sources and dependency checking to prevent related inventory updates and jobs from happening simultaneously. 2013-10-09 18:12:02 -04:00
Chris Church
a9b84d4a5c AC-505 Update inventory sources list and related permissions checks. 2013-10-08 00:37:19 -04:00
Chris Church
1ffb40458c AC-505 Work in progress on cloud inventory sync. 2013-10-07 23:21:44 -04:00
Chris Church
b0e6cf898f AC-414 Added hosts_with_active_failures field for inventory and group. AC-528 Added job_template_id and job_template_name to job info in summary fields. 2013-09-28 16:14:38 -04:00
Chris Church
b7d907ed49 AC-505 Initial inventory import models and API support. 2013-09-26 15:54:34 -04:00
Chris Church
e85cf35ed9 Fixes AC-479. Make job_args fields text instead of varchar. 2013-09-24 22:13:36 -04:00
Chris Church
4b5620806c Fixes AC-472. Workaround for django-taggit breaking dumpdata command. 2013-09-13 16:22:20 -04:00
Chris Church
75aeb0cb84 AC-436. Fixed bug introduced in changes to save project. 2013-09-10 13:20:04 -04:00
Chris Church
c0ea2527ec AC-156. Expose user_ldap_fields via API config to indicate which fields should not be editableon LDAP users. Add ldap_dn attribute to user record, prevent changing any LDAP-managed fields on LDAP users. 2013-09-10 03:28:59 -04:00
Chris Church
eff8a6426a AC-430. Add project status and last_updated as database fields for filtering/sorting. 2013-09-10 02:06:17 -04:00
Chris Church
27948a8dd9 AC-431. Fixed misspelled project status. 2013-09-10 01:13:14 -04:00
Chris Church
3c23e479bf AC-412. Flag playbook_on_stats event as failed when there are dark hosts. 2013-09-10 01:09:50 -04:00
Chris Church
cdfc56667a AC-132. Mask passwords in project update args and stdout. 2013-09-09 20:28:11 -04:00
Chris Church
f7f12be0ad AC-132. Auto-update a new project using SCM when saved. 2013-09-09 18:54:33 -04:00
Chris Church
f9a1614730 AC-132. Updates/fixes to get tests to pass. 2013-09-08 23:20:51 -04:00
Chris Church
59423df95d AC-132. Implement scm_update_on_launch and prevent simultaneous updates of associated projects and jobs. 2013-09-08 22:15:07 -04:00
Chris Church
dfc687dfae Implements AC-363. Authentication tokens now expire after a configurable timeout. 2013-09-06 00:36:45 -04:00
Chris Church
0c28f202de Implements AC-362. Encrypt passwords for credential and project using AES, don't expose passwords via the API. 2013-09-05 11:29:15 -04:00
Chris Church
2e03a646a5 Fixes AC-402. Fix issues arising from unit tests. 2013-09-05 07:57:49 -04:00
Chris Church
72d87fb908 AC-382, AC-352. Added status and last_updated fields for projects API. Various other updates to support projects using SCM. 2013-09-05 01:19:58 -04:00
Chris Church
67ae8effa4 AC-132 Added API support to prompt for SCM passwords when updating a project. 2013-08-30 03:08:24 -04:00
Chris Church
5ce8328230 Fixes AC-334. Don't set failed flag on job events when ignore_errors is True. 2013-08-28 10:21:02 -04:00
Chris Church
92e0beb5cb Fixes AC-346. Allow playbooks with invalid YAML syntax to show up in list of available playbooks. 2013-08-28 09:58:36 -04:00
Chris Church
2bb5374685 Added inventory tree view for AC-360. 2013-08-26 12:57:41 -04:00
Chris Church
e661f96054 AC-132 Minor updates after testing via API, notes on remaining items to implement. 2013-08-26 10:31:39 -04:00
Chris Church
ee3ba2c0e1 More work in progress on AC-132. 2013-08-26 10:31:39 -04:00
Chris Church
e594296c9b Fix to maintain Django 1.4 compatibility. 2013-08-26 10:31:39 -04:00
Chris Church
fc68955bad For AC-132. Work in progress on project SCM support. 2013-08-26 10:31:39 -04:00
Chris Church
efbdb67c33 Work on AC-205. Filter job events that are internal as a result of async polling, update event display name for various async job events. 2013-08-07 02:42:33 -04:00
Chris Church
f787ff8251 Work on AC-205. Update display of extra events triggered by async polling. 2013-08-05 00:55:59 -04:00
Chris Church
a4af00da85 Fix for AC-321. Mark hosts and groups inactive when inventory is marked inactive. 2013-08-04 22:56:07 -04:00
Chris Church
057e7bad59 Update browsable API built-in documentation to use templates. 2013-08-04 20:46:26 -04:00
Chris Church
fce1a04a76 Fix for AC-284. Delete groups when they are disassociated and have no more parents. Remove all group and host associations from a group when it is marked inactive. 2013-07-27 23:00:07 -04:00
Chris Church
222bbd7c98 Revert previous fix for deleted name change, update how we change username when a user is marked inactive to keep it under 30 chars. 2013-07-27 21:05:26 -04:00
Chris Church
de2cd7b0fc Update for AC-291, playbook_on_stats (aka Playbook Complete) event now sets changed and failed flags when any host has changes/failures. 2013-07-27 20:19:12 -04:00
Michael DeHaan
8f379b2397 This may be a little paranoid but don't assume everything has a description. 2013-07-27 19:14:04 -04:00
Michael DeHaan
af43954ca8 In order to not worry about long usernames when deleting objects, just rename fields to include the date
and include the name/description in the new description when deleting objects.

Also updated deletion script to understand that.
2013-07-27 18:55:42 -04:00
Chris Church
2c166e501e Implemented AC-166, added signal handlers to update has_active_failures flag whenever host/group/job are changed/deleted and whenever group-host and group-group relationships change. 2013-07-26 23:49:49 -04:00
Chris Church
5ad361a32b AC-237 Fix for automatic naming of callback jobs, remove unique constraint on job name. 2013-07-26 21:14:20 -04:00
Chris Church
c3639f96eb Fix AC-263 and AC-264. Update how we check for access to item referenced via foreign key, and determining whether an immutable field has changed. 2013-07-26 15:41:09 -04:00
Chris Church
0c54dcef39 Finish implementing access checks for all objects, update tests to pass. 2013-07-25 11:15:12 -04:00
Chris Church
bc49627203 Permissions-related updates and fixes, more tests, better handling of any user input that would previously generate a server error. 2013-07-25 11:15:12 -04:00
Chris Church
6fda31e790 Fix imports, __all__ definition, organization/team sublists under projects. 2013-07-25 11:15:11 -04:00
Chris Church
a6c767907e Renamed some API files/classes to mimic REST framework names, moved queryset filtering for permissions alongside other permissions/access checks, cleaned up base views to handle get_queryset based on class attributes, cleaned up post to sublist to create/attach/unattach. 2013-07-25 11:15:11 -04:00
Chris Church
ca949eb71e Initial working version of job template callback with a test. 2013-07-11 14:57:59 -04:00
Chris Church
fccf663d42 Add tests for changed flag on job events. 2013-07-02 14:41:05 -04:00
Chris Church
4762166caf Added changed flag to job events, added launch_type to jobs. 2013-07-02 12:11:32 -04:00
Chris Church
914e586150 Work in progress on empheral host callback. 2013-07-02 12:11:32 -04:00
Michael DeHaan
e309c7707d Dynamic event names for job events! 2013-07-02 12:10:43 -04:00