Commit Graph
100 Commits
Author SHA1 Message Date
Jared Tabor 690d485616 changing all .when to .state for state provider 2016-01-05 13:59:37 -05:00
Jared Tabor c06250fc57 UI-Router: inventories manage, with nested groups
containing their own routes
2016-01-05 13:59:37 -05:00
Jared Tabor 5e777bd992 installing ui-router 2016-01-05 13:59:37 -05:00
Jared Tabor 497a404e95 Commenting out ngAnimate, as it is preventing the view to show up for most routes
This is only temporary
2015-12-18 14:52:33 -08:00
Jared Tabor 8523b2dbe9 adding padding to sides of main view of dashboard 2015-12-17 11:38:20 -08:00
Jared Tabor 48b52a6681 Updating the dashboard graphs to 3.0
This includes styling the graphs, moving the filters around, and changing the tabs to take up less space. Also made the graphs responsive.
The footer background color also changes to match the main body background.
2015-12-17 11:24:00 -08:00
Jared Tabor f1640c76a4 Temporarily removing ngAnimate injection
so that routes work in tower. This is only until we have time to diagnose the deeper cause of this issue.
2015-12-11 16:56:04 -05:00
Jared Tabor 405f0aef5e Making extra-var save consistent for groups/hosts
comments weren't being saved for group properties or host properties. I've realigned them to work consistently as inventory source vars, and job template vars work, in order to accept comments.
2015-12-09 17:02:13 -05:00
Jared Tabor 7a308db3e5 vendoring ng-pendo as an Tower module 2015-11-19 10:54:22 -08:00
Jared Tabor 9c435080ac CheckAccess for related fields for teams
for permissionsaddallowed
2015-11-18 11:10:10 -08:00
Jared Tabor 36df115774 20px padding for dashboard list widgets 2015-11-17 13:23:51 -08:00
Jared Tabor ab2da5058e fixing issue with nav bar routing
projects, inventories, and job templates would not route to correct location
2015-11-17 12:00:26 -08:00
Jared Tabor 4d45e0f778 removing the action column for the jobs list
on the dashboard
2015-11-17 10:01:30 -08:00
Jared Tabor 8be8b41539 Jobs list polish
adjusting small things from the PR review: focus text-color, SmartStatus SUIT, and direct edit button to job template page
2015-11-17 09:28:01 -08:00
Jared Tabor 8b3faa24e2 Revamp of the Dashboard Lists
This commit includes the face lift for the lists on the dashboard.

Remaining items/Known errors are:
sort doesn't work on table columns
I need to remove sparklines from the project

fixing column resize issues and adding ellipses for

long text that overflows the table cell.

adding 20px spacing between columns

per request of Taufique

SmartStatus "running" icon and links for jobs list

removing JQuery's Sparklines lib

adding more padding to main layout

