Commit Graph
100 Commits
Author SHA1 Message Date
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
Chris Houseknecht 69b91afaf2 Fixed bugs from package upgrades. Updated all controllers to pass into form and list generators. Improved accordion styling. Refactored job status page. Tested using minified files and fixed build issues. 2014-02-13 03:04:27 -05:00
Chris Houseknecht 2fcb5a1ae4 More updates to contributing doc. Added Grunt to Makefile. Use lintjs to inspect .js files for lint and errors. Use minjs to compile and compress the .js and .less files. 2014-02-12 22:19:30 +00:00
Chris Houseknecht 3af771bca3 Fixed spacing issue in UI build script. 2014-02-12 22:07:06 +00:00
Chris Houseknecht 024264e87c Fixing missing less.js bits. 2014-02-12 21:20:33 +00:00
Chris Houseknecht 7df08907ea Fixing missing less.js bits. 2014-02-12 21:16:42 +00:00
Chris Houseknecht 5e5bd2dd3c Fixing missing twitter style sheets. 2014-02-12 21:12:43 +00:00
Chris Houseknecht 1f9de0e9eb Fixing missing twitter style sheets 2014-02-12 21:07:35 +00:00
Chris Houseknecht cac49c199c Fixed issues with Lookup.js helper. With multipe pages of data available to a lookup dialog, original selection was lost if user clicked cancel. Removed console.log statement left in pagination helper. 2014-02-07 17:20:24 -05:00
Chris Houseknecht a1e7b28380 Fixed pagination error on related sets. Initial page size was not being set and first page number set to 0 rather than 1. 2014-02-07 17:20:24 -05:00
Chris Houseknecht 8c88ee5663 AC-1016 put font size back to 14px on host fly-out. 2014-02-06 18:25:43 -05:00
Chris Houseknecht 2ef38adf26 AC-1016 Added tool-tip to status icon on host status fly-out. Changed z-index on tooltips to be greater than that of pop-overs. Made sure all tooltips when a pop-over opens. 2014-02-06 18:16:30 -05:00
Chris Houseknecht 4e49314bad AC-1016 on host status fly-out job id now links to job detail page rather than showing modal dialog. Fixed js errors happening when job_template is deleted and cannot be found. 2014-02-06 17:36:51 -05:00
Chris Houseknecht c55d3e935b Aftr user edits a group, update the sync related icons based on whether or not user added sync source or removed sync source. This allows a sync to be started immediately (or prevents starting one) without having to first click the refresh button. 2014-02-06 17:05:35 -05:00
Chris Houseknecht c52818ecee AC-1023 AC-1025 fixed drag-n-drop issues. Linting exposed a datatype mismatch issue. 2014-02-06 15:20:07 -05:00
Chris Houseknecht 4c38b05f90 AC-1021 fixed issues with group edit and source not saving. 2014-02-06 14:14:12 -05:00
Chris Houseknecht 8c5fb4bca4 AC-1021 fixed javascript error on group edit save. When user makes changes to a group, we attempt to update the group name and title on the tree view. The update process was building an invalid string. 2014-02-06 13:40:44 -05:00
Chris Houseknecht 1445fb533e Applying jsHint standards to form-generator.js. Adding unminified jquery to facilitate debugging. 2014-02-06 13:28:02 -05:00
Chris Houseknecht 010a998431 Applied jsHint code checking standards. 2014-02-06 12:17:12 -05:00
Chris Houseknecht e17d076e55 AC-1017 Added events and hosts links to the job status fly-out. Fixed a bug in search where claring the value and hitting enter did not switch the icon back to the magnifying glass. Linted Search.js and Hosts.js helpers. 2014-02-06 00:58:45 -05:00
Chris Houseknecht 5e7290aa85 AC-1014 fixed issued related to deleted templates and templates containing quotes in the name. De-linted job templates and the jobs controller. 2014-02-05 16:34:25 -05:00
Chris Houseknecht 229df6d4f7 AC-1010 Fixed breadcrumb capitalization to accommodate multi-word paths. Added .jshintrc which contains jsHint directives for delinting .js files. Delinted Utilities.js. 2014-02-05 11:54:24 -05:00
Chris Houseknecht 033968a0a9 Fixed compilation error. 2014-02-04 18:28:56 -05:00
Chris Houseknecht d08319100d Fixed styling on Job Events page to give the Event column more room. Added monospacing and nowrap to txt fields.Shotened Created On and Status columns. Centered Status column. Fixed Actions column so that columnClass directive works. 2014-02-04 21:27:31 +00:00
Chris Houseknecht 6d6ea293a4 Fixing 'working' ovrerlay to fit document height. 2014-02-04 19:04:41 +00:00
Chris Houseknecht bbdfc3ea4f Background for jqueryui modal and twitter bootstrap modal now match. 2014-02-04 13:23:03 -05:00
Chris Houseknecht 5cb6c22fc8 Fixed inventory sync status dialog to use jqueryui dialog- making it draggable and resizable. 2014-02-04 16:59:19 +00:00
Chris Houseknecht 6c2b8358a0 Fixed 'empty directory' warning on project detail page. The styling was off, and it was incorrectly displaying when scm_type was to empty. 2014-02-03 23:20:33 +00:00
Chris Houseknecht 88dc25fc15 Fixed support links. 2014-02-03 21:46:16 +00:00