release: promote dev to main — org branch protection & help URLs #73

Merged
jmiller merged 3 commits from dev into main 2026-05-12 20:26:21 +00:00
Owner

Summary

Promotes dev branch to main after merging PR #72.

Included changes

  • Org-level branch protection rulesets (migration v332, full CRUD API)
  • Configurable HELP_URL / SUPPORT_URL replacing hardcoded docs.gitea.com
  • Admin config visibility for help/support URLs
  • Version convention: 1261.xx.xx

See #38 for full implementation plan.

🤖 Generated with Claude Code
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

## Summary Promotes `dev` branch to `main` after merging PR #72. ### Included changes - Org-level branch protection rulesets (migration v332, full CRUD API) - Configurable `HELP_URL` / `SUPPORT_URL` replacing hardcoded docs.gitea.com - Admin config visibility for help/support URLs - Version convention: `1261.xx.xx` See #38 for full implementation plan. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller added 3 commits 2026-05-12 20:25:03 +00:00
Add organization-scoped branch protection rules that cascade to all
repos within the org. Repo-level rules take precedence; org rules
serve as the fallback when no repo rule matches a branch.

- New table: org_protected_branch (migration v332)
- OrgProtectedBranch model with full CRUD operations
- API endpoints: GET/POST/PATCH/DELETE /api/v1/orgs/{org}/branch_protections
- Inheritance via GetFirstMatchProtectedBranchRule() fallback
- InheritedFrom field added to BranchProtection API response
- Org rules use team-based whitelists (no per-user IDs at org level)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
feat(admin): add configurable Help/Support URLs and version convention
db-tests / files-changed (pull_request) Successful in 6s
docker-dryrun / files-changed (pull_request) Successful in 7s
labeler / labeler (pull_request_target) Successful in 11s
pr-title / lint-pr-title (pull_request) Successful in 3m9s
compliance / files-changed (pull_request) Successful in 3m57s
e2e-tests / files-changed (pull_request) Successful in 3m9s
db-tests / test-pgsql (pull_request) Failing after 3m26s
db-tests / test-sqlite (pull_request) Failing after 3m39s
db-tests / test-mysql (pull_request) Failing after 8m16s
docker-dryrun / container-amd64 (pull_request) Has been skipped
docker-dryrun / container-arm64 (pull_request) Has been skipped
docker-dryrun / container-riscv64 (pull_request) Has been skipped
db-tests / test-mssql (pull_request) Failing after 7m59s
compliance / lint-on-demand (pull_request) Successful in 2m33s
compliance / lint-go-windows (pull_request) Failing after 3m9s
compliance / lint-go-gogit (pull_request) Failing after 3m12s
compliance / frontend (pull_request) Has been skipped
compliance / checks-backend (pull_request) Failing after 3m5s
compliance / backend (pull_request) Failing after 2m55s
e2e-tests / test-e2e (pull_request) Failing after 3m3s
db-tests / test-unit (pull_request) Failing after 28m41s
compliance / lint-backend (pull_request) Failing after 55m37s
e50e8ed851
- Add HELP_URL and SUPPORT_URL settings to app.ini (defaults to docs.gitea.com)
- Replace hardcoded docs.gitea.com in navbar with configurable HelpURL
- Expose HelpURL/SupportURL template functions
- Show Help URL and Support URL in Site Admin > Configuration
- Add locale strings for new admin config entries
- Create VERSION file (gitignored) for local builds with 1261.0.0 convention

The 1261.xx.xx version convention marks the fork starting point from
upstream Gitea. Set via VERSION file locally or GITEA_VERSION env in CI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Merge pull request 'feat(org): add org-level branch protection rulesets & configurable help URLs' (#72) from feature/org-branch-protection into dev
compliance / files-changed (pull_request) Failing after 17m47s
compliance / lint-on-demand (pull_request) Has been skipped
docker-dryrun / files-changed (pull_request) Failing after 27m34s
db-tests / files-changed (pull_request) Failing after 27m41s
e2e-tests / files-changed (pull_request) Successful in 10s
pr-title / lint-pr-title (pull_request) Failing after 13s
compliance / lint-backend (pull_request) Has been skipped
compliance / lint-go-windows (pull_request) Has been skipped
compliance / lint-go-gogit (pull_request) Has been skipped
compliance / checks-backend (pull_request) Has been skipped
compliance / frontend (pull_request) Has been skipped
compliance / backend (pull_request) Has been skipped
e2e-tests / test-e2e (pull_request) Failing after 2m17s
db-tests / test-pgsql (pull_request) Has been cancelled
db-tests / test-sqlite (pull_request) Has been cancelled
db-tests / test-unit (pull_request) Has been cancelled
db-tests / test-mysql (pull_request) Has been cancelled
db-tests / test-mssql (pull_request) Has been cancelled
docker-dryrun / container-amd64 (pull_request) Has been cancelled
docker-dryrun / container-arm64 (pull_request) Has been cancelled
docker-dryrun / container-riscv64 (pull_request) Has been cancelled
71105345ff
jmiller merged commit 32955397f0 into main 2026-05-12 20:26:21 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#73