Skip to content
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ yarn-debug.log*
yarn-error.log*
lerna-debug.log*
package-lock.json
/git-proxy-test


# Diagnostic reports (https://nodejs.org/api/report.html)
Expand Down
3 changes: 1 addition & 2 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"


npx --no -- commitlint --edit ${1} && npm run lint
111 changes: 110 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"concurrently": "^8.0.0",
"connect-mongo": "^5.1.0",
"cors": "^2.8.5",
"csv-parser": "^3.0.0",
"diff2html": "^3.4.33",
"express": "^4.18.2",
"express-http-proxy": "^2.0.0",
Expand All @@ -70,6 +71,7 @@
"react-router-dom": "6.26.2",
"simple-git": "^3.25.0",
"uuid": "^10.0.0",
"xlsx": "^0.18.5",
"yargs": "^17.7.2"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion proxy.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@
"block": {
"literals": [],
"patterns": [],
"providers": {}
"providers": {},
"proxyFileTypes":[]
}
}
},
Expand Down
4 changes: 3 additions & 1 deletion src/proxy/chain.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ const pushActionChain = [
proc.push.checkIfWaitingAuth,
proc.push.pullRemote,
proc.push.writePack,
proc.push.getDiff,
proc.push.getDiff,
proc.push.checkSensitiveData, // checkSensitiveData added
proc.push.clearBareClone,
proc.push.scanDiff,
proc.push.blockForAuth,
];


const pullActionChain = [proc.push.checkRepoInAuthorisedList];

let pluginsInserted = false;
Expand Down
Loading
Loading