Commit Graph
93 Commits
Author SHA1 Message Date
gconsidine a23e5e920f Add support for in progress jobs and omit expand
* Any event received by the stream service will start rendering
(instead of JOB_START events only)
* Expand/collapse only shown for static results
2018-04-05 02:46:59 -04:00
gconsidine 033314e4f6 Add fixes to results
- Handle out of order events by batching lines until all lines
  are present
  - In static mode, fetch pages of results until container is full
  and scroll bar appears (for scroll events related to pagination)
2018-04-05 02:46:59 -04:00
gconsidine e3d42d8e1b Fix webpack-dev-server proxy to accommodate auth changes 2018-04-05 02:46:59 -04:00
gconsidine 81c85913ac Add encoding of html entities in stdout from the API 2018-04-05 02:46:58 -04:00
gconsidine c9612b8c75 Fix (most) lint errors 2018-04-05 02:46:58 -04:00
gconsidine 57ea582898 Fix stream pause/resume transitions 2018-04-05 02:46:58 -04:00
gconsidine 189963ae83 Add independent stream service 2018-04-05 02:46:58 -04:00
gconsidine 60a19246ae Add promise-based event processesing for consistency 2018-04-04 16:03:42 -04:00
gconsidine 3705169de0 Remove stream service from job index includes 2018-04-04 16:03:42 -04:00
gconsidine 0c09447f2d Refactor scroll handling into independent service 2018-04-04 16:03:42 -04:00
gconsidine b16d9a89e3 Refactor page handling 2018-04-04 16:03:42 -04:00
gconsidine df84f822f6 [WIP] Move page-related functionality into separate service 2018-04-04 16:03:42 -04:00
gconsidine a5bd905f18 [WIP] Add event buffering on scroll/resume 2018-04-04 16:03:42 -04:00
gconsidine 60a43015e2 Update when scroll,stream flags are flipped 2018-04-04 16:03:42 -04:00
gconsidine 5c3cf83d08 Implement memory max (NodeList ejection) in real-time mode 2018-04-04 16:03:42 -04:00
gconsidine d48f69317f Add scroll lock for real-time display 2018-04-04 16:03:42 -04:00
gconsidine 83897d43a7 Add websocket connection info for remaining job types 2018-04-04 16:03:42 -04:00
gconsidine e143698484 Fix resource references in models 2018-04-04 16:03:42 -04:00
gconsidine d6e7058947 Remove extraneous model import 2018-04-04 16:03:42 -04:00
gconsidine 3d02ef8209 Add basic (no optimization) real-time implementation 2018-04-04 16:03:42 -04:00
gconsidine ad1764c7f2 Add ws subscription to job results 2018-04-04 16:03:42 -04:00
gconsidine 2eef166325 Remove git merge conflict artifacts 2018-04-04 16:03:42 -04:00
gconsidine a6ee7b6aac Remove unused functionality from controller 2018-04-04 16:03:42 -04:00
gconsidine 2e07fee39f Add more robust stdout navigation 2018-04-04 16:03:42 -04:00
gconsidine 07ff25a241 Add generalized resource to job results view 2018-04-04 16:03:42 -04:00
gconsidine 41d3d29ae8 Fix project update model 2018-04-04 16:03:42 -04:00
gconsidine 52a6cca206 Add models for remaining event types 2018-04-04 16:03:42 -04:00
gconsidine e5187e4ac8 Adjust pagination/scrolling 2018-04-04 16:03:42 -04:00
gconsidine cc36ee6bed Add WIP prepend/previous on scroll 2018-04-04 16:03:42 -04:00
gconsidine 745e547e34 Add nested page cache 2018-04-04 16:03:42 -04:00
gconsidine 4b81d8d494 Add WIP implementation of pagination with cache 2018-04-04 16:03:42 -04:00
gconsidine ab8651eab6 Add functions to calc number of rows in view 2018-04-04 16:03:42 -04:00
gconsidine fa59f46f2b Update less variable names 2018-04-04 16:03:42 -04:00
gconsidine c08538b8f0 Fix model pagination behavior, limit, and cache 2018-04-04 16:03:42 -04:00
gconsidine 5a75059c86 Add load on scroll and max results to base model 2018-04-04 16:03:42 -04:00
gconsidine b88ad50a75 Update style of stdout container 2018-04-04 16:03:42 -04:00
gconsidine 3006caffe1 Update style to be inline with mockups 2018-04-04 16:03:42 -04:00
gconsidine e26c977b36 Add partial implementation of model.next 2018-04-04 16:03:42 -04:00
gconsidine 81dac1d1b8 Update code/output components 2018-04-04 16:03:42 -04:00
gconsidine a7f29aac3a Add component-based stdout for host modal 2018-04-04 16:03:42 -04:00
gconsidine 21e74fc5eb Add click to launch host event detail modal 2018-04-04 16:03:42 -04:00
gconsidine 56b6d7e85d Add scrollTo for top and bottom, add better expand/collapse 2018-04-04 16:03:42 -04:00
gconsidine d914b70bb6 Add expand/collapse to parent events 2018-04-04 16:03:42 -04:00
gconsidine dbf1fd2d4f Use event record with output template 2018-04-04 16:03:42 -04:00
gconsidine 6f7841a920 Add record object to maintain event meta info 2018-04-04 16:03:42 -04:00
gconsidine 0a66d1c3fc Add dynamic angular interaction after HTML insertion 2018-04-04 16:03:42 -04:00
gconsidine aaec3474b0 Add support for params to BaseModel.extend 2018-04-04 16:03:42 -04:00
gconsidine 3096a58272 Update style to match latest mockup 2018-04-04 16:03:42 -04:00
gconsidine 5c10ce3082 Update job output styling 2018-04-04 16:03:42 -04:00
gconsidine 30c472c499 Add basic event output in sandbox 2018-04-04 16:03:42 -04:00
gconsidine 946f3b5c92 Add ansi parsing libs 2018-04-04 16:03:42 -04:00
gconsidine 0de5301c23 Fix eslint errors/warnings emitted to browser 2018-04-04 16:03:42 -04:00
gconsidine 5b8d2e7659 Add model and resolve block to sandbox view 2018-04-04 16:03:42 -04:00
gconsidine 212ab96a31 Add structure for sandboxed job results 2018-04-04 16:03:42 -04:00
gconsidine a2f64f1053 Adjust style of toggle button to accommodate text that exceeds 42px 2017-12-11 11:47:21 -05:00
gconsidine 3ad174b15b Add e2e test case to verify revert/replace 2017-12-05 12:25:48 -05:00
gconsidine b5644ed65b Fix replace/revert functionality on secret input fields 2017-12-05 10:39:15 -05:00
gconsidine 3ff9fa9931 Remove test on async fn with no callback and no returned promise 2017-11-28 09:54:54 -05:00
gconsidine 86a559caef Update dependency versions to pull in latest 1.x Angular version 2017-11-27 11:12:45 -05:00
gconsidine 1fcddba558 Update disabled button color to match style guide 2017-11-16 11:15:23 -05:00
gconsidine 4cd9556f7b Revert versions of D3 used by awx and ansible/nvd3 2017-11-14 09:47:25 -05:00
gconsidine aa38c1123c Check for null resource and update e2e model usage 2017-11-10 15:59:38 -05:00
gconsidine 5fcff09aae Update string-related component tests 2017-11-10 12:33:27 -05:00
gconsidine 8713e38c44 Update the base model to use string service instead of each sub model 2017-11-10 10:42:05 -05:00
gconsidine e8fd40ace0 Update model request interface and references 2017-11-09 17:01:32 -05:00
gconsidine 4a522fd10f Update dependencies that share Angular as a dependency 2017-10-25 14:48:18 -04:00
gconsidine 82f81752e4 De-lint test files and update test,build config 2017-10-10 16:59:42 -04:00
gconsidine 8b6cc0e323 Combine test directories 2017-10-10 16:59:42 -04:00
gconsidine 3998796bf0 Add closing curly brace in strings file 2017-10-10 16:42:56 -04:00
gconsidine 9e3d90896b Remove unsupported tokens from search generated queries 2017-10-10 15:22:17 -04:00
gconsidine 766a088749 Use credential_type to fetch associated types in list view 2017-10-10 14:38:49 -04:00
gconsidine b7071a48c2 Set lookup value changed from something to nothing to be null 2017-10-10 14:38:49 -04:00
gconsidine 4955dd9ab3 Add autocomplete attr to component form
Signed-off-by: gconsidine <greg@gregconsidine.com>
2017-10-02 17:06:07 -04:00
gconsidine f49ed838c7 Use $document instead of document for on fn
Signed-off-by: gconsidine <greg@gregconsidine.com>
2017-10-02 12:53:56 -04:00
gconsidine d9e360e575 Add check if navigator.languages exists to use 2017-09-28 14:46:56 -04:00
gconsidine 297904462d Implement manual initialzation for Angular app
Manual initialization allows for some asynchronous work to
finish ahead of Angular's startup. The initial motivation is
to be able to guarantee translation files have been fetched
before rendering content that needs translation. If a locale
isn't supported or if the request to get a json file fails,
the i18n service falls back to en.

