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

1908 Commits

Author SHA1 Message Date
Chris Houseknecht
d946ca052a Job delete now uses job.url 2014-03-31 03:28:03 -04:00
Chris Houseknecht
1e0af7b82e Latest jobs page changes. Integrated log viewer. Added support to log viewer for variables (extra vars and source vars). Most things on jobs pages are working, execept for scheduled jobs bit. 2014-03-31 03:25:49 -04:00
Chris Church
e1d3da731e AC-1040 Model cleanup/refactor, add and use job_explanation field. 2014-03-30 22:57:45 -04:00
Chris Church
e5054eeb65 AC-1040 Support ordering by type field. 2014-03-30 19:52:52 -04:00
Chris Houseknecht
8217544376 Form generator can now call the list generator when creating related lists. Job Template page is now using this method. We can now inject CompletedJobs and Schedules list objects on any page with full jobs page or schedule page functionality. 2014-03-29 17:46:48 -04:00
Chris Church
fe5d154d76 AC-1040 Exposed list of choices for type field. 2014-03-29 14:34:22 -04:00
Chris Houseknecht
5ad0282495 Re-styling jobs page and hooking it up to /unified_jobs resource. 2014-03-29 13:52:38 -04:00
Chris Houseknecht
8c9afff4b9 Fixed cancel icon so that it replace delete icon while project is in 'running' state 2014-03-29 13:52:38 -04:00
Matthew Jones
9b440c5209 Fix an issue where POST to schedules would no longer work. Populate
some more summary fields
2014-03-28 22:11:02 -04:00
Chris Church
35e4bd477c AC-1040 Cleanup old code in tasks, combine methods from unified job subclasses into base classes. 2014-03-28 22:07:24 -04:00
Chris Church
352197c5d2 Removed admin support (no longer used or maintained). 2014-03-28 22:04:26 -04:00
Chris Church
7754f475ad AC-1097 Fixed validation of unique name on polymorphic models. 2014-03-28 18:18:31 -04:00
Chris Houseknecht
9a3ee04783 Changes to LogViewer widget to remove back-end, command line and environment related stuff. 2014-03-28 17:58:08 -04:00
Chris Church
558f7ef2eb AC-465 Removed settings.py copies that are no longer used in packaging. 2014-03-28 16:53:14 -04:00
Chris Houseknecht
57ce24f371 Wiring scheduler pieces 2014-03-28 15:38:43 -04:00
Matthew Jones
c46f1de347 Some initial validation logic and documentation on what we require/reject 2014-03-28 14:37:50 -04:00
Matthew Jones
c1734d74cf Use unified job set for joining the schedule and unified jobs 2014-03-28 12:52:28 -04:00
Matthew Jones
799e8d30ba Integrate main schedules resource
Integrated scheduled jobs list
Implement updating ancillary details on dependent models
Further cleanup
2014-03-28 12:50:35 -04:00
Chris Houseknecht
7237d313d2 Created a job viewing widget that provides a common modal dialog for viewing job output. Implemented on projects and inventory groups. 2014-03-28 06:03:55 -04:00
Chris Church
52ab418abb AC-1040 Unified job template and unified job views. 2014-03-28 01:25:25 -04:00
Matthew Jones
c1d314ed6f Running scheduled items now works 2014-03-27 22:45:51 -04:00
Matthew Jones
b665345070 Support passing the schedule when signaling start so we record which
schedule this came from
2014-03-27 22:45:51 -04:00
Chris Houseknecht
3adefc685f Refactor of Project page- breaking status back out into its own column. 2014-03-27 18:21:11 -04:00
Matthew Jones
65bb42c2f2 Make dtstart field somewhat optional 2014-03-27 16:01:09 -04:00
Chris Church
ce2ae2b945 AC-1071 Removed ssh_key_path option, only need to be able to accept PEM key format. 2014-03-27 15:55:50 -04:00
Matthew Jones
107fc85110 Initial scheduler integration 2014-03-27 15:53:45 -04:00
Chris Houseknecht
29a8b46e2f Refactored job submission module, breaking the process of prompting for credentials and passwords into small, isolated units of work. Code can now be shared across each job type and unit tests are feasible. 2014-03-27 14:21:47 -04:00
Chris Houseknecht
62e860afc1 Fixed Utilities.alert() so that Alert dialog boxes no longer render empty. The issue was one of scope. The alert dialogs exist in the parent scope. Often the scope of the caller is in a child or nested child scope. Alerts now have their own scope and the HTML is compiled just before render. 2014-03-27 10:47:29 -04:00
Chris Houseknecht
3b95fbd30b AC-1054 came up with a fix that allows auto-form-fill browser pluggins to work. Applied to User and Credential pages. 2014-03-27 02:29:15 -04:00
Chris Houseknecht
4889681df3 AC-1076 Added update_cache_timeout to inventory group add/edit dialog. 2014-03-26 18:29:28 -04:00
Chris Houseknecht
ba5c396630 AC-1076 Added scm_update_cache_timeout to project add/edit page. 2014-03-26 17:48:11 -04:00
Chris Church
d8383a4d69 AC-1076 Exposed scm_update_cache_timeout for projects, added needs_update_on_launch property to project and inventory source models. 2014-03-26 16:40:55 -04:00
Chris Houseknecht
3d0d75e897 Wired schedule edit to Jobs page. Fixed issues with modal dialogs. On inventory hosts focus is now set to first field rather than help icon. ESC key no longer closes jqueryui dialogs as it conflicts with clicking ESC to close help pop-over. Resizing a dialog no longer causes button pane (the dialog footer) to appear to grow taller and taller. 2014-03-26 16:33:49 -04:00
Chris Church
702e575ecf Return elapsed as number instead of string for unified job subclasses. 2014-03-26 16:18:47 -04:00
Chris Church
bfb0159083 AC-1071 Moved credential model to its own file. Added API support and tests for ssh_key_path field.
AC-1095 Added validation for SSH private keys.
2014-03-26 16:06:02 -04:00
Chris Houseknecht
b47aed5bdb Wired up job relaunch for each type of job. 2014-03-26 12:04:10 -04:00
Chris Houseknecht
b2f0c1214f Expanded new aw-accordion directive to update local storage with the active panel. When user navigates away from a page and returns the accordions are restored. 2014-03-26 00:33:15 -04:00
Chris Church
ceba67fcf0 AC-982 Disable activity stream for inventory import by default. 2014-03-26 00:12:13 -04:00
Chris Church
21c8126838 AC-1040 Use new method in inventory import to create inventory update from inventory source. 2014-03-26 00:12:13 -04:00
Chris Houseknecht
9ab6f3cbf6 Lookup dialogs now created using Modal module, making them draggable and resizable. When job submission process prompts for missing job_template credential the dialog now includes instructions and only shows machine credentials (AC-1086). Added accordions to jobs page. 2014-03-25 23:18:49 -04:00
Chris Church
0b050466c5 AC-1077 Sort playbooks alphabetically (case-insensitive). 2014-03-25 23:06:27 -04:00
Chris Church
ac0927f430 AC-1060 Add API support for vault password. 2014-03-25 22:54:14 -04:00
Chris Church
8ad72426b4 AC-1040 Work on unified job serializers. 2014-03-25 22:04:37 -04:00
Chris Church
62a74f9c84 AC-1096 Fixed typo for project current_update. 2014-03-25 19:49:58 -04:00
Chris Church
6e05e39c09 AC-1040 Another Python2.6 fix. 2014-03-25 17:35:01 -04:00
Chris Church
f73c352f0d AC-1040 Added inventory_source back to summary fields. 2014-03-25 17:35:00 -04:00
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