Commit Graph

6161 Commits

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

Details: https://github.com/gogs/gogs/pull/8111
2026-01-25 16:18:42 +00:00
copilot-swe-agent[bot]
ab4e767624 Remove all macaron dependencies from go.mod and update imports.
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-25 16:18:26 +00:00
copilot-swe-agent[bot]
f9301f8ee5 Fix CI failures - run go mod tidy and update LFS tests to use Flamego.
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-25 16:01:22 +00:00
deepsource-autofix[bot]
ebdc1d2548 style: format code with Go fmt and Gofumpt
This commit fixes the style issues introduced in f435c7f according to the output
from Go fmt and Gofumpt.

Details: https://github.com/gogs/gogs/pull/8111
2026-01-25 15:27:38 +00:00
copilot-swe-agent[bot]
f435c7f597 Fix final build issues - migration complete, builds successfully.
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-25 15:27:22 +00:00
deepsource-autofix[bot]
977532eaaa style: format code with Go fmt and Gofumpt
This commit fixes the style issues introduced in f3856c2 according to the output
from Go fmt and Gofumpt.

Details: https://github.com/gogs/gogs/pull/8111
2026-01-25 15:25:00 +00:00
copilot-swe-agent[bot]
f3856c290c Complete flamego migration - fix all compilation errors.
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-25 15:24:41 +00:00
copilot-swe-agent[bot]
f8ebb278df Continue flamego migration - fix Context methods and route handlers.
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-25 12:07:17 +00:00
deepsource-autofix[bot]
5ea7e5f96d style: format code with Go fmt and Gofumpt
This commit fixes the style issues introduced in 755f612 according to the output
from Go fmt and Gofumpt.

Details: https://github.com/gogs/gogs/pull/8111
2026-01-25 12:06:11 +00:00
copilot-swe-agent[bot]
755f61295a Delete documentation and begin flamego migration.
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-25 12:05:56 +00:00
deepsource-autofix[bot]
bfc0f9c048 style: format code with Go fmt and Gofumpt
This commit fixes the style issues introduced in da641a8 according to the output
from Go fmt and Gofumpt.

Details: https://github.com/gogs/gogs/pull/8111
2026-01-25 12:02:15 +00:00
copilot-swe-agent[bot]
da641a81f0 Continue Flamego migration: Update context files and fix compilation errors
- Fix Context struct with FlashData
- Add SetCookie, GetCookie, Tr helper methods
- Update user.go, go_get.go, org.go, repo.go context files
- Fix JSON, HTML rendering methods
- Update Contexter middleware to handle Flash properly
- Fix auth.go references to Request

Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-25 12:02:00 +00:00
deepsource-autofix[bot]
1bd867ab15 style: format code with Go fmt and Gofumpt
This commit fixes the style issues introduced in de467e5 according to the output
from Go fmt and Gofumpt.

Details: https://github.com/gogs/gogs/pull/8111
2026-01-25 11:58:21 +00:00
copilot-swe-agent[bot]
de467e5d69 WIP: Migrate from Macaron to Flamego web framework
- Update imports in web.go, context.go, auth.go, api.go
- Replace Macaron with Flamego initialization
- Update middleware configuration
- Convert route syntax from :param to <param>
- Update session, CSRF, cache middleware to Flamego versions
- Add custom health check endpoint
- Update Context struct to work with Flamego
- Update Contexter middleware
- Add helper methods for Status, JSON, Header, Written

Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-25 11:58:06 +00:00
copilot-swe-agent[bot]
973fe8ca47 Add navigation README for Flamego migration docs
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-25 04:28:31 +00:00
copilot-swe-agent[bot]
b2e4e1c3c0 Add Flamego quick reference guide for easy lookup
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-25 04:27:47 +00:00
copilot-swe-agent[bot]
5f0c0e2b4f Complete Macaron to Flamego migration analysis and documentation
Co-authored-by: unknwon <2946214+unknwon@users.noreply.github.com>
2026-01-25 04:26:38 +00:00
copilot-swe-agent[bot]
a3808ca55b Initial plan 2026-01-25 04:19:33 +00:00
ᴊᴏᴇ ᴄʜᴇɴ
bb3cab921b chore: update release template (#8110)
[skip ci]
2026-01-24 23:07:27 -05:00
Copilot
1cdeef2ce8 Replace tool.IsMaliciousPath with pathutil.Clean and move IsSameSite to urlutil (#8106) 2026-01-23 21:13:27 -05: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