Commit Graph
100 Commits
Author SHA1 Message Date
Chris Houseknecht 61c0355f77 AC-1120. Fixed log viewer issues. Display 'Group' and group name rather than 'Inv Source'. Always display variables/source variables tabs when data present. Translate source value to a proper label using an OPTIONS request. 2014-04-02 16:43:18 -04:00
Chris Houseknecht 12ecf56dc4 Pulled in latest angular-scheduler changes. Added validation to start time, interval count and occurrence count. 2014-04-02 14:21:54 -04:00
Chris Houseknecht 3068f35aeb Rolled back awPopOver changes. 2014-04-02 11:55:00 -04:00
Chris Houseknecht 0d18e85ba3 Fixed cursor hover on list columns. Where ng-click appeared the href tag was missing, which caused the cursor to not change. 2014-04-02 11:48:52 -04:00
Chris Houseknecht 2f2f8aae11 Work on inventory status fields. Moved status to the left on Inventories tab. Fixing messages, popovers and working on AC-601. Made list generator column creation more modular in generator-helpers.js to support many icons in the list Status column. 2014-04-02 11:42:10 -04:00
Chris Houseknecht fb5b069273 AC-1118 added job_explanation to log viewer. Also, fixed issue where once 'standard out' or 'traceback' tabs were hidden, they would never reappear. 2014-04-01 19:15:38 -04:00
Chris Houseknecht 4d6ce4b5fa Fixed Type and Name columns in Scheduled list on Jobs page. Fixed Name link in completed jobs list on Jobs page. 2014-04-01 18:30:04 -04:00
Chris Houseknecht 8fc0450dd9 Improved how LogViewer determines status icon. 2014-04-01 14:16:34 -04:00
Chris Houseknecht 9efa5e28ce Fixed project status mismatch. 2014-04-01 12:57:34 -04:00
Chris Houseknecht 6b3d5da500 Fixed schedules list on Projects page and Job Templates page. 2014-04-01 12:47:22 -04:00
Chris Houseknecht a9e499c1af Scheduled dialog now uses Modal library. Turned on timezone and UTC date start. Made scheduledjobs.name clickable. 2014-04-01 11:05:36 -04:00
Chris Houseknecht 7d168e9fd1 Pulled in angular-scheduler changes. 2014-04-01 11:05:36 -04:00
Chris Houseknecht 034a5c7044 Fixed schedules type value. 2014-03-31 20:13:41 +00:00
Chris Houseknecht 2c8c1e660c Latest job page and scheduling widget changes. 2014-03-31 15:41:55 -04:00
Chris Houseknecht 0f90c44c93 Pulled in angular-scheduler fixes to allow past dates and correct interval label setting. 2014-03-31 14:23:56 -04:00
Chris Houseknecht 89474973fc Fixes to schedules helper and lists. 2014-03-31 17:47:11 +00:00
Chris Houseknecht 46c7a8f433 Changed queued job 'cancel' to 'delete'. 2014-03-31 11:35:36 -04:00
Chris Houseknecht 9472c06ccc Updated angular-scheduler to pickup latest fixes. 2014-03-31 11:35:35 -04:00
Chris Houseknecht 33a8eaae90 Updated angular-scheduler to pickup latest fixes. 2014-03-31 11:35:35 -04:00
Chris Houseknecht d6942e0dbe Fixed pagination active link color. 2014-03-31 10:12:39 -04:00
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 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 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
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 Houseknecht 57ce24f371 Wiring scheduler pieces 2014-03-28 15:38:43 -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 Houseknecht 3adefc685f Refactor of Project page- breaking status back out into its own column. 2014-03-27 18:21:11 -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 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 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 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 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 Houseknecht b638a90d34 Bring action handling between form-generator and list-generator inline. 2014-03-25 11:13:00 -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 Houseknecht 71904c3b5b Latest Jobs and scheduling changes. 2014-03-24 20:30:07 -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
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 Houseknecht ed63ea433a Fixed refresh of inventory tree after a group refresh initiates. Fixed group add js error caused by source_vars == null when ec2 source selected. 2014-03-20 19:10:13 -04:00
Chris Houseknecht d38c8ee93e Inventory host edit method now supports and 'edit' and an 'add' mode. Adding a host now uses the shared modal module, giving it a resizable and draggable dialog along with auto-resizing textarea. 2014-03-20 13:20:03 -04:00
Chris Houseknecht 1bc9ab68eb Moved jqueryui dialog creation to a shared module along with textarea auto-sizing. Inventory host edit dialog is now constructed using this new module. Fixed host enabled flag on the host edit dialog so that it is disabled for externally managed hosts. 2014-03-20 12:25:26 -04:00
Chris Houseknecht 18a5a6556e AC-1068 all variables (inventory, template, group, host) are now sorted alphabetically 2014-03-19 20:02:31 +00:00
Chris Houseknecht 7147a9ccf9 Clicking anywhere on Group name column now selects the row on Inventory detail page. 2014-03-19 13:42:45 -04:00
Chris Houseknecht 9886b73d2c Fixed bug in Inventory Group Add. Save was failing. Also when group vars failed to parse, the error was not bubbled up to the GroupEdit code. 2014-03-19 12:05:46 -04:00
Chris Houseknecht 6cd5552b6a More work on new Jobs page. 2014-03-19 01:39:58 -04:00
Chris Houseknecht 6d6e9e45a8 Framework for new jobs tab. 2014-03-18 18:30:39 -04:00
Chris Houseknecht 9614103964 Starting rewrite of Jobs tab. 2014-03-18 15:25:22 -04:00
Chris Houseknecht 0c4bd4bfa8 Fixed scope conflict between schedules_list and parent scope. 2014-03-18 11:32:38 -04:00
Chris Houseknecht 0f3bd58745 Only show 'Schedules' tab on inventory groups dialog when a source value is selected. 2014-03-18 10:35:00 -04:00
Chris Houseknecht 2585855e1c helpers/Groups.GroupsEdit now supports an 'add' mode for creating new groups. 2014-03-17 23:49:14 -04:00
Chris Houseknecht 633c63aadb Fixed inner dialog sizing issues so that resizing inventory edit dialog now resizes the schedule widget, keeping the inner widget slightly smaller than than dialog and scrolling the content vertically when needed. 2014-03-17 18:25:06 -04:00
Chris Houseknecht 7521de5904 Details view now working on inventory group edit dialog. 2014-03-17 13:03:57 -04:00
Chris Houseknecht 022f95783f Upgrading to latest angular-scheduler. 2014-03-17 09:46:51 -04:00
Chris Houseknecht 85b8b12e51 Incorporated latest angular-scheduler changes. Starting to add 'detail' schedule view to the inventory group edit dialog, allowing user to see occurrences and natural language description of a given schedule object. 2014-03-17 09:46:51 -04:00
Chris Houseknecht df696b0199 Latest inventory group dialog changes. Finished styling schedule widget slide-in. 2014-03-13 16:49:23 -04:00
Chris Houseknecht 7ba7d3c940 Latest inventory group dialog changes for schedules integration. 2014-03-13 13:35:27 -04:00
Chris Houseknecht 199f091a1c Inventory group edit dialog is now draggable and resizable. Added tab for schedules fixed issue with Variables.js helper- when json variables object empty, return --- rather than {} 2014-03-12 12:14:19 -04:00
Chris Houseknecht 15a08232e0 Clean up. Removed grey background from forms appearing inside accordions. Fixed border on tables innside accordions. Made action labels disappear on small and xtra small viewports. Updated javascript packages. Created a bower.json file. Installed anuglar-scheduler. Added schedule icon to job templates page. Shrunk pagination font. 2014-03-07 18:31:15 -05:00
Chris Houseknecht 129fed0c64 Accordions are now collapsable. Fixed jshint warning. 2014-03-06 15:22:25 -05:00
Chris Houseknecht bb67020c30 Fixed buttons on inventory help dialog. The Prev button never enabled and Next button never disabled. 2014-03-06 11:22:35 -05:00
Chris Houseknecht a63b9e661b Fixed pagination column sizing. As screen shrinks the page number now remains right justified. 2014-03-06 10:51:22 -05:00
Chris Houseknecht 93bd1d859a AC-1065 in anticipation of potentially having to sort the keys of any incoming json variable objects, consolidated the variable handling code into a single helper. Anytime variable data is fetched from the API it gets passed to the helper and turned into a YAML doc. The helper checks the incoming data type for string or object. If string it first attempts to parse as YAML. If it fails, then tries JSON. If no joy, fails gracefully, logging the error and notifying the user. Anytime variables need to be sent to the API, a method in the helper is called to parse the variable text into a JSON object. 2014-03-05 18:13:49 -05:00
Chris Houseknecht 1ba917afaf AC-1035 UI now supports stringified YAML coming from the API on Job Template. 2014-03-05 15:49:16 -05:00
Chris Houseknecht 10e85b50b1 Found an issue when deleting multipkle credentials. First delete worked fine. Second delete left the overlay hiding the page. Seems the .off() option on bootstrap modal no longer works as expected. 2014-03-05 14:13:17 -05:00
Chris Houseknecht cda1a8bd10 After fixes to app footer, the footer background color was off. Fixed. 2014-03-05 13:32:53 -05:00
Chris Houseknecht 15e6b5a25f Fixing tooltips. Fixed now. 2014-03-05 13:28:56 -05:00
Chris Houseknecht 1579ce0b29 Fixing tooltips. They stopped working. It seems that twitter bootstrap requires jqueryui to be loaded. We were inlcluding after bootstrap. 2014-03-05 13:26:19 -05:00
Chris Houseknecht bc6edeb65c Fixed site footer unhappiness. The footer sometimes had a bottom margin. Slimmed the footer down as well. Made sure it looks good down to phone size. 2014-03-05 11:14:03 -05:00
Chris Houseknecht 770eab8af1 Fixed column sizing centering of username/password on login dialog. Form now remains horizontal down to xs screen size. 2014-03-05 09:58:48 -05:00
Chris Houseknecht b8eb7c51b6 AC-1024 Hosts deletes now work as described in the ticket. Removing a host from a group removes it from the selected group and its children. Removing a host from a group does still leave it in All Hosts, and this is explained in the dialog prompt. Removing it from All Hosts permanently deletes it, again explained in the dialog prompt. 2014-03-05 00:28:37 -05:00
Chris Houseknecht dc376c1c40 AC-1070 creating new credential fails. 2014-03-04 19:06:16 -05:00
Chris Houseknecht 6f54574a94 Fixed spelling issue found in job_templates.limit help. 2014-02-19 13:18:54 -05:00
Chris Houseknecht 9652cd7333 AC-564 fixed a bug with CodeMirror editor and post dialog removal/cleanup. 2014-02-18 10:31:25 -05:00
Chris Houseknecht 633a9f6d61 AC-564 fixed a bug with CodeMirror editor and post dialog removal/cleanup. 2014-02-18 10:30:44 -05:00
Chris Houseknecht 9b8dcfb9dd AC-564 added new method to codemirror wrapper to enable replacing textarea fields with an editor. Implemented in inventory, groups, hosts, and templates. Solved issues with groups related to two potential textareas at the same time. Found and fixed an error in the way ReturnToCaller() utility was being called. Finished implementing angular-md5. Adding or saving a job template now shows a pop-up on save when a callback is enabled. The pop-up shows the callback url and host key. Before user had to save and then re-open the template to get the URL. With the pop-up we're now showing it immmediately on save. 2014-02-18 03:55:04 -05:00
Chris Houseknecht 55b574fa26 AC-564 added new method to codemirror wrapper to enable replacing textarea fields with an editor. Implemented in inventory, groups, hosts, and templates. Solved issues with groups related to two potential textareas at the same time. Found and fixed an error in the way ReturnToCaller() utility was being called. Finished implementing angular-md5. Adding or saving a job template now shows a pop-up on save when a callback is enabled. The pop-up shows the callback url and host key. Before user had to save and then re-open the template to get the URL. With the pop-up we're now showing it immmediately on save. 2014-02-18 03:50:36 -05:00
Chris Houseknecht 177080e43d Fixed broken links where ngHref is used in list objects. 2014-02-17 16:01:14 -05:00
Chris Houseknecht b44b82dd52 Fixed js error post host edit save. 2014-02-17 15:50:42 -05:00
Chris Houseknecht 84f79d4342 Fixed menu bar height. After TB upgrade it was fixed at 50px. Moved back to 0 and let image height be dominant. Pulled in angular-codemirror overlay fix. 2014-02-17 15:04:23 -05:00
Chris Houseknecht 0b0140e385 Fixed twiter js package. Now repo includes dist subdir. 2014-02-17 13:33:22 -05:00
Chris Houseknecht 2f12dccf32 Fixing twitter js library 2014-02-17 13:27:29 -05:00
Chris Houseknecht cc9869b198 AC-564 implemented angular-codemirror to provide JSON/YAML syntax highlighting and linting in a full-screen editor. 2014-02-15 19:24:07 -05:00
Chris Houseknecht 6a3e477c9a Fixed a bug in Groups.js helper that blocked GroupsEdit, so you couldn't edit an existing group. Issue was Angular depenedency ineject was misaligned with function parameters. 2014-02-13 19:52:37 +00:00
Chris Houseknecht c77db691eb AC-725 Added tower version to app footer and license dialog. Refactored license dialog to use tabs rather than accordions. Fixed conflict between angular routes and TB tabs. 2014-02-13 19:01:17 +00:00
Chris Houseknecht 9aea64eb3f Fixed minor bugs lingering from package upgrades. Org lookup on User add page was throwing a js error. Flash message was not clearing on modal display. Store link was not working from modal button. 2014-02-13 16:19:21 +00:00