Skip to content
Open

Pfda #551

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
530 commits
Select commit Hold shift + click to select a range
4599073
Angular 14 cleanup
jarcimos Oct 15, 2025
1511c44
ste up frontend and backend locally
jarcimos Oct 16, 2025
269f4dc
stable Angular 14 baseline
jarcimos Oct 21, 2025
1f1862a
add package-lock.json
jarcimos Oct 15, 2025
9faf088
added jsdraw-wrapper test configs to satisfy ng update
jarcimos Oct 15, 2025
0f7a854
modified analytics
jarcimos Oct 15, 2025
f83f22f
Angular 14 cleanup
jarcimos Oct 15, 2025
a0d8fd0
stable Angular 14 baseline
jarcimos Oct 21, 2025
609948d
chore: remove ketcher-wrapper test block before Angular 15 upgrade
jarcimos Oct 22, 2025
b2237de
Removed all entryComponents from modules deprecated
jarcimos Oct 24, 2025
76b6a74
updated dependencies to ng 15
jarcimos Oct 24, 2025
4eccfe9
miscelenous fixes
jarcimos Oct 24, 2025
9f78464
Defer to avoid ExpressionChangedAfterItHasBeenCheckedError
jarcimos Oct 24, 2025
8f9edd0
Added some angular 15 MDC style fixes
jarcimos Oct 24, 2025
902956e
chore: update to Angular 16 with TypeScript 5.1.6
jarcimos Oct 24, 2025
d89a790
Completed style changes
jarcimos Oct 27, 2025
d930ecd
additional style changes
jarcimos Oct 27, 2025
9ee9aa6
Upgrade to angular 17
jarcimos Oct 27, 2025
e074f70
Upgrade Angular Material to 17
jarcimos Oct 27, 2025
a29c665
Fix Angular 17 compilation - remove MatLegacyChipsModule
jarcimos Oct 27, 2025
b4ce992
updated interseptor and mat-form-field
jarcimos Oct 27, 2025
23c4162
build: Angular 18
jarcimos Oct 27, 2025
bfb68fa
paginator style changes
jarcimos Nov 5, 2025
c8b03ac
build: upgrade to Angular 19
jarcimos Nov 5, 2025
9f9ca16
build: upgrade Angular Material and CDK to version 19
jarcimos Nov 5, 2025
6bb3df8
fix: add CommonModule, RouterModule and CUSTOM_ELEMENTS_SCHEMA to res…
jarcimos Nov 5, 2025
95ee889
clean up app.module imports for Angular 19
jarcimos Nov 5, 2025
94e6126
resolved Angular 19 Material styling issues.
jarcimos Nov 17, 2025
00e732e
resolved Angular 19 Material styling issues
jarcimos Nov 17, 2025
0d17388
advance search ketcher styling + component updates after Angular 19 u…
jarcimos Nov 17, 2025
e7be89e
Angular 19 upgrade fixes: deprecation updates and mat-chip-grid overf…
jarcimos Nov 18, 2025
ec5c19a
Material button styling fixes
jarcimos Nov 18, 2025
dd24b98
Globalize paginator/page-selector styles and fix product-text-search …
iaromoskviak Nov 25, 2025
f026868
Update ngx-schema-form to 2.14.1 for Angular 20 compatibility
iaromoskviak Nov 25, 2025
85056ba
Update PrimeNG for Angular 20 compatibility
iaromoskviak Nov 25, 2025
0e80e91
Update to Angular 20.3.14
iaromoskviak Nov 25, 2025
dedee61
Update Angular Material and CDK to 20.2.14
iaromoskviak Nov 25, 2025
0042700
Update @types/node to v22 for TypeScript 5.9 compatibility
iaromoskviak Nov 25, 2025
63bc3f3
- Update tsconfig: ES2022 target, bundler resolution, enable strictIn…
iaromoskviak Dec 1, 2025
374e62a
fix: remove duplicate bdnum property after merge
iaromoskviak Dec 1, 2025
0aa5096
login and button layout fixes
iaromoskviak Dec 3, 2025
478731e
Some styling fixes
iaromoskviak Dec 3, 2025
7af1397
Fix sidenav sizing + nav title overflow
iaromoskviak Dec 4, 2025
9c962e3
fix formfield double box, background color
iaromoskviak Dec 8, 2025
2c7149a
substance-form button wrap fix
iaromoskviak Dec 8, 2025
1350ce2
fix loader, header position, substance record version
iaromoskviak Dec 10, 2025
72c5c93
responsive design fixes
iaromoskviak Dec 12, 2025
4a11b8f
refactor: Phase 0 style cleanups - remove 93 lines of dead code
iaromoskviak Dec 15, 2025
0de4202
products responsive changes
iaromoskviak Dec 18, 2025
e2fb36b
updated webpack
iaromoskviak Dec 23, 2025
c18a2c5
reported layout issue fix
iaromoskviak Jan 6, 2026
d8261d4
header issue test
iaromoskviak Jan 8, 2026
4e52e36
fix: Change Reason and Record Version plus Error
iaromoskviak Jan 22, 2026
8238f73
enable svg for pFDA
ihitch Jan 23, 2026
2239387
updated labeled version to 3.2-SNAPSHOT
ChemMitch Jan 24, 2026
b26abaa
implemented most of the changes requested.
ChemMitch Jan 27, 2026
f8c9bf8
the rest of the changes requested in the pull request review
ChemMitch Jan 28, 2026
72c269d
adding some tests to prevent runtime errors
ChemMitch Jan 28, 2026
284943a
adjusted handling of subscriptions
ChemMitch Jan 29, 2026
c81d6c3
cleaned up the unsubscribe code
ChemMitch Jan 29, 2026
27bc120
updated Product and IVP
Jan 29, 2026
d45d17e
Merge pull request #649 from ncats/archUpdateFixes
ChemMitch Jan 29, 2026
7718e3e
fixed typo;
ChemMitch Jan 30, 2026
ac8c082
removed logging
ChemMitch Jan 30, 2026
e292b61
Merge branch 'development_3.0' into role_rework
ChemMitch Feb 3, 2026
82c3dfe
removed one unnecesary logging
ChemMitch Feb 3, 2026
206b284
Merge pull request #638 from ncats/role_rework
ChemMitch Feb 3, 2026
d4ae326
Change reason autofill comment
iaromoskviak Feb 9, 2026
18f4a72
Merge development_3.0 into iaro_upgrade_ng20
iaromoskviak Feb 9, 2026
fe03349
fix for displaying role info within the user profile
ChemMitch Feb 10, 2026
d07e91e
address requested changes
ihitch Feb 10, 2026
3de37f8
enable svg generation on pfda for demo
ihitch Feb 10, 2026
b97f296
RBAC login UI refresh bug
iaromoskviak Feb 10, 2026
0affd35
RBAC login UI refresh bug
iaromoskviak Feb 10, 2026
70568fe
Merge pull request #651 from ncats/iaro_rbac-login-fix
ChemMitch Feb 10, 2026
0639506
Merge pull request #650 from ncats/user_prof_fix
ChemMitch Feb 11, 2026
d1c372e
Merge remote-tracking branch 'origin/development_3.0' into iaro_upgra…
iaromoskviak Feb 11, 2026
deb0119
Merge pull request #652 from ncats/iaro_upgrade_ng20
iaromoskviak Feb 12, 2026
dad1077
add: generate uuid for drafts; save local batch to G4SSM
ihitch Feb 17, 2026
f3b2121
style fixes
iaromoskviak Feb 17, 2026
a09bdd9
Merge pull request #653 from ncats/iaro_v20_ui_fixes
iaromoskviak Feb 17, 2026
2c3b452
ui fixes round two
iaromoskviak Feb 18, 2026
3a20aa3
Merge pull request #654 from ncats/iaro_v20_ui_fixes_round2
ChemMitch Feb 18, 2026
91176e4
made hasRoles work again
ChemMitch Feb 19, 2026
a58f93b
Merge pull request #655 from ncats/admin_facets_reenabled
ChemMitch Feb 19, 2026
6d9b8b7
updated Product and Application
Feb 19, 2026
1bd5cda
Merge pull request #656 from ncats/archUpdateFixes
ChemMitch Feb 19, 2026
f023b93
show no image for no structure
ihitch Feb 24, 2026
9a57281
ui fixes
iaromoskviak Feb 25, 2026
b72063f
Merge pull request #657 from ncats/iaro_v20_ui_fixes_round3
iaromoskviak Feb 25, 2026
5928572
ui fixes
iaromoskviak Feb 26, 2026
e00f872
Merge pull request #658 from ncats/iaro_phase4_ui_fixes
ChemMitch Feb 26, 2026
0506294
Update config.json
alx652 Feb 26, 2026
a897ee2
Merge pull request #659 from ncats/awmisc_update_gsrsfind_link
ChemMitch Feb 26, 2026
46d496f
fixes applied to reported ui issues
iaromoskviak Feb 27, 2026
4aa289b
Merge pull request #660 from ncats/iaro_phase5_ui_fixes
ChemMitch Feb 27, 2026
b07df60
next batch of v20 fixes
iaromoskviak Mar 4, 2026
cd4b649
Merge pull request #661 from ncats/iaro_phase6_ui_fixes
ChemMitch Mar 4, 2026
9c1968f
reported fixes
iaromoskviak Mar 5, 2026
5253a61
Merge pull request #662 from ncats/iaro_phase7_ui_fixes
ChemMitch Mar 5, 2026
b6a8df6
fix counter; drafts uuid generation
ihitch Mar 10, 2026
5a4060d
updated products, IVP, impurities
Mar 10, 2026
f245197
merged development_3.0
Mar 10, 2026
075af1a
Merge pull request #663 from ncats/archNewUpdate
ChemMitch Mar 10, 2026
1979568
phase 8 ui fixes
iaromoskviak Mar 10, 2026
82131e9
Merge pull request #664 from ncats/iaro_phase8_ui_fixes
iaromoskviak Mar 10, 2026
db24848
rebrand pfda-toolbar to TRS
ihitch Mar 11, 2026
4fff1e5
change default support email to TRS one
ihitch Mar 11, 2026
d5390c7
fixes applied
iaromoskviak Mar 11, 2026
ff377ff
fixed IVP and application
Mar 11, 2026
200a8e9
Merge pull request #665 from ncats/iaro_phase9_ui_fixes
iaromoskviak Mar 11, 2026
8f5766c
Merge pull request #666 from ncats/archNewUpdate
narchana Mar 11, 2026
5d0d7ca
update: make pfda toolbar logo configurable
ihitch Mar 12, 2026
02c1ee8
bug fixes
iaromoskviak Mar 16, 2026
3b47ac3
incomplete esc fix
iaromoskviak Mar 16, 2026
cfe43f4
Merge pull request #667 from ncats/miscl_fixes
iaromoskviak Mar 16, 2026
801d923
IVP validation
Mar 17, 2026
1b17702
merged development_3.0
Mar 17, 2026
46f8e20
fixed conflict
Mar 17, 2026
56bc22e
Merge pull request #668 from ncats/archNewUpdate
ChemMitch Mar 17, 2026
473c15f
1) only users with priv "Change Display Name for Approved" can see the
ChemMitch Mar 17, 2026
f4a4cdb
not reported bug fixes
iaromoskviak Mar 17, 2026
84ee2c5
Merge pull request #670 from ncats/print_pdf_issue
iaromoskviak Mar 17, 2026
42298ba
Merge pull request #669 from ncats/noregforquery
narchana Mar 17, 2026
439e744
register seclion changes
iaromoskviak Mar 18, 2026
b2af476
Merge branch 'development_3.0' into bugs_fixes
iaromoskviak Mar 18, 2026
6e9d4d6
Merge pull request #671 from ncats/bugs_fixes
iaromoskviak Mar 18, 2026
99a7b71
updated IVP
Mar 19, 2026
6c74859
Merge branch 'development_3.0' into archNewUpdate
Mar 19, 2026
7c89bea
register forms fixes
iaromoskviak Mar 20, 2026
298bd12
Merge pull request #672 from ncats/material-style-stabilization
iaromoskviak Mar 20, 2026
a18bd5b
updated Product IVP SSG4M
Mar 23, 2026
d8618a7
updated linking key
Mar 23, 2026
f6f8ba8
Merge pull request #673 from ncats/archNewUpdate
narchana Mar 23, 2026
e3aeeba
cv-input layout fix
iaromoskviak Mar 23, 2026
370223c
Merge pull request #674 from ncats/invitro_assay-looping-issue
ChemMitch Mar 23, 2026
be695a3
Merge development_3.0 into pfda_g4_pr
ihitch Mar 25, 2026
7338977
Merge remote-tracking branch 'origin/pfda_g4_pr' into pfda_g4_pr
ihitch Mar 25, 2026
a15e161
resolve errors caused by merge conflicts
ihitch Mar 25, 2026
6335aa2
applied fixes to responsivness and reference
iaromoskviak Mar 27, 2026
b738a7f
Merge pull request #676 from ncats/responsive-ui-fixes
iaromoskviak Mar 27, 2026
2457e35
updated application IVP
Mar 30, 2026
a382c94
Merge pull request #677 from ncats/archNewUpdate
ChemMitch Mar 30, 2026
631aa16
use radio buttons for user roles rather than checkboxes.
ChemMitch Mar 31, 2026
f2a391f
removed block of unnecessary code
ChemMitch Apr 1, 2026
66886f2
after merge fixes
ihitch Apr 1, 2026
f4fb1cd
configrable ssg4m svg generation
ihitch Apr 1, 2026
7491852
fix pfda toolbar color change
ihitch Apr 1, 2026
7d8ad1b
Merge branch 'development_3.0' into pfda_g4_pr
ihitch Apr 2, 2026
c09f2aa
update substance-drafts submit flow loading state
ihitch Apr 2, 2026
b993893
Merge pull request #678 from ncats/role_assignment_radio_buttons
ChemMitch Apr 2, 2026
7f8c319
made display of 2 advanced features ('Set Definition to private' and …
ChemMitch Apr 3, 2026
4fef6ea
Merge pull request #679 from ncats/priv_adjustment_april_2026
ChemMitch Apr 3, 2026
fa7ded1
updated IVP
Apr 3, 2026
024b749
Merge pull request #680 from ncats/archNewUpdate
ChemMitch Apr 3, 2026
2b92390
some defensive coding when saving users
ChemMitch Apr 6, 2026
345babb
added a check to make sure a role is selected for a user before saving
ChemMitch Apr 7, 2026
2bf95e8
fixed application and IVP
Apr 7, 2026
369a36e
Merge branch 'development_3.0' into archNewUpdate
Apr 7, 2026
e86e29d
Merge pull request #681 from ncats/add_checks_userdialog
iaromoskviak Apr 7, 2026
9329feb
updated IVP
Apr 7, 2026
be88fee
Merge pull request #682 from ncats/archNewUpdate
ChemMitch Apr 7, 2026
143102b
user roles fix and add to list dialog ui fix
iaromoskviak Apr 8, 2026
2c88279
Merge pull request #683 from ncats/miscl
iaromoskviak Apr 8, 2026
7c860a2
restoring the restriction on the Record History card.
ChemMitch Apr 9, 2026
294eafe
Merge pull request #684 from ncats/hiding_april_2026
ChemMitch Apr 9, 2026
e5056b2
admin facets fix
iaromoskviak Apr 9, 2026
6099336
Merge pull request #685 from ncats/admin_facets_fix
ChemMitch Apr 9, 2026
9d732fa
make search menu items available to query users
ChemMitch Apr 10, 2026
efc3254
possible mistaken commit
alx652 Apr 10, 2026
ecf9ec5
Merge pull request #687 from ncats/awmisc_fix_apibaseurl
ChemMitch Apr 10, 2026
5e9f78f
cleaned up formatting
ChemMitch Apr 10, 2026
d2ca963
Merge pull request #686 from ncats/query_user_search
iaromoskviak Apr 10, 2026
cd9e182
simlified chemical Name textarea fix
iaromoskviak Apr 10, 2026
c2b5a02
Merge pull request #688 from ncats/iaro_fix_input
ChemMitch Apr 10, 2026
fe64f50
allow every user with write access to see the display name radio buttons
ChemMitch Apr 10, 2026
4278da9
Merge pull request #689 from ncats/restore_display_name_radio_buttons
ChemMitch Apr 10, 2026
6ef0eb7
fixed impurities import
Apr 10, 2026
0e97404
Merge pull request #690 from ncats/archNewUpdate
ChemMitch Apr 10, 2026
481d54c
fix hiding of pfda toolbar buttons
ihitch Apr 13, 2026
d82fcf2
Merge branch 'development_3.0' into pfda_g4_pr
ihitch Apr 13, 2026
3b28281
fixed dialog height
iaromoskviak Apr 13, 2026
9b8f201
Merge pull request #691 from ncats/iaro_molfile_fix
ChemMitch Apr 13, 2026
6183bc0
update: layout of pFDA main page + pfda toolbar
ihitch Apr 14, 2026
72b8255
disulfide fix
iaromoskviak Apr 14, 2026
74a4235
Merge pull request #692 from ncats/iaro_disulfide_fix
ChemMitch Apr 14, 2026
ae4252c
update z index of dropdown
ihitch Apr 15, 2026
6d65c8e
update z-index of header
ihitch Apr 15, 2026
a01b81f
refactor dropdown to mat-menu
ihitch Apr 15, 2026
77575af
revert
ihitch Apr 15, 2026
5ef1787
update z-index of pfda toolbar
ihitch Apr 15, 2026
4948e21
Toolbar responsive fixes & subunit textarea improvements
iaromoskviak Apr 17, 2026
3a0020d
fixed specificity issue for font-family
iaromoskviak Apr 17, 2026
8179e60
Merge pull request #694 from ncats/iaro_subunit_and_header_fix
ChemMitch Apr 17, 2026
06a4fa8
Query Role UI Fixes & Alignment Display Improvements
iaromoskviak Apr 17, 2026
0210c67
Merge pull request #695 from ncats/queryEdit_dissulfides
ChemMitch Apr 17, 2026
8021247
Merge pull request #675 from ncats/pfda_g4_pr
iaromoskviak Apr 20, 2026
c788388
miscl fixes
iaromoskviak Apr 20, 2026
8947b2c
Merge pull request #696 from ncats/clinicaltrials_query
iaromoskviak Apr 20, 2026
5a0e298
registrar name change fix
iaromoskviak Apr 21, 2026
38ad11c
Merge pull request #697 from ncats/registrars_rename
ChemMitch Apr 21, 2026
7a21d8c
fix: export delete before cancel
ihitch Apr 22, 2026
af3bab4
fix: add substance.version check to saveSubstance
ihitch Apr 28, 2026
e811c8e
Merge pull request #698 from ncats/pfda_g4_fixes
iaromoskviak Apr 28, 2026
400d2c6
substance hierarchy fix plus mobile responsiveness touch up
iaromoskviak May 4, 2026
147b2fc
Merge pull request #700 from ncats/truncated_name_mobile
iaromoskviak May 4, 2026
39ac02a
cancel button fix
iaromoskviak May 4, 2026
439222b
Merge pull request #701 from ncats/scheduled_jobs_cancel_bttn_fix
ChemMitch May 4, 2026
efa8c9e
eslint upgrade and null guard
iaromoskviak May 4, 2026
1614ae4
deleted unused Buffer
iaromoskviak May 4, 2026
308042c
Merge pull request #702 from ncats/eslint_upgrade
ChemMitch May 4, 2026
72ca8d5
fix deleting export when finished
ihitch May 5, 2026
257f41d
fix: patch Angular/deps security vulnerabilities, remove Protractor
iaromoskviak May 5, 2026
cc964cc
Merge pull request #703 from ncats/iaro-audit-security-fixes
ChemMitch May 5, 2026
33f764e
fixed application and adverse events in Substance Details
May 5, 2026
dec06a6
Merge pull request #704 from ncats/archUpdate2
ChemMitch May 5, 2026
cc5b165
jsdraw resize, textarea and molfile fixes
iaromoskviak May 11, 2026
c261e69
Merge pull request #705 from ncats/touchup_fixes
ChemMitch May 11, 2026
2e0b11a
amount and redirect fix.
iaromoskviak May 11, 2026
cea817c
Merge pull request #707 from ncats/marlene_reported_redirect_polymer
ChemMitch May 11, 2026
872f778
hasRole fix
iaromoskviak May 14, 2026
7d5d83e
Merge pull request #708 from ncats/hasSpecificPrivilege
ChemMitch May 14, 2026
0caca41
changing the URL used when creating new users to avoid 401 errors that
ChemMitch May 18, 2026
17cc3d4
Merge pull request #709 from ncats/spring_boot_3.5
ChemMitch May 18, 2026
add637a
fix: link to profile/account page
ihitch May 20, 2026
4f2acaa
added form labels in Impurities
May 20, 2026
8e8758b
Merge pull request #711 from ncats/archUpdate4
iaromoskviak May 20, 2026
58e26fe
input label overla fix
iaromoskviak May 21, 2026
f977f93
fix
iaromoskviak May 21, 2026
72b3a73
Merge pull request #712 from ncats/input_label_fix
iaromoskviak May 21, 2026
d77280c
v3000 error fix
iaromoskviak May 22, 2026
e8483ec
error message fix
iaromoskviak May 22, 2026
9de49be
Merge pull request #713 from ncats/molfile_error_message
ChemMitch May 22, 2026
d4df8e3
scroll on hover fix
iaromoskviak May 22, 2026
6370605
Merge pull request #714 from ncats/subunits_scroll_hover_fix
ChemMitch May 22, 2026
16ab318
approve button fix
iaromoskviak May 26, 2026
ee82002
Merge pull request #715 from ncats/damika_approve_btn_fix
ChemMitch May 26, 2026
0195d89
chore: add SECURITY.md NCATS GH org-wide security policy rollout
Jun 12, 2026
40153ce
display correct version of a polymer structure
ChemMitch Jun 16, 2026
78a51e7
Merge pull request #718 from ncats/polymer_structure_version
ChemMitch Jun 16, 2026
0cfc896
lock in version appropriate for angular 20
alx652 Jun 16, 2026
546b440
Merge pull request #719 from ncats/awmisc_test_ngx_schema_form_v2.14.1
narchana Jun 17, 2026
dd08baa
fix save local batch; add message to failed load backup
ihitch Jun 24, 2026
d4aaef6
add jszip package
ihitch Jun 24, 2026
f6e1361
merge pfda
ihitch Jul 28, 2026
2c97ba6
frontend build fix
ihitch Jul 28, 2026
c73fb4c
fix gsrs dropdown z index
ihitch Jul 28, 2026
9789a41
gsrs dropdown fix test 2
ihitch Jul 29, 2026
bc82fdb
gsrs dropdown fix test 3
ihitch Jul 29, 2026
ffd8b5d
update: renew JSDraw2 expired license
ihitch Aug 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 6 additions & 6 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
],
"parserOptions": {
"project": [
"tsconfig.json",
"e2e/tsconfig.json"
],
"createDefaultProgram": true
"tsconfig.json"
]
},
"plugins": ["@typescript-eslint"],
"extends": [
"plugin:@angular-eslint/ng-cli-compat",
"plugin:@angular-eslint/ng-cli-compat--formatting-add-on",
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@angular-eslint/prefer-standalone": "off",
"@angular-eslint/prefer-inject": "off",
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/dot-notation": "off",
"@typescript-eslint/explicit-member-accessibility": [
Expand Down
79 changes: 79 additions & 0 deletions .github/workflows/binary_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Build & Publish Frontend Binaries
on:
release:
types: [published] # Triggers when a release is published
inputs:
npm_build_string:
description: "NPM build script to run (e.g. build:fda:prod)"
required: true
default: "build:fda:prod"
# release_tag:
# description: "Release tag to publish"
# required: true
# default: ${{ github.ref_name }}
frontend_dir:
description: "Path to GSRSFrontend (relative to repo root)"
required: true
default: "."
node_version:
description: "Node.js version"
required: true
default: "18.x"
# push:
# branches:
# - feature/deployable_binary_build

permissions:
contents: write # needed to create/update releases

jobs:
build-and-release:
runs-on:
group: ncats-onprem-internal-runners
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x #${{ inputs.node_version }}

- name: Run build.sh
working-directory: ${{ inputs.frontend_dir }}
run: bash build.sh

- name: Run NPM build
working-directory: ${{ inputs.frontend_dir }}
run: npm run build:fda:prod
#${{ inputs.npm_build_string }}

- name: Zip dist into deployable_binaries.zip
working-directory: . #${{ inputs.frontend_dir }}
run: |
test -d dist || { echo "dist/ not found after build"; exit 1; }
rm -f deployable_binaries.zip
zip -r deployable_binaries.zip dist

- name: Create/Update GitHub Release and upload asset
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }}
draft: false
prerelease: false
#${{ inputs.frontend_dir }}/
files: |
deployable_binaries.zip
fail_on_unmatched_files: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Print download URL
run: |
echo "Download:"
echo "https://github.com/${{ github.repository }}/releases/download/buildRelease2/deployable_binaries.zip"

