Joe Chen
3650b32ec5
chore: rename `internal/db` to `internal/database` ( #7665 )
2024-02-18 19:39:41 -05:00
Joe Chen
c53a1998c5
all: replace `interface{}` with `any` ( #7330 )
...
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2023-02-02 21:25:25 +08:00
Joe Chen
7885f454a4
webhook: revalidate local hostname before each delivery ( #6988 )
2022-05-31 15:17:17 +08:00
Michael Rowley
242deca524
security: fix SSRF in repository migration ( #6812 )
...
Co-authored-by: Joe Chen <jc@unknwon.io>
2022-03-08 11:34:53 +08:00
ᴜɴᴋɴᴡᴏɴ
ee0ea2c5fc
lfs: add unit test for middleware ( #6070 )
...
* Add unit test for `authenticate` middleware
* Add more cases
* Add tests for verifyOID and internalServerError
* Add tests for verifyHeader
* Add tests for authroize
2020-04-06 18:35:10 +08:00
ᴜɴᴋɴᴡᴏɴ
22717a1c06
webhook: overhaul route handlers ( #6002 )
...
* Overual route handlers and fixes #5366
* Merge routes for repo and org
* Inject OrgRepoContext
* DRY validateWebhook
* DRY c.HasError
* Add tests
* Update CHANGELOG
2020-03-22 22:07:22 +08:00