Giter Club home page Giter Club logo

formkiq-console's Introduction

FormkiqConsole

This project was generated with Angular CLI version 8.0.2.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Test Http server for builds

From base app folder, run npx angular-http-server -p4288 --path './dist/formkiq-console' Then, navigate to http://localhost:4288/

Note: if you are testing a config.json, you must copy that JSON file into the ./dist/formkiq-console folder after starting the server.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

formkiq-console's People

Contributors

formkiqmike avatar mfriesen avatar reganwolfrom avatar

Watchers

 avatar  avatar  avatar  avatar

formkiq-console's Issues

WIP: Reset Password Errors

If the Email doesn't exist.. get error message "Username/client id combination not found" .. Not sure if we want to change this to "Email address not found" or send normal reset password link.

Also if userstatus is FORCE_CHANGE_PASSWORD .. cannot reset password .. get error User password cannot be reset in the current state.

ng build --prod doesn't work

Unable to build a "production" version of the console. Running "ng build --prod" produces errors like:

ERROR in src/app/components/navbar/navbar.component.html(20,10): : Property 'requireAuthenticationForRead' is private and only accessible within class 'NavbarComponent'.
src/app/components/navbar/navbar.component.html(20,10): : Property 'authenticationService' is private and only accessible within class 'NavbarComponent'.
src/app/components/navbar/navbar.component.html(38,10): : Property 'authenticationService' is private and only accessible within class 'NavbarComponent'.
src/app/components/navbar/navbar.component.html(46,14): : Property 'notificationInfo' is private and only accessible within class 'NavbarComponent'.
src/app/components/navbar/navbar.component.html(8,46): : Property 'runNav' does not exist on type 'NavbarComponent'.
src/app/plugins/authentication/components/register/register.component.html(6,12): : Property 'registrationResponse' is private and only accessible within class 'RegisterComponent'.
src/app/plugins/authentication/components/register/register.component.html(6,12): : Property 'registrationResponse' is private and only accessible within class 'RegisterComponent'.
src/app/plugins/api-explorer/pages/explore/explore.component.html(5,55): : Property 'navigationService' is private and only accessible within class 'ExploreComponent'.
src/app/plugins/api-explorer/pages/explore/explore.component.html(9,52): : Property 'navigationService' is private and only accessible within class 'ExploreComponent'.
src/app/plugins/api-explorer/components/api-item/api-item.component.html(11,8): : Property 'errorMessage' does not exist on type 'ApiItemComponent'.
src/app/plugins/api-explorer/components/api-item/api-item.component.html(4,7): : Property 'navigationService' is private and only accessible within class 'ApiItemComponent'.
src/app/plugins/api-explorer/components/api-item/api-item.component.html(172,21): : Property 'onTabChange' does not exist on type 'ApiItemComponent'.
src/app/plugins/document-explorer/pages/tags/tags.component.html(12,38): : Property 'tagsLoading' does not exist on type 'TagsComponent'.
src/app/plugins/document-explorer/components/searchbar/searchbar.component.html(6,11): : Property 'isCollapsed' does not exist on type 'SearchbarComponent'.
src/app/plugins/document-explorer/components/searchbar/searchbar.component.html(7,11): : Property 'isCollapsed' does not exist on type 'SearchbarComponent'.
src/app/plugins/document-explorer/components/searchbar/searchbar.component.html(49,101): : Property 'submitted' does not exist on type 'SearchbarComponent'.
src/app/plugins/document-explorer/components/searchbar/searchbar.component.html(5,7): : Property 'navigationService' is private and only accessible within class 'SearchbarComponent'.
src/app/plugins/document-explorer/components/searchbar/searchbar.component.html(5,7): : Property 'isCollapsed' does not exist on type 'SearchbarComponent'.
src/app/plugins/document-explorer/components/paging/paging.component.html(1,7): : Property 'previous' does not exist on type '{}'.
src/app/plugins/document-explorer/components/paging/paging.component.html(6,7): : Property 'previous' does not exist on type '{}'.
src/app/plugins/document-explorer/components/paging/paging.component.html(12,7): : Property 'next' does not exist on type '{}'.
src/app/plugins/document-explorer/components/paging/paging.component.html(17,7): : Property 'next' does not exist on type '{}'.

Need Notification when Upload is Complete

It would be good to be notified that the uploads have completed and with a link to Documents Search Page with the current date filled in, so you see the documents that were uploaded.

SignUp Change Password

After signing up, you need to reset your password. But if you enter a password that doesn't meet the password critieria, you get sent back to the login page and not the change password page.

handlebars security issue

CVE-2019-19919

high severity
Vulnerable versions: < 4.3.0
Patched version: 4.3.0
Versions of handlebars prior to 4.3.0 are vulnerable to Prototype Pollution leading to Remote Code Execution. Templates may alter an Object's proto and defineGetter properties, which may allow an attacker to execute arbitrary code through crafted payloads.

Remediation

Upgrade handlebars to version 4.3.0 or later. For example:

"dependencies": {
"handlebars": ">=4.3.0"
}
or…
"devDependencies": {
"handlebars": ">=4.3.0"
}

Security Issue - serialize-javascript

Remediation

Upgrade serialize-javascript to version 2.1.1 or later. For example:

"dependencies": {
"serialize-javascript": ">=2.1.1"
}
or…
"devDependencies": {
"serialize-javascript": ">=2.1.1"
}

regular expressions Cross-Site Scripting (XSS) vulnerability

Impact

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). It does not properly mitigate against unsafe characters in serialized regular expressions.

This vulnerability is not affected on Node.js environment since Node.js's implementation of RegExp.prototype.toString() backslash-escapes all forward slashes in regular expressions.

If serialized data of regular expression objects are used in an environment other than Node.js, it is affected by this vulnerability.

Patches

This was patched in v2.1.1.

Show Document Listing Header when no results

Right now if you have no documents the search page looks weird without the header show. Should just looks like if no documents are found.

Also should show the Date Inserted with a Timezone attached IE: -0800.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.