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

[Prod] Resolve issues found during pen test #2087

Merged
merged 27 commits into from
Apr 9, 2024
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
cc7eb2f
v2.0.19
thewatermethod Apr 3, 2024
4a3deb2
Update readme
thewatermethod Apr 3, 2024
dc0209f
escape HTML function in common
thewatermethod Apr 3, 2024
f08a19b
v2.1.0
thewatermethod Apr 3, 2024
c7a37ab
Remove function to use lodash version instead
thewatermethod Apr 3, 2024
859d687
v2.1.2
thewatermethod Apr 3, 2024
9eafa0b
Catch XSS
thewatermethod Apr 3, 2024
c9987d7
Use safe parse
thewatermethod Apr 3, 2024
a9e02a2
try to de-flakify mocks
thewatermethod Apr 3, 2024
b2689a5
Fix some additional tests and improve mocks
thewatermethod Apr 3, 2024
efbeab4
Is this the source of OOM?
thewatermethod Apr 4, 2024
b5f5634
Try without do... while
thewatermethod Apr 4, 2024
d0aa29b
revert changes to createGrant util
thewatermethod Apr 4, 2024
a53aaed
Move hooks to own folder from subfolder, to free up jest memory
thewatermethod Apr 4, 2024
7eae158
Update mock paths
thewatermethod Apr 4, 2024
1c743d7
rearrange test
thewatermethod Apr 4, 2024
06894fc
Tweak test
thewatermethod Apr 4, 2024
8a977da
add some unit tests for coverage
thewatermethod Apr 5, 2024
a842351
Remove duplicative check that implicitly cannot be tested
thewatermethod Apr 5, 2024
ccefab2
Add another missing test
thewatermethod Apr 5, 2024
588173a
Add ARC test
thewatermethod Apr 5, 2024
37514f2
Add test for ARO hooks
thewatermethod Apr 5, 2024
4a4db2b
add tests for model directory
thewatermethod Apr 5, 2024
4b72a4c
Remove console.log
thewatermethod Apr 5, 2024
83089e2
Add more tests
thewatermethod Apr 5, 2024
b2f7a52
Merge remote-tracking branch 'origin/main' into mb/TTAHUB-2575/escape…
thewatermethod Apr 8, 2024
4218e12
Merge pull request #2076 from HHS/mb/TTAHUB-2575/escape-html
thewatermethod Apr 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove console.log
  • Loading branch information
thewatermethod committed Apr 5, 2024
commit 4b72a4cd7fff6edb63ff197f7295c27e43a57761
1 change: 0 additions & 1 deletion src/hooks/activityReportObjective.js
Original file line number Diff line number Diff line change
@@ -102,7 +102,6 @@ const beforeValidate = async (sequelize, instance) => {
};

const beforeDestroy = async (sequelize, instance, options) => {
console.log('Before Destroying!');
await propagateDestroyToMetadata(sequelize, instance, options);
await autoCleanupLinker(sequelize, instance, options);
};