Commit Graph
100 Commits
Author SHA1 Message Date
Jared Tabor c981a4d53e Minor adjustments for demo 2016-01-22 07:38:42 -08:00
Jared Tabor 058aaee44e more padding beneath form title 2016-01-21 13:38:21 -08:00
Jared Tabor 6ba646aa72 adjusting left margin for settings page
for screen widths less than 710px
2016-01-20 20:58:01 -08:00
Jared Tabor b750625a31 Setup Menu cards styling 2016-01-20 15:37:44 -08:00
Jared Tabor 9351e29936 Fixing Users form for tabs
instead of accordions
2016-01-20 11:41:48 -08:00
Jared Tabor f6ab2fdff7 Adjusting 2 small things to forms
1) Changing the color of the SAVE button when disabled in order to make the text pop
2) Adding the ADMIN label to the title of hte user's form when the user is an admin
in order to make the white text pop
2016-01-20 10:23:48 -08:00
Jared Tabor 6687b30177 Adding functionality for tabs on forms
this adds the functionality for the tabs, and removes the old code around accordions.
2016-01-17 17:48:47 -07:00
Jared Tabor 516955fe12 Changing HTML for tabs instead of accordions
This gets the tabs on the screen and adds styling for the tabs. Does not include isSelected styling
2016-01-12 16:16:36 -08:00
Jared Tabor 72d0436e25 Changing Submit-button color to grey when disabled 2016-01-12 10:06:32 -08:00
Jared Tabor db2adb3188 Cleaning up old code from form-gen/gen-helpers 2016-01-12 09:08:52 -08:00
Jared Tabor dbb420ad69 Inital change of form CSS
adding forms.less, as well as changing background colors, input widths, borders, and first run at button style change
2016-01-11 14:10:16 -08:00
Jared Tabor 414a5e2be0 Putting list views and form views on same page
for remaining CRUD pages
2016-01-06 12:56:57 -05:00
Jared Tabor d35fd089be fixing management_jobs routes 2016-01-05 22:49:53 -05:00
Jared Tabor e6040371b7 Code cleanup
removing commented out code, and fixing management jobs and inventory scripts for passing objects to states
2016-01-05 22:29:12 -05:00
Jared Tabor 33955e3d77 removing old route 2016-01-05 15:00:17 -05:00
Jared Tabor 87b0a9abab fixing system tracking route 2016-01-05 14:00:45 -05:00
Jared Tabor 95240e03ab Removed old breadcrumb references 2016-01-05 14:00:35 -05:00
Jared Tabor 63c16af26a removing ngRouter and old routeExensions 2016-01-05 13:59:41 -05:00
Jared Tabor f9f8083a5c Testing with nested views/states
tested with inventories and projects pages
2016-01-05 13:59:41 -05:00
Jared Tabor 7a75f6d12a few remaining routes to fixup 2016-01-05 13:59:40 -05:00
Jared Tabor 4bf357659f adding states for modular-ly defined routes 2016-01-05 13:59:40 -05:00
Jared Tabor 3f92e4b193 small symantic changes to $stateExtender and it's directory 2016-01-05 13:59:39 -05:00
Jared Tabor de7b6ba7bd potential solution for extending $stateProvider
and modularizing states
2016-01-05 13:59:39 -05:00
Jared Tabor ca4687cb99 changing all $routeParams with $stateParams 2016-01-05 13:59:38 -05:00
Jared Tabor f61bfa21da changing $routeChangeStart to $stateChangeStart 2016-01-05 13:59:38 -05:00
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