ᴊᴏᴇ ᴄʜᴇɴ
a1fa62b270
all: decouple API types from go-gogs-client SDK ( #8171 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-02-10 10:56:17 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
069d3535d6
chore: fix broken links to gogs.io ( #8169 )
2026-02-09 09:09:59 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
81ee883644
lfs: verify content hash and prevent object overwrite ( #8166 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2026-02-08 17:14:12 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
3c358ede6d
all: migrate from json-iterator to encoding/json ( #8159 )
2026-02-08 00:34:36 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
48500aa2b0
all: migrate from satori/go.uuid to google/uuid ( #8161 )
2026-02-08 00:13:43 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
785157ba1f
all: migrate from nfnt/resize to golang.org/x/image/draw ( #8158 )
2026-02-08 00:08:50 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
1c8016a27b
database/schemadoc: migrate to github.com/DATA-DOG/go-sqlmock ( #8157 )
2026-02-08 00:07:45 -05:00
Copilot
bf17cc6c69
Replace github.com/unknwon/com with stdlib and internal helpers ( #8148 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Joe Chen <jc@unknwon.io >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-05 22:08:54 -05:00
Copilot
6d56105f8f
Run modernize tool across codebase ( #8147 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Joe Chen <jc@unknwon.io >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2026-02-05 21:32:09 -05:00
dependabot[bot]
7ebfb202e4
mod: bump github.com/olekukonko/tablewriter from 0.0.5 to 1.1.0 ( #8039 )
...
Co-authored-by: Joe Chen <jc@unknwon.io >
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-31 23:11:08 -05:00
Yaroslav Halchenko
3cc8e7aa6d
Fix typos throughout the codebase ( #7514 )
2026-01-30 23:03:05 -05:00
Jeff Li
77dba1b5ea
repo: fix 500 error on watchers and stargazers pages using MSSQL ( #6386 )
...
Co-authored-by: Joe Chen <jc@unknwon.io >
Co-authored-by: Claude <noreply@anthropic.com >
2026-01-30 22:24:43 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
e3bb4165dc
database: impersonate pure-Go SQLite driver as the old "sqlite3" ( #8118 )
2026-01-29 14:49:36 -05:00
ᴊᴏᴇ ᴄʜᴇɴ
2316b09eaf
database: fully switch over to pure-Go SQLite driver ( #8115 )
2026-01-27 22:45:50 -05:00
Copilot
3477bbac0e
Add ED25519 test coverage and refactor SSH key parsing tests ( #8107 )
...
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: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-27 14:04:12 -05:00
Copilot
1cdeef2ce8
Replace tool.IsMaliciousPath with pathutil.Clean and move IsSameSite to urlutil ( #8106 )
2026-01-23 21:13:27 -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
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
ᴊᴏᴇ ᴄʜᴇɴ
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
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
591810e405
web_editor: prohibit CRUD to symbolic files ( #7981 )
...
Fixes
[GHSA-wj44-9vcg-wjq7](https://github.com/gogs/gogs/security/advisories/GHSA-wj44-9vcg-wjq7 )
---------
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2025-06-08 18:28:28 -04:00
dependabot[bot]
139ea3ce7d
mod: bump modernc.org/sqlite from 1.36.0 to 1.37.0 ( #7947 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joe Chen <jc@unknwon.io >
2025-04-14 18:00:07 -04:00
dependabot[bot]
e6896eb393
mod: bump gorm.io/driver/postgres from 1.5.7 to 1.5.11 ( #7895 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joe Chen <jc@unknwon.io >
2025-01-01 11:11:51 -05:00
Joe Chen
76831d0d06
dep: update github.com/gogs/git-module to v1.8.4 ( #7872 )
...
## Describe the pull request
Fixes
https://github.com/gogs/gogs/security/advisories/GHSA-m27m-h5gj-wwmg by
including https://github.com/gogs/git-module/pull/110
2024-12-22 16:37:51 -05:00
Joe Chen
68b3c8f339
repo: ignore unintended Git options for diff preview ( #7871 )
...
## Describe the pull request
Fixes
https://github.com/gogs/gogs/security/advisories/GHSA-9pp6-wq8c-3w2c
2024-12-22 15:59:03 -05:00
Joe Chen
77a4a945ae
repo: prevent preview and delete files in .git directories ( #7870 )
...
## Describe the pull request
Fixes
https://github.com/gogs/gogs/security/advisories/GHSA-ccqv-43vm-4f3w
2024-12-22 15:24:18 -05:00
Joe Chen
b09f317aa0
database: lock mock properly to avoid data race in tests ( #7869 )
...
Fixes tests data race found in
https://github.com/gogs/gogs/actions/runs/12457230279/job/34771555537
2024-12-22 15:09:42 -05:00
Joe Chen
009a1855aa
ssh: make env command a passthrough ( #7868 )
...
## Describe the pull request
Fixes
https://github.com/gogs/gogs/security/advisories/GHSA-vm62-9jw3-c8w3
2024-12-22 14:56:31 -05:00
Joe Chen
9a9388ace2
api: clean file path for updating repo contents ( #7859 )
...
## Describe the pull request
Link to the issue: closes https://github.com/gogs/gogs/issues/7582
2024-12-14 21:30:34 -05:00
alingse
87f47166ac
chore: fix miss makezero bug ( #7752 )
2024-05-26 18:04:54 -04:00
Joe Chen
d9ecdcaef0
all: unwrap database.UsersStore interface ( #7708 )
2024-03-27 23:18:59 -04:00
Joe Chen
202012887a
all: unwrap database.TwoFactorsStore interface ( #7707 )
2024-03-27 22:14:08 -04:00
Joe Chen
4d05804729
all: unwrap database.RepositoriesStore interface ( #7706 )
2024-03-26 23:34:31 -04:00
Joe Chen
895e553e68
all: unwrap database.PublicKeysStore interface ( #7702 )
2024-03-23 20:55:45 -04:00
Joe Chen
5cf0189df1
all: unwrap database.PermissionsStore interface ( #7701 )
2024-03-23 20:46:32 -04:00
Joe Chen
8d2386b4db
database: set Handle direcetly during initialization ( #7699 )
2024-03-20 19:02:57 -04:00
Joe Chen
dd49412edd
all: unwrap database.OrganizationsStore interface ( #7696 )
2024-03-19 19:33:43 -04:00
Joe Chen
b89f20e02d
all: unwrap database.NoticesStore interface ( #7695 )
2024-03-17 20:44:13 -04:00
Joe Chen
e634aa6277
all: unwrap database.LoginSourcesStore interface ( #7694 )
2024-03-17 20:14:54 -04:00
Joe Chen
3a5132b6f7
all: unwrap database.LFSStore interface ( #7692 )
2024-03-16 20:32:12 -04:00
Joe Chen
6d77d6204d
all: unwrap database.ActionsStore interface ( #7686 )
2024-03-13 22:03:02 -04:00
Joe Chen
8054ffc12f
all: unwrap database.AccessTokensStore interface ( #7670 )
2024-02-20 21:47:32 -05:00