-
Notifications
You must be signed in to change notification settings - Fork 153
refactor: service module to TS + ESM (v2)
#1166
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
Merged
Merged
Changes from 17 commits
Commits
Show all changes
83 commits
Select commit
Hold shift + click to select a range
d3d73d9
refactor(ts): passport/activeDirectory
jescalada ba086f1
chore: add missing types
jescalada 0c7d1fb
refactor(ts): JWT handler and utils
jescalada b419f4e
refactor(ts): passport/index
jescalada 06a64ea
refactor(ts): passport/local
jescalada 4dfbc2d
refactor(ts): passport/ldaphelper
jescalada 09a1876
refactor(ts): passport/oidc
jescalada abc09bd
refactor(ts): auth routes
jescalada 03c4952
refactor(ts): config routes
jescalada 7ed9eb0
refactor(ts): misc routes and index
jescalada 3d99de2
refactor(ts): push routes and update related types/db handlers
jescalada 944e0b5
refactor(ts): repo routes
jescalada 6a7089f
refactor(ts): user routes
jescalada 6c9d3bf
refactor(ts): emailSender and missing implementation
jescalada 6899e4e
refactor(ts): service/index and missing types
jescalada 63c30a0
refactor(ts): urls
jescalada 812a910
fix: failing tests due to incorrect imports
jescalada 9d5bdd8
chore: update .eslintrc
jescalada c951015
chore: fix type checks
jescalada b046903
chore: fix CLI service imports
jescalada 97ad7c7
Merge branch 'main' of https://github.com/finos/git-proxy into servic…
jescalada 9008ac5
chore: run npm format
jescalada f36b3d1
test: add basic oidc tests and ignore openid-client type error on import
jescalada 51df315
test: increase testOidc and testPush coverage
jescalada f7ed291
test: improve push test coverage
jescalada b2b1b14
test: add missing smtp tests
jescalada ae43800
Update .eslintrc.json
jescalada 17a8adf
Update src/db/file/users.ts
jescalada c7cf87e
Update src/service/passport/jwtAuthHandler.ts
jescalada 8aa1a97
Update src/service/passport/index.ts
jescalada 962a0ba
chore: fix service/index proxy type and npm run format
jescalada 7eda433
Update src/service/passport/jwtAuthHandler.ts
jescalada df80fef
Update src/service/passport/jwtUtils.ts
jescalada 095ae62
chore: add getSessionStore helper for fs sink and fix types
jescalada b094ff1
Merge branch 'service-ts-refactor-redone' of https://github.com/jesca…
jescalada f9cea8c
chore: remove unnecessary casting for JWT verifiedPayload
jescalada ee63f9c
chore: update getSessionStore call
jescalada 0dc78ce
chore: replace unused UserInfoResponse with imported version
jescalada 2429fbe
chore: improve userEmail checks on push routes
jescalada a368642
chore: update packages
jescalada 8971566
Merge branch 'main' into service-ts-refactor-redone
jescalada 6c427b9
chore: add typing for thirdPartyApiConfig
jescalada 5805dd9
chore: fix AD passport types
jescalada bec32f7
chore: replace AD type with activedirectory2
jescalada 573cc92
chore: improve loginSuccessHandler
jescalada a211560
chore: fix PushQuery typing
jescalada e299e85
chore: fix "any" in repo and users routes and fix failing tests
jescalada 3dd1bd0
refactor: flatten push routes and fix typings
jescalada 8e6d1d3
chore: add isAdminUser check to repo routes
jescalada db60fbf
test: improve push test checks for cancel endpoint
jescalada dfb1e04
Merge branch 'main' into service-ts-refactor-redone
jescalada 95495f2
chore: fix createDefaultAdmin and isAdminUser functions
jescalada 3469b54
chore: fix thirdPartyApiConfig and AD type errors
jescalada cd68915
chore: remove nodemailer and unused functionality
jescalada 728b5aa
chore: fix failing CLI test (email not unique)
jescalada 4d3d083
chore: remove unused smtp config variables
jescalada 0343438
Update src/service/routes/publicApi.ts
jescalada 0109b0b
chore: fix toPublicUser calls and typing
jescalada 052a00e
Merge branch 'main' into service-ts-refactor-redone
jescalada 3a66ca4
chore: update sample test src/service import
jescalada dd42438
Merge remote-tracking branch 'origin/main' into service-ts-refactor-r…
jescalada a3e5f22
Merge remote-tracking branch 'origin/main' into service-ts-refactor-r…
jescalada 8fb0236
Merge branch 'main' into service-ts-refactor-redone
kriswest a124277
Merge branch 'main' into service-ts-refactor-redone
jescalada eef5f40
Merge branch 'main' into service-ts-refactor-redone
jescalada bd96208
Merge branch 'main' into service-ts-refactor-redone
jescalada 36a68f3
chore: fix type error on AuthenticationElement rename
jescalada e257953
Merge branch 'main' into service-ts-refactor-redone
jescalada 8bc162e
Merge branch 'main' into service-ts-refactor-redone
jescalada 9b1e905
Merge branch 'main' into service-ts-refactor-redone
kriswest 07d059e
chore: remove unused types file and references
jescalada 2fd8e11
Update src/service/passport/ldaphelper.ts
jescalada d1b4388
chore: improve jwtAuthHandler checks
jescalada bd7cb33
Merge branch 'service-ts-refactor-redone' of https://github.com/jesca…
jescalada 233deac
fix: remove gitAccount and fix authorise push route conflicts
jescalada c4190dc
chore: remove unused reviewerGitAccount processing and fix getProxyUr…
jescalada fa102f0
Merge branch 'main' into service-ts-refactor-redone
jescalada 820400d
chore: fix type errors
jescalada efe59f5
fix: convert imports to ESM to fix CLI test failures
jescalada a58f95c
feat: add reviewer email to push authorise endpoint
jescalada bf37942
chore: remove service parameter from testCliUtils start/stop calls
jescalada 29b3bda
chore: add test-package/package-lock.json to .gitignore
jescalada 9bc41e2
Delete test/fixtures/test-package/package-lock.json
jescalada 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
Some comments aren't visible on the classic Files Changed page.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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.