Jared Tabor
e0a566cdea
adding socket coverage to child states
...
so that child states won't unsubscribe the parent from any groups
2016-10-04 14:23:39 -07:00
Jared Tabor
37b2b01e02
small fix to disconnect function--null pointer exception
2016-10-04 14:23:39 -07:00
Jared Tabor
4e533cc63b
adding disconnect function for logging out
...
and adding ability to specify `socket: null` for a route definition, in order to
specify a state that should not subscribe/unsubscribe at all (for login state).
2016-10-04 14:23:39 -07:00
Jared Tabor
82d33d8686
fixing issue with adhoc stdout
...
the adhoc stdout was subscribing to job_events instead of
ad_hoc_command_events
2016-10-04 14:23:39 -07:00
Jared Tabor
0f32faec60
Changing naming convention for socket-message event listeners
...
to use <stateName>-<group_name>
2016-10-04 14:23:39 -07:00
Jared Tabor
f875d65ef7
Adding unsubscribe method for non-socket-enabled routes
...
with the idea that we only want to unsubscribe directly following a subscribe
(no need to unsubscribe if we're already unsubscribed).
2016-10-04 14:23:39 -07:00
Jared Tabor
1510d826a6
Sending blank object to socket server on routes that are not
...
websocket enabled.
2016-10-04 14:23:39 -07:00
Jared Tabor
947571fe26
Fixing live events for inventory-manage page
2016-10-04 14:23:39 -07:00
Jared Tabor
0fb4a1a62a
Adding socket object to route definitions
...
for stdout routes, as well as removing some old code
2016-10-04 14:18:44 -07:00
Jared Tabor
aa4a8f6089
Hooking SocketService.subscribe function to $stateExtender
...
so that socket rooms can be configured on each route that needs sockets s
2016-10-04 14:18:44 -07:00
Jared Tabor
9691e267df
adding promise for successful socket connection
...
in order to prevent the a race condition: the socket was trying to emit
messages to the API to subscribe to rooms before the socket connection was
finshed connectig.
2016-10-04 14:16:59 -07:00
Jared Tabor
0937866e20
refactoring socket functions
2016-10-04 14:16:59 -07:00
Jared Tabor
813eeb9dd9
fixing socketservice init on login
2016-10-04 14:16:59 -07:00
Jared Tabor
e35b5ef6fb
Adhoc stdout working with new websockets
2016-10-04 14:16:59 -07:00
Jared Tabor
a091069d9d
Move socket helper to a service and remove old code
2016-10-04 14:16:59 -07:00
Jared Tabor
3d979bb661
draft 1 of socket refactoring
2016-10-04 14:16:59 -07:00
Jared Tabor
e9b54dcd3c
switching socket.io-client for ReconnectingWebSocket library
2016-10-04 14:16:09 -07:00
Jared Tabor
5e4362da69
making ec2 cred optional on group->edit
2016-08-11 13:09:56 -07:00
Jared Tabor
c21e142929
making ec2 credential optional for ec2 inventory
...
and fixing the autopopulate for that field (it should not autopopulate)
2016-08-11 12:56:17 -07:00
Jared Tabor
d8c713d5ef
Making the username and password fields optional
...
for email notifications
2016-08-10 14:08:33 -07:00
Jared Tabor
d848fcfc4f
Fixing recent jobs & recent syncs tooltip for inventories
2016-08-02 17:45:02 -07:00
Jared Tabor
3f69be1a86
Fixing popover for notification template status icon
...
the awPopOver directive was getting compiled mutliple times and therefore was triggering the on-click event multiple times
2016-08-02 14:42:21 -07:00
Jared Tabor
45e506ec0f
Make check for idle session more specific
...
in order to avoid collision with a social auth session's startup.
2016-07-27 13:52:26 -07:00
Jared Tabor
b3d3a6e590
Fixing iterator used when jobs list refreshes
...
it was still using the iterators used when there were four job panes
2016-07-25 17:39:19 -04:00
Jared Tabor
d39538c7c4
Fixing iterator used when jobs list refreshes
...
it was still using the iterators used when there were four job panes
2016-07-15 10:52:14 -07:00
Jared Tabor
4f563a4313
make username required if not radius/ldap
2016-07-14 14:48:38 -04:00
Jared Tabor
8ef59091ac
Show password fields for new uers
2016-07-14 14:48:38 -04:00
Jared Tabor
8ab00e2d05
Hide password fields for radius/social auth users
...
on the users edit form, the password/confirm password field will be hidden similar to ldap. the username will not be required as well
2016-07-14 14:48:38 -04:00
Jared Tabor
f9de8db89a
Show proper error message for missing job template form
...
when visiting the job template page for a job template that has been deleted or doesn't exist, we want to show the 404 error message, not an error message about tags or labels.
2016-07-13 15:40:44 -07:00
Jared Tabor
c6aa2b4392
removing logic in job detail page related to scm updates
...
job detail page is only for job runs, scm updates have their own stdout page
2016-07-12 16:03:31 -07:00
Jared Tabor
f88e9cfec1
Check for object keys to avoid console error
2016-07-12 15:44:13 -07:00
Jared Tabor
9389d9014b
Jobs and Scheduled Jobs dynamic tooltip fix
...
Both tooltips would break if sorting/filtering the jobs list and the scheduled jobs list
2016-07-12 13:17:58 -07:00
Jared Tabor
999c3d8292
capping pending retries at 10
2016-07-11 11:15:38 -07:00
Jared Tabor
148b59d628
Add additional polling if test notification is "pending"
2016-07-11 11:11:53 -07:00
Jared Tabor
0eee38ab10
1px white border for any status icon within a tooltip
2016-07-11 10:17:43 -07:00
Jared Tabor
b4d489ff1b
XSS sanitize permissions popover
...
and remove-permissions modal
2016-07-11 09:28:25 -07:00
Jared Tabor
393c668ffb
Update all fa fa-rocket icons to new 3.0 launch icon
2016-07-08 14:32:14 -07:00
Jared Tabor
ac42f7a0d5
Using $state to determine to launch or relaunch jobs
...
instead of $location
2016-07-08 11:39:46 -07:00
Jared Tabor
4f219e2775
redirect user to dashboard if refresh
...
if changing targets on the activity stream page and then clicking the toggle
2016-07-08 10:00:40 -07:00
Jared Tabor
81d32e216d
fixing tooltip for host events on job detail panel
2016-07-08 09:59:52 -07:00
Jared Tabor
4c0a0f7936
Searching for disabled hosts was searching for enabled hosts
...
The API can only search hosts by "enabled": yes or no (t/f). However on the UI we want to search by "disabled" so needed to override the boolean values for this particular search
2016-07-07 12:00:19 -07:00
Jared Tabor
4abae312f1
adding "missing" status for project status tooltip
...
the tooltip for "missing" projects read "Failed" instead of "Missing"
2016-07-07 10:12:36 -07:00
Jared Tabor
0c3ba0d6b3
Activity Stream toggle should close AS
...
Clicking the toggle while on the AS page wouldn't always remove the AS
2016-07-06 14:40:20 -07:00
Jared Tabor
58c493653a
Cloud credential should not be required for manual groups
...
the cloud credential-required flag was true for manual group types, which isn't required.
2016-07-06 13:56:43 -07:00
Jared Tabor
826392b2a8
removing jobSocket module
2016-07-01 13:42:52 -07:00
Jared Tabor
cfbab84ed7
removing unnecessary "jobs" websocket init
2016-07-01 13:34:17 -07:00
Jared Tabor
d2fa6b5e9d
Applying the .name-column class for name columns
...
The class was already used in some tables, but now it will be applied to all tables
2016-07-01 10:42:41 -07:00
Jared Tabor
8cd2124d3d
adjusting label-delete-modal's title width
...
to prevent long strings to run off the modal
2016-06-30 15:55:29 -07:00
Jared Tabor
f20fd7d459
Scrubbing delete modals for XSS vulnerabilities
2016-06-30 12:35:55 -07:00
Jared Tabor
a0dd159f3b
Sanitize JT delete modal in list controller
2016-06-30 12:35:55 -07:00
Jared Tabor
d6f644bc71
make username required if not radius/ldap
2016-06-29 13:11:50 -07:00
Jared Tabor
4770bc7f8b
Show password fields for new uers
2016-06-29 12:41:05 -07:00
Jared Tabor
b99f9e2eee
Hide password fields for radius/social auth users
...
on the users edit form, the password/confirm password field will be hidden similar to ldap. the username will not be required as well
2016-06-29 11:13:56 -07:00
Jared Tabor
406188c6ea
Reset network credential on selection change
...
The "authorize" checkbox would remain checked whenever the credential type was changed, however it should be reset on each type change
2016-06-28 08:50:51 -07:00
Jared Tabor
fb1a448e95
Changing color of textareas to fcfcfc
2016-06-28 08:45:29 -07:00
Jared Tabor
c2b6099e0d
Slight tweak for when session timer expires
2016-06-24 16:01:46 -07:00
Jared Tabor
862dc458c6
fixing project view of failed syncs from dash
...
to include failed jobs and canceled jobs
2016-06-23 09:01:06 -07:00
Jared Tabor
a26a4326ba
Fixing add notificaiton template button for mgmt jobs
2016-06-23 09:00:02 -07:00
Jared Tabor
3e9b86e024
Fix breadcrumb for notification templates page
...
It didn't include the Settings crumb first
2016-06-23 09:00:02 -07:00
Jared Tabor
c075aafd50
JSHint
2016-06-23 09:00:01 -07:00
Jared Tabor
b1fff38243
Inserting ADD NOTIFICATION TEMPLATE button for tabs
...
with notification templates
2016-06-23 09:00:01 -07:00
Jared Tabor
81402bd2ee
UX audit fixes for search bar on related tabs
2016-06-22 10:53:53 -07:00
Jared Tabor
d1d620fd7c
Portal mode search bars 100%
2016-06-21 14:13:40 -07:00
Jared Tabor
1abb6e8ffb
Related tab-search-bars 100% width w/o actions
...
If there are no actions like ADD, then the search bar should be 100% width
2016-06-21 13:49:36 -07:00
Jared Tabor
205963a7ce
Adding labels for notifications on related tabs
...
for notification type column
2016-06-21 12:30:02 -07:00
Jared Tabor
ecb1e7b15e
removing hover popover on recent notifications icon
2016-06-21 09:21:30 -07:00
Jared Tabor
bc9289c5a5
Prevent dashboard resolve from sending GET requests until after user logs in
2016-06-20 13:18:05 -07:00
Jared Tabor
11bd5570cf
fix for setup menu route resolve
2016-06-20 11:37:27 -07:00
Jared Tabor
8a34b5712a
returning promise in resolve for setup menu
2016-06-20 10:43:31 -07:00
Jared Tabor
2de4a2d0f9
removing wait spinner on notification popover
2016-06-17 17:12:54 -07:00
Jared Tabor
de1d605c28
fix for broken recent-notifications popover
2016-06-17 17:11:00 -07:00
Jared Tabor
3115dd4fee
hiding notifcation templates on setup menu
...
for non org admins
2016-06-17 17:11:00 -07:00
Jared Tabor
17ffc39281
updating notifications status after test notification
2016-06-17 13:44:48 -07:00
Jared Tabor
95e500d472
the disabled key for the manual-inv-group-notifications
...
was getting added to the notifications object for all notifications-related-lists
2016-06-16 13:52:31 -07:00
Jared Tabor
d9f4819372
js hint
2016-06-16 11:59:02 -07:00
Jared Tabor
ab9448e039
changing logic for is-loggedOut class
2016-06-16 11:06:53 -07:00
Jared Tabor
322451853d
unpromisifying the logout() function call
...
and fix for other PR feedback
2016-06-16 10:51:31 -07:00
Jared Tabor
c6879e5163
Adding an extra session check for when a user closes tower
...
before the session times out and returns to Tower. Also changed the login route controller to a resolve to ensure that the login modal appears.
2016-06-16 10:50:53 -07:00
Jared Tabor
7286163281
Changing color of idle countdown text to #D9534F
2016-06-16 10:23:15 -07:00
Jared Tabor
98e5291bfc
Disabling notifications related button for manual groups
2016-06-15 15:46:44 -07:00
Jared Tabor
490425970a
JS Hint
2016-06-15 15:41:40 -07:00
Jared Tabor
928ae58430
Changing failed notification toaster icon
...
to fa-exclamation-triangle
2016-06-14 16:06:26 -07:00
Jared Tabor
4d7bc6e101
Changing wording and styling of notification toaster message
...
and adding some better error handling for failed notifications.
2016-06-14 10:05:11 -07:00
Jared Tabor
80815305c5
Check status of test notifications.
...
The response from the PUT call to the notifications_templates/<id>/test endpoint contains an ID to be used to
perform a lookup off of the notifications endpoint in order to obtain the status.
2016-06-14 00:00:41 -07:00
Jared Tabor
a5634b24a7
updating license page for license that exists, but is not valid
2016-06-13 14:05:12 -07:00
Jared Tabor
70318f23cb
Loading the viewport after /config response is returned from the API
2016-06-09 10:24:58 -07:00
Jared Tabor
945380c07a
Redirecting non-playbook-jobs to correct stdout pages
2016-06-08 14:37:16 -07:00
Jared Tabor
c5aee042ce
fixing cancel button nghide when job is running
2016-06-08 11:30:02 -07:00
Jared Tabor
8602b66c47
adding delete/cancel for mgmt jobs stdout
2016-06-08 11:01:48 -07:00
Jared Tabor
1e44ea8f7f
Adding Relaunch and cancel/delete buttons to the stdout page for
...
SCM update, inv-sync, and adhoc
2016-06-08 11:01:48 -07:00
Jared Tabor
f1f36f44b2
Changing 'template_id' to 'id' for job templates
...
which was recently changed for bread crumb names
2016-06-07 11:22:41 -07:00
Jared Tabor
65cf910131
fix to pass jenkins test
2016-06-03 13:17:34 -07:00
Jared Tabor
67d161d818
Fix for activity stream state, and hover state for power button on screens with width <900px
2016-06-03 12:03:57 -07:00
Jared Tabor
a34a82c745
Updating documentation on login process for new config workflow
2016-06-03 10:26:10 -07:00
Jared Tabor
155b30af41
Updating comment in app.js
2016-06-02 17:50:34 -07:00
Jared Tabor
c516a17ef9
Removing old code and cleaning up for PR
2016-06-02 17:42:41 -07:00
Jared Tabor
0ae30d14e9
Starting timer after config response returns
...
b/c timer depends on the 'auth-token-timeout' from the /config response
2016-06-02 17:42:40 -07:00
Jared Tabor
7c489ae4c8
UX Changes to the License workflow
...
adding the Tower logo and a sentence to the license screen when no license is present
2016-06-02 17:42:40 -07:00
Jared Tabor
40abf57b4a
Improvements to feature service timing for AS button
2016-06-02 17:42:40 -07:00
Jared Tabor
4d1c43f4bd
Fix for session limit per user
2016-06-02 17:42:40 -07:00