Signed-off-by: gconsidine <gconsidi@redhat.com>
2017-09-27 15:12:03 -04:00
gconsidine 8fff5db758 Add quotes to auth token when stored as a cookie 2017-09-25 11:45:52 -04:00
gconsidine 4ad2af30cf Fix login and authorization token errors
* Remove extraneous quotes when authroization token is retrieved
from a cookie
* Fix thrown error when invalid creds are supplied on login due to
attempt to access property of an undefined value
2017-09-22 17:58:16 -04:00
gconsidine 34ca4e5623 Make asset hashes unique per file instead of per build 2017-09-22 10:51:39 -04:00
gconsidine 159fdfe7ad Fix how global dependencies are loaded in the UI
The UI has a handful of dependencies attached to window (angular,
jquery, lodash, etc). In the case of schedules, jquery was included
and extended as expected, but then clobbered by another module. This
prevented the Select2 dependency from working as expected.

Rather than relying on webpack to export particular dependencies as
global, that work is done in the vendor entry point now instead.
2017-09-21 15:52:19 -04:00
gconsidine b7d4f0b5ff Fix lint error after rebasing 2017-09-19 15:26:38 -04:00
gconsidine 0b50794614 Update out of date karma and test dependencies 2017-09-19 14:53:23 -04:00
gconsidine fad12e3a13 Update e2e tests after rebasing 2017-09-19 14:53:23 -04:00
gconsidine 777ef3fe90 Add more linter rules and de-lint 2017-09-19 14:53:23 -04:00
gconsidine cec9507504 Use eslint on ui/lib and ui/features code 2017-09-19 14:53:23 -04:00
gconsidine dd62e8ce92 Replace use of string.includes due lack of browser support 2017-09-14 17:27:27 -04:00
gconsidine eab3cb8efd Add support for quoted without spaces and falsey input 2017-09-14 15:57:52 -04:00
gconsidine 57c9224b5c Fix host filter parsing 2017-09-14 15:31:29 -04:00
gconsidine 87eab79f70 Add support for quoted values containing spaces in search 2017-09-12 14:57:07 -04:00
gconsidine 054710e1a2 Move install.template.ejs to be built for prod only 2017-09-11 16:12:09 -04:00
gconsidine 7296bfd5ee Remove generated index.html file 2017-09-11 10:19:54 -04:00
gconsidine fba8a48d91 Update dependencies, template file, and docs
* Use git+https prefix in git-based npm dependencies
* Use ejs template for index to fix extraneous slash in path
* Remove outdated documentation
* Remove unused service
* Regenerate shrinkwrap
2017-09-08 15:17:01 -04:00
gconsidine c57c17546e Update UI build system
* Faster build times
* Smaller bundle sizes
* Adjust paths
* Cleanup npm dependencies
* Remove unneded Grunt tasks
2017-09-07 18:09:14 -04:00