# ${{ inputs.release_tag }}/deployable_binaries.zip"
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,8 @@ Thumbs.db
/lib/dojo-custom-jsdraw/**/*

/**/venv

# Debug and documentation files
DEBUG-*.md
*-EVIDENCE.md
SIDENAV-*.md
94 changes: 94 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# Security Policy

This policy governs vulnerability research and reporting for NIH systems and services under the [HHS Vulnerability Disclosure Policy](https://www.hhs.gov/vulnerability-disclosure-policy/index.html).

---

## Reporting a Vulnerability

**Report all security issues using GitHub's private vulnerability reporting feature.**

Click **"Report a vulnerability"** on the [Security Advisories](../../security/advisories) tab. Do not open a public issue or report through email, Slack, or any other channel.

Your report will be received securely, kept confidential, and routed to the right people. See [GitHub's documentation](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) for how the process works.

> **Note:** The HHS VDP also accepts reports at [hhs.responsibledisclosure.com](https://hhs.responsibledisclosure.com). For vulnerabilities in this repository or NIH systems hosted here, use the GitHub report link above so the responsible team is notified directly.

Please include:
- What the vulnerability is and its potential impact
- Where it was found
- Steps to reproduce (proof-of-concept scripts or screenshots are helpful)

---

## Authorization

*Issued under the [HHS VDP — Authorization](https://www.hhs.gov/vulnerability-disclosure-policy/index.html#authorization).*

Good faith research conducted under this policy is authorized. NIH and HHS will work with you to resolve issues quickly and will not pursue legal action related to your research.

---

## Guidelines

*Issued under the [HHS VDP — Guidelines](https://www.hhs.gov/vulnerability-disclosure-policy/index.html#guidelines).*

Authorized research means you:

- Notify us as soon as possible after discovering a real or potential security issue
- Avoid privacy violations, user experience degradation, production system disruption, and data destruction or manipulation
- Use exploits only to the extent necessary to confirm a vulnerability — do not exfiltrate data, establish access or persistence, or pivot to other systems
- Allow a reasonable amount of time to resolve the issue before public disclosure
- Do not compromise the privacy, safety, intellectual property, or financial interests of HHS/NIH personnel or third parties

If you discover a vulnerability or encounter any sensitive data (PII, financial, proprietary, or trade secrets), **stop testing, report immediately via the GitHub private vulnerability report, and do not disclose the data to anyone else**.

---

## Scope

*Issued under the [HHS VDP — Scope](https://www.hhs.gov/vulnerability-disclosure-policy/index.html#scope).*

`nih.gov` and all its subdomains are in scope. Vendor systems are out of scope — report those to the vendor directly.

Unsure if a system is in scope? Contact [[email protected]](mailto:[email protected]) before testing.

---

## Rules of Engagement

*Issued under the [HHS VDP — Rules of Engagement](https://www.hhs.gov/vulnerability-disclosure-policy/index.html#rules-engagement).*

**Must not:**
- Test systems outside the scope above
- Disclose vulnerability information except as described in this policy
- Conduct physical testing, social engineering, or phishing
- Execute denial-of-service or resource exhaustion attacks
- Introduce malicious software
- Degrade, impair, disrupt, or disable HHS/NIH systems
- Test third-party applications or services that integrate with NIH systems
- Delete, alter, share, retain, destroy, or exfiltrate HHS/NIH data
- Use an exploit to establish access, persistence, or pivot to other systems

**May:**
- View or store NIH nonpublic data only as necessary to document a potential vulnerability

**Must:**
- Cease testing and immediately report any vulnerability or nonpublic data exposure via the GitHub private vulnerability report
- Purge any stored NIH nonpublic data upon reporting

---

## Disclosure

*Issued under the [HHS VDP — Disclosure](https://www.hhs.gov/vulnerability-disclosure-policy/index.html#disclosure).*

Do not share details about discovered vulnerabilities for **90 calendar days** after receiving our acknowledgment. If you believe earlier disclosure is warranted, coordinate with us in advance.

Reports may be shared with [CISA](https://www.cisa.gov/) and affected vendors under their [coordinated vulnerability disclosure process](https://www.cisa.gov/coordinated-vulnerability-disclosure-process). We will not share your name or contact information without explicit permission.

---

## Questions

Email [[email protected]](mailto:[email protected]) or see the [HHS VDP](https://www.hhs.gov/vulnerability-disclosure-policy/index.html#questions).
Loading