-
Notifications
You must be signed in to change notification settings - Fork 142
feat(key on repo url): support git hosts other than GitHub + multiple forks #1043
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
Open
kriswest
wants to merge
92
commits into
finos:main
Choose a base branch
from
kriswest:950-key-on-repo-urls
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,038
−1,512
Open
Changes from all commits
Commits
Show all changes
92 commits
Select commit
Hold shift + click to select a range
9bd048c
feat(key on repo url): start of db refactor (WIP)
kriswest 4891468
feat(key on repo url): consolidate validation for repo creation to re…
kriswest 1ad07ab
feat(key on repo url): add fallback to non-url repo matching
StingRayZA 5eeccc8
feat(key on repo url): switch repo detail used in queries from name t…
kriswest a3bdb7e
feat(key on repo url): refactor tests to use repo URLs rather than na…
kriswest 522ab1c
feat(key on repo url): switch repo indexing to url field and make uni…
kriswest 3433157
feat(key on repo url): allow file db to delete multiple records
StingRayZA 3aaa6f7
feat(key on repo url): switching to key on _id for in API + consolida…
kriswest e73fba4
feat(key on repo url): update calls in cli tests to use repo ids
StingRayZA a2f1e6c
feat(key on repo url): apply proper typing to DB classes
kriswest 62938c7
feat(key on repo url): refactoring proxy to support embedding host wi…
kriswest 350bb0c
feat(key on repo url): remove defunct config variable
kriswest b8973bb
feat(key on repo url): remove unneeded backwards compat in DB
kriswest b48df7a
feat(key on repo url): resolving issues in refactored proxy based on …
kriswest 451b18a
feat(key on repo url): refactor UI to use repo Ids, updated urls and …
kriswest a4d9bde
feat(key on repo url): fix issues in CLI tests related to change of k…
kriswest a5beb57
fix: add indexes, compaction and consistent lowercasing of inputs in …
kriswest 4b305dd
test: use unique emails for users in tests and remove afterwards
kriswest ecee528
fix: add indexes, compaction and consistent lowercasing of inputs in …
kriswest 092435d
test: more code coverage in DB and service/routes/repo
kriswest a44e3d1
test: more DB test coverage
kriswest 97115d6
feat(key on repo url): refactor tests to use repo URLs rather than na…
kriswest 2e0f396
feat(key on repo url): allow file db to delete multiple records
StingRayZA ddb823e
feat(key on repo url): switching to key on _id for in API + consolida…
kriswest 928823d
feat(key on repo url): apply proper typing to DB classes
kriswest 4905970
feat(key on repo url): refactoring proxy to support embedding host wi…
kriswest 69d83d0
feat(key on repo url): resolving issues in refactored proxy based on …
kriswest 561f069
feat(key on repo url): fix CLI and cypress tests after change to prox…
kriswest 0f51320
chore(key on repo url): clean-up unused helper function and test
kriswest e50c918
fix: adding URL sanitisation to resolve codeQL flagged issues
kriswest e318dc6
fix(key on repo url): adjust cypress test broken by changes to id's used
kriswest 2ebdbf6
fix: resolving issues with tests after merging main + output string w…
kriswest f7b1911
fix(key on repo url): further tweaks to failing tests
kriswest 46bdc9c
fix: restart the proxy when handling a new origin
kriswest c54e632
test: correcting git URLs in tests and increasing coverage on parseAc…
kriswest 0976395
test: fixing issues in pasreAction and db pojo tests
kriswest c616f06
test: data setup for parseAction test
kriswest eb42b94
test: enable tests that weren't being run due to file name
kriswest d7d7e23
chore: prettier
kriswest eb22bcb
fix: ensure proxy routes are reworked on restart after adding a repo
kriswest 4265fcb
test: improve coverage for db and repo API
kriswest 662830c
test: proxy route filter tests
kriswest 60a2c37
fix: correct comparison of origins and import of proxy class in repo …
kriswest 92b801b
fix: remove Transfer-encoding from proxy blocked response
kriswest e5cb9c9
Merge branch 'main' into 950-key-on-repo-urls
kriswest fe934df
fix: log warnign on startup if proxyUrl is in the config
kriswest e059206
fix: catch errors on building unique DB indices
kriswest a462ed6
fix: control max length of urls processed to prevent DoS
kriswest 7ab7df2
test: test coverage for path length limits
kriswest 9a1e653
fix: typing issue in db client
kriswest 6ad79ab
fix: fix issues with restart of the proxy by passing service a refere…
kriswest d07b132
fix: do proxy prep before initializing proxy to catch configured proj…
kriswest 4828135
test: comments on proxyRoute tests
kriswest 4a11817
test: shorten test timeouts
kriswest a676c22
Merge branch 'main' into 950-key-on-repo-urls
kriswest 03bcc6e
feat: support for gitlab user profile links
kriswest 07ab1cb
feat: add support for retrieving repo details from gitlab and fix sma…
kriswest d2747b9
Merge branch 'main' into 950-key-on-repo-urls
kriswest 097f35d
Merge branch 'main' into 950-key-on-repo-urls
kriswest 49be61f
Merge branch 'main' into 950-key-on-repo-urls
kriswest 61412fe
feat: tweaks to types needed after merge
kriswest 29b0a8c
Merge branch 'main' into 950-key-on-repo-urls
kriswest 6dac8df
test: fix a test (that was retrieving a repo by name) after merging main
kriswest 004b644
chore: move uril functions to utils.tsx and add comments
kriswest e677e61
feat: rework remote repository metadata handling
kriswest 3296af6
fix: make sure user profile is available after login
kriswest da0a0db
Merge remote-tracking branch 'finos/main' into 950-key-on-repo-urls
kriswest baf50b9
fix: fix missing snackbar on login failure
kriswest 172895c
fix: resolve RepoDetails view display issues
kriswest 7e4cf5a
fix: typing issues in UI views
kriswest 1034ad7
fix: more typing issues in ui and matching code button dimensions to …
kriswest 8105796
Merge branch 'main' into 950-key-on-repo-urls
kriswest 837b49c
Merge branch 'main' into 950-key-on-repo-urls
kriswest 7ec3626
Merge branch 'main' into 950-key-on-repo-urls
kriswest 4cb7a89
Merge branch 'main' into 950-key-on-repo-urls
kriswest 88330d8
Merge branch 'main' into 950-key-on-repo-urls
kriswest 82c6160
Merge branch 'main' into 950-key-on-repo-urls
kriswest 63fa968
test: switch gitlab test to a smaller gitlab repo
kriswest 47fedf4
Merge branch '950-key-on-repo-urls' of https://github.com/kriswest/gi…
kriswest 12f7ad5
fix: clean-up of proxy filter logging
kriswest 7e054ed
Merge branch '946-associate-commits-by-email-rebase' into natwest-dep…
kriswest 90fa5af
Merge branch '950-key-on-repo-urls' into natwest-deployment-candidate-5
kriswest 369d78e
test: resolve test issues after merge of fixes for 946 and 950
kriswest e612ad8
test: fix minor typo in a test title
kriswest 8b33139
fix: reduce error msg from snackbar to console warn
kriswest e7c3e74
Merge branch '950-key-on-repo-urls' into 950-key-on-repo-urls-merge-946
kriswest c11637e
Merge branch 'main' into 950-key-on-repo-urls
kriswest 7ed7d46
Merge branch 'main' into 950-key-on-repo-urls-merge-946
kriswest 3b24240
Merge branch '950-key-on-repo-urls-merge-946' into 950-key-on-repo-urls
kriswest 06ad5b6
fix: add examples to new repo field hints
kriswest 804a884
fix: make trimTrailingDotGit null safe
kriswest 256ef3f
fix: add constant and comments for max URL length in proxy helpers
kriswest File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ | ||
"proxyUrl": "https://github.com", | ||
"cookieSecret": "cookie secret", | ||
"sessionMaxAgeHours": 12, | ||
"rateLimit": { | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.