Commit Graph
100 Commits
Author SHA1 Message Date
Jared Tabor 8aa9325e43 removing "Choose a..." option for select2 fields
in form generator
2015-09-03 09:35:49 -07:00
Jared Tabor b5392316c9 removing dropDownAdapter 2015-09-02 10:53:13 -07:00
Jared Tabor a5731a5452 Removing search field on select2 fields used in inventory sources tab.
This also fixes the behavior when the user hits escape while the select2 drop down menu is visible.
2015-09-01 17:49:23 -07:00
Jared Tabor 5107100166 Surveys: make MC and MS fields disabled while previewing a survey 2015-09-01 15:14:07 -07:00
Jared Tabor 36e63862e5 catch possible 404 error
on dashboard
2015-08-28 13:15:39 -07:00
Jared Tabor 8a583a8202 Changing the description in scheduler for minutely and hourly frequency 2015-08-25 22:30:47 -07:00
Jared Tabor f19473175b saving/editing inventory scripts lookup 2015-08-20 09:59:32 -07:00
Jared Tabor 40700d76c9 change ng-show to ng-if and only make a job a cleanup job or fact cleanup job if extra vars have addtional properties 2015-08-19 15:37:36 -07:00
Jared Tabor 9c294f6cc8 Changing 'source_script' to 'inventory_script' on groups modal.
In the demodalification of the custom inventory source modal, I switched to using the naming convention "inventory_source" instead of the original "source_script" title we dubbed it when we started developing the feature. I felt that
changing the naming convention better aligned with what is presented in the UI. This change continues to keep the naming convention consistent in the UI.
2015-08-19 13:24:18 -07:00
Jared Tabor a8a78b3914 Organize host events by host id
missed this in the original PR
2015-08-17 14:55:18 -07:00
Jared Tabor ed85df52f0 Job detail page: increment hostCount if missing
occassionally the hostCount will not get incremented despite a host result being processed as successful, failed, skipped, unreachable, or changed. This cause the UI not to show the host status
2015-08-17 11:58:47 -07:00
Jared Tabor 74c5236da2 Organize host summary results by host id instead of name
on the job detail page as host results were stored in the hostSummaries array, they were organized by hostname, but hostname can be changed as a result of the playbook potentially
2015-08-17 11:58:47 -07:00
Jared Tabor f7b0da7be5 About Tower version number fix
for parsing versions such as "2.3.0" and "2.3.0-0.git201507231538"
2015-08-10 10:02:45 -07:00
Jared Tabor 6ab4bc6800 About Tower version number fix
for parsing versions such as "2.3.0" and "2.3.0-0.git201507231538"
2015-08-10 08:41:49 -07:00
Jared Tabor f5e7b6ab6b Fix issue with lookup "Select" button 2015-08-05 13:14:58 -07:00
Jared Tabor b2b867a529 updating to use template URL helper function in routes 2015-07-28 14:21:35 -07:00
Jared Tabor d806318342 removing stale code 2015-07-28 14:01:14 -07:00
Jared Tabor 8d19eec6af management jobs fixes 2015-07-28 14:01:13 -07:00
Jared Tabor fe285a8924 management jobs schedule list query
the management jobs should only show the schedules which haven't run yet. updating the query to reflect this.
2015-07-28 14:01:12 -07:00
Jared Tabor fb99bc1c04 demodalizing management jobs modal 2015-07-28 14:01:11 -07:00
Jared Tabor 4e6c97aa56 demodalizing inventory scripts
and refactoring to use es6 modules
2015-07-28 13:54:15 -07:00
Jared Tabor ee6bc5dbfd redirecting to inventory manage screen after save
after saving a new inventory
2015-07-28 13:19:26 -07:00
Jared Tabor d9559934b0 adding last user to last path logic
in order to send the user to their last path if and only if they were the last user too.
2015-07-28 13:19:25 -07:00
Jared Tabor 5310d3989a Pagination widget
The 'previous' button was not properly disabled when multiple pagination widgets were on the same page. Fixed by inlucding the 'iterator' in the 'previous' button lookup
2015-07-28 13:19:24 -07:00
Jared Tabor 6b4b959bc5 removing unneccessary tooltip on scheduler modal 2015-07-28 13:19:24 -07:00
Jared Tabor 2e3844decb changing select type from checkbox to radio button
for the selection of Team in the credential add/edit form page
2015-07-28 13:19:23 -07:00
Jared Tabor 1368403309 adding 'waiting' job status jobs to jobs page 2015-07-08 11:14:22 -04:00
Jared Tabor 0acf8aecbc Portal jobs widget resize issue
the 'Started' column needed to be hidden on small (<991px) devices/screen sizes, instead of for only extra small (<769px)
2015-07-01 12:03:13 -04:00
Jared Tabor eb70983b54 Layout of filter on Portal Jobs widget
the filter buttons would wrap incorrectly on smaller screens
2015-06-30 14:56:11 -04:00
Jared Tabor 40f0548fe7 Fixed jobs list search params
the jobs list page accepts query params for status, but this functionality broke w/ the change to 1 pane instead of 4. Now its fixed
2015-06-26 12:15:52 -04:00
Jared Tabor 255c4626f4 removing query params on url
only when you are leaving system tracking
2015-06-25 16:31:34 -04:00
Jared Tabor 133e3cd675 remove query string on URL
when navigating thru tower we do not want query params to persist when routes change
2015-06-19 16:14:14 -04:00
Jared Tabor 94c242c608 Fix issue with schedulers
editing/adding schedules in the related accordians for Projects and Job Templates were not working, where the action buttons for schedules not even showing up in the Schedule accordian. I've updated hte form objects as well as the form-generator to accept the list of action buttons and their icons. Also fixed a related issue where the scheduler titles were not showing up on the scheduler dialog
2015-06-19 12:03:49 -04:00
Jared Tabor 0d81d4a62b fixing console error when running system jobs 2015-06-17 12:27:24 -04:00
Jared Tabor 76e4626fbe Adjusting tooltips for job detail donut chart
for better mouse movement, adding an offset based on the charts dimensions
2015-06-09 20:20:23 -04:00
Jared Tabor 558cebffe9 Smart-status: check for valid id before redirect 2015-06-09 17:08:44 -04:00
Jared Tabor 6462d14ace default playbook for scan job template
when creating a scan job template via the inventory detail page`
2015-06-09 16:47:15 -04:00
Jared Tabor 3573a164e7 Job detail donut chart tooltip fix
adding a mousemove event listener to have the tooltip move in respect to the user's mouse movement. also adjusted the colors to be more dynamic
2015-06-09 13:07:53 -04:00
Jared Tabor 89b8f832b9 adding search widget back to select2
due to restrictions of the update of select2, I'm opting to include the search bar in the select2 dropdown for now
2015-06-08 16:53:28 -04:00
Jared Tabor 56760f69a9 Adding sentence to prompt modal for cleanup_facts job 2015-06-08 15:53:45 -04:00
Jared Tabor a5a6f9c9bb fix to event viewer on job details page 2015-06-08 15:40:20 -04:00
Jared Tabor 4cbf8e0c17 Fix for host events viewer
the host events had logic that was expecting to act on an array, but was not receiving an array
2015-06-08 15:40:20 -04:00
Jared Tabor e379996a84 Remove list of features if license is updated
by removing the list of license-enabled-features when the user upgrades their license, it triggers the features.service.js to retrieve a new list of features from the config endpoint.
2015-06-08 12:02:47 -04:00
Jared Tabor c20fc09243 Fixing breadcrumb issue w/ inventories -> scan job templates
when editing/adding a scan job template, the 'Job Template' breadcrumb did not have a route associated with it.
2015-06-08 11:02:14 -04:00
Jared Tabor d262ce22a0 added required asterisks to license update form elements 2015-06-05 16:13:56 -04:00
Jared Tabor 4849808ee9 Fixing blue 'flashMessage' box that flashes on license page
the license controller had a setTimeout that was pausing the logic of the license controller which was causing a blue rectangle to flash on the license page.
2015-06-05 13:49:54 -04:00
Jared Tabor 131da8775d Breadcrumbs to license page 2015-06-05 12:18:40 -04:00
Jared Tabor d10a597b3c Fixed console error when running system jobs
a chunk of code was referring to job_scope before it had been instantiated as a scope object
2015-06-05 11:53:13 -04:00
Jared Tabor ef5d3372db adding 'sensitive' field to survey taker
for password fields
2015-06-05 10:39:43 -04:00
Jared Tabor 96659ac657 Default multiplechoice answer fix
the default answer for a multiplechoice question was not saving correctly.
2015-06-05 10:39:42 -04:00
Jared Tabor 0778e93f49 Survey maker -> default password input replacement
turning the default password input on survey maker to use the new schema
2015-06-05 10:39:41 -04:00
Jared Tabor b41546a20e Change wording of cleanup job prompts
per word-audit done via docschick
2015-06-04 15:20:19 -04:00
Jared Tabor b1a8d2ce3c Add 'finsihed' to sparklines bar charts 2015-06-03 11:22:14 -04:00
Jared Tabor 540308a9b4 "Invalid Date" fix for jobs page
returning an empty string for when the date format filter receives a null object
2015-06-02 13:59:04 -04:00
Jared Tabor 1ad1e63f5e Related schedule and Completed jobs on job template form page
the schedules and completed jobs lists were not being filled with related data on the job templates form page.
2015-06-01 17:17:43 -04:00
Jared Tabor c485d3f3d1 No surveys for scan job templates
hiding the survey checkboxes, and setting 'survey_enabled' to false for scan job template saves
2015-06-01 14:12:38 -04:00
Jared Tabor f5973c81e2 Subscription name to UI
adding subscription name to hte UI in About Tower modal and on License page on license tab for card https://trello.com/c/4IMj3H4V/535-include-subscription-type-in-tower-license-and-present-in-api-and-ui
2015-06-01 12:25:03 -04:00
Jared Tabor d7e2614760 Copyright JS files and removing unlicensed files
Adding the Copyright and All Rights Reserved to the JS files, as well as removing pwdmeter and 3dDonut chart (in lieu of d3.js donut chart)

adding the legend and getting pie chart to donut

adding data labels to donut chart

working legend and tooltip

job detail donut

Ansible Copyright added to beginning of all JS files

removing pwdmeter and d3donut

fixing merge conflicts
2015-05-29 12:08:22 -04:00
Jared Tabor c2a5b21b9e adding the locale files for moment.js
also adjusted the source of its locale setting to be more comprehensive (use navigator.language and navigator.languages)
2015-05-29 11:21:11 -04:00
Jared Tabor 54dc36c793 removing search bar for select2 drop downs 2015-05-27 00:35:19 -04:00
Jared Tabor 15773ba242 demodalizing the license modal
the license modal is now its own standalone page. this commit includes demodalizing the license page, directing the user to this page if no license exists, redirects the user to hte home page when a license is entered, and adds the license type to the license page and the About Tower modal. It also includes a small change to the aw-feature directive to better handle a session that does not have a license yet.
2015-05-26 17:29:53 -04:00
Jared Tabor 22b44ceb32 Adding cleanup_fact prompt
The cleanup_fact job requires a different set of parameters: older_than and granularity. A different prompt modal was required in order to reflect these extra parameters.
2015-05-26 13:45:46 -04:00
Jared Tabor 8485cd9f85 Pagination left arrow shown at all times for spacing
Within the pagination widget, the left (previous) arrow will always be shown now, with functionality disabled if the user is on the first page of results
2015-05-20 14:22:41 -04:00
Jared Tabor 90410aa4b5 removing resize behavior from inventory manage page 2015-05-18 22:45:58 -04:00
Jared Tabor 5d696adebf Adding space between status icon and status text on the jobs list page 2015-05-18 12:50:37 -04:00
Jared Tabor 2b7a2a1a3b fixing merge conflicts
from master
2015-05-15 17:18:14 -04:00
Jared Tabor a84aed63c9 Revert "Setup initial system tracking struture"
This reverts commit 8a6c23d1d9497f1be814e963e13675d8b38014eb.
2015-05-15 14:14:32 -04:00
Jared Tabor 52459d16b9 Revert "jshint fixes"
This reverts commit b2d51abb4048b2e456c04c8ffc35cb7ebf7dfea6.
2015-05-15 14:14:22 -04:00
Jared Tabor 3f6d093869 Revert "adding inventory button"
This reverts commit 949dd868bd6dc2a150068b42d968897dc3674bc3.
2015-05-15 14:14:07 -04:00
Jared Tabor 166bd3b246 Revert "fixes Fact serialization/deserialization"
This reverts commit 0a60a724fa3ad7a4aef9624e708e20c86406c198.
2015-05-15 14:13:12 -04:00
Jared Tabor 12fbe984b9 FINAL revert of commit: "Adding a date filter that will format dates in Tower UI"""
This reverts commit 1945c04cd3dfbb33fe3c8139cee88c862cd75cab.
2015-05-15 11:18:47 -04:00
Jared Tabor 20ec360692 Revert "Revert "Adding a date filter that will format dates in Tower UI""
This reverts commit a5119f681d688ea1bdf07b952a065f90a03ea757.
2015-05-15 11:14:29 -04:00
Jared Tabor 052c808b8f Revert "Adding a date filter that will format dates in Tower UI"
This reverts commit 41a168c57f74a774555753a269431efaf795597c.
2015-05-15 11:13:45 -04:00
Jared Tabor bc9c4d355e Quick fix to survey's to create new surveys
'mode' was added to generate form, and when adding/editing new questions the 'mode' of the question form was getting mixed with the 'mode' of hte job template form.
2015-05-15 11:03:47 -04:00
Jared Tabor e41359c8cc Adding a date filter that will format dates in Tower UI
based on the user's locale.

short and long date format filters

adding long date format to appropriate files

in doing a grep for the long date format, i found these files could instead use the londDate filter

Removing short hand abbreviation for dates.

We will now include the year in all our date formats

updating jshint to ignore moment

updating long date filter
2015-05-15 11:03:46 -04:00
Jared Tabor 48d211c56b adjusting the awFeature controller to return true when a awFeature string is not provided 2015-05-05 17:09:34 -04:00
Jared Tabor 263dafd84a fixing spelling error
on home.partial for activity streams
2015-05-05 10:32:01 -04:00
Jared Tabor 88d444ead7 adding short doc explanation for aw-feature directive 2015-05-04 14:46:52 -04:00
Jared Tabor 79b79f0481 initial files for license diff directive
awLicenseFeature with show/hide

changed file locations

changing file location

adjusting controller logic to only return list of features

leveraging $rootScope instead of local storage

adding awFeature directive for lists/forms for activity stream button

Adding route resolvers and service for getting license

In order to get the license info from the API and not from local storage, the UI needs to hit hte API before loading any pages, therefore I've added route resolvers that will ensure that we have the appropriate data (license features) before navigating to a new page. I've also added the awFeature directive to the organizations list -> add-button and the ldap checkbox on the user form page.

adjusting alignment

fixing jshint errors

commting file for testings

adding tests for features service and features controller

adding features controller unit test
2015-05-04 11:34:38 -04:00
Jared Tabor bfb4ccf266 Updating Source form to fix save button validity 2015-04-24 09:54:08 -05:00
Jared Tabor fdbb885b08 fixing issue with select2 data collection
there was an error with not collecting select2 data if there were no source_regions chosen for the source selected.
2015-04-22 14:11:35 -04:00
Jared Tabor 2bd856da93 select2 comments and removal of stale awMultiSelect
adding comments for how to implement the select2 on a select field, and removing the directive that no longer creates select2 fields
2015-04-20 14:47:14 -04:00
Jared Tabor d27a190b4e Updated select2 fields for new version of lib
adding select2 updated lib

removing old select2 library
2015-04-20 14:47:14 -04:00
Jared Tabor 38f0b46ded adjusting width of search bar in jobs page 2015-04-17 17:45:06 -04:00
Jared Tabor ed0f6a7918 Obtaining job status from API instead of capitalizing
The jobs page and the job detail page now use the API value to display job status
2015-04-14 15:23:02 -04:00
Jared Tabor 9af7a428ab removing unneeded files and adjusting height logic 2015-04-13 17:58:08 -04:00
Jared Tabor 8b225e333b Fix to delete/cancel jobs 2015-04-13 14:48:39 -04:00
Jared Tabor 9cffbd63c2 Schedule search widget, and fix buttons for jobs
Inserted the schedule search widget for hte scheduled jobs tab, and adjusting the correct buttons based on if a job is running.
2015-04-13 11:16:25 -04:00
Jared Tabor eabe4bdf02 Made jobs page use 1 pane with tabs
instead of the 4 panes divied into completed, running, and queued jobs
2015-04-10 14:29:46 -04:00
Jared Tabor c61ef0a602 send user to inventory manage when saving new inventory 2015-04-09 14:42:59 -04:00
Jared Tabor 8b336ab2e1 adding infinitescroll bower file for licensing 2015-04-09 11:54:10 -04:00
Jared Tabor 1d20ddc227 adding comments for job submission 2015-04-07 18:14:38 -04:00
Jared Tabor d5389cc15d refactoring password gathering in job submission 2015-04-07 16:56:31 -04:00
Jared Tabor eb5e10aa5c adding 'become' privilege escalation on cred
and on job template adding a flag for enabling 'become' escalation.
2015-04-07 15:11:51 -04:00
Jared Tabor f6827a1079 adding options for privilege escalation drop down
this will get replaced by info from the back end.
2015-04-07 11:24:31 -04:00
Jared Tabor 47d7440b57 changed credential privilege escalation to selectable 2015-04-07 11:24:21 -04:00
Jared Tabor 4955ad4e01 added privilege escalation chxbox to JT form page
the job template page will need to have a flag to provide the user to run playbooks as sudo
2015-04-07 11:24:13 -04:00
Jared Tabor 1b9c050dc8 adding pbrun radio option and input fields 2015-04-07 11:24:00 -04:00
Jared Tabor ed3dab91bf adjusted row heights on dashboard, jobs, and portal mode.
adjusted row heights due to change to button font size.
2015-04-06 15:34:01 -04:00
Jared Tabor 0fdb9703ea removing intervals that attempt to open sockets
the intervals are not necessary and we can rely on the socket service doing the reconnection for us.
2015-04-03 16:44:34 -04:00