gitea/models/repo
Admin 85d73a2d85
Some checks failed
Build and Release / Create Release (push) Has been skipped
Build and Release / Integration Tests (PostgreSQL) (push) Successful in 1m41s
Build and Release / Lint (push) Failing after 2m0s
Build and Release / Build Binaries (amd64, darwin) (push) Has been skipped
Build and Release / Build Binaries (amd64, linux) (push) Has been skipped
Build and Release / Build Binaries (amd64, windows) (push) Has been skipped
Build and Release / Build Binaries (arm64, darwin) (push) Has been skipped
Build and Release / Build Binaries (arm64, linux) (push) Has been skipped
Build and Release / Unit Tests (push) Successful in 2m1s
fix: org overview stats field names and add star count
- Rename OrgOverviewStats fields to match template expectations
- Add TotalStars field to show aggregate star count
- Add CountOrgRepoStars function to repo model
- Fix API struct and handler to use new field names

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 02:30:54 +00:00
..
archive_test.go Move archive function to repo_model and gitrepo (#35514) 2025-10-06 15:01:26 -07:00
archiver.go Move archive function to repo_model and gitrepo (#35514) 2025-10-06 15:01:26 -07:00
attachment_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
attachment.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
avatar_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
avatar.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
collaboration_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
collaboration.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
fork_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
fork.go Refactor find forks and fix possible bugs that weak permissions check (#32528) 2024-11-18 03:06:25 +00:00
git.go Add merge style fast-forward-only (#28954) 2024-02-12 23:37:23 +01:00
issue.go Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
language_stats.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
license.go Fix missing license when sync mirror (#33255) 2025-01-14 05:44:12 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
mirror.go More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
org_repo.go Fix remove org user failure on mssql (#34449) 2025-05-14 02:33:56 +08:00
pages.go feat: Add SSL external option for Pages custom domains 2026-01-11 00:40:44 +01:00
pushmirror_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
pushmirror.go Refactor push mirror find and add check for updating push mirror (#32539) 2024-11-18 05:59:04 +00:00
redirect_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
redirect.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
release_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
release.go Add AI-friendly enhancements: runner capabilities, release archive, action compatibility 2026-01-10 04:56:11 -05:00
repo_indexer.go Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
repo_list_test.go Make restricted users can access public repositories (#35693) 2025-10-21 15:30:24 +08:00
repo_list.go Make restricted users can access public repositories (#35693) 2025-10-21 15:30:24 +08:00
repo_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
repo_unit_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
repo_unit.go Support actions and reusable workflows from private repos (#32562) 2025-10-25 17:37:33 +00:00
repo.go fix: org overview stats field names and add star count 2026-01-11 02:30:54 +00:00
search.go Fix recentupdate sorting bugs (#32505) 2024-11-15 04:36:22 +00:00
star_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
star.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
topic_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
topic.go Fix incorrect pull request counter (#35819) 2025-11-03 20:52:13 +00:00
transfer.go enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
update.go Use gitrepo's clone and push when possible (#36093) 2025-12-10 09:41:01 -08:00
upload_session.go feat(api): add chunked upload support for large release attachments 2026-01-08 08:58:56 -05:00
upload.go Refactor legacy code (#35708) 2025-10-20 11:43:08 -07:00
user_repo_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
user_repo.go Fix some user name usages (#33689) 2025-02-23 12:33:43 +00:00
watch_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
watch.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
wiki_ai.go style: fix gofmt formatting across codebase 2026-01-09 15:51:36 -05:00
wiki_test.go Use gitrepo.Repository instead of wikipath (#35398) 2025-10-17 20:00:44 -07:00
wiki.go Use gitrepo.Repository instead of wikipath (#35398) 2025-10-17 20:00:44 -07:00