Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulling in new updates from upstream #1

Open
wants to merge 428 commits into
base: master
Choose a base branch
from

Conversation

aaronlippold
Copy link

No description provided.

aaronlippold and others added 17 commits November 2, 2019 16:40
- expanded the Splunk feedback

Signed-off-by: Aaron Lippold <[email protected]>
Signed-off-by: Aaron Lippold <[email protected]>
Until that feature is available in 2.x
Signed-off-by: Jacob Henry <[email protected]>
* Revert "Fixed tiny logic error"

This reverts commit 384b3b1.

* Revert "Fixed CAAT file invalidity in some cases"

This reverts commit 8a41a11.

* Revert "Fixed all_file filter, and the 0-result edge case"

This reverts commit cab5595.

* Revert "Initial ContextualizedControl/HDF restructuring"

This reverts commit 391135c.
* - adds an set of data we can use in our CICD, functional and unit testing

Signed-off-by: Aaron Lippold <[email protected]>

* fixed dir name for inspec_tools_info

Signed-off-by: Aaron Lippold <[email protected]>
Mitriol and others added 4 commits November 5, 2019 19:09
* Charts implementation (#10)

* Added global colors for status/severities
Added a hack module to facillitate looking up colorname hex codes
Added new charts. Still tidying work to be done on Compliance.

Signed-off-by: Jacob Henry <[email protected]>

* Fixed card heights

Signed-off-by: Jacob Henry <[email protected]>

* Fixed compliance computation

Signed-off-by: Jacob Henry <[email protected]>

* Theme toggle (#15)

* started the theme adjustment work

Signed-off-by: Aaron Lippold <[email protected]>

* added a simple theme toggle

Signed-off-by: Aaron Lippold <[email protected]>

* Profile Results table (#17)

* Modify profile results table to get data from store and highlight code.

* Fixed expandable row functionality

* Modify code highlighting, switch test details to grid format

* CSS changes for test details tab and grid in details tab

Fixes #4 

Signed-off-by: Vikram Bala <[email protected]>

* Sidebar files (#18)

* Basic sidebar working
* Made prism imports ignore typings, as we don't really use them

Signed-off-by: Jacob Henry <[email protected]>

* Treemap and filter integration (#19)

* Initial working version

* Fixed filter propagation

* Small fix to make status cards respect global colors

* Made selected control visually distinct/unselectable

* Added rounding to compliance chart

* Fixed coloring and tooltips

* Now jumps to files when opened

Fixed #7

Signed-off-by: Jacob Henry <[email protected]>

* Minor CSS and stylistic changes (#22)

* STY: Fix minor css issues

Fix issue with count cards not fitting row height, and plots not being centered

* Fix status card grid issues, and treemap not rendering root node rectangle

* STY: Remove status tooltip on xs, new logo, no google

* STY: Remove compliance formula svg

* Resolve issues in PR #22

Center text on chart cards. Add typing to nullify selectNode input.

* Treemap improvements (#23)



Signed-off-by: Jacob Henry <[email protected]>

* WIP

Signed-off-by: Jacob Henry <[email protected]>

* Big improvements

Signed-off-by: Jacob Henry <[email protected]>

* Coloring and styling improvements

Signed-off-by: Jacob Henry <[email protected]>

* Package updates

Signed-off-by: Jacob Henry <[email protected]>

* Rename

Signed-off-by: Jacob Henry <[email protected]>

* fixed two vunerable packages

Signed-off-by: Aaron Lippold <[email protected]>

* Control Table prototype revision (#24)

* Snake case props and filter controltable

Signed-off-by: Jacob Henry <[email protected]>

* Work in progress faster table implementation

Signed-off-by: Jacob Henry <[email protected]>

* Random sidebar fix

Signed-off-by: Jacob Henry <[email protected]>

* Improved styling

Signed-off-by: Jacob Henry <[email protected]>

* Better layout switching technique

Signed-off-by: Jacob Henry <[email protected]>

* Fixed some leftover merge junk

Signed-off-by: Jacob Henry <[email protected]>

* Added an extra-small version of control table

Signed-off-by: Jacob Henry <[email protected]>

* Further improvements

Signed-off-by: Jacob Henry <[email protected]>

* Fixed more bugs on smaller screen sizes

Signed-off-by: Jacob Henry <[email protected]>

* Implemented infinite scrolling

Signed-off-by: Jacob Henry <[email protected]>

* Styling improvements

Signed-off-by: Jacob Henry <[email protected]>

* Teeny tiny comment fix

Signed-off-by: Jacob Henry <[email protected]>

* More elegant color fixes

Signed-off-by: Jacob Henry <[email protected]>

* WIP Control revamp

Signed-off-by: Jacob Henry <[email protected]>

* More documentation, sensible typings, safer caching

Signed-off-by: Jacob Henry <[email protected]>

* Made all file imports from-root

Signed-off-by: Jacob Henry <[email protected]>

* WIP change to file struct

Signed-off-by: Jacob Henry <[email protected]>

* Integrated search, revamped file structure to allow topbar mutability, polish

Signed-off-by: Jacob Henry <[email protected]>

* Made search bar space better at different sizes

Signed-off-by: Jacob Henry <[email protected]>

* Made top status cards respect filters

Signed-off-by: Jacob Henry <[email protected]>

* Fixed sidebar 'stickiness'

Signed-off-by: Jacob Henry <[email protected]>

* STY: Merge style fixes (#26)

Signed-off-by: Luke Malinowski <[email protected]>

Reviewed by: Jacob Henry <[email protected]>

* Backwards compatibility improvements and Comparison scaffolding (#35)

* Initial commit

Signed-off-by: Jacob Henry <[email protected]>

* Further WIP. It's sort of working

Signed-off-by: Jacob Henry <[email protected]>

* Major backwards compatibility improvements

Signed-off-by: Jacob Henry <[email protected]>

* Updated inspecjs version

Signed-off-by: Jacob Henry <[email protected]>

* updated npm packages to latest versions

Signed-off-by: Aaron Lippold <[email protected]>

* Minor color fixes pushing to 1.0 (#51)

Signed-off-by: Aaron Lippold <[email protected]>

* S3 Bucket Support (WIP) (#44)

* Tabs WIP

Signed-off-by: Jacob Henry <[email protected]>

* WIP

Signed-off-by: Jacob Henry <[email protected]>

* First working version

Signed-off-by: Jacob Henry <[email protected]>

* Better error support

Signed-off-by: Jacob Henry <[email protected]>

* Chrome code highlighting (#45)

* ENH: Add support for single page builds (#34)

* ENH: Add support for single page builds

Signed-off-by: Luke Malinowski <[email protected]>

* BUG: icons fail on SPA builds, and patch in dots for severity

Single page builds were failing to pull in material icons, so they were swapped
out with mdi icons. Additionally, swap out chevron's for dots on severity listing
in controlRow.

Fix #30
Fix #33

Signed-off-by: Luke Malinowski <[email protected]>

* STY: Adjust control details to have labels listed above content and add zebra (#38)

Fixes #32 #31

Also this patch removes padding on control details, so it fixes #37

Signed-off-by: Luke Malinowski <[email protected]>

* STY: fix several issues with control details table

Signed-off-by: Luke Malinowski <[email protected]>

* BUG: extend sidebar to full height

Signed-off-by: Luke Malinowski <[email protected]>

* BUG: Fix sidebar height and add landing page

Signed-off-by: Luke Malinowski <[email protected]>

* LINT: Remove some duplicate code

Signed-off-by: Luke Malinowski <[email protected]>

* BUG: Fix #39 chrome code highlighting issues

Signed-off-by: Luke Malinowski <[email protected]>

* BUG: Fix chrome highlighting bug by overriding all possible scss variables

* MERGE: This commit and the previous move the modal into UploadNexus

Signed-off-by: Luke Malinowski <[email protected]>

* Fixed modal

Signed-off-by: Jacob Henry <[email protected]>

* Made landing page file upload non-closeable

Signed-off-by: Jacob Henry <[email protected]>

* Shortened placeholder

Signed-off-by: Aaron Lippold <[email protected]>

* added npm aws-sdk

Signed-off-by: Aaron Lippold <[email protected]>

* Fixed key error

Signed-off-by: Jacob Henry <[email protected]>

* - added a sketch file for the Heimdall Logo (#60)

- exported multiple size and color scheme logos

Signed-off-by: Aaron Lippold <[email protected]>

* Chrome code highlighting final (#63)

* STY: Fix #45

* using svg for mitre topbar logo

Signed-off-by: Aaron Lippold <[email protected]>

* Update issue templates

* Color scheme improvements (#54)

* Added MITRE blue top/bottom bars

Signed-off-by: Jacob Henry <[email protected]>

* Made clear button disabled unless it would do something

Signed-off-by: Jacob Henry <[email protected]>

* Added file title display

Signed-off-by: Jacob Henry <[email protected]>

* Gradual colors wip

Signed-off-by: Jacob Henry <[email protected]>

* More color fixes

Signed-off-by: Jacob Henry <[email protected]>

* Moved things into separate files, reverted some dark background changes

Signed-off-by: Jacob Henry <[email protected]>

* Removed lingering console logs

Signed-off-by: Jacob Henry <[email protected]>

* ENH: Add vue toast support Fix #64 #65 (#74)

Add vue toasted library and have it throw toasts on failed file uploads.

Signed-off-by: Luke Malinowski <[email protected]>

* Profile view (#73)

* Added profile data view

Signed-off-by: Jacob Henry <[email protected]>

* Cleanup

Signed-off-by: Jacob Henry <[email protected]>

* Added icons to profile view

Signed-off-by: Jacob Henry <[email protected]>

* export caat and modals branch (#55)

* Added Functioning export caat button component.
- doesn't look good yet, just works

* export caat button now has
shorter name with hover details

Have two buttons for the help and about modals (WIP)

* WIP Rewrite to be more properly typescript styled

Signed-off-by: Jacob Henry <[email protected]>

* Fixed remaining type errors

Signed-off-by: Jacob Henry <[email protected]>

* Added callback support to sidebar items

Signed-off-by: Jacob Henry <[email protected]>

* Added help and about modals

Fixes #46 #48 #55 

* fixed export caat bug

* Fix bug with Export Caat and bug with Modals

* -Changed side bar layout
-added report issue link to about modal

* Added line separating the about and help buttons

* adding in ability to read version from package.json and display that in aboutModal

Signed-off-by: HackerShark <[email protected]>

* Update issue templates

* Modal Fixes (#76)

* Increased contrast on darker shades

Signed-off-by: Jacob Henry <[email protected]>

* Eyy I did it

Signed-off-by: Jacob Henry <[email protected]>

* Moved upload button to topbar

Signed-off-by: Jacob Henry <[email protected]>

* Package updates

Signed-off-by: Jacob Henry <[email protected]>

* Sidebar and modals cleanup

Signed-off-by: Jacob Henry <[email protected]>

Fixes #59 #50 #61 #57

* Start of work on the shared app version info
moved over to using svgs for logos on the modals
todo: make svg sizes responzive to viewport
fixed non-breaking-space issue with App Name
added additional package.json data for app info -> move to vuex?

Fixes #82

Signed-off-by: Aaron Lippold <[email protected]>

* Start of work on the shared app version info
moved over to using svgs for logos on the modals
todo: make svg sizes responzive to viewport
fixed non-breaking-space issue with App Name
added additional package.json data for app info -> move to vuex?

Fixes #82

Signed-off-by: Aaron Lippold <[email protected]>

* added more spacing around the Title

Signed-off-by: Aaron Lippold <[email protected]>

* Made title style consistant in all viewports

Signed-off-by: Aaron Lippold <[email protected]>

* Made title style consistant in all viewports
updated image size to default to 164px max-width for now

Signed-off-by: Aaron Lippold <[email protected]>

* Lightened lights and visified some darks

Signed-off-by: Jacob Henry <[email protected]>

* Profile errors notification:

Signed-off-by: Jacob Henry <[email protected]>

* Tiny tweaks

Signed-off-by: Jacob Henry <[email protected]>

* Typescriptified modals

Signed-off-by: Jacob Henry <[email protected]>

* WIP Bid to make app_info actually load

Signed-off-by: Jacob Henry <[email protected]>

* Moved version info to vuex

Signed-off-by: Jacob Henry <[email protected]>

* Fixed CAAT

Signed-off-by: Jacob Henry <[email protected]>

* Fixed styling issues on Control Table

Signed-off-by: Jacob Henry <[email protected]>

* Fixed card wrapping on small sizes

Signed-off-by: Jacob Henry <[email protected]>

* Fixed about/help modals

Signed-off-by: Jacob Henry <[email protected]>

* Made zebra table look better in light mode

Signed-off-by: Jacob Henry <[email protected]>

* Fixed exception messages, as well as status dropdown size

Signed-off-by: Jacob Henry <[email protected]>

* Fixed repeat version in about modal. Fix #96

Signed-off-by: Jacob Henry <[email protected]>

* Fix issue #78

Signed-off-by: Jacob Henry <[email protected]>

* Made app info immutable

Signed-off-by: Jacob Henry <[email protected]>

* Update README.md

* Fix re-broken version (#106)

Signed-off-by: Jacob Henry <[email protected]>

* Export CAAT now respects filters.

Also, better formatting on the result column (to not say PASSED when it's a fail, etc.)

Fixes #101

Signed-off-by: Jacob Henry <[email protected]>

* Fix #102 - Sidebar now has an all-files button

Signed-off-by: Jacob Henry <[email protected]>

* Added console errors for eugene's sanity

Signed-off-by: Jacob Henry <[email protected]>

* Improved scrolling of control table. This shouldn't be auto merged. Check to see if you like it (#111)

Signed-off-by: Jacob Henry <[email protected]>

* adding google analytics functionality

Signed-off-by: HackerShark <[email protected]>

* Made notifications require manual dismiss (#114)

Signed-off-by: Jacob Henry <[email protected]>

* Fix #53 (#113)

* Fix #53

Signed-off-by: Luke Malinowski <[email protected]>

* DEBUG: Remove console.logs

Signed-off-by: Luke Malinowski <[email protected]>

* Add mobile breakpoints to control row details

Signed-off-by: Luke Malinowski <[email protected]>

* Fix control details header being smaller than card

Signed-off-by: Luke Malinowski <[email protected]>

* Removed really old sidebar thing

Signed-off-by: Jacob Henry <[email protected]>

* Heimdall tools support

Signed-off-by: Jacob Henry <[email protected]>

* BUG: Fix console.logs on status_color (#120)

Signed-off-by: Luke Malinowski <[email protected]>

* Create VERSION.md

* Create CHANGELOG.md

* adding link to changelog in about modal as well as updating all current links

Signed-off-by: HackerShark <[email protected]>

* updating npm packages

Signed-off-by: Aaron Lippold <[email protected]>

* Fixed heimdall_tools output

Signed-off-by: Jacob Henry <[email protected]>

* updating vue.config.js

* BUG: Fix #125 and swap out vue-line-clamp for vue-clamp

Signed-off-by: Luke Malinowski <[email protected]>

* updating files

* Revert "Fixed heimdall_tools output"

This reverts commit 5158d22.

* Making some minor updates to the readme.

* LINT

Signed-off-by: Luke Malinowski <[email protected]>

* Update vue.config.js

* Disabled no-console error flag in eslintrc

Signed-off-by: Jacob Henry <[email protected]>

* Re-instated heimdall_tools compat fix

* Replaced control table nist tags with full versions

Signed-off-by: Jacob Henry <[email protected]>

* adding build process files.

* Delete CHANGELOG.md~

* Update README.md

* Update build.yml

* Create CNAME

* Update CNAME

* Delete CNAME

* STY: Adjust column counts and padding for PR #127

Signed-off-by: Luke Malinowski <[email protected]>

* Create deploy.yml

* Update deploy.yml

* adding dist directory.

* Update deploy.yml

* Update package.json

* Update README.md

* removing the docs dir

Signed-off-by: Aaron Lippold <[email protected]>

* Update README.md

* Update README.md

* Update package.json

* Update deploy.yml

* ensured we are using latest nodejs version

* added lint fix to the deploy stage

* Update deploy.yml

* Update build.yml

* Update deploy.yml

* NodeJS CICD Wrokflow

* cleaning up and testing actions

Signed-off-by: Aaron Lippold <[email protected]>

* added new gh-pages stage on release and push to master

Signed-off-by: Aaron Lippold <[email protected]>

* added a gh-pages workflow

Triggers on a push to:
  - master 
  - releases

* updated gh-pages worklflow to only release on master and releases

Signed-off-by: Aaron Lippold <[email protected]>

* fixed triggers on the workflows

Signed-off-by: Aaron Lippold <[email protected]>

* fixed typos on yaml files

Signed-off-by: Aaron Lippold <[email protected]>

* fixed typos on yaml files

Signed-off-by: Aaron Lippold <[email protected]>

* further fixes to workflows

Signed-off-by: Aaron Lippold <[email protected]>

* further fixes to workflows

Signed-off-by: Aaron Lippold <[email protected]>

* moving to new action

Signed-off-by: Aaron Lippold <[email protected]>

* moving to new action

Signed-off-by: Aaron Lippold <[email protected]>

* updated node to 12.x

Signed-off-by: Aaron Lippold <[email protected]>

* BUG: Fix #137 (#138)

Fixes #137

Signed-off-by: Luke Malinowski <[email protected]>

* Small changes and wording fix

* grammer

* Cleanup for HL2.0 (#142)

* further visual fixes

Signed-off-by: Aaron Lippold <[email protected]>

* BUG: fix left margin on control row details test

Signed-off-by: Luke Malinowski <[email protected]>

* Fix several missing icons on SPA builds

Signed-off-by: Luke Malinowski <[email protected]>

* Fix whitespace classes on Control Details

Signed-off-by: Luke Malinowski <[email protected]>

* updating packages

Signed-off-by: Aaron Lippold <[email protected]>

* add matrix.os to the cicd

* Update nodejs.yml

* Update nodejs.yml

* Update nodejs.yml

* Update nodejs.yml

* BUG: Fix missing icons in single page builds (#153)

* BUG: Fix missing icons in single page builds

Signed-off-by: Luke Malinowski <[email protected]>

* DEP: add vue svg loader

Signed-off-by: Luke Malinowski <[email protected]>

* Sidebar Embiggening + Buttons collapsing to icons (#154)

* Fixed some weird behaviour with deleting files from sidebar

Signed-off-by: Jacob Henry <[email protected]>

* Added sorting to sidebar items

Signed-off-by: Jacob Henry <[email protected]>

* Header icons contract to icons in smaller breakpoints

Signed-off-by: Jacob Henry <[email protected]>

* Embiggened sidebar

Signed-off-by: Jacob Henry <[email protected]>

* updating npm packages

Signed-off-by: Aaron Lippold <[email protected]>

* removed node 8 and build flags

* Treemap Generification, NIST Fixes,  (#152)

* Dead simple fixes

Signed-off-by: Jacob Henry <[email protected]>

* Heavy WIP. Saving progress

Signed-off-by: Jacob Henry <[email protected]>

* More wip

Signed-off-by: Jacob Henry <[email protected]>

* More wip

Signed-off-by: Jacob Henry <[email protected]>

* Saving progress

Signed-off-by: Jacob Henry <[email protected]>

* Working, now just needs some final style passes

Signed-off-by: Jacob Henry <[email protected]>

* It works

:

Signed-off-by: Jacob Henry <[email protected]>

* Bug fixes, etc

* Fixed #131 CAAT stuff. Also, incidentally, fix #57

Signed-off-by: Jacob Henry <[email protected]>

* Updated inspecjs. Should've been in last commit

Signed-off-by: Jacob Henry <[email protected]>

* Re-implemented treemap clickability

Signed-off-by: Jacob Henry <[email protected]>

* Fixed clearing of selected control

Signed-off-by: Jacob Henry <[email protected]>

* Fix #94 (#156)

* Made redirecting on file load delayed until files done loading

Signed-off-by: Jacob Henry <[email protected]>

* Fixed failfast behaviour causing files to drop

Signed-off-by: Jacob Henry <[email protected]>

* Fixes #149 About Help Docs Github link to footer of uploader (#157)

Signed-off-by: Luke Malinowski <[email protected]>

* Create test.md

* Delete test.md

* Create .0

* Add files via upload

* Delete .0

* Add files via upload

* added samples tab

Signed-off-by: Jacob Henry <[email protected]>

* Fixed s3 bucket visibility icons

Signed-off-by: Jacob Henry <[email protected]>

* Added eugene's samples

Signed-off-by: Jacob Henry <[email protected]>

* Fixed escape permanently closing modal

Signed-off-by: Jacob Henry <[email protected]>

* Added missing samples

Signed-off-by: Jacob Henry <[email protected]>

* Added arrows to upload nexus tabs on small screens

Signed-off-by: Jacob Henry <[email protected]>

* Fix issue #94

Signed-off-by: Jacob Henry <[email protected]>

* Fix #155

Signed-off-by: Jacob Henry <[email protected]>

* * updated the upload matrix footer
* fixed alignment issues
* moved samples to the bottom
* moved version info into the matrix footer

Signed-off-by: Aaron Lippold <[email protected]>

* * updated the upload matrix footer
* fixed alignment issues
* moved samples to the bottom
* moved version info into the matrix footer
* updated static links to use the Vuex AppInfo data

Signed-off-by: Aaron Lippold <[email protected]>

* - fixed sizing on icons and text
- adjusted alignment for all vuewports

Signed-off-by: Aaron Lippold <[email protected]>

* - added title and info to each of the loader screens
- expanded the Splunk feedback

Signed-off-by: Aaron Lippold <[email protected]>

* - tightening up spacing

Signed-off-by: Aaron Lippold <[email protected]>

* Initial ContextualizedControl/HDF restructuring

Signed-off-by: Jacob Henry <[email protected]>

* Spelling corrections

* Spelling correction

* Remove "View the profile before you execute it on a system"

Until that feature is available in 2.x

* Fixed all_file filter, and the 0-result edge case

Signed-off-by: Jacob Henry <[email protected]>

* Fixes #160 by adding appropriate babel config

Signed-off-by: Luke Malinowski <[email protected]>

* Fixed CAAT file invalidity in some cases

Signed-off-by: Jacob Henry <[email protected]>

* Fixed tiny logic error

Signed-off-by: Jacob Henry <[email protected]>

* Initial ContextualizedControl/HDF restructuring

Signed-off-by: Jacob Henry <[email protected]>

* Fixed all_file filter, and the 0-result edge case

Signed-off-by: Jacob Henry <[email protected]>

* Fixed CAAT file invalidity in some cases

Signed-off-by: Jacob Henry <[email protected]>

* Fixed tiny logic error

Signed-off-by: Jacob Henry <[email protected]>

* Revert "Final counting fixes" (#164)

* Revert "Fixed tiny logic error"

This reverts commit 384b3b1.

* Revert "Fixed CAAT file invalidity in some cases"

This reverts commit 8a41a11.

* Revert "Fixed all_file filter, and the 0-result edge case"

This reverts commit cab5595.

* Revert "Initial ContextualizedControl/HDF restructuring"

This reverts commit 391135c.

* Fixed directionality of overlay decision making

Signed-off-by: Jacob Henry <[email protected]>

* Fixed code blocks and some lingering errors of the hdf conversion

Signed-off-by: Jacob Henry <[email protected]>

* Fixed finding details

Signed-off-by: Jacob Henry <[email protected]>

* removing osx until GH gets it working again

* Add Testing Data  (#166)

* - adds an set of data we can use in our CICD, functional and unit testing

Signed-off-by: Aaron Lippold <[email protected]>

* fixed dir name for inspec_tools_info

Signed-off-by: Aaron Lippold <[email protected]>

* Rename CHANGELOG.md to CHANGELOG.yml

* Rename VERSION.md to VERSION.yml

* Publish changelog

* Publish version information
Mitriol and others added 5 commits November 5, 2019 21:34
* Parsing fiels test

Signed-off-by: Jacob Henry <[email protected]>

* Added counting tests

Signed-off-by: Jacob Henry <[email protected]>

* Counting tests

Signed-off-by: Jacob Henry <[email protected]>
* RHEL 7 results json for samples menu

Label as:
"RedHat 7 STIG Baseline InSpec Sample"

* Added new sample to the list

Signed-off-by: Jacob Henry <[email protected]>
Robert Clark and others added 30 commits August 10, 2020 17:01
Signed-off-by: Demetrius Kellum <[email protected]>
Signed-off-by: Demetrius Kellum <[email protected]>

Enountered an issue with a previous merge.  Did a rebase and including
a few additional files for the drag and drop functionality.
Signed-off-by: Demetrius Kellum <[email protected]>
…on in favor of all Drag and Drop uploading code residing in the FileReader component.

Signed-off-by: Robert Clark <[email protected]>
Migrate to the Heimdall2 backend

This commit takes a lot of the logic that has been copy-pasted between different files and moves it all to a global location.
Initial page load is now paused until we figure out what mode we are in (since we have vue-router wait until we know before it proceeds). We check whether or not `/server` responds with 200 or 404, if it responds with 200 then we know we are in server mode and proceed accordingly.

Before this is merged, the backend.ts Vuex store should be renamed to server.ts and the current server.ts should be removed (once all the functionality has been ported). backend.ts is intended to eventually be a full-featured replacement for server.ts.

* Fix logout function, (CLEAR_LOGOUT is a function not a property)

* Require authorization on every route other than login and signup for Heimdall Server

* Remove unreferenced files, remove all console.log statements

* Turn vue-analytics debug mode off

* Modify declaration of Vuex store and reuse the declaration everwhere.

This gets rid of all calls to getModule in the application and instead places the const declaration in their appropriate store files.

Run all SVG assets through https://jakearchibald.github.io/svgomg/. This is suggested by https://vue-svg-loader.js.org/faq.html#how-to-use-this-loader-with-jest which is the plugin we use for loading SVGs, and fixes issues we will encounter in the test suite when trying to load components that use SVGs.

* Update UI for ece testing

* fix success message

* fix message

* add id to login and error message

* Add support for SVG files in the test suite

Without this change, SVG files raise an error on import during mounting in the test suite.

* Update versions of ts-jest, jest, and typescript to all be within the supported versions for one another

Reorder jest moduleFileExtensions into the order of most to least used.

Fix tests to work with updated getModule calls and mock out the required parts of the Vuex store to test the Topbar.

* use camel case

* add id

* Add additional HTML ids and update existing HTML ids for Login.vue.

* Add HTML ids on switch to login button on register page and the username/email field

* Correct label for password in Signup

* Add back in id for topbar

* Do not call the logout function when no token is set

When app logout is performed the app is normally reloaded. This adds a check for token existence, and if no token exists then the app is on the login page.

Signed-off-by: Robert Clark <[email protected]>

* Move File Toggling up to the UploadNexus level

Rename application title to Heimdall (in preparation for Heimdall Server & Lite)

Fix SVG display

Fix clear button in Results.vue

Remove broken tests (all of the ones removed were in the wrong spec file and need to be rewritten in their proper respective spec files)

Signed-off-by: Robert Clark <[email protected]>

* Fix awkward div formatting on Login and Signup forms

Co-authored-by: sjoshi10 <[email protected]>
Co-authored-by: sjoshi10 <[email protected]>
Co-authored-by: Kyle Fagan <[email protected]>
Signed-off-by: Demetrius Kellum <[email protected]>

Removing the accepts attribute on the Vue File Agent.  This attribute
is unnecessary since determining if the right file type is uploaded is
handled later.
* Add clear_search function to only remove search term

Signed-off-by: sjoshi10 <[email protected]>
Signed-off-by: Aaron Lippold <[email protected]>
* - fixed the broken links by correcting the package.json and
  updated the component to correctly build the uri
- updated the footer compoent to keep the copywrite year dynamically

Signed-off-by: Aaron Lippold <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.