-
Notifications
You must be signed in to change notification settings - Fork 2
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
Dev live #103
base: prod-live
Are you sure you want to change the base?
Conversation
* fix #100 * Eslint Prettier * clean the code for style * Enslint Prettier. * fix #114, tried to add icon, but not very nice and seems need to overwrite a lot default metarial UI components. * Enslint Prettier. * fix #95 * Enslint Prettier. * Enslint Prettier. * Enslint Prettier. * Fixed bug that pages with tab panel show slightly bigger fontSize. * Enslint Prettier. * fix #71 * fix #71 * clean code a bit. * clean code a bit.
Maybe the Logging level should be set by an env variable: e.g. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok to me. See my comments about:
- section which may have hardcoded strings
- about whether verbosity of logging should be decreased or not?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we could go ahead and create an issue to introduce an ENV_LOG_TYPE for example.
So shall we wait for the Logging issue - #107 Also, want to clarify here, if there needs to be any changes made to the DB? (If so, we should also update |
… from postgres (#90)
* Udated gitignore * Code tidied after Daniele's suggestions * Code tidied and improved autocomplete search * Introducing tox configuration * Flake8 and Black applied * Updated tox.ini and created pyproject.toml for Black code formatter * Files updated by Black new config in pyproject.toml * Refactored imports from db * To include Black and Flake8 for Tox * Commented out _gene_hpo_ids, not used
* reformat individual.py * fix the individual update (actually get) + some refactoring around the place * make good use of postgres API * black reformatting + excluding some folders from flake8 * controlling none result
@alanwilter @priesgo we should probably test the suggested search functionality using unit test. I'm going to merge this now into dev-live for testing on the dev website.
* add endpoint for creating individuals * make authentication backwards compatible
* add 404s to individuals endpoints * blackened
* add endpoint to post user_individuals * blackened
* Delete user #352 * Only Admin and User itself can delete user * Added button in each user profile to delete it, with a dialog warning. It works well. Co-authored-by: YuanTian1991 <[email protected]>
* Redesigned the Actionbar. * fix #293
* Created compact table, nearly done. * Compact Table Done, looks good.
…ading, they will only be loaded once when first time called, there is no way to replace them with skeleton I think. (#358)
* Updated demo db * Updated demo db * Using f-string * Using new _get_variants * Updated process_for_display HET and HOM * Refactored compact lists _individual_complete_view * _get_variants using new schema * Fixed duplicated gene_symbol in hpo view * Fixed a wrong test and updated others * Updated for new demo db * Removed redundant v["variant_id"] definition * Avoid None values in variant dict * Updated variant pytest * Updated pytest for variant * Skip empty genes * Refactored rare_comp_hets_variants and fixed duplicated genes * Updated demo db * updated tests for individuals * Only new schema now for individuals * The real fix for sex unknown * Reverting, the problem was not here * Text sex unknown * Add typing to Sex * API for version
* Just format * Using new schema for genes * Stats count genes for user * Handle transcripts and its canonicals * Fixed count genes * Reorganising some general parameters and function * Added /my_genes (get_all_genes) endpoint * Harmeless typo * To handle misisng transcripts * Updated demo db and pytest for gene and transcript * Added 'my_variants' endpoint * Refactored stats for variants in new schema * Improved 'my_genes' endpoint to render gene chips * Updated tests for new endpoints & refactored stats * To reset github action cache check_app_api2 * Reverting to check_app_api * Make peace with github actions
* Migrated _search_phenotypes to new schema * Updated tests for HPO autocomplete * Migrated _search_genes to new schema * Moved variants search to new schema but not hgvs * Skipping hgvs autocomplete tests, still old schema * Reviewed * NETLIFY_SITE_ID moved to private.env * HGVS now working but not with Gene Symbol yet * Bye old schema * Replace hardcoded GRCh37 with var HG_ASSEMBLY * Search with HGVs now completed, old schema gone * Removed netlify reference
|
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
- | Generic High Entropy Secret | f8bfa7b | frontend/.npmrc | View secret | |
- | Generic Password | ae27c17 | tests/test_users.py | View secret | |
- | Generic Password | a636fb4 | views/init.py | View secret | |
- | Generic Password | 861f236 | tests/test.py | View secret | |
- | Generic Password | aaccc49 | src/components/Home/HomeBanner.js | View secret | |
- | Generic Password | 4f8104c | tests/test_login.py | View secret | |
- | Generic Password | 1d4f8bf | src/components/Home/HomeBanner.js | View secret | |
- | Generic Password | aaccc49 | src/components/AppBar/LoginBox.js | View secret | |
- | Generic Password | 5366e04 | src/components/Home/HomeBanner.js | View secret | |
- | Generic Password | d6eacbf | frontend/src/components/Home/HomeBanner.js | View secret | |
- | Generic Password | aaccc49 | src/components/AppBar/LoginBox.js | View secret | |
- | Generic Password | bf43afe | tests/test_auth.py | View secret | |
- | Generic Password | 968612d | tests/conftest.py | View secret | |
- | Generic Password | 861f236 | tests/test_login.py | View secret | |
- | Generic Password | 7078921 | src/components/Home/HomeBanner.js | View secret | |
- | Generic Password | ee1f23e | tests/conftest.py | View secret | |
- | Generic Password | 5366e04 | src/components/AppBar/LoginBox.js | View secret | |
- | Generic Password | 861f236 | tests/test_login.py | View secret | |
- | Generic Password | 5366e04 | src/components/AppBar/LoginBox.js | View secret | |
- | Generic Password | 767c3e0 | src/components/Home/HomeBanner.js | View secret | |
- | Generic Password | 4f8104c | tests/test.py | View secret | |
- | Generic Password | 861f236 | tests/test.py | View secret | |
- | Generic Password | 4f8104c | tests/conftest.py | View secret | |
- | Generic Password | eb98431 | scripts/patch_docker_db.sh | View secret | |
- | Generic Password | eb98431 | scripts/patch_docker_db.sh | View secret | |
- | Generic Password | ac77931 | scripts/patch_db_dev.sh | View secret | |
- | Generic Password | 67fbed3 | public.env | View secret | |
- | SMTP credentials | 760e9c8 | views/init.py | View secret | |
739988 | Triggered | Generic High Entropy Secret | a3c3425 | frontend/.npmrc | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Our GitHub checks need improvements? Share your feedbacks!
* Able to use either local or S3 remote vcf file * Improved pytest report * Rebranded from S3_VCF_FILE_URL to VCF_FILE
* Hide external_id for demo * Updated test_get_genotypes_exception * Another try with test_get_genotypes_exception * Silenced test_get_genotypes_exception * Typo * Freeze cyvcf2 0.30.12
* Use dynamic year for copyright * pallets/markupsafe#284
* Added and applied pre-commit * Typing
@IsmailM what is the status of this draft? |
Bumps [black](https://github.com/psf/black) from 19.10b0 to 24.3.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/commits/24.3.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
✅ Deploy Preview for phenopolis-dev canceled.
|
Shall we merge
dev-live
intoProd-live
?cc'ed: @priesgo @alanwilter @YuanTian1991 @pontikos
Note when merging from
dev-live
toprod-live
, it's best to merge with a rebase - as both branches have the same linear history... Happy to do this when we are ready :)