Commit Graph

6161 Commits

Author SHA1 Message Date
deepsource-autofix[bot]
d2ff1fa978 style: format code with Go fmt and Gofumpt
This commit fixes the style issues introduced in 748ecbf according to the output
from Go fmt and Gofumpt.

Details: https://github.com/gogs/gogs/pull/8105
2026-01-24 15:48:04 +00:00
copilot-swe-agent[bot]
748ecbfdf3 Complete XORM to GORM migration for internal/database/pull.go
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-24 15:47:50 +00:00
copilot-swe-agent[bot]
04d063c65d Complete XORM to GORM migration for issue.go and pull.go
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-24 15:43:22 +00:00
copilot-swe-agent[bot]
eebe4065c6 Migrate internal/database/backup.go from XORM to GORM
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-24 01:21:38 +00:00
copilot-swe-agent[bot]
de9f03d533 Migrate webhook.go, org_team.go, ssh_key.go from XORM to GORM
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-24 01:17:45 +00:00
copilot-swe-agent[bot]
8d43893af2 Migrate internal/database/ssh_key.go from XORM to GORM
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-24 01:15:23 +00:00
copilot-swe-agent[bot]
233f0fb18d Migrate internal/database/org_team.go from XORM to GORM
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-24 01:07:23 +00:00
copilot-swe-agent[bot]
aba381e7f8 Migrate webhook.go from XORM to GORM
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-24 01:00:42 +00:00
deepsource-autofix[bot]
1a285ca5ce style: format code with Go fmt and Gofumpt
This commit fixes the style issues introduced in b74ce2f according to the output
from Go fmt and Gofumpt.

Details: https://github.com/gogs/gogs/pull/8105
2026-01-24 00:52:55 +00:00
copilot-swe-agent[bot]
b74ce2f6bc Migrate org.go from XORM to GORM
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-24 00:52:43 +00:00
deepsource-autofix[bot]
5469f017bc style: format code with Go fmt and Gofumpt
This commit fixes the style issues introduced in cddfd5f according to the output
from Go fmt and Gofumpt.

Details: https://github.com/gogs/gogs/pull/8105
2026-01-24 00:51:36 +00:00
copilot-swe-agent[bot]
cddfd5fbb9 Migrate issue_label.go and comment.go from XORM to GORM
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-24 00:51:00 +00:00
deepsource-autofix[bot]
9bd5123bcf style: format code with Go fmt and Gofumpt
This commit fixes the style issues introduced in 589bf5f according to the output
from Go fmt and Gofumpt.

Details: https://github.com/gogs/gogs/pull/8105
2026-01-24 00:47:06 +00:00
copilot-swe-agent[bot]
589bf5f532 Convert release.go from XORM to GORM
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-24 00:46:54 +00:00
copilot-swe-agent[bot]
9d9175df80 Convert mirror.go from XORM to GORM
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-24 00:45:29 +00:00
deepsource-autofix[bot]
e3e107f95d style: format code with Go fmt and Gofumpt
This commit fixes the style issues introduced in 36833b1 according to the output
from Go fmt and Gofumpt.

Details: https://github.com/gogs/gogs/pull/8105
2026-01-24 00:44:38 +00:00
copilot-swe-agent[bot]
36833b135e Convert milestone.go from XORM to GORM
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-24 00:44:21 +00:00
deepsource-autofix[bot]
d5954c42eb style: format code with Go fmt and Gofumpt
This commit fixes the style issues introduced in f9478a3 according to the output
from Go fmt and Gofumpt.

