Commit Graph
100 Commits
Author SHA1 Message Date
Michael Abashian e9b14eff45 Merge branch 'mabashian-management-jobs-schedule-edit' into release_3.0.0 2016-06-10 09:31:26 -04:00
Michael Abashian b0ccd4c815 Merge branch 'management-jobs-schedule-edit' of https://github.com/mabashian/ansible-tower into mabashian-management-jobs-schedule-edit
# Conflicts:
#	awx/ui/client/src/management-jobs/scheduler/schedulerForm.partial.html
2016-06-10 09:30:56 -04:00
Michael Abashian 086fffe98c Fixed several bugs with adding permissions where checkboxes weren't checked properly or were disappearing when paging was involved. 2016-06-09 17:46:28 -04:00
Michael Abashian 1e42211b62 Check the launch response for specific attributes which indicate which type of job it is and route the user to the appropriate stdout/detail page. 2016-06-09 14:23:59 -04:00
Michael Abashian 22ea2fc344 Removed the resize logic that was attempting to control the number of rows show on the jobs list. 2016-06-09 11:29:02 -04:00
Michael Abashian e8a39685fc Turned the activity stream button into a toggle and added a conditional tooltip for show/hide 2016-06-08 19:35:59 -04:00
Michael Abashian d9dac237fa Merge branch 'mabashian-owners-credential-list' into release_3.0.0 2016-06-08 18:34:54 -04:00
Michael Abashian 277c3a62f0 Merge branch 'owners-credential-list' of https://github.com/mabashian/ansible-tower into mabashian-owners-credential-list
# Conflicts:
#	awx/ui/client/src/app.js
2016-06-08 18:34:30 -04:00
Michael Abashian 8618fcd7b4 Fixed typo 2016-06-08 18:27:34 -04:00
Michael Abashian bd8c328066 Added a sanity check to make sure that scope.schedulerUTCTime is defined before trying to use it in scope.processSchedulerEndDt(). If it's not defined yet then I added a watcher to wait for it to get set by angular-scheduler then unbinds itself. 2016-06-08 18:15:11 -04:00
Michael Abashian 68bf0e57a6 Fixed job launch weirdness where having only a survey show on job launch resulted in an error. This should also fix the bug where relaunching where no passwords were needed was showing a halfway empty modal. 2016-06-08 09:56:54 -04:00
Michael Abashian ff18b82f10 Leverage longDate to format date strings where we were previously using a static format. This allows us to leverage the users locale when formatting and maintains consistency across Tower. 2016-06-07 16:58:53 -04:00
Michael Abashian 9c047f3f3c Added tooltip/a href to the dashboard recent jobs status icons 2016-06-07 15:54:11 -04:00
Michael Abashian 03dd11d292 Added the ability to set tooltips on form generator buttons. Added tooltip to the ADD SURVEY button on the job templates form. 2016-06-07 14:43:12 -04:00
Michael Abashian 79a7476019 Management jobs schedule edit form styling cleanup. Made spinners and dropdowns look like the rest of our spinners and dropdowns. 2016-06-07 11:42:54 -04:00
Michael Abashian 731e2384bb Handle the three different owner types (organization, user, team) with separate links 2016-06-06 17:01:16 -04:00
Michael Abashian 8290f55a9d Added numerous missing breadcrumbs mostly involving edit pages and scheduling pages. 2016-06-06 15:35:58 -04:00
Michael Abashian 18c74a8020 Added owners column to the credentials list 2016-06-03 14:48:37 -04:00
Michael Abashian b7b853055c Need to remove listeners from $rootScope.adhoc_event_socket 2016-06-03 11:11:59 -04:00
Michael Abashian ca79fbe242 Updated empty list text for notification templates. Removed unnecessary empty list text on org users/admins. 2016-06-03 11:05:46 -04:00
Michael Abashian 68365effb8 Remove event socket listeners when the scope that created them is destroyed. This should fix #2121 where an existing jobs standard out was erroneously being updated after a new job launch. 2016-06-02 16:21:15 -04:00
Michael Abashian 49fdc735bc Fixed bugs where deleting a group with no hosts wasn't working as well as a bug where deleting a group with hosts wasn't properly clearing the modal background. 2016-06-02 10:58:18 -04:00
Michael Abashian beb6be189c Made username/password/tenant_id/client_id/client_secret all optional when creating an Azure Resource Manager credential. 2016-06-01 17:07:33 -04:00
Michael Abashian cc36385a75 Removed dashboard icon from inventory manage breadcrumb area. We aren't showing the dashboad icon here anymore for any routes. 2016-06-01 15:23:34 -04:00
Michael Abashian 2196b03330 Fixed empty notification status as well as an issue with the form which prevented you from creating a notification due to a rogue required field. 2016-06-01 14:45:19 -04:00
Michael Abashian b94694e5d7 Swapped the order of the action/cancel buttons in our default prompts 2016-06-01 09:59:03 -04:00
Michael Abashian 888009b87e Organizations bug fixes including getting action buttons working and adding close buttons to the panels. 2016-05-31 16:40:21 -04:00
Michael Abashian 7a6c5f3c87 Give the question portion of survey-maker a minimum height so that the type dropdown has enough space and doesn't result in double scrolling. 2016-05-23 14:05:52 -04:00
Michael Abashian 3739425eb7 Moved survey buttons down beside save/cancel on job template forms 2016-05-23 10:28:48 -04:00
Michael Abashian bd8ce603fd Merge branch 'mabashian-job-launch-modal-overhaul' into devel 2016-05-19 13:22:41 -04:00
Michael Abashian e373316df0 Merge branch 'job-launch-modal-overhaul' of https://github.com/mabashian/ansible-tower into mabashian-job-launch-modal-overhaul
# Conflicts:
#	awx/ui/client/legacy-styles/forms.less
2016-05-19 13:22:05 -04:00
Michael Abashian da7d77eb08 Survey textarea should have Form-textArea class. Fixed various extra vars bugs dealing with code mirror. 2016-05-19 10:51:35 -04:00
Michael Abashian c31f53517c Fixed various bugs dealing with styling of inputs, prompting for variables and converting extra vars from yaml/json and vice-versa. 2016-05-18 16:55:14 -04:00
Michael Abashian 526a1482b1 Need to check for this attributes existence before trying to use it 2016-05-18 14:33:16 -04:00
Michael Abashian ecf8d8765d Turned the activity stream button into a toggle. Removed the dashboard icon that was shown when a state does not have an activity stream. 2016-05-18 11:24:07 -04:00
Michael Abashian 4eeea9ab0d Removed urls declaration - this bug was fixed upstream 2016-05-17 15:55:43 -04:00
Michael Abashian d1e6a3323d Job launch ui overhaul 2016-05-17 15:50:56 -04:00
Michael Abashian 3dc59ae6db Added the ability to pass in ngChange with the subCheckbox form object. Separated the checkbox's ngDisabled from the parent form element. 2016-04-26 12:15:00 -04:00
Michael Abashian ff78082b67 Added prompt-for checkboxes to certain fields on the job template forms 2016-04-25 15:26:58 -04:00
Michael Abashian 077d0e60ac Removed the delete survey icon and added a DELETE SURVEY button next to the other buttons in the bottom right corner of the modal. 2016-04-20 10:56:26 -04:00
Michael Abashian 7bb7b4fd14 Changed variable to reqExpression per the update to awRequiredWhen 2016-04-18 17:10:16 -04:00
Michael Abashian 94c4591a3e Expanded awRequiredWhen to support an expression rather than looking at a truthy scope variable. 2016-04-18 11:09:12 -04:00
Michael Abashian 946cec2b7a Refactored formSave to remove old survey logic as well as remove unnecessary event emit. 2016-04-13 14:52:56 -04:00
Michael Abashian 7962167c03 Leverage the ngBindHtml directive to allow the escaped string to be rendered as html 2016-04-11 09:18:47 -04:00
Michael Abashian 27879068f1 Fixed bug where a preview with a description was pushing the input element way off to the right 2016-04-08 14:57:58 -04:00
Michael Abashian 0f2d924adb Create/edit survey re-work 2016-04-07 15:15:55 -04:00
mabashian 88cea14353 Added angular-drag-and-drop-lists dependency 2016-04-04 09:32:20 -04:00
mabashian 9e3d4a99d2 Added logic to not show the loop summary events in the UI by looking at event_data.event_loop. 2016-03-23 15:58:27 -04:00
Michael Abashian 0b531adaf3 Added survey buttons to the job templates form(s) and removed the checkbox 2016-03-09 16:46:04 -05:00
Michael Abashian 84d7f6c13f Moved job template routes, controllers, and views out into its own module. 2016-03-09 14:24:24 -05:00
Michael Abashian 0a4570ae0a Merge branch 'extra-vars' into devel 2016-03-08 11:03:10 -05:00
Michael Abashian ccaae088d6 Updated comments to reflect actual factory locations 2016-03-07 13:06:25 -05:00
Michael Abashian 976d242075 Reduced the space between the extra vars label and the code mirror instance down to 10px. 2016-03-07 11:00:07 -05:00
Michael Abashian 73d80f7179 Leveraging CodeMirror to display extra variables for management jobs 2016-03-07 10:32:30 -05:00
Michael Abashian 08c33a8c6b Refresh the job details when the job finishes running. This pulls in details not available at the beginning of a job. One plus two styling tweaks 2016-03-04 14:29:15 -05:00
Michael Abashian 54699b17ec Made list headers, buttons and search bars responsive down to mobile views. 2016-03-03 08:26:33 -05:00
Michael Abashian 106768606e Fixed bug - need to close out "else if" statement with parenthesis 2016-03-02 15:04:46 -05:00
Michael Abashian 3c85e9e639 Removed reload: true since it's not needed to force a transition when going to the activity stream. Changed the "Dashboard" dropdown to "All Activity." 2016-03-02 10:16:40 -05:00
Michael Abashian b967caedaa Strip the extra query params when the user uses the activity stream dropdown nav. 2016-03-02 10:04:23 -05:00
Michael Abashian f2f51ab132 Added host case to the GetTargetTitle factory 2016-03-02 09:46:18 -05:00
Michael Abashian 268f5165f7 Got rid of the location url regex for sockets and started using the $state.is(). 2016-03-02 09:04:11 -05:00
Michael Abashian fb0b760216 Moved standard out log to directive 2016-03-01 13:49:25 -05:00
Michael Abashian 38463673d5 Updated out-dated comment to reflect code 2016-02-26 12:25:24 -05:00
Michael Abashian 6870a5d60c Swap out regex on related for IDs in summary_fields 2016-02-26 12:21:01 -05:00
Michael Abashian fc16473c03 Merge branch 'log-viewer-cleanup' into devel
# Conflicts:
#	awx/ui/client/src/helpers.js
2016-02-26 11:45:18 -05:00
Michael Abashian c65d795b3b Fixed this other /home/groups href by removing the extra slash 2016-02-24 13:37:27 -05:00
Michael Abashian e8b890ac45 Fixed this /home/groups route. Having the extra slash before the query params was resulting in a redirect to the dashboard. 2016-02-24 13:28:46 -05:00
Michael Abashian 1de32b987f Added missing query parameters to /home/hosts and /home/groups 2016-02-24 13:23:04 -05:00
Michael Abashian c4f15c1541 Moved the LookUpName factory out into the standard out directory. Removed the StandardOut helper. 2016-02-24 09:43:46 -05:00
Michael Abashian 382368f8db Made standard out details responsive. Removed the /stdout on the end of some of the standard out routes. 2016-02-24 08:33:56 -05:00
Michael Abashian 00a41ef2b9 Removed a lot of LogViewer related logic since stdout is no longer a modal. Moved the LogViewerHelper to StandardOutHelper. 2016-02-22 15:33:39 -05:00
Michael Abashian fa29608f50 Configured standard out breadcrumbs for adhoc, inventory sync, management jobs and scm updates. 2016-02-19 16:17:16 -05:00
Michael Abashian 81e044c97c Added standard out details to inventory sync, management jobs and scm updates. 2016-02-19 10:41:17 -05:00
Michael Abashian 7dbb69dd6d Accidentally included JobDetailController in app.js during my last merge. This is now pulled in via the job detail module. 2016-02-18 10:04:12 -05:00
Michael Abashian ce8f40277c Merge branch 'remove-standalone-stdout' into devel 2016-02-18 09:47:01 -05:00
Michael Abashian e9899c278f Modularized Standard Out/Job details for all jobs that are not playbook runs. This is mostly scaffolding. 2016-02-17 15:54:53 -05:00
Michael Abashian f2f9dc4703 Removed jshint comment 2016-02-15 11:04:38 -05:00
Michael Abashian e5f6373617 Added ProcessErrors declaration 2016-02-15 10:29:54 -05:00
Michael Abashian 5f7de996bd Added logic to hide activity stream button when the feature is turned off. Also added logic to redirect the user to the dashboard when they try to navigate to the stream when the feature is not on. 2016-02-15 10:21:17 -05:00
Michael Abashian 2079ddc36a Turned on the activity stream for inventory manage. Refactored the ModalToPlural function so that it returns the key that the getBasePath() function expects for that model. 2016-02-11 15:54:17 -05:00
Michael Abashian bf74cbc993 Applied select2 to the activity stream dropdown nav. Went ahead and moved the dropdown nav template into a partial rather than having it inline. 2016-02-11 13:39:51 -05:00
Michael Abashian 62ad03ce5a Merge branch 'style-stream-filters' into devel 2016-02-11 12:51:12 -05:00
Michael Abashian 6940dccea2 Re-introduced the search widget dropdown filter functionality to move search back to it's function 2.4.x state. Tag based search will come in a future feature. 2016-02-11 11:15:56 -05:00
Michael Abashian dd9db63519 Merge branch 'remove-old-stream-code' into devel 2016-02-11 11:06:09 -05:00
Michael Abashian f863972cea Added Panel class and list title to the Home Hosts list view 2016-02-10 11:18:00 -05:00
Michael Abashian cbd863de71 Removed the Stream factory declaration where it is no longer needed. Removed from many of the controllers throughout the application. 2016-02-10 10:44:19 -05:00
Michael Abashian 635634b12d Made the empty list text a configurable item that can be passed to the list generator. If it's not passed in we fall back to the existing string. 2016-02-09 16:27:24 -05:00
Michael Abashian a450dbb42a Added activity stream navigation dropdown 2016-02-09 15:49:15 -05:00
Michael Abashian cb36f1eba5 Changed Detail prefix to StreamDetail in our stream details less file. 2016-02-08 17:08:35 -05:00
Michael Abashian 49a458b178 Styling update on the activity stream action details modal. Removed its dependency on the form generator and moved it out into a directive. 2016-02-08 16:59:37 -05:00
Michael Abashian 6a4f374e8c Removed duplicate List-titleLockup styles that I introduced 2016-02-04 13:24:56 -05:00
Michael Abashian f2d6d84ed2 Added subtitle to the activity stream 2016-02-04 13:18:38 -05:00
Michael Abashian e9d99592cf Added the ability to pass the listTitleBadge parameter to the list generator. Passing a false flag will hide the badge in the title. This is desired on the Activity Stream. 2016-02-03 11:10:22 -05:00
Michael Abashian f70cf7d2f6 Changed activitystream in the url to activity_stream to match up with the api 2016-02-02 16:01:52 -05:00
Michael Abashian 41589ed558 Added basic activity stream functionality by leveraging the data attribute of the state provider. The breadcrumb directive pulls this information from the state provider and uses it to hide/show the activity stream button and pass the stream the correct data. 2016-02-01 15:25:09 -05:00
Michael Abashian e52d31e861 Removed status label from home groups 2016-01-28 13:14:16 -05:00
Michael Abashian 34185304d6 Made the "status" columns throughout the project a static width and nestled it up against the name/id column to match up with the spec. Made all the tooltip hovers appear to the right of the icon since they are all lined up on the left side of the table now. 2016-01-28 12:25:51 -05:00
Michael Abashian dfb02aea4f Fixed several schedule action buttons that were defining href's. Got the job templates schedule view rendering so that other features can be worked on until this view is fully updated. 2016-01-27 11:47:44 -05:00
Michael Abashian 64f4cb03e7 Added the ability to pass ngShow to the SearchWidget generator helper. By specifying this parameter we can control when the search bar gets shown. In this case we want to hide the search bar when a list is empty to start with. 2016-01-27 10:14:18 -05:00
Michael Abashian 2012e75160 Fixed the spacing issue between the bottom of the search bar and the top of the table. There should now be 20px between the two. 2016-01-26 16:02:35 -05:00