Commit Graph

1812 Commits

Author SHA1 Message Date
Matthew Jones 74602f1009 Check project and inventory source update cache timeout when deciding
whether or not to spawn an instance of either one as a dependency
2014-03-25 16:21:46 -04:00
Matthew Jones 1dc3aa8ab1 Relax job dependency conflicts raised by customer support
If both jobs are callbacks whose limits are different allow them to
not conflict with each other when deciding launch dependencies
2014-03-25 16:20:27 -04:00
Matthew Jones 03249e59f3 Fix up job run types so that we aren't auto-starting new jobs. Fix up
job dependency generator to call the right new methods for generating
inventory and project updates
2014-03-25 15:21:30 -04:00
Matthew Jones bb630fddbc Fix up error handler callback to include the task that actually failed 2014-03-25 15:01:54 -04:00
Matthew Jones 7196262987 Update graph generator to look right 2014-03-25 15:01:54 -04:00
Chris Church 8e841d8c16 AC-1040 Update view properties to indicate version when they were added. 2014-03-25 14:57:11 -04:00
Chris Church c677503d8d AC-1040 Fix filtering to work again with __regex suffix. 2014-03-25 14:44:45 -04:00
Chris Church 42e9451742 AC-1040 Fix inventory tree view. 2014-03-25 14:20:37 -04:00
Chris Church 6504a8ae40 AC-1040 Fix broken dashboard view. Add backwards-compatible support for old project and inventory source filters. 2014-03-25 13:43:18 -04:00
Chris Church 5d6dbc6e6b AC-1040 Make it work on Python 2.6. 🐍 2014-03-25 13:12:46 -04:00
Chris Houseknecht 8b082ca8ce Added schedule delete support to Inventory group edit dialog, schedules controller and jobs controller. 2014-03-25 12:25:25 -04:00
Chris Church 3c04cc73b0 AC-1040 Add back a few attributes for backwards-compatibility. 2014-03-25 11:51:21 -04:00
Chris Church 24b587c877 Merge branch 'master' of github.com:ansible/ansible-commander 2014-03-25 11:32:47 -04:00
Chris Houseknecht b638a90d34 Bring action handling between form-generator and list-generator inline. 2014-03-25 11:13:00 -04:00
Chris Church bb47c300f6 Merge branch 'master' of github.com:ansible/ansible-commander 2014-03-25 11:07:37 -04:00
Chris Houseknecht 3638ff8f6e Added schedule.enabled support to job_template.schedules and projects.schedules. 2014-03-25 11:07:24 -04:00
Chris Houseknecht 5305734bbe Set next_run to be the key field, sorted in desc order. Moved name to appear before type. 2014-03-25 11:07:24 -04:00
Chris Houseknecht bcab5e719e Added support for schedule.enabled to Jobs page. 2014-03-25 11:07:24 -04:00
Chris Houseknecht 70be5d9a77 Latest Jobs and scheduling changes. 2014-03-25 11:07:24 -04:00
Chris Houseknecht 166cf61dc1 Added schedule.enabled support to job_template.schedules and projects.schedules. 2014-03-25 10:53:23 -04:00
Chris Houseknecht 54f3062445 Set next_run to be the key field, sorted in desc order. Moved name to appear before type. 2014-03-25 10:09:00 -04:00
Chris Houseknecht f153105f79 Added support for schedule.enabled to Jobs page. 2014-03-25 10:02:10 -04:00
Chris Church 296e87a632 AC-1040 Removed extra model definitions used for generating migrations. 2014-03-25 09:38:25 -04:00
Chris Houseknecht 71904c3b5b Latest Jobs and scheduling changes. 2014-03-24 20:30:07 -04:00
Chris Church 871b89ab28 Merge branch 'unified-jobs' of github.com:ansible/ansible-commander into unified-jobs
Conflicts:
	awx/main/models/__init__.py
	awx/main/models/base.py
	awx/main/models/inventory.py
	awx/main/models/jobs.py
	awx/main/models/projects.py
	awx/main/models/unified_jobs.py
	awx/main/tests/base.py
