Commit Graph
100 Commits
Author SHA1 Message Date
Chris Houseknecht a4098a6df7 Modified search widget heper to no longer include 'row' element in the returned html. Callers will now controll the row definition. Moved breadcrumb generation from list-generator to generator-helpers so that it can be called from anywhere, including the inventory edit controller. Breadcrumbs now appear on inventory edit page. Changed search to check if searchPlaceholer field property is a scope variable. If it is, use the scope variable's value. Now clicking on a group name highlights it, searches for hosts and changes the search filed placeholder value to include the group name. 2013-12-31 06:56:01 +00:00
Chris Houseknecht 156652d60b Fixed compilation error. 2013-12-30 09:49:29 +00:00
Chris Houseknecht f26956d2cc Group add and edit now mostly work. The Add Group dialog now includes tabs and supports source. The tree is refrshed on load. Moved retrieval of update status info to InventoryTree. 2013-12-30 09:45:30 +00:00
Chris Houseknecht b25c96b0dd Adjusted vertical alignment of main menu nav 2013-12-28 20:05:52 +00:00
Chris Houseknecht 9accfa872f Fixed license status to display correct icon and color. 2013-12-28 20:03:14 +00:00
Chris Houseknecht 5c42b88e27 Finished icon cleanup from FontAwesome upgrade. Changed default form style to basic rather than horizontal for a much cleaner, uncluttered look, especially in dialog boxes. Group Edit dialog is starting to function. Added support for Tabs in form generator. 2013-12-28 19:45:51 +00:00
Chris Houseknecht 0b7d3999d2 Fix js compilation errors. 2013-12-20 23:53:54 +00:00
Chris Houseknecht 7ef25fec57 All form Save and Reset buttons now built with same icon, color, size. Fixed bug on Organization add/edit form that prevented Reset button from working. Fixed Jobs drop-down navigation menu- icon was missing on some pages. 2013-12-20 23:48:04 +00:00
Chris Houseknecht d02d2ebf15 Installed FontAwesome 4. Modified form and list generation to force icon selection through a single method so that icons, icon sizes and button colors are all consistent. Everything seems to be working now with the exception of the status bubbles on list pages. Will need to modify ansible-ui.less anc change the unicode strings to new FontAwesome values. 2013-12-20 23:17:02 +00:00
Chris Houseknecht 44574de083 Removed address from footer. Made copyright a link. Refactored layout to use TB columns. Added media queries to stack columns and center things on small viewports. 2013-12-20 15:22:06 +00:00
Chris Houseknecht af5bb93864 AC-602 new inventory. Initial commit. Things are badly broken at this point, but the groups list doe show. Hosts are almost visisable. 2013-12-20 01:17:53 +00:00
Chris Houseknecht f1b99f12b6 Start of inventory re-write 2013-12-20 01:11:02 +00:00
Chris Houseknecht 2dd2fb95ac AC-697 Dynamic help on Permissions page based on Permission Type. Uses a help collapse. Added ngBind support to help collapse, allowing the controller to set a scope variable to an html string. Added a Permissions.js helper to share setting help text and other defaults whenever permission type changes. 2013-12-02 21:34:53 +00:00
Chris Houseknecht a21a740bad AC-741 scm and machine type credentials now sharing ssh_key_unlock field in Credential form definition. Originally split because only machine should allow Ask option. Added new askShow option to form generator so that Ask checkbox gets an ng-show directive. 2013-12-02 18:48:41 +00:00
Chris Houseknecht c8b4e204f9 AC-732 fixed job page errors, event timing timestamp formats, 'working' spinner placement and hover color on search widget icon. 2013-11-25 16:45:47 +00:00
Chris Houseknecht 54ec61f2b7 AC-689 no longer storing selected array in scope object. SelectionInit should be called before Search in controllers- Users had it in the wrong order. Added ability to override internal selected array in SelectionInit with reference to external array to support the groups page. Fixed cosmetic/styling differences between hosts and groups inventory pages. 2013-11-25 14:12:30 +00:00
Chris Houseknecht fae51d12f0 AC-726 Improved search filter, eliminating need for reset button. Fixed drop-down menu on jobs detail page, replacing summary with host summary. Fixed error message on job templates and jobs when list of playbooks cannot be found- message is now informational rather than cryptic error. 2013-11-23 14:48:43 +00:00
Chris Houseknecht 5b48bea8c9 AC-724 inventory.total_with_inventory source is now available and connected to the dashboard. If a value is not present, 0 will be returned rather than '?' 2013-11-22 22:32:23 +00:00
Chris Houseknecht 9171382894 Fixes for AC-715 'adding cloud credentials to job_template' and AC-721 'this.scope not defined' 2013-11-22 21:28:16 +00:00
Chris Houseknecht a1ff025488 AC-715 make sure we load api resources immediately upon application start. 2013-11-21 22:37:01 +00:00
Chris Houseknecht bb23dd6bb4 Inventory sync group totals are now derived by summing counts for inventory sources. Cleaned up summation process in scm sync. 2013-11-21 21:22:11 +00:00
Chris Houseknecht 8dafc10541 AC-715 Fixed issues with bad API requests when user types in value and lookup is built with predetermined search parameters. Fixed project lookup failure while user is typing. 2013-11-21 21:13:40 +00:00
Chris Houseknecht 0948418ce2 AC-715 not sure if this is the issue. I hit a js error on line 711 of awx-min.js. Had to do with bug introduced into projects controller when status field changed from text box search to dropdown list. 2013-11-21 20:37:50 +00:00
Chris Houseknecht ed44248d96 AC-707 fixed issue related to js minification for homehosts controller. 2013-11-21 20:13:29 +00:00
Chris Houseknecht fb446ef040 Changed inventory sycn inventory adn groups total count to look for new fields. Same with sycn status projects total. 2013-11-21 19:40:49 +00:00
Chris Houseknecht ba645f947e AC-700 fixed lookup dialog titles on job templates page. 2013-11-21 18:49:06 +00:00
Chris Houseknecht 04d810d5a5 AC-693 changed Summary to Host Summary 2013-11-21 18:38:17 +00:00
Chris Houseknecht 015622e2cb AC-692 status button is now displaying once again on jobs detail page. 2013-11-21 18:30:22 +00:00
Chris Houseknecht bdafaa414f AC-683 Fixed credential help text. 2013-11-21 18:11:28 +00:00
Chris Houseknecht 1a3d0e4e6f AC-682 Made project help text changes. Found a way to get help icon tool-tip to display top while help text pop-out displays left. Added status drop-dwon options on projects search filter. 2013-11-21 18:04:26 +00:00
Chris Houseknecht f473d51ef3 Found the real source of the js error. There was a callback naming conflict with ProjectList controller. Both were using 'choicesReady'. 2013-11-21 17:41:35 +00:00
Chris Houseknecht 0af2980d10 Fixed js error. For some reason form generator was unable to get the scope for js-tree after changes related to source_regions. Added a way to pass in scope. 2013-11-21 17:36:03 +00:00
Chris Houseknecht 376d59dfcc AC-681 simulating a disabled button for project update and inventory update. Button appears disabled, but tooltips work. On *disabled* buttons tooltip explains why it is disabled. Button is clickable, but nothing happens- just like a real disable dbutton. 2013-11-21 17:02:51 +00:00
Chris Houseknecht 013af19be4 AC-707 fixing home page links. Cleaned up issue with gtzero search type. 2013-11-21 14:34:01 +00:00
Chris Houseknecht 2a0edd4ea5 AC-706 fixed typo in help text on group edit page. 2013-11-21 08:18:27 +00:00
Chris Houseknecht 98b984cf86 AC-687 cloud regions are now selectable. AC-707 fixed broken hosts and groups links on home page. 2013-11-21 08:15:58 +00:00
Chris Houseknecht 38e9dbcf3c AC-691 fixed detail AS view so that JSON changes displays correctly. Fixed Refresh and AS buttons on Home page. 2013-11-21 01:16:15 +00:00
Chris Houseknecht 0cd6e5412b AC-684 Added new help text and adjusted credential labels. Fixed missing cloud credential name value on Jobs Detail view (job template accordion). 2013-11-20 23:57:43 +00:00
Chris Houseknecht ade961fd38 AC-674 flash message is now cleared whenever AS is summoned. 2013-11-20 22:37:29 +00:00
Chris Houseknecht 8afdb710be Fixed project related links on home page. Add missing Reset button to all list pages. Fixed bug in sort that prevented searching where drop-down item is empty. 2013-11-20 22:07:55 +00:00
Chris Houseknecht 9f40a6c8b4 New dashboard. Modified dahsboard widgets to use API dashboard resource. System summary now working. 2013-11-20 21:09:55 +00:00
Chris Houseknecht 117d702a2a New dashboard. Modified dahsboard widgets to use API dashboard resource. 2013-11-20 21:09:55 +00:00
Chris Houseknecht 99726266e9 AC-698 when job template does not include a credential, user is prompted for one on launch. The prompt was broken. Fixed. Also made it so that working spinner starts the second you click Update. Tested working spinner initiate and fade out for job, project and inventory submissions. 2013-11-20 18:07:39 +00:00
Chris Houseknecht 2f90ce511f Refresh button on jobs and projects tab now responds with a spinner. Before nothing happened and you were not really sure if the data actually refreshed. This is a result of removing the little spinner in the fitler widget. 2013-11-20 16:43:16 +00:00
Chris Houseknecht aef534f080 Fixed *flashy* working spinner behavior. Noticed it on Users page when adding a new user. Problem is with callback feature on working widget. If the callback is empty, then don't pass along undefined to fadein/fadeout. Applied delete spinner changes to Users, somehow it had been overlooked. 2013-11-20 16:43:16 +00:00
Chris Houseknecht 8836bee43a AC-690 copy button back in. 2013-11-20 15:44:52 +00:00
Chris Houseknecht 31360d5262 AC-690 removed copy button. 2013-11-20 15:40:31 +00:00
Chris Houseknecht a9c9cc8f03 Removed update interval field grom Group form. 2013-11-20 09:13:59 +00:00
Chris Houseknecht 5b6eba7f93 AC-665 Added governor to object type searches, limiting objects to 30. Now using 'working' spinner in place of small spinner. No more auto search. Replaced the auto search with Go button and Enter key. 2013-11-20 09:03:11 +00:00
Chris Houseknecht 0127680805 AC-657 Fixed order of operations for prompting user to approve delete, starting spinner, sending request to API, stoping spinner and refreshing page. The key is starting the spinner using the modal.on.hidden.bs.modal to start the spinner and then not stopping it until inside postrefresh event. Applied the fix to all controllers and tested. 2013-11-20 06:06:26 +00:00
Chris Houseknecht ebd6973f6b AC-550 When user views inventory update status (by clicking on the status link) an alert at the top of the dialog will show when the error is caused by a license violation. 2013-11-20 03:45:42 +00:00
Chris Houseknecht 666d721bda AC-668 'parse as' value now works correctly. 2013-11-19 21:03:55 +00:00
Chris Houseknecht d340de970f AC-654 Added 'X-Auth-Token' as a header in all requests. This will give the API a way to distinguish requests between UI an API Browser and invoke correct RBAC rules. Without this we run into a collision of sorts when user logs into UI and API Browser at the same time from the same browser. 2013-11-19 20:48:09 +00:00
Chris Houseknecht 94bbab566b Only allow user with super_user access to see activity stream button. Fixed collision between is_superuser rootscope variable and credential.is_superuser on credential detail page. Added AS to user/n/permissions page. 2013-11-19 20:39:43 +00:00
Chris Houseknecht 4661a9e97a Added AS to /inventories/hosts/N and /inventories/groups/N as well has /home/[groups, hosts]. Fixed CSS container sizing issue, so widget will not overlap footer. 2013-11-19 18:52:32 +00:00
Chris Houseknecht 925016d556 Host enabled flag is now a checkbox rather than a radio button on the Hosts add/dit dialog. 2013-11-19 09:27:39 +00:00
Chris Houseknecht e2209ce3bd Ac-630 cloud_credential_name value is now set after data loaded for Job Template edit page. 2013-11-19 09:06:25 +00:00
Chris Houseknecht 6b418d4a5c Added activity stream to all tabs and to the tab detail page. Enabled working breadcrumbs on the activity stream widget. Added round corners to th stream containers so it at least looks OK when the bottom occassionally overllapses footer. Adjusted the stream widget's default url to include detail object's primary key, limiting rows to the object being viewed. 2013-11-19 08:17:21 +00:00
Chris Houseknecht 735da6bff6 Related search now works with new search features. Only searches after user stops typing. Disables the input field while search is executing. Moved refresh button to the right side of list page. Fixed bugs: was using contains rather than icontains. Not sure that old refresh button worked. It does now. 2013-11-19 04:35:35 +00:00
Chris Houseknecht 3377927c00 Activity stream- completed modification to Rest lib. Fixed searches on activity stream allow search by object type and object name. Improved detail modal so that more of the changes box is visible. Moved search reset button to the right. There is now only one reset button per list, not one per filter widget. 2013-11-19 02:26:23 +00:00
Chris Houseknecht 1b224f64ac Added support for many (unlimited) search widgets on a page. Activity widget now has 2 object search widgets. Adding a setHeader function to Rest.js library. 2013-11-18 20:03:32 +00:00
Chris Houseknecht c720e5d51c Search.js now supports up to 3 search filters on a page. First search widget can be regular or an object selector, which is used on the activity stream widget. Activity stream now has 2 filter widgets allowing a search to combine object and responsible user in a single query. 2013-11-18 08:16:51 +00:00
Chris Houseknecht 7952cb560b AC-640 Added additional help text explaining why an organization is required on a project. 2013-11-17 06:58:11 +00:00
Chris Houseknecht ce7688d252 Added 'working' spinner to all save/delete/select actions. This is to compensate for places where activity log is slowing down the API. AC-646 changes Rackspace credentials to show API Key in place of password. Fixed a bug on machine credential that caused username to not be passed to the API when adding and editing. 2013-11-17 06:37:34 +00:00
Chris Houseknecht 4b111d61c1 AC-611 Latest activity widget features. Tweaked current filter, but still does not include an object type. Added activty stream to Organization tab. 2013-11-15 16:28:54 +00:00
Chris Houseknecht 9505768bf6 First attempt at accessing /activity_stream. Modified /list/Stream.js to match the API and to start providing some of the translation we'll need. 2013-11-14 07:02:22 +00:00
Chris Houseknecht 520f5e4861 AC-633 js error fixed. 2013-11-13 22:33:01 +00:00
Chris Houseknecht 7ac277fd24 AC-633 fixed a sort of unrelated js error. The capitalize filter directive attempted to act on a 'null' input error. Added a test to ignore empty/null input. 2013-11-13 20:44:27 +00:00
Chris Houseknecht 63061c020f AC-633 Fixed 'hast' typo. 2013-11-13 20:05:32 +00:00
Chris Houseknecht 7a2bc539d4 AC-617 changed callback generation icon to a magic wand, which will hopefully satiate jlaska. 2013-11-13 18:38:42 +00:00
Chris Houseknecht 8d72192849 AC-627 Fixed password/ssh_password collision in Credentials.js form. This was also fixed in auditlog branch. 2013-11-13 18:32:02 +00:00
Chris Houseknecht 8c741ac36a AC-628 applied credential changes made in add controller to edit controller so that credential/cloud_credential lookups display context-aware credential lists. 2013-11-13 18:27:29 +00:00
Chris Houseknecht d5d3495494 Found and fixed another bug on the Credentials form. Changing the ssh password value was causing a hidden password field to become invalid. Form definition for ssh password cleared the incorrect associated confirmation field. 2013-11-13 17:11:15 +00:00
Chris Houseknecht a65564e3bf Moved credentials in tab order. It now follows teams and precedes projects. Based on a suggestion from jlaska. 2013-11-13 15:26:20 +00:00
Chris Houseknecht 4650af9cb9 AC-609 Fixed issue with help button not displaying correctly on 'select' pages where user can pick an existing object (i.e. users, credentials, etc) to add to a parent object. 2013-11-13 15:09:14 +00:00
Chris Houseknecht 3f148e104e AC-625 while looking into issue surrounding non-running updates, discoverd that creating credentials from the Users and Teams tabs was not allowing the user to click Save. The Save button refused to become enabled. Turns out that when a user or team is preelected (using route params) form initialization routine needs to run and it was not. 2013-11-13 03:58:12 +00:00
Chris Houseknecht e99ac9d668 AC-502 all links for Inventory widget on home page now work. Modified responding controllers to process all search parameters. Fixed Hosts and Groups links in the Summary widget. Added ability to edit host using modal dialog from /home/hosts page. 2013-11-12 21:09:50 +00:00
Chris Houseknecht ebc311d009 AC-502 links are now correct on inventory home page widget. 2013-11-12 18:20:04 +00:00
Chris Houseknecht 68286074cf AC-502 home page widgets should now show 0 rather than ' ' for empty values. 2013-11-12 16:20:24 +00:00
Chris Houseknecht 4e93a5c6e2 AC-502 added group ID as a parameter on 'job failure' links from /home/hosts. This causes the tree to load with the appropriate group selected. 2013-11-12 16:11:39 +00:00
Chris Houseknecht 5a62ba3a32 AC-502 Finally figured out how to fix the awToolTip directive so that it watches a variable for tool tip text changes and updates the tool tip text. Pass in the variable name using badgeTipWatch. Used on home/hosts page and inventory/N/hosts page when toggling the enabled flag. 2013-11-11 22:24:15 +00:00
Chris Houseknecht 353858cf28 AC-502 Fixed links on home page status widget. Added home/hosts page. 2013-11-11 19:16:16 +00:00
Chris Houseknecht 38cb40d38b Added inventory count back into the 'job status' widget on home page. Inventory, groups and hosts counts are there, but links don't quite work yet. 2013-11-11 00:30:15 +00:00
Chris Houseknecht 9ad30dc43c Credentials: form save routine is almost identical between Add and Edit controllers. Combined into one common routine that both controllers can use and moved to helpers/Credentials.js. Just some needed tidying. 2013-11-11 00:16:04 +00:00
Chris Houseknecht 5b2751c57f Fixed parent container of activity stream setting the min-height value. This keeps the activity stream from overlapping the footer. Fixed groups page edit to not clear/empty the credential_name field. 2013-11-08 22:07:51 +00:00
Chris Houseknecht b2ce037acc AC-614 credential lookup now narrows choices based on specific source. So if source is 'ec2' only show 'aws' credentials. 2013-11-08 18:40:26 +00:00
Chris Houseknecht 1d27f666e4 AC-616 Fixed date warning vs. date expired message. The CheckLicense routine now looks for date_expired flag. 2013-11-08 18:16:52 +00:00
Chris Houseknecht 5a3977495a First iteration of Activity Stream. Added Home/Groups page. Increased icon size for icon-only buttons. Dashboard jobs widget- group and job links now work. Closed AC-621, AC-618. 2013-11-08 17:58:40 +00:00
Chris Houseknecht fa9ccf1d0a AC-595 for form/list definitions using \{\{ \}\} replacement variables in the title, include the capitalize filter. 2013-11-06 15:30:37 +00:00
Chris Houseknecht 49a8de4efe AC-570 Added host enabled flag on Hosts page, allowing one-click editing for manually managed hosts. Fixed one more bug with prepending '*' to labels of required fileds. 2013-11-06 08:09:02 +00:00
Chris Houseknecht 1497d128f3 Jobs list on Job Templates detail page now closely matches the Jobs tab. Status looks the same, is clickable and offers matching tooltip. 2013-11-05 22:28:31 +00:00
Chris Houseknecht e701857594 AC-563 license check now responds to date_expired and date_warning flags. Prior to this it treated date_warning as if the date had expired. 2013-11-05 21:33:47 +00:00
Chris Houseknecht 6c2ea0a7bb AC-559 Changed reset filter to clear the search and remove search keys from the URL displayed in the browser. Removing search keys from URL requires resetting window.location, which does to a page refresh. O'well. 2013-11-05 21:10:31 +00:00
Chris Houseknecht be74d9d932 AC-536 No longer dissaociating hosts from /inventories/N/groups, so no more cases where dragging-n-dropping groups results in lost hosts. Fixed tree styling to better align nodes. 2013-11-05 20:37:51 +00:00
Chris Houseknecht 09e64e3685 AC-608 Fixed form generator's ability to find labels related to rquired fields and add CSS class that prepends label text with '*'. 2013-11-05 19:35:42 +00:00
Chris Houseknecht d17b683c35 AC-607 Fixed parsing of extra_vars on job_template. '' was not being recognized as !== stringified JSON. 2013-11-05 19:09:44 +00:00
Chris Houseknecht 337eaf2d1b Set default config.js timeout to 1800 seconds. 2013-11-05 17:39:42 +00:00
Chris Houseknecht 51aae28a1e AC-471 Added back client session timeout. Fixed Rest service library to bubble up expired session and invalid token errors via promise object, enabling correct error handling. Now tracking last URL in session cookie and returning user to last URL after successful login. 2013-11-05 17:36:28 +00:00
Chris Houseknecht 2a58d50cfa Added collapsible help panel to Credential detail page for Kind. Added auto collapse/expand based on whether or not a kind has been selected. 2013-11-04 16:49:43 +00:00
Chris Houseknecht 778fe07179 AC-403 changed Host add/update to stringify variable data and include it directly in the Post or Put operation, bypassing use of host/N/variables. Now host names can include a :port. 2013-11-04 10:16:57 -05:00