for nav and footer
2015-11-16 17:44:27 -08:00
Jared Tabor 01b77168b5 Update response object nesting for pendo service 2015-11-16 12:46:11 -08:00
Jared Tabor 4ac56a474b Set footer opacity to 0 when on login modal
and hide the copyright if the screen is not wide enough for it
2015-11-12 00:35:20 -08:00
Jared Tabor edc364be8b Directivize footer and make it sticky
Sticky to bottom of screen if viewport is taller than brawser window
2015-11-05 16:57:05 -08:00
Jared Tabor d8aff34f63 null pointer exception 2015-11-05 11:17:17 -08:00
Jared Tabor 0c6bb50dd4 Tower 3.0 footer
footer with copyright and logo
2015-11-04 15:21:41 -08:00
Jared Tabor 095f8d349d adding default value for idle modal 2015-11-03 07:45:31 -08:00
Jared Tabor 555a8314d6 Checking for valid object in ProcessErrors 2015-11-02 15:57:17 -08:00
Jared Tabor 045014f3bc posting license after user posts license
then reissue pendo identity
2015-10-29 16:35:09 -07:00
Jared Tabor 861766e513 Adding ansible & tower versions to pendo object
Adding these keys to the account_id object
2015-10-29 14:34:53 -07:00
Jared Tabor f5bf789cb1 disabling pendo guides
we're not using the pendo guides in this release. This change turns off the outbound requests to pendo to check for guides.
2015-10-29 13:56:31 -07:00
Jared Tabor 3892b3db1c Forgot to update object reference for upgraded $http service from angular 1.4 2015-10-28 10:08:46 -07:00
Jared Tabor d2cefe6018 adding null pointer check
for timer factory when a user logs out from another tab
2015-10-28 08:47:09 -07:00
Jared Tabor 65d44287df fix console error with rest interceptor
null pointer exception fixed
2015-10-27 21:09:12 -07:00
Jared Tabor 12d31c5099 promise function was outdated for $http request of config.js
using .catch instead of .error
2015-10-27 20:49:37 -07:00
Jared Tabor 6c8597cf95 Wrapping timer init in promise
to ensure that timer is started before initializing websockets. This was leading to instances where the websocket thought that the session
hadn't been started yet. Also fixed an issue where the session wasn't tearing down the $interval when AUTH_TOKEN_PER_USER had been exceeded.
2015-10-27 13:51:54 -07:00
Jared Tabor 80eeda1c8c removing stale code
to make atom happy :)
2015-10-25 18:32:54 -07:00
Jared Tabor b83dfda92c fixing a null pointer exception if services are down and user attempts to login 2015-10-25 17:29:29 -07:00
Jared Tabor e18791a657 Integer Directive was returning false for a blank string
this was causing the integer directive to throw an error if the user entered something in the field, then erased it.
2015-10-25 14:48:23 -07:00
Jared Tabor f73e56439a On logout, log the user out of the UI on all open tabs
I've also reworked the logic around storing the user session idle time in localStorage
2015-10-23 17:12:04 -07:00
Jared Tabor d7c78d0b28 adding check for missing session time from local storage
for gracefully failing if session time isn't set
2015-10-16 20:26:25 -07:00
Jared Tabor fa2a11d8e7 Properly handle idle/expired session across tabs
this utilizes local storage instead of cookies/rootscope
2015-10-16 16:48:09 -07:00
Jared Tabor b45534859f fixing custom inventory script error
the source_script ID wasn't getting translated to inventory script ID on sources_scope when editing a preexisting source
2015-10-14 13:40:37 -07:00
Jared Tabor ff121a56c1 check for object existence before searching for key on that object
to resolve some console errors in regards to http  error handling
2015-10-14 09:14:44 -07:00
Jared Tabor 7e95b3cde7 fixing timer that would log user out on each page refresh
the check to see if the session time existed in memory was not specific enough
2015-10-13 11:37:55 -07:00
Jared Tabor 17fe670393 making pendo bootstrapping more explicit
bootstrap if state is anonymous/detailed (was previously set to !off)
2015-10-13 10:28:54 -07:00
Jared Tabor 414b8292ab removing ng-pendo from UI packaging
because Pendo pushed the updated ng-pendo to their server for delaying the bootstraping of pa.min.js
2015-10-12 09:54:08 -07:00
Jared Tabor d937f996ae adding ng-pendo.js
until the pendo guys load it on their servers
2015-10-08 14:12:47 -04:00
Jared Tabor fa4dd9a335 load pa.min.js for pendo on demand
courtesy of our friends at Pendo
2015-10-08 11:58:49 -04:00
Jared Tabor b6e51a0cd4 updated $http call to angular 1.4 implementation 2015-10-08 11:46:15 -04:00
Jared Tabor 4ea2e10f1c rejecting promise on requestError REST interceptor 2015-10-08 11:45:39 -04:00
Jared Tabor 116b0849a7 updated $http call to angular 1.4 implementation 2015-10-06 17:42:17 -04:00
Jared Tabor 55e6206d74 rejecting promise on requestError REST interceptor 2015-10-06 12:11:14 -04:00
Jared Tabor 2056ac16d5 use isEmpty check for valid object on session limit 2015-10-02 00:46:43 -04:00
Jared Tabor c96f0234f9 UI side of the session limit
includes the 'control' socket, kicking the user out, and adjusting the
expireSession function based on the reason
2015-10-01 18:02:06 -04:00
Jared Tabor fd34854f7a Session timeout after idle session
This commit is the UI portion of the session timeout feature for 2.4 (not incorporating the session_limit yet). This includes actively ending a session when the user's session time has expired, as well as giving the user a notification one minute prior that their session is about to end. It also includes removing 'session_timeout' from config.js. This is now retrieved from the response headers of each REST call. Each time the user make a rest call the session is extended another 1800 seconds (or whatever amount the user might configure with AUTH_TOKEN_EXPIRATION in local_settings.py)
2015-10-01 18:01:22 -04:00
Jared Tabor 879941e029 rejecting promises if erroring out 2015-09-30 13:51:01 -04:00
Jared Tabor 0f1d9a8743 removing resolve on /login route 2015-09-30 11:09:09 -04:00
Jared Tabor 0c7507d3a0 moving pendo service to login/authentication folder 2015-09-30 10:20:08 -04:00
Jared Tabor 29daee8334 Pendo.io service for Tower UI
This commit integrates the pendo support for the Tower UI, which involves creating an 'options' object and registering it with the pendo service installed in the index.html file. The options object is identified each time the user logs into Tower or when the browser session is refreshed.
2015-09-29 15:18:13 -04:00
Jared Tabor 33a82222b9 updated $http get request from deprecated syntax for angular 1.4 2015-09-21 11:38:53 -04:00
Jared Tabor f88320a5f7 LoadConfig fix to load config.js first and then local_settings.json 2015-09-21 11:15:10 -04:00
Jared Tabor f4f54cc6dc Refactoring login modal and services
refactoring login modal logic to extract html into its own partial
2015-09-14 14:06:29 -04:00
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