2014-03-24 18:37:44 -04:00
Chris Church 02af35dffd AC-1040 Updates to get unit tests to pass. 2014-03-24 18:13:53 -04:00
Chris Church 1a7dc83479 AC-1040 Inserted migration 34 from master, defined additional model changes needed, regenerated previous migrations 34/35/36/37 as 35/36/37/38. 2014-03-24 17:11:09 -04:00
Chris Church e6f3032b94 AC-1040 Give unified jobs a copy of config from unified job templates to capture the settings as they were when the job is run. 2014-03-24 17:11:09 -04:00
Chris Church fba3b1e09d AC-1040 Fix migrations to work when creating an empty database for testing. 2014-03-24 17:04:27 -04:00
Chris Church 691942cac3 AC-1040 Unified jobs updates to get unit tests to pass (hopefully). 2014-03-24 17:04:26 -04:00
Chris Church 0ee5c07738 AC-1040 Update jobs models and migrations (work in progress). 2014-03-24 17:02:43 -04:00
Chris Church b631f24e5b AC-1040 Add 'type' attribute as serializer field, add 'types' attribute to options response. 2014-03-24 16:49:30 -04:00
Chris Church e957de2016 AC-1040 Add django-polymorphic as prerequisite for moving toward unified jobs. 2014-03-24 16:49:30 -04:00
Chris Church 99c62f1261 AC-1040 Inserted migration 34 from master, defined additional model changes needed, regenerated previous migrations 34/35/36/37 as 35/36/37/38. 2014-03-24 16:09:49 -04:00
Matthew Jones 61ab197b3a If we fail the prestart check on a job, record the conditions by which we fail 2014-03-24 14:57:53 -04:00
Matthew Jones ec2dfa3c74 Rename link for unified jobs list 2014-03-24 12:01:01 -04:00
Matthew Jones 2d443bad26 Change the api v1 resource for unified jobs 2014-03-24 11:58:05 -04:00
Matthew Jones b35cee7b72 Eliminate the 'pending' status and remove dependency checks that
necessitated it during pre-run... tighten the transaction wrapper
to just be used when actually updating model details
2014-03-24 11:48:28 -04:00
Matthew Jones 0f1fc77be3 Switch up the api end point for unified jobs 2014-03-24 11:48:04 -04:00
Matthew Jones af231cc8b7 Resolve can_start from the client side and the signaler side 2014-03-24 09:47:36 -04:00
Matthew Jones 6941d89502 Tasks are only 'can_start' if they are in the 'new' state 2014-03-23 19:56:28 -04:00
Matthew Jones 3e88894f85 Temporarily relax task notification and rely on polling 2014-03-23 18:37:51 -04:00
Chris Houseknecht 10e6baaca0 Jobs page changes. Modified JobsEdit controller to incorporate new fields. Shows/hides job template based on the type of job. Re-ordered fields. Made the stdout textarea resizable. Fixed a bug in the accordions. 2014-03-23 04:14:29 -04:00
Chris Houseknecht 65aae82827 Fixed inventory host status to work with pop-over changes. 2014-03-22 21:17:24 -04:00
Chris Houseknecht f4efad714f More tweaks to pop-over formating. 2014-03-22 18:36:39 -04:00
Chris Houseknecht eea41e3401 Continuing work on new Jobs page. Increased pop-over width. Added a footer explaning how to close. Added close-on-click behavior in addition to esc key. 2014-03-22 17:49:30 -04:00
Matthew Jones bec301c2a8 Shift task start signal into an asynchronous task so we don't deadlock trying to update the same record from the task runner while waiting for the signal to be received from the signaler 2014-03-22 11:18:25 -04:00
Matthew Jones 4b9059388e Switch to using a network socket instead of an ipc socket, closes issue AC-1088 2014-03-21 14:44:22 -04:00
Chris Houseknecht 523caf846c Tweaked start of inventory sync so that spinner appears continuously while the initial tree refresh and host reload runs. 2014-03-21 04:15:36 +00:00
Chris Church 2cb3f31b01 AC-1040 Give unified jobs a copy of config from unified job templates to capture the settings as they were when the job is run. 2014-03-21 00:05:36 -04:00