Details: https://github.com/gogs/gogs/pull/8105
2026-01-24 00:43:07 +00:00
copilot-swe-agent[bot]
f9478a3f76 Initial XORM to GORM migration: models.go and attachment.go converted
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-24 00:42:51 +00:00
copilot-swe-agent[bot]
9bfb9a719b Initial plan 2026-01-24 00:34:38 +00:00
Joe Chen
a7bc1637db chore: update AGENTS.md
[skip ci]
2026-01-23 12:20:51 -05:00
Joe Chen
f1102a7a7c release: cut CHANGELOG entries for 0.13.4
[skip ci]
2026-01-23 10:13:11 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
26ef07f60d repo: validate Git server hook name for editing (#8103) 2026-01-23 09:40:36 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
ca59e76a53 api: verify write access to update repo content (#8102) 2026-01-23 09:19:11 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
27f1250d00 api: verify owner access to delete repos (#8101) 2026-01-22 22:52:57 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
560f92ec5f two_factor: verify recovery code ownership upon using (#8100) 2026-01-22 22:30:27 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
1bbc36149a wiki: sanitize old wiki page name when editing (#8099) 2026-01-22 11:00:27 -05:00
Copilot
4ee706b2bf chore: replace pkg/errors with cockroachdb/errors (#8098)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-22 08:20:53 -05:00
Copilot
ae59787ff5 chore: remove internal/database/errors package (#8096) 2026-01-22 07:17:34 -05:00
Copilot
389ec54b2c chore: rename osutil.IsExist to osutil.Exist (#8097) 2026-01-21 22:22:07 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
5544212adb wiki: auto-detect default branch (#8094) 2026-01-20 23:38:10 -05:00
Joe Chen
6e1e4cb848 chore: update AGENTS.md
[skip ci]
2026-01-19 22:13:49 -05:00
deepsource-autofix[bot]
8e08450182 style: format code with Go fmt and Gofumpt (#8092) 2026-01-19 14:54:13 -05:00
Shivam Kumar
beeeb64969 repo: check directory existence before creation (#8091)
Co-authored-by: ᴊᴏᴇ ᴄʜᴇɴ <jc@unknwon.io>
2026-01-19 14:36:38 -05:00
Mukaiu
3ef71a43d9 api: fix nil pointer dereference when listing user repos (#8069)
Co-authored-by: Joe Chen <jc@unknwon.io>
2026-01-18 21:01:03 -05:00
Joe Chen
e44284fada chore: add AGENTS.md
[skip ci]
2026-01-18 21:00:19 -05:00
Shivam Kumar
b7010084b7 auth: support redirecting to custom URL upon sign out (#8089)
Co-authored-by: ᴊᴏᴇ ᴄʜᴇɴ <jc@unknwon.io>
2026-01-16 15:44:26 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
b8ab712819 chore: update pull request template checklist
[skip ci]
2026-01-16 14:38:59 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
59e9fa191b chore: remove all MIT license file headers (#8083)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2026-01-08 19:32:15 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
553707f3fd repository: reject any updates that has symlink in path hierarchy (#8082)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-08 14:22:04 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
b6030ba713 docker-next: fix up Git user home directory and permission issue (#8081) 2026-01-07 10:33:27 -05:00
Élie Bouttier
e68949dd13 fix(Dockerfile.next): install curl (#8080) 2026-01-06 12:30:15 -05:00
Copilot
f813c17565 Add DigitalOcean container registry garbage collection workflow (#8073) 2025-12-20 18:29:32 +08:00
ᴊᴏᴇ ᴄʜᴇɴ
5e7c599755 chore: update security advisory reporting process
[skip ci]
2025-12-10 20:22:12 -05:00
Jakub Domeracki
2c88cd4d9f security: patch mermaid package version
Co-authored-by: Jakub Domeracki <jdomeracki.itsec@gmail.com>
Co-authored-by: ᴊᴏᴇ ᴄʜᴇɴ <jc@unknwon.io>
2025-12-04 14:58:06 +09:00
Copilot
04cc48339f chore: update Go version from 1.24 to 1.25 in CI and related files (#8066)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
Co-authored-by: Joe Chen <jc@unknwon.io>
2025-12-03 20:11:14 -05:00
Neptunium93
3666718ec5 repo: fix potential null pointer dereference in mirror sync (#8065) 2025-12-03 18:04:42 -05:00
Joe Chen
4cc83c498b chore: fix up docker-next SSH instruction
[skip ci]
2025-11-30 10:26:58 -05:00
Copilot
332c0895e6 docker: add next-generation rootless image with Kubernetes security context support (#8061)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
Co-authored-by: Joe Chen <jc@unknwon.io>
2025-11-29 23:01:12 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
16f466d1c1 CHANGELOG: add entry for #8057
[skip ci]
2025-11-25 22:40:48 -05:00