Commit Graph

8 Commits (e634aa6277a38ecb626f36985809d03f99146be1)

Author SHA1 Message Date
Joe Chen 3650b32ec5
chore: rename `internal/db` to `internal/database` () 2024-02-18 19:39:41 -05:00
Joe Chen 7885f454a4
webhook: revalidate local hostname before each delivery () 2022-05-31 15:17:17 +08:00
Joe Chen 714383a063
conf: add allowlist for accessing local network () 2022-03-14 22:06:08 +08:00
Michael Rowley 242deca524
security: fix SSRF in repository migration ()
Co-authored-by: Joe Chen <jc@unknwon.io>
2022-03-08 11:34:53 +08:00
stypr cd469f7a1d
repo: disallow urlencoded new lines in git protocol paths ()
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
2020-11-27 18:52:42 +08:00
Achilleas Koutsou c4360747a3
repo: support unlisted but publicly accessible repositories ()
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
2020-09-04 03:04:22 +08:00
ᴜɴᴋɴᴡᴏɴ f04b2d4350
lint: fix some Golang CI lint issues () 2020-03-01 14:55:03 +08:00
Unknwon 01c8df01ec
internal: move packages under this directory ()
* Rename pkg -> internal

* Rename routes -> route

* Move route -> internal/route

* Rename models -> db

* Move db -> internal/db

* Fix route2 -> route

* Move cmd -> internal/cmd

* Bump version
2019-10-24 01:51:46 -07:00