Commit Graph
100 Commits
Author SHA1 Message Date
jaredevantabor fd61096291 Workflow status bar for completed jobs
adjusting workflow results link for job standard out views

(job results, projects, inventories, and jobs list)

Enhancing workflow status bar for running jobs

removing workflow_events group from the UI

adding comment

fix for updating while job is running

removing pending from the status bar, and reload the page on job finish
2016-12-08 14:57:11 -05:00
jaredevantabor 8dbaea59b4 Using $log for debugging transitionTo errors 2016-12-06 09:29:33 -08:00
jaredevantabor a9c1969aa0 adding useful comment to $state.defaultErrorHandler 2016-12-06 09:13:19 -08:00
jaredevantabor fe29f5e0c9 Redirect to license page if no license
This was broken due to the upgrade to UI-Router v.1.0.0-beta.3.
I also tracked down the $stateChangeStart function in app.js that when missing
some time in 3.1 development
2016-12-05 19:55:19 -08:00
jaredevantabor 4b10f2d71a adding duration filter for elapsed time on workflow results
relates to #4128
2016-12-01 10:45:11 -08:00
jaredevantabor 2cccf8455d adding workflow badge for project sync and inventory sync stdout 2016-11-30 15:06:17 -08:00
jaredevantabor 0cde04a024 fixing Cancel on job template edit 2016-11-30 14:59:12 -08:00
jaredevantabor be3ec6d8d8 making jerkins happy 2016-11-30 17:39:51 -05:00
jaredevantabor 7b3d9168df making jerkins happy 2016-11-30 14:15:27 -08:00
jaredevantabor 7db6f35650 Filtering out project syncs by default on the jobs list
by adding the query param `not__launch_type='sync'`
2016-11-30 12:28:04 -08:00
jaredevantabor 31781fa3d8 fixing some broken links on the job results page 2016-11-30 11:30:43 -08:00
jaredevantabor e53509520f adding badge for indicating a job was launched by a workflow
on the jobs list and the job results page
2016-11-29 17:16:35 -08:00
jaredevantabor 9dcd6d52af making labels section collapsible on job results 2016-11-29 14:44:27 -08:00
jaredevantabor dc032489c2 fixing jshint errors 2016-11-29 09:57:20 -08:00
jaredevantabor d332c3bbe6 removing old lines 2016-11-28 11:34:42 -08:00
jaredevantabor ff0a446d77 adding labels for job type on jobs list 2016-11-28 10:10:39 -08:00
jaredevantabor 82616cb47f fixing up HTML files for readability 2016-11-28 09:03:41 -08:00
jaredevantabor 1d3737d553 changing the codemirror on the host event modal for custom stdout
more style changes to host event stdout
2016-11-28 08:32:51 -08:00
jaredevantabor 5b0f7741a7 parse-stdout.service unit tests for time badge 2016-11-23 11:53:34 -08:00
jaredevantabor 5ae0335563 fixing css for time badge 2016-11-23 10:10:55 -08:00
jaredevantabor ad2b5cf553 adding start timei badge to header lines of stdout 2016-11-22 14:06:08 -08:00
jaredevantabor fd0e8fc01f fix for unit test coverage 2016-11-21 20:01:06 -08:00
jaredevantabor 7534e16d22 Adding project updates to job details, along w/ revision
This includes adding a status icon to the job results page
and updating the status via the socket messages. Also includes
adding the revision to the projects list
2016-11-21 18:39:35 -08:00
jaredevantabor eeeea8ad88 fixing sockets for inv stdout page 2016-11-21 13:30:23 -08:00
jaredevantabor 517c5a0188 fixing errors in unit tests 2016-11-18 15:13:15 -08:00
jaredevantabor acfb0da3b7 getLineClasses unit test 2016-11-18 14:19:43 -08:00
jaredevantabor 0aac35e09a Prettify unit test for stdout-parse service 2016-11-18 13:27:02 -08:00
jaredevantabor 38a9720fc7 Unit test for parse-stdout.service 2016-11-18 12:55:28 -08:00
jaredevantabor f14be79c69 adding workflow_event group for workflow results page 2016-11-18 11:16:31 -08:00
jaredevantabor b9c071506e first pass at parse-stdout.service-test.js 2016-11-18 11:00:13 -08:00
jaredevantabor d849cec243 removing prettyfyLite function for a flag in prettyify 2016-11-18 11:00:13 -08:00
jaredevantabor 4bcbea6c45 fixing jshint error in old job-detail/main.js file 2016-11-18 11:00:13 -08:00
jaredevantabor 96952e7841 Fixing up host event modal
Moving the details up from a nav pane and into the main body of hte modal.
2016-11-18 11:00:13 -08:00
jaredevantabor 13ee468b14 Adding tooltips and routes for host events
will circle back with more changes for the host events modal
2016-11-18 11:00:13 -08:00
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