Commit Graph
100 Commits
Author SHA1 Message Date
jaredevantabor 05999459a7 Fix for download button being visible on job results 2016-11-18 11:00:13 -08:00
jaredevantabor 0590a1416d Fitting panels to the size of the viewport 2016-11-18 11:00:13 -08:00
jaredevantabor 51bfc0525a adding new line character and 'ok' host colors 2016-11-18 11:00:13 -08:00
jaredevantabor 3e2940203f more stdout styling 2016-11-18 11:00:13 -08:00
jaredevantabor 261c91d836 early styling of stdout 2016-11-18 11:00:13 -08:00
jaredevantabor 777a15f763 fixing small typo in jobs.py and adding sockets to the
new job results page
2016-11-18 11:00:13 -08:00
jaredevantabor 5a7c33c17a error handling for job-result route
for when there are no job_events for a job
2016-11-18 11:00:13 -08:00
jaredevantabor 5dad4ef8d5 Adjusting some colors and first pass at real stdout
by using an ng-repeat and stdoutArr
2016-11-18 11:00:13 -08:00
jaredevantabor e11eb1d4d8 adding some dummy lines 2016-11-18 11:00:13 -08:00
jaredevantabor e6c342d9ad Adding initial files for job results standard out panel
with some very rough dummy text in there for now
2016-11-18 11:00:13 -08:00
jaredevantabor 3ade961e92 Rebase of devel (w/ channels) + socket rework for new job details
Replacing old socket.io receiver w/ new websocket receivers
2016-11-18 11:00:13 -08:00
jaredevantabor fcb9d8b6b5 Adding job results bar files 2016-11-18 11:00:13 -08:00
jaredevantabor 43e4786c7f First pass at the right side of the new job details 2016-11-18 11:00:13 -08:00
jaredevantabor 960f90c4fd Patches to get tests and test-ci to pass 2016-11-18 10:54:26 -08:00
jaredevantabor fb7be12110 Removing stale pendo file
a working version of this file exists in a directory above this file already
2016-11-14 12:42:11 -08:00
jaredevantabor 1b79503075 making workflow-results panels the height of the viewport 2016-11-14 10:00:22 -08:00
jaredevantabor 9f7ac059b7 Small fix for projects list to update on successful websocket messages 2016-11-10 13:10:22 -05:00
jaredevantabor 740daba640 Merge branch 'devel' of https://github.com/ansible/ansible-tower into devel 2016-11-10 11:35:00 -05:00
jaredevantabor b3dbc59df6 Fixing jobs list page: adding launch & cancel buttons
and making sure that you can launch jobs from the jobs list, and that sockets
work with the jobs list for live updates
2016-11-10 11:34:06 -05:00
jaredevantabor 478fc33710 adding workflow status bar to workflow results 2016-11-09 11:09:33 -05:00
jaredevantabor 9cb002b4cb adding more workflow results pages and functionality 2016-11-08 12:21:11 -05:00
jaredevantabor abdd9f8372 adding files for workflow-results 2016-11-08 08:40:14 -05:00
jaredevantabor 8c7a4b56f7 putting form-generator.inject() back into the app
for backwards compatibility with features that relied on that function. see: ctit
2016-11-04 10:56:13 -07:00
jaredevantabor b98524dc91 Temporarily commenting out request for language files
in order to avoid 404 file not found error on the console until the i18n
team provies the language files
2016-10-25 15:46:45 -07:00
jaredevantabor d8b1281d57 adding i18n reference to a few files 2016-10-25 15:26:45 -07:00
jaredevantabor 6bd20c6433 Adding the token to the socket url 2016-10-20 12:58:45 -07:00
jaredevantabor d84912bb2a potentially adding token to websocket url 2016-10-20 10:02:28 -07:00
jaredevantabor bc1561fc67 Removing front end double parsing of socket messages
previously the socket messages were double encoded w/ quotations
2016-10-20 09:17:50 -07:00
jaredevantabor 9274b90b9b switching websocket to secure websocket (wss://) dpending on protocol 2016-10-11 14:22:42 -07:00
Jared Tabor 3a1b4a10c8 Turning debug_mode to false 2016-10-06 20:15:15 -07:00
Jared Tabor c6d5f751fb Feedback from PR
specifically the scope that is used for attaching event listeners
for the $emit/$braodcast/$on that is used for routing socket messages.
Also removing some commented out code
2016-10-06 18:42:18 -07:00
Jared Tabor 1b8b4a68b7 Resubscribing the UI to the last group it was on, whenever a disconnect happens that
was no intentional
2016-10-05 14:10:40 -07:00
Jared Tabor e80c99e737 removing status checks in socket.service 2016-10-05 10:35:55 -07:00
Jared Tabor 5edd9e73c8 removing npm-shrinkwrap to avoid conflict 2016-10-04 16:24:58 -07:00
Jared Tabor 37e282735a fixing statusTip and socketStatus 2016-10-04 14:27:29 -07:00
Jared Tabor 849c48a101 committing first pass at unit test for SocketService 2016-10-04 14:27:29 -07:00
Jared Tabor 541f55fece removing shrinkwrap to avoid merge conflict for now 2016-10-04 14:26:48 -07:00
Jared Tabor 77d5772a2e cleaning up jshint errors 2016-10-04 14:25:18 -07:00
Jared Tabor 4bb2234019 removing old code 2016-10-04 14:25:18 -07:00
Jared Tabor 5801d3cec8 changing naming scheme for event listeners to "ws-<group_name>"
instead of ws-<state name>-<group_name>
2016-10-04 14:23:39 -07:00
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 646a9f1570 Update Pendo service for 3.0 changes to retreiving the config endpoint 2016-09-07 15:53:41 -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