Genericsuite

Latest version: v0.1.5

Safety actively analyzes 623586 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

1.0.18

---

Fixes
Fix the labels color for required fields in the "generic.editor.rfc.formpage.jsx" data form.
Fix users and user_profile save error "Connection failure (Possible CORS): Failed to fetch [EFFF-010]" by removing "UsersDbPostWrite".

Changes
Change "convertHeight" and "convertWeight" to validate parameters and avoid throwing an error the they are empty during the generic editor Create action.
Change "EditFormFormikFinal" to add the new Item created "id" to submitedtElements (data passed to processGenericFuncArray) before calling DbPostWrite.

1.0.17

---

New
Add `make deploy_demo` and `make config_demo` to manage the "demo" stage.
Add "demo" stage to REACT_APP_API_URL, and AWS_S3_BUCKET_NAME.
Add APP_FE_URL_DEV, APP_FE_URL_QA, APP_FE_URL_STAGING, APP_FE_URL_PROD, APP_FE_URL_DEMO variables to .env file, to be used by "aws_deploy_to_s3.sh" and "change_env_be_endpoint.sh" as the frontend domain.
Add the FRONTEND_LOCAL_PORT and BACKEND_LOCAL_PORT variables to .env file, to define the local frontend and backend port numbers.
Add "scripts/aws_get_ssl_cert_arn.sh" to verify the AWS ACM Certificate ARNs for the frontend and backend domains.

Fixes
Fix "add_github_submodules.sh" to do "git submodule init", "git submodule sync" and "git pull --tags origin main" instead of "git checkout origin/main" to effectively pull the JSON configs from the git repository when the directory specified in "GIT_SUBMODULE_LOCAL_PATH" already exists and "git submodule add" was already run.

Changes
The REACT_APP_API_URL_DEV, REACT_APP_API_URL_QA, REACT_APP_API_URL_STAGING, REACT_APP_API_URL_PROD, and REACT_APP_API_URL_DEMO variable names in the .env file were renamed to APP_API_URL_DEV, APP_API_URL_QA, APP_API_URL_STAGING, APP_API_URL_PROD, and APP_API_URL_DEMO.
The GITHUB_USERNAME and GITHUB_REPONAME variables are not longer required because "aws_deploy_to_s3.sh" just saves the existing value of "homepage" in package.json. Those 2 variables were removed from the .env file.
"aws_deploy_to_s3.sh" take into account the APP_FE_URL domain in the CloudFront distribution creation.
"make publish" report the package name and version in the publishing confirmation.
"run_app_frontend.sh" assign APP_API_URL_DEV and REACT_APP_API_URL in the "dev" stage for both http and https modes. Previously it was only made for http.
Node install links changed to include the NVM alternative download in the README.
License changed to ISC [FA-244].

1.0.16

---

New
Add AboutBodyGsFe and HomePageGsFe components to customize genericsuite-fe test run with "index.tsx".
Add test for LoginPage, GeneralConfig, Users, UserProfile, UsersConfig, AboutBodyGsFe and HomePageGsFe components.

Changes
REACT_APP_GENERIC_SUITE_AI environment variable removed from webpack.config.js and .env.example.
"generic.editor.rfc.ai.button.jsx" removed. Its code was moved to genericSuite-fe-ai.
Debug turned off on <App/>, <SearchEngineButton/> and handleFetchError().

Fixes
**Fix "dictToAdd" precedence over "originDict" in mergeDicts()** to allow the referring App to overwrite "componentMap" on the <App/> component call.
Fix User's config files description in "src/configs/README.md".
Fix broken links in "/README.md".
Fix the "ReferenceError: Response is not defined" message during the tests by adding the "whatwg-fetch" devDependency.
Fix the test error "Property 'props' is not extensible" by removing "props.appLogo = null" from <LoginPage/>

1.0.15

---

New
Add "react-test-renderer" and test for About and HomePage components.

Changes
"npm_publish.sh" includes "npm install --package-lock-only"
Add "AI elements" documentation to "src/configs/README.md", to define a ChatBot and ChatBotButton.
"__snapshots__" included in ".gitignore" and ".npmignore".


Fixes
Fix error in "AppMainComponent" when About pop-up is open and there's a JWT timeout.
Fix "HomePage" component error when a children code is specified.

1.0.14

---

New
Add `make test-run-build` and `make test-run-build-restore` and the `scripts/build_prod_test.sh` bash script to preview the QA/Staging/Prod live environments behavior.
Add the `scripts/npm_publish.sh` bash script, `make pre-publish` and `make publish` to publish library to NPMJS.
Add the `src/configs/README.md` documentation as a complete GenericSuite App creation and configuration guide for all versions.

Changes
Add the `src/lib/images` directory to the library distribution.
Deployment and local run bash scripts changed to copy all images to the `build/static/media` directory.
Local run bash script creates a symlink in the `dist` directory to the `build/static/media` directory.
"server.js" uses port 3000 instead of 3001.
Use "arrows_rotate_solid.svg" as the Refresh icon in the Generic CRUD editor.
"generic.editor.rfc.ai.button.jsx" moved to genericSuite-fe-ai.
Images exported as image names, not objects.


Fixes
Fix the images load error in QA/Staging/Prod live environments: "DOMException: Failed to execute 'createElement' on 'Document': The tag name provided ('/static/media/app_logo_square.cd60e8686a973f7c77e9d25313787676.svg') is not a valid name."

1.0.12

---

Fixes
Fix "Uncaught ReferenceError: require is not defined in ./node_modules/genericsuite/dist/esm/index.js" replacing "require('react-bootstrap')" by import ... from 'react-bootstrap/cjs/...".

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.