mirror of
https://github.com/go-gitea/gitea.git
synced 2026-06-30 14:51:26 +00:00
Compare commits
4 Commits
v1.27.0-rc
...
renovate/t
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
57ae5021c2 | ||
|
|
ad13c329fd | ||
|
|
6f2e328c85 | ||
|
|
55983320ed |
12
.github/actions/go-cache/action.yml
vendored
12
.github/actions/go-cache/action.yml
vendored
@@ -16,34 +16,34 @@ runs:
|
||||
using: composite
|
||||
steps:
|
||||
- if: ${{ github.workflow == 'cache-seeder' }}
|
||||
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
with:
|
||||
path: ~/go/pkg/mod
|
||||
key: gomod-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('go.sum') }}
|
||||
- if: ${{ github.workflow != 'cache-seeder' }}
|
||||
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
with:
|
||||
path: ~/go/pkg/mod
|
||||
key: gomod-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('go.sum') }}
|
||||
restore-keys: gomod-${{ runner.os }}-${{ runner.arch }}
|
||||
- if: ${{ github.workflow == 'cache-seeder' && inputs.lint-cache != 'true' }}
|
||||
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
with:
|
||||
path: ~/.cache/go-build
|
||||
key: gobuild-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('go.sum') }}
|
||||
- if: ${{ github.workflow != 'cache-seeder' || inputs.lint-cache == 'true' }}
|
||||
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
with:
|
||||
path: ~/.cache/go-build
|
||||
key: gobuild-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('go.sum') }}
|
||||
restore-keys: gobuild-${{ runner.os }}-${{ runner.arch }}
|
||||
- if: ${{ inputs.lint-cache == 'true' && github.workflow == 'cache-seeder' }}
|
||||
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
with:
|
||||
path: ~/.cache/golangci-lint
|
||||
key: golint-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('go.sum', '.golangci.yml') }}
|
||||
- if: ${{ inputs.lint-cache == 'true' && github.workflow != 'cache-seeder' }}
|
||||
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
with:
|
||||
path: ~/.cache/golangci-lint
|
||||
key: golint-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('go.sum', '.golangci.yml') }}
|
||||
|
||||
268
CHANGELOG.md
268
CHANGELOG.md
@@ -4,274 +4,6 @@ This changelog goes through the changes that have been made in each release
|
||||
without substantial changes to our git log; to see the highlights of what has
|
||||
been added to each release, please refer to the [blog](https://blog.gitea.com).
|
||||
|
||||
## [1.27.0-rc0](https://github.com/go-gitea/gitea/releases/tag/v1.27.0-rc0) - 2026-06-28
|
||||
|
||||
* BREAKING
|
||||
* Feat(actions)!: improve support for reusable workflows (#37478)
|
||||
* Use Content-Security-Policy: script nonce (#37232)
|
||||
|
||||
* SECURITY
|
||||
* Fix(deps): update module github.com/go-git/go-git/v5 to v5.19.1 [security] (#37786)
|
||||
* Fix(oauth): restrict introspection to the token's client (#38042)
|
||||
* Fix(api): don't expose private org membership via public_members (#38145)
|
||||
* Fix(actions): deny fork-PR cross-repo access via collaborative owner (#38214)
|
||||
* Fix(migrations): prevent path traversal in repository restore (#38215)
|
||||
|
||||
* FEATURES
|
||||
* Feat(actions): add workflow status badge modal (#38196)
|
||||
* Feat(actions): support owner-level and global scoped workflows (#38154)
|
||||
* Feat(api): support ref suffixes in compare (#38148)
|
||||
* Feat(actions): implement `jobs.<job_id>.continue-on-error` (#38100)
|
||||
* Feat(actions): show run status on browser tab favicon (#38071)
|
||||
* Feat(api): add token introspection and self-deletion endpoint (#37995)
|
||||
* Feat(api): add q parameter to list branches API for server-side filtering (#37982)
|
||||
* Feat(repo): split repository creation limit into user and org scopes (#37872)
|
||||
* Feat(actions): bulk delete, disable and enable runners in admin UI (#37869)
|
||||
* Feat(actions): List workflows that were executed once but got removed from the default branch (#37835)
|
||||
* Feat(org): add team visibility so org members can discover teams (#37680)
|
||||
* Feat: add raw diff/patch endpoint for repository comparisons (#37632)
|
||||
* Feat: Add avatar stacks (#37594)
|
||||
* Feat(actions): add job summaries (GITHUB_STEP_SUMMARY) (#37500)
|
||||
* Feat(web): Add Jupyter Notebook (.ipynb) Rendering Support (#37433)
|
||||
* Support for Custom URI Schemes in OAuth2 Redirect URIs (#37356)
|
||||
* Feat(orgs): Add search bar for organization members tab page (#37347)
|
||||
* Feat(api): Add assignees APIs (#37330)
|
||||
* Feat(api): Add GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs (#37196)
|
||||
* Serve OpenAPI 3.0 spec at /openapi.v1.json (#37038)
|
||||
* Add project column picker to issue and pull request sidebar (#37037)
|
||||
* Allow multiple projects per issue and pull requests (#36784)
|
||||
* Feat(ui): add "follow rename" to file commit history list (#34994)
|
||||
* Feat(ssh): auto generate additional ssh keys (#33974)
|
||||
|
||||
* ENHANCEMENTS
|
||||
* Enhance: allow builtin default git config options to be overridden (#38172)
|
||||
* Enhance: allow MathML core elements (#38034)
|
||||
* Enhance(markup): improve issue title rendering (#37908)
|
||||
* Enhance(actions): set descriptive browser tab title on run view (#37870)
|
||||
* Enhance: Migrate remaining gopkg.in/yaml.v3 usages to go.yaml.in/yaml/v4 (#37866)
|
||||
* Enhance(actions): show workflow name from YAML instead of filename (#37833)
|
||||
* Feat(actions): add before/after to PR synchronize event payload (#37827)
|
||||
* Enhance(actions): add branch filters to run list (#37826)
|
||||
* Enhance(actions): Make Summary UI more beautiful with more infos (#37824)
|
||||
* Feat: add copy button to action step header, improve other copy buttons (#37744)
|
||||
* Fix(icon): use repo-forked icon to display forks count (#37731)
|
||||
* Feat(api): add sort and order query parameters to job list endpoints (#37672)
|
||||
* Feat(api): add last_sync to repository API (#37566)
|
||||
* Enhance: Adjust Workflow Graph styling (#37497)
|
||||
* Improve code editor text selection and clean up lint enablement (#37474)
|
||||
* Add mirror auth updates to repo edit API and settings (#37468)
|
||||
* Replace `olivere/elastic` with REST API client, add OpenSearch support (#37411)
|
||||
* Feat: Add default PR branch update style setting (#37410)
|
||||
* Fix inconsistent disabled styling on logged-out repo header buttons (#37406)
|
||||
* Allow fast-forward-only merge when signed commits are required (#37335)
|
||||
* Enhance styling in actions page (#37323)
|
||||
* Fix: improve actions status icons and texts (#37206)
|
||||
* Make Markdown fenced code block work with more syntaxes (#37154)
|
||||
* Fix: Sort action run jobs by JobID and Name with matrix examples (#37046)
|
||||
* Add API endpoint to reply to pull request review comments (#36683)
|
||||
|
||||
* PERFORMANCE
|
||||
* Perf(web): sort the action_run query by a repo-scoped index when possible (#38155)
|
||||
* Perf: Various performance regression fixes (#38078)
|
||||
* Perf: extend action `c_u` index to include `created_unix` for faster dashboard feeds (#38076)
|
||||
* Batch-load related data in actions run, job, and task API endpoints (#37032)
|
||||
|
||||
* BUGFIXES
|
||||
* Fix: update npm dependencies, fix misc issues (#38257)
|
||||
* Fix(api): respect since/until when counting commits for X-Total-Count (#38204)
|
||||
* Fix: codemirror regressions (#38248)
|
||||
* Fix(api): support HEAD requests on all API GET endpoints (#38245)
|
||||
* Fix(actions): Cleanup workflow status badge code (#38241)
|
||||
* Fix(web): Correctly align the "disabled" label on larger workflow names (#38240)
|
||||
* Fix(actions): don't swallow HTML entities into linkified URLs (#38239)
|
||||
* Fix(packages): accept npm "repository" and "bin" in string form (#38236)
|
||||
* Fix(actions): fix 500 error when canceling a canceling task (#38223)
|
||||
* Fix(deps): update module golang.org/x/image to v0.43.0 [security] (#38219)
|
||||
* Fix(mssql): convert legacy DATETIME columns to DATETIME2 (#38216)
|
||||
* Fix(api): deny private org member enumeration via /members (#38213)
|
||||
* Fix(actions): ensure all waiting jobs get runners in large workflows (#38200)
|
||||
* Fix(deps): update go dependencies (#38194)
|
||||
* Fix(deps): update npm dependencies (#38193)
|
||||
* Fix(cli): default must-change-password to false for bot users (#38175)
|
||||
* Fix(actions): show run index in run view and fix summary graph height (#38165)
|
||||
* Fix: csp (#38162)
|
||||
* Fix(deps): update npm dependencies (#38123)
|
||||
* Fix(mssql): expand legacy issue and comment long-text columns (#38120)
|
||||
* Fix(packages): validate debian distribution and component names (#38116)
|
||||
* Fix(packages): validate module version in goproxy ParsePackage (#38104)
|
||||
* Fix(deps): update dependency esbuild to v0.28.1 [security] (#38097)
|
||||
* Fix: git push hook post receive (#38089)
|
||||
* Fix(ui): prevent commit status popup overflowing its row (#38081)
|
||||
* Fix: validate gem name in rubygems parseMetadataFile (#38061)
|
||||
* Fix: commit display name (#38057)
|
||||
* Fix: csp regressions (#38047)
|
||||
* Fix: api error message (#38031)
|
||||
* Fix(deps): update npm dependencies (#38029)
|
||||
* Fix: pgsql lint (#38022)
|
||||
* Fix(indexer): fix assignee filters in issue search (#38021)
|
||||
* Fix: various dropdown problems (#38020)
|
||||
* Fix: refactor git error handling and make archive streaming handle non-existing commit id (#38007)
|
||||
* Fix: raise git required version to 2.13 (#37996)
|
||||
* Fix: remove "no-transfrom" from the cache-control header (#37985)
|
||||
* Fix(deps): update module github.com/google/go-github/v87 to v88 (#37971)
|
||||
* Fix: use committer time where ever possible as default (#37969)
|
||||
* Fix(deps): update npm dependencies, remove nolyfill (#37968)
|
||||
* Fix(deps): update go dependencies (#37967)
|
||||
* Fix(pull): preserve squash message trailers and additional commit messages (#37954)
|
||||
* Fix(deps): update module golang.org/x/image to v0.41.0 [security] (#37904)
|
||||
* Fix: support ##[command] log prefix in action run UI (#37882)
|
||||
* Fix(deps): update module github.com/google/go-github/v86 to v87 (#37845)
|
||||
* Fix(deps): update npm dependencies (#37844)
|
||||
* Fix(deps): update go dependencies (#37841)
|
||||
* Fix(frontend): resolve Vite assets by manifest source path (#37836)
|
||||
* Fix(locales): Replace hardcoded strings (#37788)
|
||||
* Fix(packages): render markdown links relative to linked repo (#37676)
|
||||
* Fix: persist mirror repository metadata (#37519)
|
||||
* Fix cmd tests by mocking builtin paths (#37369)
|
||||
* Add `form-fetch-action` to some forms, fix "fetch action" resp bug (#37305)
|
||||
* Feat: execute post run cleanup when workflow is cancelled (#37275)
|
||||
* Fix `relative-time` error and improve global error handler (#37241)
|
||||
* Refactor flash message and remove SanitizeHTML template func (#37179)
|
||||
|
||||
* TESTING
|
||||
* Test: speed up two tests (#37905)
|
||||
* Test: Fix random failure test (#37887)
|
||||
* Test: fix flaky `issue-comment` close test (#37880)
|
||||
* Test: enable WAL for sqlite integration tests (#37861)
|
||||
* Test: fix flaky `TestResourceIndex` and reduce its runtime (#37847)
|
||||
* Test: run `TestAPIRepoMigrate` offline via a local clone source (#37817)
|
||||
* Ci: shard tests and reduce redundant work (#37618)
|
||||
* Test(e2e): run playwright via container (#37300)
|
||||
* Remove external service dependencies in migration tests (#36866)
|
||||
|
||||
* BUILD
|
||||
* Fix(actions): authenticate snapcraft before nightly remote build (#38252)
|
||||
* Ci: cap Elasticsearch heap in db-tests (#37816)
|
||||
* Build(snap): publish nightly version to snapcraft via actions (#37814)
|
||||
* Ci: split pgsql shards into plain jobs, dedupe setup actions (#37802)
|
||||
* Ci: narrow files-changed frontend filter (#37749)
|
||||
* Ci: add `zizmor` to `lint-actions` (#37720)
|
||||
* Chore: clean up "contrib" dir (#37690)
|
||||
* Fix: snap build (main branch) (#37685)
|
||||
* Ci: Also lint json5 files (#37659)
|
||||
* Feat(editor): broaden language detection in web code editor (#37619)
|
||||
* Build: update pnpm to v11 (#37591)
|
||||
* Refactor(deps): migrate from `nektos/act` fork to `gitea/runner` (#37557)
|
||||
* Refactor: lint bare `fill`/`stroke` colors, add vars for git graph color series (#37543)
|
||||
* Update go js py dependencies (#37525)
|
||||
* Ci: lint PR titles with commitlint (#37498)
|
||||
* Chore: upgrade Go version in devcontainer image to 1.26 (#37374)
|
||||
* Update GitHub Actions to latest major versions (#37313)
|
||||
* Update go js dependencies (#37312)
|
||||
* Fail vite build on rolldown warnings via NODE_ENV=test (#37270)
|
||||
* Remove htmx (#37224)
|
||||
* Replace custom Go formatter with `golangci-lint fmt` (#37194)
|
||||
* Refactor htmx and fetch-action related code (#37186)
|
||||
* Integrate renovate bot for all dependency updates (#37050)
|
||||
* Build(sign): move to sigstore (#38250)
|
||||
|
||||
* DOCS
|
||||
* Docs: update changelog for 1.26.3 & 1.26.4 (#38178)
|
||||
* Docs: fix duplicated word in foreachref doc comment (#38161)
|
||||
* Docs: Clarify criteria for becoming a merger (#38113)
|
||||
* Docs: Publish TOC Election Result 2026 (#38111)
|
||||
* Docs: mark openapi3 as autogenerated in attributes (#37963)
|
||||
* Docs: add development setup guide (#37960)
|
||||
|
||||
* MISC
|
||||
* Revert(sign): restore gpg (#38251)
|
||||
* Refactor: replace legacy `delete-button` with `link-action` (#38143)
|
||||
* Refactor(actions): read runner capabilities from proto field (#38068)
|
||||
* Refactor(api): clarify APIError message usage and fix legacy lint error (#38012)
|
||||
* Refactor: Use db.Get[] instead of db.GetEngine(ctx).Get(bean) to avoid zero value fetching wrong database record (#37977)
|
||||
* Fix(deps): update go dependencies (#37851)
|
||||
* Ci: Fix sync PR labels from the conventional-commit title (#37784) (#37825)
|
||||
* Ci: tweak `files-changed`, add `free-disk-space` (#37819)
|
||||
* Fix(deps): update module golang.org/x/crypto to v0.52.0 [security] (#37806)
|
||||
* Test(e2e): add comment, release, star, PR and fork tests (#37800)
|
||||
* Chore: simplify issue and pull request templates (#37799)
|
||||
* Chore: Update giteabot to fix failure when backport (#37789)
|
||||
* Fix(api): handle partial failures in push mirror synchronization gracefully (#37782)
|
||||
* Fix(deps): update module gitlab.com/gitlab-org/api/client-go/v2 to v2.26.0 (#37771)
|
||||
* Ci: split giteabot workflow (#37770)
|
||||
* Fix(deps): update npm dependencies (#37768)
|
||||
* Refactor(waitgroup): replace Add/Done goroutines with WaitGroup.Go (#37764)
|
||||
* Fix(deps): update module google.golang.org/grpc to v1.81.1 (#37762)
|
||||
* Ci: fix cache-related issues (#37761)
|
||||
* Chore: fix tests (#37760)
|
||||
* Fix(deps): update module github.com/google/go-github/v85 to v86 (#37754)
|
||||
* Fix(deps): update npm dependencies (#37753)
|
||||
* Fix(deps): update go dependencies (#37752)
|
||||
* Chore(deps): update action dependencies (#37751)
|
||||
* Fix(markup): wrap indented code blocks for the code-copy button (#37748)
|
||||
* Chore(db): introduce db.Session and db.EngineMigration interfaces (#37746)
|
||||
* Feat(web): also display PR counts in repo list (#37739)
|
||||
* Refactor(glob): use strings.Builder for regexp compilation (#37730)
|
||||
* Chore(doctor): remove four obsolete doctor check implementations (#37728)
|
||||
* Refactor(org): simplify owner-team org repo creation logic (#37727)
|
||||
* Refactor: move `workflowpattern` into `modules/actions` (#37717)
|
||||
* Chore: clean up tests (#37715)
|
||||
* Style: misc UI fixes (#37691)
|
||||
* Ci: add shellcheck linter (#37682)
|
||||
* Fix: catch and fix more lint problems (#37674)
|
||||
* Fix(deps): update dependency mermaid to v11.15.0 [security], add e2e test (#37662)
|
||||
* Fix(deps): update npm dependencies (#37647)
|
||||
* Ci(renovate): update Go import paths on major bumps (#37641)
|
||||
* Fix(deps): update go dependencies (major) (#37639)
|
||||
* Chore(deps): update action dependencies (major) (#37638)
|
||||
* Fix(deps): update module code.gitea.io/sdk/gitea to v0.25.0 (#37637)
|
||||
* Fix(deps): update npm dependencies (#37636)
|
||||
* Refactor(log): replace log.Critical with log.Error (#37624)
|
||||
* Build(deps): bump fast-uri from 3.1.0 to 3.1.2 (#37616)
|
||||
* Feat(oauth): Support AWS Cognito OAuth2 provider (#37607)
|
||||
* Chore(deps): update action dependencies (#37603)
|
||||
* Ci: allow `chore` type in PR title lint (#37575)
|
||||
* Refactor: only reset a database table when the table's data was changed (#37573)
|
||||
* Ci: increase renovate frequency and fix RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS (#37565)
|
||||
* Refactor: use modernc sqlite driver as default (#37562)
|
||||
* Docs: fix 4 typos in CHANGELOG.md (#37549)
|
||||
* Fix(deps): update go dependencies (#37541)
|
||||
* Chore(deps): update action dependencies (#37540)
|
||||
* Refactor pull request view (6) (#37522)
|
||||
* Fix: redirect early CLI console logger to stderr (#37507)
|
||||
* Refactor "flex-list" to "flex-divided-list" (#37505)
|
||||
* Refactor compare diff/pull page (1) (#37481)
|
||||
* Refactor pull request view (4) (#37451)
|
||||
* Update 1.26.1 changelog in main (#37442)
|
||||
* Refactor: use named `Permission` field in `Repository` struct instead of anonymous embedding (#37441)
|
||||
* Refactor: serve site manifest via `/assets/site-manifest.json` endpoint (#37405)
|
||||
* Remove IsValidExternalURL/IsAPIURL and use IsValidURL at call sites (#37364)
|
||||
* Update `Block a user` form (#37359)
|
||||
* Move review request functions to a standalone file (#37358)
|
||||
* Feat(security): set X-Content-Type-Options: nosniff by default (#37354)
|
||||
* Enable strict TypeScript, add `errorMessage` helper (#37292)
|
||||
* Refactor frontend `tw-justify-between` layouts to `flex-left-right` (#37291)
|
||||
* Update Nix flake (#37284)
|
||||
* Fix Repository transferring page (#37277)
|
||||
* Remove `SubmitEvent` polyfill (#37276)
|
||||
* Remove dead code identified by `deadcode` tool (#37271)
|
||||
* Upgrade go-git to v5.18.0 (#37268)
|
||||
* Don't add useless labels which will bother changelog generation (#37267)
|
||||
* Move heatmap to first-party code (#37262)
|
||||
* Tests/integration: simplify code (#37249)
|
||||
* Add pagination and search box to org teams list (#37245)
|
||||
* Remove error returns from crypto random helpers and callers (#37240)
|
||||
* Add `ExternalIDClaim` option for OAuth2 OIDC auth source (#37229)
|
||||
* Refactor: simplify ParseCatFileTreeLine and catBatchParseTreeEntries (#37210)
|
||||
* Refactor "htmx" to "fetch action" (#37208)
|
||||
* Update go js py dependencies (#37204)
|
||||
* Add comment for the design of "user activity time" (#37195)
|
||||
* Remove outdated RunUser logic (#37180)
|
||||
* Models/fixtures: add "DO NOT add more test data" comment to all yml fixture files (#37150)
|
||||
* Update javascript dependencies (#37142)
|
||||
* Update go dependencies (#37141)
|
||||
* Frontport changelog of v1.26.0-rc0 (#37138)
|
||||
* Introduce `ActionRunAttempt` to represent each execution of a run (#37119)
|
||||
* Workflow Artifact Info Hover (#37100)
|
||||
* Extend issue context popup beyond markdown content (#36908)
|
||||
* Add bulk repository deletion for organizations (#36763)
|
||||
* Feat: Add bypass allowlist for branch protection (#36514)
|
||||
|
||||
## [1.26.4](https://github.com/go-gitea/gitea/releases/tag/1.26.4) - 2026-06-21
|
||||
|
||||
* SECURITY
|
||||
|
||||
4
Makefile
4
Makefile
@@ -16,7 +16,7 @@ EDITORCONFIG_CHECKER_PACKAGE ?= github.com/editorconfig-checker/editorconfig-che
|
||||
GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.12.2 # renovate: datasource=go
|
||||
GXZ_PACKAGE ?= github.com/ulikunitz/xz/cmd/gxz@v0.5.15 # renovate: datasource=go
|
||||
MISSPELL_PACKAGE ?= github.com/golangci/misspell/cmd/misspell@v0.8.0 # renovate: datasource=go
|
||||
SWAGGER_PACKAGE ?= github.com/go-swagger/go-swagger/cmd/swagger@v0.34.1 # renovate: datasource=go
|
||||
SWAGGER_PACKAGE ?= github.com/go-swagger/go-swagger/cmd/swagger@v0.35.0 # renovate: datasource=go
|
||||
XGO_PACKAGE ?= src.techknowlogick.com/xgo@v1.9.0 # renovate: datasource=go
|
||||
GOVULNCHECK_PACKAGE ?= golang.org/x/vuln/cmd/govulncheck@v1.4.0 # renovate: datasource=go
|
||||
ACTIONLINT_PACKAGE ?= github.com/rhysd/actionlint/cmd/actionlint@v1.7.12 # renovate: datasource=go
|
||||
@@ -231,7 +231,7 @@ endif
|
||||
generate-swagger: $(SWAGGER_SPEC) $(OPENAPI3_SPEC) ## generate the swagger spec from code comments
|
||||
|
||||
$(SWAGGER_SPEC): $(GO_SOURCES) $(SWAGGER_SPEC_INPUT)
|
||||
$(GO) run $(SWAGGER_PACKAGE) generate spec --exclude "$(SWAGGER_EXCLUDE)" --input "$(SWAGGER_SPEC_INPUT)" --output './$(SWAGGER_SPEC)'
|
||||
$(GO) run $(SWAGGER_PACKAGE) generate spec --allow-desc-with-ref --exclude "$(SWAGGER_EXCLUDE)" --input "$(SWAGGER_SPEC_INPUT)" --output './$(SWAGGER_SPEC)'
|
||||
|
||||
.PHONY: swagger-check
|
||||
swagger-check: generate-swagger
|
||||
|
||||
@@ -18,7 +18,6 @@ type CreateUserOption struct {
|
||||
Username string `json:"username" binding:"Required;Username;MaxSize(40)"`
|
||||
// The full display name of the user
|
||||
FullName string `json:"full_name" binding:"MaxSize(100)"`
|
||||
// required: true
|
||||
// swagger:strfmt email
|
||||
Email string `json:"email" binding:"Required;Email;MaxSize(254)"`
|
||||
// The plain text password for the user
|
||||
|
||||
@@ -132,7 +132,6 @@ type IssueAssigneesOption struct {
|
||||
|
||||
// EditDeadlineOption options for creating a deadline
|
||||
type EditDeadlineOption struct {
|
||||
// required:true
|
||||
// swagger:strfmt date-time
|
||||
Deadline *time.Time `json:"due_date"`
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ type CreateTeamOption struct {
|
||||
// example: ["repo.actions","repo.code","repo.issues","repo.ext_issues","repo.wiki","repo.ext_wiki","repo.pulls","repo.releases","repo.projects","repo.ext_wiki"]
|
||||
// Deprecated: This variable should be replaced by UnitsMap and will be dropped in later versions.
|
||||
Units []string `json:"units"`
|
||||
// example: {"repo.actions","repo.packages","repo.code":"read","repo.issues":"write","repo.ext_issues":"none","repo.wiki":"admin","repo.pulls":"owner","repo.releases":"none","repo.projects":"none","repo.ext_wiki":"none"}
|
||||
// example: {"repo.code":"read","repo.issues":"write","repo.ext_issues":"none","repo.wiki":"admin","repo.pulls":"owner","repo.releases":"none","repo.projects":"none","repo.ext_wiki":"none"}
|
||||
UnitsMap map[string]string `json:"units_map"`
|
||||
// Whether the team can create repositories in the organization
|
||||
CanCreateOrgRepo bool `json:"can_create_org_repo"`
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
"esbuild": "0.28.1",
|
||||
"idiomorph": "0.7.4",
|
||||
"jquery": "4.0.0",
|
||||
"js-yaml": "4.2.0",
|
||||
"js-yaml": "5.1.0",
|
||||
"katex": "0.17.0",
|
||||
"mermaid": "11.15.0",
|
||||
"online-3d-viewer": "0.18.0",
|
||||
@@ -81,7 +81,6 @@
|
||||
"@stylistic/stylelint-plugin": "5.2.0",
|
||||
"@types/codemirror": "5.60.17",
|
||||
"@types/jquery": "4.0.1",
|
||||
"@types/js-yaml": "4.0.9",
|
||||
"@types/katex": "0.16.8",
|
||||
"@types/node": "25.9.4",
|
||||
"@types/pdfobject": "2.2.5",
|
||||
|
||||
20
pnpm-lock.yaml
generated
20
pnpm-lock.yaml
generated
@@ -141,8 +141,8 @@ importers:
|
||||
specifier: 4.0.0
|
||||
version: 4.0.0
|
||||
js-yaml:
|
||||
specifier: 4.2.0
|
||||
version: 4.2.0
|
||||
specifier: 5.1.0
|
||||
version: 5.1.0
|
||||
katex:
|
||||
specifier: 0.17.0
|
||||
version: 0.17.0
|
||||
@@ -228,9 +228,6 @@ importers:
|
||||
'@types/jquery':
|
||||
specifier: 4.0.1
|
||||
version: 4.0.1
|
||||
'@types/js-yaml':
|
||||
specifier: 4.0.9
|
||||
version: 4.0.9
|
||||
'@types/katex':
|
||||
specifier: 0.16.8
|
||||
version: 0.16.8
|
||||
@@ -1313,9 +1310,6 @@ packages:
|
||||
'@types/jquery@4.0.1':
|
||||
resolution: {integrity: sha512-9a59A/tycXgYuPABcp6/3spSShn0NT2UOM4EfHvMumjYi4lJWTsK5SZWjhx3yRm9IHGCeWXdV2YfNsrWrft/CA==}
|
||||
|
||||
'@types/js-yaml@4.0.9':
|
||||
resolution: {integrity: sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==}
|
||||
|
||||
'@types/jsdom@20.0.1':
|
||||
resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==}
|
||||
|
||||
@@ -3068,6 +3062,10 @@ packages:
|
||||
resolution: {integrity: sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw==}
|
||||
hasBin: true
|
||||
|
||||
js-yaml@5.1.0:
|
||||
resolution: {integrity: sha512-s8VA5jkR8f22S3NAXmhKPFqGUduqZGlsufabVOgN14iTdw/RXcym7bKkbwjxLK9Yw2lEvvmJjFp119+KPeo8Kg==}
|
||||
hasBin: true
|
||||
|
||||
jsdoc-type-pratt-parser@7.2.0:
|
||||
resolution: {integrity: sha512-dh140MMgjyg3JhJZY/+iEzW+NO5xR2gpbDFKHqotCmexElVntw7GjWjt511+C/Ef02RU5TKYrJo/Xlzk+OLaTw==}
|
||||
engines: {node: '>=20.0.0'}
|
||||
@@ -5541,8 +5539,6 @@ snapshots:
|
||||
|
||||
'@types/jquery@4.0.1': {}
|
||||
|
||||
'@types/js-yaml@4.0.9': {}
|
||||
|
||||
'@types/jsdom@20.0.1':
|
||||
dependencies:
|
||||
'@types/node': 25.9.4
|
||||
@@ -7538,6 +7534,10 @@ snapshots:
|
||||
dependencies:
|
||||
argparse: 2.0.1
|
||||
|
||||
js-yaml@5.1.0:
|
||||
dependencies:
|
||||
argparse: 2.0.1
|
||||
|
||||
jsdoc-type-pratt-parser@7.2.0: {}
|
||||
|
||||
jsdom@20.0.3:
|
||||
|
||||
156
templates/swagger/v1_json.tmpl
generated
156
templates/swagger/v1_json.tmpl
generated
@@ -22661,6 +22661,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"act_user": {
|
||||
"description": "The user who performed the action",
|
||||
"$ref": "#/definitions/User"
|
||||
},
|
||||
"act_user_id": {
|
||||
@@ -22670,6 +22671,7 @@
|
||||
"x-go-name": "ActUserID"
|
||||
},
|
||||
"comment": {
|
||||
"description": "The comment associated with the activity (if applicable)",
|
||||
"$ref": "#/definitions/Comment"
|
||||
},
|
||||
"comment_id": {
|
||||
@@ -22740,6 +22742,7 @@
|
||||
"x-go-name": "RefName"
|
||||
},
|
||||
"repo": {
|
||||
"description": "The repository associated with the activity",
|
||||
"$ref": "#/definitions/Repository"
|
||||
},
|
||||
"repo_id": {
|
||||
@@ -22811,6 +22814,7 @@
|
||||
"x-go-name": "Message"
|
||||
},
|
||||
"object": {
|
||||
"description": "The object that the annotated tag points to",
|
||||
"$ref": "#/definitions/AnnotatedTagObject"
|
||||
},
|
||||
"sha": {
|
||||
@@ -22824,6 +22828,7 @@
|
||||
"x-go-name": "Tag"
|
||||
},
|
||||
"tagger": {
|
||||
"description": "The user who created the annotated tag",
|
||||
"$ref": "#/definitions/CommitUser"
|
||||
},
|
||||
"url": {
|
||||
@@ -22832,6 +22837,7 @@
|
||||
"x-go-name": "URL"
|
||||
},
|
||||
"verification": {
|
||||
"description": "The verification information for the annotated tag",
|
||||
"$ref": "#/definitions/PayloadCommitVerification"
|
||||
}
|
||||
},
|
||||
@@ -22867,6 +22873,7 @@
|
||||
],
|
||||
"properties": {
|
||||
"author": {
|
||||
"description": "`author` and `committer` are optional (if only one is given, it will be used for the other, otherwise the authenticated user will be used)",
|
||||
"$ref": "#/definitions/Identity"
|
||||
},
|
||||
"branch": {
|
||||
@@ -22917,6 +22924,7 @@
|
||||
"x-go-name": "DownloadURL"
|
||||
},
|
||||
"created_at": {
|
||||
"description": "Created is the time when the attachment was uploaded",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "Created"
|
||||
@@ -22981,6 +22989,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"commit": {
|
||||
"description": "Commit contains the latest commit information for this branch",
|
||||
"$ref": "#/definitions/PayloadCommit"
|
||||
},
|
||||
"effective_branch_protection_name": {
|
||||
@@ -23065,8 +23074,8 @@
|
||||
"x-go-name": "BlockOnRejectedReviews"
|
||||
},
|
||||
"branch_name": {
|
||||
"description": "Deprecated: true",
|
||||
"type": "string",
|
||||
"x-deprecated": true,
|
||||
"x-go-name": "BranchName"
|
||||
},
|
||||
"bypass_allowlist_teams": {
|
||||
@@ -23272,6 +23281,7 @@
|
||||
],
|
||||
"properties": {
|
||||
"author": {
|
||||
"description": "`author` and `committer` are optional (if only one is given, it will be used for the other, otherwise the authenticated user will be used)",
|
||||
"$ref": "#/definitions/Identity"
|
||||
},
|
||||
"branch": {
|
||||
@@ -23381,6 +23391,7 @@
|
||||
"x-go-name": "CommitURL"
|
||||
},
|
||||
"repository": {
|
||||
"description": "Repository is the repository this status belongs to",
|
||||
"$ref": "#/definitions/Repository"
|
||||
},
|
||||
"sha": {
|
||||
@@ -23484,6 +23495,7 @@
|
||||
"x-go-name": "Updated"
|
||||
},
|
||||
"user": {
|
||||
"description": "Poster is the user who posted the comment",
|
||||
"$ref": "#/definitions/User"
|
||||
}
|
||||
},
|
||||
@@ -23494,15 +23506,19 @@
|
||||
"title": "Commit contains information generated from a Git commit.",
|
||||
"properties": {
|
||||
"author": {
|
||||
"description": "Author is the GitHub/Gitea user who authored the commit",
|
||||
"$ref": "#/definitions/User"
|
||||
},
|
||||
"commit": {
|
||||
"description": "RepoCommit contains the commit information",
|
||||
"$ref": "#/definitions/RepoCommit"
|
||||
},
|
||||
"committer": {
|
||||
"description": "Committer is the GitHub/Gitea user who committed the commit",
|
||||
"$ref": "#/definitions/User"
|
||||
},
|
||||
"created": {
|
||||
"description": "Created is the time when the commit was created",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "Created"
|
||||
@@ -23534,6 +23550,7 @@
|
||||
"x-go-name": "SHA"
|
||||
},
|
||||
"stats": {
|
||||
"description": "Stats contains statistics about the commit changes",
|
||||
"$ref": "#/definitions/CommitStats"
|
||||
},
|
||||
"url": {
|
||||
@@ -23566,11 +23583,13 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"author": {
|
||||
"description": "Author is the author date for the commit",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "Author"
|
||||
},
|
||||
"committer": {
|
||||
"description": "Committer is the committer date for the commit",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "Committer"
|
||||
@@ -23583,6 +23602,7 @@
|
||||
"title": "CommitMeta contains meta information of a commit in terms of API.",
|
||||
"properties": {
|
||||
"created": {
|
||||
"description": "Created is the time when the commit was created",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "Created"
|
||||
@@ -23640,6 +23660,7 @@
|
||||
"x-go-name": "Created"
|
||||
},
|
||||
"creator": {
|
||||
"description": "Creator is the user who created the status",
|
||||
"$ref": "#/definitions/User"
|
||||
},
|
||||
"description": {
|
||||
@@ -23695,6 +23716,7 @@
|
||||
"x-go-name": "Date"
|
||||
},
|
||||
"email": {
|
||||
"description": "Email is the person's email address",
|
||||
"type": "string",
|
||||
"format": "email",
|
||||
"x-go-name": "Email"
|
||||
@@ -23738,6 +23760,7 @@
|
||||
"x-go-name": "DirContents"
|
||||
},
|
||||
"file_contents": {
|
||||
"description": "FileContents contains file information when the path represents a file",
|
||||
"$ref": "#/definitions/ContentsResponse"
|
||||
}
|
||||
},
|
||||
@@ -23748,6 +23771,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"_links": {
|
||||
"description": "Links contains related URLs for this file or directory",
|
||||
"$ref": "#/definitions/FileLinksResponse"
|
||||
},
|
||||
"content": {
|
||||
@@ -23939,8 +23963,8 @@
|
||||
"x-go-name": "BlockOnRejectedReviews"
|
||||
},
|
||||
"branch_name": {
|
||||
"description": "Deprecated: true",
|
||||
"type": "string",
|
||||
"x-deprecated": true,
|
||||
"x-go-name": "BranchName"
|
||||
},
|
||||
"bypass_allowlist_teams": {
|
||||
@@ -24097,9 +24121,10 @@
|
||||
"x-go-name": "BranchName"
|
||||
},
|
||||
"old_branch_name": {
|
||||
"description": "Deprecated: true\nName of the old branch to create from",
|
||||
"description": "Name of the old branch to create from",
|
||||
"type": "string",
|
||||
"uniqueItems": true,
|
||||
"x-deprecated": true,
|
||||
"x-go-name": "OldBranchName"
|
||||
},
|
||||
"old_ref_name": {
|
||||
@@ -24134,6 +24159,7 @@
|
||||
],
|
||||
"properties": {
|
||||
"author": {
|
||||
"description": "`author` and `committer` are optional (if only one is given, it will be used for the other, otherwise the authenticated user will be used)",
|
||||
"$ref": "#/definitions/Identity"
|
||||
},
|
||||
"branch": {
|
||||
@@ -24222,6 +24248,7 @@
|
||||
],
|
||||
"properties": {
|
||||
"active": {
|
||||
"description": "Whether the webhook should be active upon creation",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"x-go-name": "Active"
|
||||
@@ -24237,6 +24264,7 @@
|
||||
"x-go-name": "BranchFilter"
|
||||
},
|
||||
"config": {
|
||||
"description": "Configuration settings for the webhook",
|
||||
"$ref": "#/definitions/CreateHookOptionConfig"
|
||||
},
|
||||
"events": {
|
||||
@@ -24253,6 +24281,7 @@
|
||||
"x-go-name": "Name"
|
||||
},
|
||||
"type": {
|
||||
"description": "The type of the webhook to create",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dingtalk",
|
||||
@@ -24287,6 +24316,7 @@
|
||||
],
|
||||
"properties": {
|
||||
"body": {
|
||||
"description": "Body is the comment text content",
|
||||
"type": "string",
|
||||
"x-go-name": "Body"
|
||||
}
|
||||
@@ -24417,6 +24447,7 @@
|
||||
"example": false
|
||||
},
|
||||
"name": {
|
||||
"description": "Name is the display name for the new label",
|
||||
"type": "string",
|
||||
"x-go-name": "Name"
|
||||
}
|
||||
@@ -24433,11 +24464,13 @@
|
||||
"x-go-name": "Description"
|
||||
},
|
||||
"due_on": {
|
||||
"description": "Deadline is the due date for the milestone",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "Deadline"
|
||||
},
|
||||
"state": {
|
||||
"description": "State indicates the initial state of the milestone",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"open",
|
||||
@@ -24699,6 +24732,7 @@
|
||||
"x-go-name": "CommitID"
|
||||
},
|
||||
"event": {
|
||||
"description": "APPROVED ReviewStateApproved pr is approved\nPENDING ReviewStatePending pr state is pending\nCOMMENT ReviewStateComment is a comment review\nREQUEST_CHANGES ReviewStateRequestChanges changes for pr are requested\nREQUEST_REVIEW ReviewStateRequestReview review is requested from user",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"APPROVED",
|
||||
@@ -24920,6 +24954,7 @@
|
||||
"x-go-name": "Message"
|
||||
},
|
||||
"tag_name": {
|
||||
"description": "The name of the tag to create",
|
||||
"type": "string",
|
||||
"x-go-name": "TagName"
|
||||
},
|
||||
@@ -24986,6 +25021,7 @@
|
||||
"x-go-name": "Name"
|
||||
},
|
||||
"permission": {
|
||||
"description": "read RepoWritePermissionRead\nwrite RepoWritePermissionWrite\nadmin RepoWritePermissionAdmin",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"read",
|
||||
@@ -24996,10 +25032,12 @@
|
||||
"x-go-name": "Permission"
|
||||
},
|
||||
"units": {
|
||||
"description": "Deprecated: This variable should be replaced by UnitsMap and will be dropped in later versions.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"x-deprecated": true,
|
||||
"x-go-name": "Units",
|
||||
"example": [
|
||||
"repo.actions",
|
||||
@@ -25020,7 +25058,16 @@
|
||||
"type": "string"
|
||||
},
|
||||
"x-go-name": "UnitsMap",
|
||||
"example": "{\"repo.actions\",\"repo.packages\",\"repo.code\":\"read\",\"repo.issues\":\"write\",\"repo.ext_issues\":\"none\",\"repo.wiki\":\"admin\",\"repo.pulls\":\"owner\",\"repo.releases\":\"none\",\"repo.projects\":\"none\",\"repo.ext_wiki\":\"none\"}"
|
||||
"example": {
|
||||
"repo.code": "read",
|
||||
"repo.ext_issues": "none",
|
||||
"repo.ext_wiki": "none",
|
||||
"repo.issues": "write",
|
||||
"repo.projects": "none",
|
||||
"repo.pulls": "owner",
|
||||
"repo.releases": "none",
|
||||
"repo.wiki": "admin"
|
||||
}
|
||||
},
|
||||
"visibility": {
|
||||
"description": "Team visibility within the organization. Defaults to \"private\".\npublic TeamVisibilityPublic\nlimited TeamVisibilityLimited\nprivate TeamVisibilityPrivate",
|
||||
@@ -25040,8 +25087,7 @@
|
||||
"description": "CreateUserOption create user options",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"username",
|
||||
"email"
|
||||
"username"
|
||||
],
|
||||
"properties": {
|
||||
"created_at": {
|
||||
@@ -25224,6 +25270,7 @@
|
||||
"x-go-name": "Scopes"
|
||||
},
|
||||
"user": {
|
||||
"description": "The owner of the access token",
|
||||
"$ref": "#/definitions/UserMeta"
|
||||
}
|
||||
},
|
||||
@@ -25252,6 +25299,7 @@
|
||||
],
|
||||
"properties": {
|
||||
"author": {
|
||||
"description": "`author` and `committer` are optional (if only one is given, it will be used for the other, otherwise the authenticated user will be used)",
|
||||
"$ref": "#/definitions/Identity"
|
||||
},
|
||||
"branch": {
|
||||
@@ -25298,6 +25346,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"created_at": {
|
||||
"description": "Created is the time when the deploy key was added",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "Created"
|
||||
@@ -25330,6 +25379,7 @@
|
||||
"x-go-name": "ReadOnly"
|
||||
},
|
||||
"repository": {
|
||||
"description": "Repository is the repository this deploy key belongs to",
|
||||
"$ref": "#/definitions/Repository"
|
||||
},
|
||||
"title": {
|
||||
@@ -25559,9 +25609,6 @@
|
||||
"EditDeadlineOption": {
|
||||
"description": "EditDeadlineOption options for creating a deadline",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"due_date"
|
||||
],
|
||||
"properties": {
|
||||
"due_date": {
|
||||
"type": "string",
|
||||
@@ -25634,6 +25681,7 @@
|
||||
],
|
||||
"properties": {
|
||||
"body": {
|
||||
"description": "Body is the updated comment text content",
|
||||
"type": "string",
|
||||
"x-go-name": "Body"
|
||||
}
|
||||
@@ -26031,9 +26079,11 @@
|
||||
"x-go-name": "EnablePrune"
|
||||
},
|
||||
"external_tracker": {
|
||||
"description": "set this structure to use external issue tracker",
|
||||
"$ref": "#/definitions/ExternalTracker"
|
||||
},
|
||||
"external_wiki": {
|
||||
"description": "set this structure to use external wiki instead of internal",
|
||||
"$ref": "#/definitions/ExternalWiki"
|
||||
},
|
||||
"has_actions": {
|
||||
@@ -26082,6 +26132,7 @@
|
||||
"x-go-name": "IgnoreWhitespaceConflicts"
|
||||
},
|
||||
"internal_tracker": {
|
||||
"description": "set this structure to configure internal issue tracker",
|
||||
"$ref": "#/definitions/InternalTracker"
|
||||
},
|
||||
"mirror_interval": {
|
||||
@@ -26188,6 +26239,7 @@
|
||||
"x-go-name": "Name"
|
||||
},
|
||||
"permission": {
|
||||
"description": "read RepoWritePermissionRead\nwrite RepoWritePermissionWrite\nadmin RepoWritePermissionAdmin",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"read",
|
||||
@@ -26198,10 +26250,12 @@
|
||||
"x-go-name": "Permission"
|
||||
},
|
||||
"units": {
|
||||
"description": "Deprecated: This variable should be replaced by UnitsMap and will be dropped in later versions.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"x-deprecated": true,
|
||||
"x-go-name": "Units",
|
||||
"example": [
|
||||
"repo.code",
|
||||
@@ -26284,6 +26338,7 @@
|
||||
"x-go-name": "Description"
|
||||
},
|
||||
"email": {
|
||||
"description": "The email address of the user",
|
||||
"type": "string",
|
||||
"format": "email",
|
||||
"x-go-name": "Email"
|
||||
@@ -26331,6 +26386,7 @@
|
||||
"x-go-name": "Restricted"
|
||||
},
|
||||
"source_id": {
|
||||
"description": "The authentication source ID to associate with the user",
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"x-go-name": "SourceID"
|
||||
@@ -26359,6 +26415,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"email": {
|
||||
"description": "The email address",
|
||||
"type": "string",
|
||||
"format": "email",
|
||||
"x-go-name": "Email"
|
||||
@@ -26431,12 +26488,15 @@
|
||||
"title": "FileCommitResponse contains information generated from a Git commit for a repo's file.",
|
||||
"properties": {
|
||||
"author": {
|
||||
"description": "Author is the commit author information",
|
||||
"$ref": "#/definitions/CommitUser"
|
||||
},
|
||||
"committer": {
|
||||
"description": "Committer is the commit committer information",
|
||||
"$ref": "#/definitions/CommitUser"
|
||||
},
|
||||
"created": {
|
||||
"description": "Created is the time when the commit was created",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "Created"
|
||||
@@ -26465,6 +26525,7 @@
|
||||
"x-go-name": "SHA"
|
||||
},
|
||||
"tree": {
|
||||
"description": "Tree contains the tree metadata for this commit",
|
||||
"$ref": "#/definitions/CommitMeta"
|
||||
},
|
||||
"url": {
|
||||
@@ -26480,6 +26541,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"commit": {
|
||||
"description": "Commit contains the commit information for this delete operation",
|
||||
"$ref": "#/definitions/FileCommitResponse"
|
||||
},
|
||||
"content": {
|
||||
@@ -26487,6 +26549,7 @@
|
||||
"x-go-name": "Content"
|
||||
},
|
||||
"verification": {
|
||||
"description": "Verification contains the commit signature verification information",
|
||||
"$ref": "#/definitions/PayloadCommitVerification"
|
||||
}
|
||||
},
|
||||
@@ -26519,12 +26582,15 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"commit": {
|
||||
"description": "Commit contains the commit information for this file operation",
|
||||
"$ref": "#/definitions/FileCommitResponse"
|
||||
},
|
||||
"content": {
|
||||
"description": "Content contains the file content and metadata",
|
||||
"$ref": "#/definitions/ContentsResponse"
|
||||
},
|
||||
"verification": {
|
||||
"description": "Verification contains the commit signature verification information",
|
||||
"$ref": "#/definitions/PayloadCommitVerification"
|
||||
}
|
||||
},
|
||||
@@ -26535,6 +26601,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"commit": {
|
||||
"description": "Commit contains the commit information for this file operation",
|
||||
"$ref": "#/definitions/FileCommitResponse"
|
||||
},
|
||||
"files": {
|
||||
@@ -26546,6 +26613,7 @@
|
||||
"x-go-name": "Files"
|
||||
},
|
||||
"verification": {
|
||||
"description": "Verification contains the commit signature verification information",
|
||||
"$ref": "#/definitions/PayloadCommitVerification"
|
||||
}
|
||||
},
|
||||
@@ -26576,6 +26644,7 @@
|
||||
"x-go-name": "CanSign"
|
||||
},
|
||||
"created_at": {
|
||||
"description": "The date and time when the GPG key was created",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "Created"
|
||||
@@ -26589,6 +26658,7 @@
|
||||
"x-go-name": "Emails"
|
||||
},
|
||||
"expires_at": {
|
||||
"description": "The date and time when the GPG key expires",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "Expires"
|
||||
@@ -27077,6 +27147,7 @@
|
||||
"x-go-name": "Config"
|
||||
},
|
||||
"created_at": {
|
||||
"description": "The date and time when the webhook was created",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "Created"
|
||||
@@ -27106,6 +27177,7 @@
|
||||
"x-go-name": "Type"
|
||||
},
|
||||
"updated_at": {
|
||||
"description": "The date and time when the webhook was last updated",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "Updated"
|
||||
@@ -27118,6 +27190,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"email": {
|
||||
"description": "Email is the person's email address",
|
||||
"type": "string",
|
||||
"format": "email",
|
||||
"x-go-name": "Email"
|
||||
@@ -27164,6 +27237,7 @@
|
||||
"x-go-name": "Attachments"
|
||||
},
|
||||
"assignee": {
|
||||
"description": "deprecated",
|
||||
"$ref": "#/definitions/User"
|
||||
},
|
||||
"assignees": {
|
||||
@@ -27263,6 +27337,7 @@
|
||||
"$ref": "#/definitions/RepositoryMeta"
|
||||
},
|
||||
"state": {
|
||||
"description": "open StateOpen pr is opened\nclosed StateClosed pr is closed",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"open",
|
||||
@@ -27384,6 +27459,7 @@
|
||||
"x-go-name": "ID"
|
||||
},
|
||||
"type": {
|
||||
"description": "markdown IssueFormFieldTypeMarkdown\ntextarea IssueFormFieldTypeTextarea\ninput IssueFormFieldTypeInput\ndropdown IssueFormFieldTypeDropdown\ncheckboxes IssueFormFieldTypeCheckboxes",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"markdown",
|
||||
@@ -27652,8 +27728,9 @@
|
||||
"type": "string"
|
||||
},
|
||||
"Wiki": {
|
||||
"description": "Is it a wiki page? (use mode=wiki instead)\n\nDeprecated: true",
|
||||
"type": "boolean"
|
||||
"description": "Is it a wiki page? (use mode=wiki instead)",
|
||||
"type": "boolean",
|
||||
"x-deprecated": true
|
||||
}
|
||||
},
|
||||
"x-go-package": "gitea.dev/modules/structs"
|
||||
@@ -27679,8 +27756,9 @@
|
||||
"type": "string"
|
||||
},
|
||||
"Wiki": {
|
||||
"description": "Is it a wiki page? (use mode=wiki instead)\n\nDeprecated: true",
|
||||
"type": "boolean"
|
||||
"description": "Is it a wiki page? (use mode=wiki instead)",
|
||||
"type": "boolean",
|
||||
"x-deprecated": true
|
||||
}
|
||||
},
|
||||
"x-go-package": "gitea.dev/modules/structs"
|
||||
@@ -27976,12 +28054,15 @@
|
||||
"x-go-name": "Protocols"
|
||||
},
|
||||
"services": {
|
||||
"description": "Services contains third party services this server can connect to",
|
||||
"$ref": "#/definitions/NodeInfoServices"
|
||||
},
|
||||
"software": {
|
||||
"description": "Software contains information about the server software",
|
||||
"$ref": "#/definitions/NodeInfoSoftware"
|
||||
},
|
||||
"usage": {
|
||||
"description": "Usage contains server usage statistics",
|
||||
"$ref": "#/definitions/NodeInfoUsage"
|
||||
},
|
||||
"version": {
|
||||
@@ -28059,6 +28140,7 @@
|
||||
"x-go-name": "LocalPosts"
|
||||
},
|
||||
"users": {
|
||||
"description": "Users contains user statistics",
|
||||
"$ref": "#/definitions/NodeInfoUsageUsers"
|
||||
}
|
||||
},
|
||||
@@ -28094,6 +28176,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"commit": {
|
||||
"description": "The commit that this note is attached to",
|
||||
"$ref": "#/definitions/Commit"
|
||||
},
|
||||
"message": {
|
||||
@@ -28188,9 +28271,11 @@
|
||||
"x-go-name": "Pinned"
|
||||
},
|
||||
"repository": {
|
||||
"description": "Repository is the repository associated with the notification",
|
||||
"$ref": "#/definitions/Repository"
|
||||
},
|
||||
"subject": {
|
||||
"description": "Subject contains details about the notification subject",
|
||||
"$ref": "#/definitions/NotificationSubject"
|
||||
},
|
||||
"unread": {
|
||||
@@ -28380,6 +28465,7 @@
|
||||
"x-go-name": "Ref"
|
||||
},
|
||||
"repo": {
|
||||
"description": "The repository information",
|
||||
"$ref": "#/definitions/Repository"
|
||||
},
|
||||
"repo_id": {
|
||||
@@ -28401,11 +28487,13 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"created_at": {
|
||||
"description": "The date and time when the package was created",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "CreatedAt"
|
||||
},
|
||||
"creator": {
|
||||
"description": "The user who created this package",
|
||||
"$ref": "#/definitions/User"
|
||||
},
|
||||
"html_url": {
|
||||
@@ -28425,9 +28513,11 @@
|
||||
"x-go-name": "Name"
|
||||
},
|
||||
"owner": {
|
||||
"description": "The owner of the package",
|
||||
"$ref": "#/definitions/User"
|
||||
},
|
||||
"repository": {
|
||||
"description": "The repository that contains this package",
|
||||
"$ref": "#/definitions/Repository"
|
||||
},
|
||||
"type": {
|
||||
@@ -28500,9 +28590,11 @@
|
||||
"x-go-name": "Added"
|
||||
},
|
||||
"author": {
|
||||
"description": "The author of the commit",
|
||||
"$ref": "#/definitions/PayloadUser"
|
||||
},
|
||||
"committer": {
|
||||
"description": "The committer of the commit",
|
||||
"$ref": "#/definitions/PayloadUser"
|
||||
},
|
||||
"id": {
|
||||
@@ -28532,6 +28624,7 @@
|
||||
"x-go-name": "Removed"
|
||||
},
|
||||
"timestamp": {
|
||||
"description": "The timestamp when the commit was made",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "Timestamp"
|
||||
@@ -28542,6 +28635,7 @@
|
||||
"x-go-name": "URL"
|
||||
},
|
||||
"verification": {
|
||||
"description": "GPG verification information for the commit",
|
||||
"$ref": "#/definitions/PayloadCommitVerification"
|
||||
}
|
||||
},
|
||||
@@ -28567,6 +28661,7 @@
|
||||
"x-go-name": "Signature"
|
||||
},
|
||||
"signer": {
|
||||
"description": "The user who signed the commit",
|
||||
"$ref": "#/definitions/PayloadUser"
|
||||
},
|
||||
"verified": {
|
||||
@@ -28684,6 +28779,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"created_at": {
|
||||
"description": "Created is the time when the key was added",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "Created"
|
||||
@@ -28731,6 +28827,7 @@
|
||||
"x-go-name": "URL"
|
||||
},
|
||||
"user": {
|
||||
"description": "Owner is the user who owns this key",
|
||||
"$ref": "#/definitions/User"
|
||||
}
|
||||
},
|
||||
@@ -28752,6 +28849,7 @@
|
||||
"x-go-name": "AllowMaintainerEdit"
|
||||
},
|
||||
"assignee": {
|
||||
"description": "The primary assignee of the pull request",
|
||||
"$ref": "#/definitions/User"
|
||||
},
|
||||
"assignees": {
|
||||
@@ -28763,6 +28861,7 @@
|
||||
"x-go-name": "Assignees"
|
||||
},
|
||||
"base": {
|
||||
"description": "Information about the base branch",
|
||||
"$ref": "#/definitions/PRBranchInfo"
|
||||
},
|
||||
"body": {
|
||||
@@ -28820,6 +28919,7 @@
|
||||
"x-go-name": "Deadline"
|
||||
},
|
||||
"head": {
|
||||
"description": "Information about the head branch",
|
||||
"$ref": "#/definitions/PRBranchInfo"
|
||||
},
|
||||
"html_url": {
|
||||
@@ -28872,9 +28972,11 @@
|
||||
"x-go-name": "Merged"
|
||||
},
|
||||
"merged_by": {
|
||||
"description": "The user who merged the pull request",
|
||||
"$ref": "#/definitions/User"
|
||||
},
|
||||
"milestone": {
|
||||
"description": "The milestone associated with the pull request",
|
||||
"$ref": "#/definitions/Milestone"
|
||||
},
|
||||
"number": {
|
||||
@@ -28942,6 +29044,7 @@
|
||||
"x-go-name": "URL"
|
||||
},
|
||||
"user": {
|
||||
"description": "The user who created the pull request",
|
||||
"$ref": "#/definitions/User"
|
||||
}
|
||||
},
|
||||
@@ -29081,6 +29184,7 @@
|
||||
"x-go-name": "Stale"
|
||||
},
|
||||
"state": {
|
||||
"description": "APPROVED ReviewStateApproved pr is approved\nPENDING ReviewStatePending pr state is pending\nCOMMENT ReviewStateComment is a comment review\nREQUEST_CHANGES ReviewStateRequestChanges changes for pr are requested\nREQUEST_REVIEW ReviewStateRequestReview review is requested from user",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"APPROVED",
|
||||
@@ -29260,11 +29364,13 @@
|
||||
"x-go-name": "Reaction"
|
||||
},
|
||||
"created_at": {
|
||||
"description": "The date and time when the reaction was created",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "Created"
|
||||
},
|
||||
"user": {
|
||||
"description": "The user who created the reaction",
|
||||
"$ref": "#/definitions/User"
|
||||
}
|
||||
},
|
||||
@@ -29275,6 +29381,7 @@
|
||||
"title": "Reference represents a Git reference.",
|
||||
"properties": {
|
||||
"object": {
|
||||
"description": "The Git object that this reference points to",
|
||||
"$ref": "#/definitions/GitObject"
|
||||
},
|
||||
"ref": {
|
||||
@@ -29303,6 +29410,7 @@
|
||||
"x-go-name": "Attachments"
|
||||
},
|
||||
"author": {
|
||||
"description": "The user who published the release",
|
||||
"$ref": "#/definitions/User"
|
||||
},
|
||||
"body": {
|
||||
@@ -29450,6 +29558,7 @@
|
||||
"x-go-name": "RoleName"
|
||||
},
|
||||
"user": {
|
||||
"description": "User information of the collaborator",
|
||||
"$ref": "#/definitions/User"
|
||||
}
|
||||
},
|
||||
@@ -29460,9 +29569,11 @@
|
||||
"title": "RepoCommit contains information of a commit in the context of a repository.",
|
||||
"properties": {
|
||||
"author": {
|
||||
"description": "Author contains the commit author information",
|
||||
"$ref": "#/definitions/CommitUser"
|
||||
},
|
||||
"committer": {
|
||||
"description": "Committer contains the commit committer information",
|
||||
"$ref": "#/definitions/CommitUser"
|
||||
},
|
||||
"message": {
|
||||
@@ -29471,6 +29582,7 @@
|
||||
"x-go-name": "Message"
|
||||
},
|
||||
"tree": {
|
||||
"description": "Tree contains the tree information for the commit",
|
||||
"$ref": "#/definitions/CommitMeta"
|
||||
},
|
||||
"url": {
|
||||
@@ -29479,6 +29591,7 @@
|
||||
"x-go-name": "URL"
|
||||
},
|
||||
"verification": {
|
||||
"description": "Verification contains commit signature verification information",
|
||||
"$ref": "#/definitions/PayloadCommitVerification"
|
||||
}
|
||||
},
|
||||
@@ -29758,6 +29871,7 @@
|
||||
"$ref": "#/definitions/User"
|
||||
},
|
||||
"parent": {
|
||||
"description": "the original repository if this repository is a fork, otherwise null",
|
||||
"$ref": "#/definitions/Repository"
|
||||
},
|
||||
"permissions": {
|
||||
@@ -29928,6 +30042,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"created": {
|
||||
"description": "Created is the time when the stopwatch was started",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "Created"
|
||||
@@ -29976,6 +30091,7 @@
|
||||
"x-go-name": "Body"
|
||||
},
|
||||
"event": {
|
||||
"description": "APPROVED ReviewStateApproved pr is approved\nPENDING ReviewStatePending pr state is pending\nCOMMENT ReviewStateComment is a comment review\nREQUEST_CHANGES ReviewStateRequestChanges changes for pr are requested\nREQUEST_REVIEW ReviewStateRequestReview review is requested from user",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"APPROVED",
|
||||
@@ -29995,6 +30111,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"commit": {
|
||||
"description": "The commit information associated with this tag",
|
||||
"$ref": "#/definitions/CommitMeta"
|
||||
},
|
||||
"id": {
|
||||
@@ -30030,6 +30147,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"created_at": {
|
||||
"description": "The date and time when the tag protection was created",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "Created"
|
||||
@@ -30046,6 +30164,7 @@
|
||||
"x-go-name": "NamePattern"
|
||||
},
|
||||
"updated_at": {
|
||||
"description": "The date and time when the tag protection was last updated",
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "Updated"
|
||||
@@ -30100,9 +30219,11 @@
|
||||
"x-go-name": "Name"
|
||||
},
|
||||
"organization": {
|
||||
"description": "The organization that the team belongs to",
|
||||
"$ref": "#/definitions/Organization"
|
||||
},
|
||||
"permission": {
|
||||
"description": "none AccessLevelNameNone\nread AccessLevelNameRead\nwrite AccessLevelNameWrite\nadmin AccessLevelNameAdmin\nowner AccessLevelNameOwner",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"none",
|
||||
@@ -30115,10 +30236,12 @@
|
||||
"x-go-name": "Permission"
|
||||
},
|
||||
"units": {
|
||||
"description": "Deprecated: This variable should be replaced by UnitsMap and will be dropped in later versions.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"x-deprecated": true,
|
||||
"x-go-name": "Units",
|
||||
"example": [
|
||||
"repo.code",
|
||||
@@ -30289,6 +30412,7 @@
|
||||
"x-go-name": "Updated"
|
||||
},
|
||||
"user": {
|
||||
"description": "Poster is the user who created the timeline event",
|
||||
"$ref": "#/definitions/User"
|
||||
}
|
||||
},
|
||||
@@ -30361,6 +30485,7 @@
|
||||
"x-go-name": "ID"
|
||||
},
|
||||
"issue": {
|
||||
"description": "Issue contains the associated issue information",
|
||||
"$ref": "#/definitions/Issue"
|
||||
},
|
||||
"issue_id": {
|
||||
@@ -30460,6 +30585,7 @@
|
||||
],
|
||||
"properties": {
|
||||
"author": {
|
||||
"description": "`author` and `committer` are optional (if only one is given, it will be used for the other, otherwise the authenticated user will be used)",
|
||||
"$ref": "#/definitions/Identity"
|
||||
},
|
||||
"branch": {
|
||||
@@ -30868,9 +30994,11 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"author": {
|
||||
"description": "The author of the commit",
|
||||
"$ref": "#/definitions/CommitUser"
|
||||
},
|
||||
"commiter": {
|
||||
"description": "The committer of the commit",
|
||||
"$ref": "#/definitions/CommitUser"
|
||||
},
|
||||
"message": {
|
||||
@@ -30933,6 +31061,7 @@
|
||||
"x-go-name": "HTMLURL"
|
||||
},
|
||||
"last_commit": {
|
||||
"description": "The last commit that modified this wiki page",
|
||||
"$ref": "#/definitions/WikiCommit"
|
||||
},
|
||||
"sidebar": {
|
||||
@@ -30963,6 +31092,7 @@
|
||||
"x-go-name": "HTMLURL"
|
||||
},
|
||||
"last_commit": {
|
||||
"description": "The last commit that modified this wiki page",
|
||||
"$ref": "#/definitions/WikiCommit"
|
||||
},
|
||||
"sub_url": {
|
||||
|
||||
135
templates/swagger/v1_openapi3_json.tmpl
generated
135
templates/swagger/v1_openapi3_json.tmpl
generated
@@ -2713,6 +2713,7 @@
|
||||
"x-go-name": "DownloadURL"
|
||||
},
|
||||
"created_at": {
|
||||
"description": "Created is the time when the attachment was uploaded",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "Created"
|
||||
@@ -2862,9 +2863,8 @@
|
||||
"x-go-name": "BlockOnRejectedReviews"
|
||||
},
|
||||
"branch_name": {
|
||||
"deprecated": true,
|
||||
"description": "Deprecated: true",
|
||||
"type": "string",
|
||||
"x-deprecated": true,
|
||||
"x-go-name": "BranchName"
|
||||
},
|
||||
"bypass_allowlist_teams": {
|
||||
@@ -3302,6 +3302,7 @@
|
||||
"$ref": "#/components/schemas/User"
|
||||
},
|
||||
"created": {
|
||||
"description": "Created is the time when the commit was created",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "Created"
|
||||
@@ -3368,11 +3369,13 @@
|
||||
"description": "CommitDateOptions store dates for GIT_AUTHOR_DATE and GIT_COMMITTER_DATE",
|
||||
"properties": {
|
||||
"author": {
|
||||
"description": "Author is the author date for the commit",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "Author"
|
||||
},
|
||||
"committer": {
|
||||
"description": "Committer is the committer date for the commit",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "Committer"
|
||||
@@ -3384,6 +3387,7 @@
|
||||
"CommitMeta": {
|
||||
"properties": {
|
||||
"created": {
|
||||
"description": "Created is the time when the commit was created",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "Created"
|
||||
@@ -3504,6 +3508,7 @@
|
||||
"x-go-name": "Date"
|
||||
},
|
||||
"email": {
|
||||
"description": "Email is the person's email address",
|
||||
"format": "email",
|
||||
"type": "string",
|
||||
"x-go-name": "Email"
|
||||
@@ -3754,9 +3759,8 @@
|
||||
"x-go-name": "BlockOnRejectedReviews"
|
||||
},
|
||||
"branch_name": {
|
||||
"deprecated": true,
|
||||
"description": "Deprecated: true",
|
||||
"type": "string",
|
||||
"x-deprecated": true,
|
||||
"x-go-name": "BranchName"
|
||||
},
|
||||
"bypass_allowlist_teams": {
|
||||
@@ -3910,10 +3914,10 @@
|
||||
"x-go-name": "BranchName"
|
||||
},
|
||||
"old_branch_name": {
|
||||
"deprecated": true,
|
||||
"description": "Deprecated: true\nName of the old branch to create from",
|
||||
"description": "Name of the old branch to create from",
|
||||
"type": "string",
|
||||
"uniqueItems": true,
|
||||
"x-deprecated": true,
|
||||
"x-go-name": "OldBranchName"
|
||||
},
|
||||
"old_ref_name": {
|
||||
@@ -4036,6 +4040,7 @@
|
||||
"properties": {
|
||||
"active": {
|
||||
"default": false,
|
||||
"description": "Whether the webhook should be active upon creation",
|
||||
"type": "boolean",
|
||||
"x-go-name": "Active"
|
||||
},
|
||||
@@ -4066,6 +4071,7 @@
|
||||
"x-go-name": "Name"
|
||||
},
|
||||
"type": {
|
||||
"description": "The type of the webhook to create",
|
||||
"enum": [
|
||||
"dingtalk",
|
||||
"discord",
|
||||
@@ -4101,6 +4107,7 @@
|
||||
"description": "CreateIssueCommentOption options for creating a comment on an issue",
|
||||
"properties": {
|
||||
"body": {
|
||||
"description": "Body is the comment text content",
|
||||
"type": "string",
|
||||
"x-go-name": "Body"
|
||||
}
|
||||
@@ -4231,6 +4238,7 @@
|
||||
"x-go-name": "IsArchived"
|
||||
},
|
||||
"name": {
|
||||
"description": "Name is the display name for the new label",
|
||||
"type": "string",
|
||||
"x-go-name": "Name"
|
||||
}
|
||||
@@ -4251,12 +4259,18 @@
|
||||
"x-go-name": "Description"
|
||||
},
|
||||
"due_on": {
|
||||
"description": "Deadline is the due date for the milestone",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "Deadline"
|
||||
},
|
||||
"state": {
|
||||
"$ref": "#/components/schemas/StateType"
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/StateType"
|
||||
}
|
||||
],
|
||||
"description": "State indicates the initial state of the milestone"
|
||||
},
|
||||
"title": {
|
||||
"description": "Title is the title of the new milestone",
|
||||
@@ -4509,7 +4523,12 @@
|
||||
"x-go-name": "CommitID"
|
||||
},
|
||||
"event": {
|
||||
"$ref": "#/components/schemas/ReviewStateType"
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/ReviewStateType"
|
||||
}
|
||||
],
|
||||
"description": "APPROVED ReviewStateApproved pr is approved\nPENDING ReviewStatePending pr state is pending\nCOMMENT ReviewStateComment is a comment review\nREQUEST_CHANGES ReviewStateRequestChanges changes for pr are requested\nREQUEST_REVIEW ReviewStateRequestReview review is requested from user"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
@@ -4711,6 +4730,7 @@
|
||||
"x-go-name": "Message"
|
||||
},
|
||||
"tag_name": {
|
||||
"description": "The name of the tag to create",
|
||||
"type": "string",
|
||||
"x-go-name": "TagName"
|
||||
},
|
||||
@@ -4777,9 +4797,16 @@
|
||||
"x-go-name": "Name"
|
||||
},
|
||||
"permission": {
|
||||
"$ref": "#/components/schemas/RepoWritePermission"
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/RepoWritePermission"
|
||||
}
|
||||
],
|
||||
"description": "read RepoWritePermissionRead\nwrite RepoWritePermissionWrite\nadmin RepoWritePermissionAdmin"
|
||||
},
|
||||
"units": {
|
||||
"deprecated": true,
|
||||
"description": "Deprecated: This variable should be replaced by UnitsMap and will be dropped in later versions.",
|
||||
"example": [
|
||||
"repo.actions",
|
||||
"repo.code",
|
||||
@@ -4796,13 +4823,23 @@
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array",
|
||||
"x-deprecated": true,
|
||||
"x-go-name": "Units"
|
||||
},
|
||||
"units_map": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"example": "{\"repo.actions\",\"repo.packages\",\"repo.code\":\"read\",\"repo.issues\":\"write\",\"repo.ext_issues\":\"none\",\"repo.wiki\":\"admin\",\"repo.pulls\":\"owner\",\"repo.releases\":\"none\",\"repo.projects\":\"none\",\"repo.ext_wiki\":\"none\"}",
|
||||
"example": {
|
||||
"repo.code": "read",
|
||||
"repo.ext_issues": "none",
|
||||
"repo.ext_wiki": "none",
|
||||
"repo.issues": "write",
|
||||
"repo.projects": "none",
|
||||
"repo.pulls": "owner",
|
||||
"repo.releases": "none",
|
||||
"repo.wiki": "admin"
|
||||
},
|
||||
"type": "object",
|
||||
"x-go-name": "UnitsMap"
|
||||
},
|
||||
@@ -4887,8 +4924,7 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"username",
|
||||
"email"
|
||||
"username"
|
||||
],
|
||||
"type": "object",
|
||||
"x-go-package": "gitea.dev/modules/structs"
|
||||
@@ -5079,6 +5115,7 @@
|
||||
"description": "DeployKey a deploy key",
|
||||
"properties": {
|
||||
"created_at": {
|
||||
"description": "Created is the time when the deploy key was added",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "Created"
|
||||
@@ -5348,9 +5385,6 @@
|
||||
"x-go-name": "Deadline"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"due_date"
|
||||
],
|
||||
"type": "object",
|
||||
"x-go-package": "gitea.dev/modules/structs"
|
||||
},
|
||||
@@ -5413,6 +5447,7 @@
|
||||
"description": "EditIssueCommentOption options for editing a comment",
|
||||
"properties": {
|
||||
"body": {
|
||||
"description": "Body is the updated comment text content",
|
||||
"type": "string",
|
||||
"x-go-name": "Body"
|
||||
}
|
||||
@@ -5964,9 +5999,16 @@
|
||||
"x-go-name": "Name"
|
||||
},
|
||||
"permission": {
|
||||
"$ref": "#/components/schemas/RepoWritePermission"
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/RepoWritePermission"
|
||||
}
|
||||
],
|
||||
"description": "read RepoWritePermissionRead\nwrite RepoWritePermissionWrite\nadmin RepoWritePermissionAdmin"
|
||||
},
|
||||
"units": {
|
||||
"deprecated": true,
|
||||
"description": "Deprecated: This variable should be replaced by UnitsMap and will be dropped in later versions.",
|
||||
"example": [
|
||||
"repo.code",
|
||||
"repo.issues",
|
||||
@@ -5981,6 +6023,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array",
|
||||
"x-deprecated": true,
|
||||
"x-go-name": "Units"
|
||||
},
|
||||
"units_map": {
|
||||
@@ -6049,6 +6092,7 @@
|
||||
"x-go-name": "Description"
|
||||
},
|
||||
"email": {
|
||||
"description": "The email address of the user",
|
||||
"format": "email",
|
||||
"type": "string",
|
||||
"x-go-name": "Email"
|
||||
@@ -6096,6 +6140,7 @@
|
||||
"x-go-name": "Restricted"
|
||||
},
|
||||
"source_id": {
|
||||
"description": "The authentication source ID to associate with the user",
|
||||
"format": "int64",
|
||||
"type": "integer",
|
||||
"x-go-name": "SourceID"
|
||||
@@ -6125,6 +6170,7 @@
|
||||
"description": "Email an email address belonging to a user",
|
||||
"properties": {
|
||||
"email": {
|
||||
"description": "The email address",
|
||||
"format": "email",
|
||||
"type": "string",
|
||||
"x-go-name": "Email"
|
||||
@@ -6204,6 +6250,7 @@
|
||||
"$ref": "#/components/schemas/CommitUser"
|
||||
},
|
||||
"created": {
|
||||
"description": "Created is the time when the commit was created",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "Created"
|
||||
@@ -6346,6 +6393,7 @@
|
||||
"x-go-name": "CanSign"
|
||||
},
|
||||
"created_at": {
|
||||
"description": "The date and time when the GPG key was created",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "Created"
|
||||
@@ -6359,6 +6407,7 @@
|
||||
"x-go-name": "Emails"
|
||||
},
|
||||
"expires_at": {
|
||||
"description": "The date and time when the GPG key expires",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "Expires"
|
||||
@@ -6851,6 +6900,7 @@
|
||||
"x-go-name": "Config"
|
||||
},
|
||||
"created_at": {
|
||||
"description": "The date and time when the webhook was created",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "Created"
|
||||
@@ -6880,6 +6930,7 @@
|
||||
"x-go-name": "Type"
|
||||
},
|
||||
"updated_at": {
|
||||
"description": "The date and time when the webhook was last updated",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "Updated"
|
||||
@@ -6892,6 +6943,7 @@
|
||||
"description": "Identity for a person's identity like an author or committer",
|
||||
"properties": {
|
||||
"email": {
|
||||
"description": "Email is the person's email address",
|
||||
"format": "email",
|
||||
"type": "string",
|
||||
"x-go-name": "Email"
|
||||
@@ -7038,7 +7090,12 @@
|
||||
"$ref": "#/components/schemas/RepositoryMeta"
|
||||
},
|
||||
"state": {
|
||||
"$ref": "#/components/schemas/StateType"
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/StateType"
|
||||
}
|
||||
],
|
||||
"description": "open StateOpen pr is opened\nclosed StateClosed pr is closed"
|
||||
},
|
||||
"time_estimate": {
|
||||
"format": "int64",
|
||||
@@ -7155,6 +7212,7 @@
|
||||
"x-go-name": "ID"
|
||||
},
|
||||
"type": {
|
||||
"description": "markdown IssueFormFieldTypeMarkdown\ntextarea IssueFormFieldTypeTextarea\ninput IssueFormFieldTypeInput\ndropdown IssueFormFieldTypeDropdown\ncheckboxes IssueFormFieldTypeCheckboxes",
|
||||
"enum": [
|
||||
"markdown",
|
||||
"textarea",
|
||||
@@ -7426,9 +7484,9 @@
|
||||
"type": "string"
|
||||
},
|
||||
"Wiki": {
|
||||
"deprecated": true,
|
||||
"description": "Is it a wiki page? (use mode=wiki instead)\n\nDeprecated: true",
|
||||
"type": "boolean"
|
||||
"description": "Is it a wiki page? (use mode=wiki instead)",
|
||||
"type": "boolean",
|
||||
"x-deprecated": true
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
@@ -7454,9 +7512,9 @@
|
||||
"type": "string"
|
||||
},
|
||||
"Wiki": {
|
||||
"deprecated": true,
|
||||
"description": "Is it a wiki page? (use mode=wiki instead)\n\nDeprecated: true",
|
||||
"type": "boolean"
|
||||
"description": "Is it a wiki page? (use mode=wiki instead)",
|
||||
"type": "boolean",
|
||||
"x-deprecated": true
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
@@ -8187,6 +8245,7 @@
|
||||
"description": "Package represents a package",
|
||||
"properties": {
|
||||
"created_at": {
|
||||
"description": "The date and time when the package was created",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "CreatedAt"
|
||||
@@ -8319,6 +8378,7 @@
|
||||
"x-go-name": "Removed"
|
||||
},
|
||||
"timestamp": {
|
||||
"description": "The timestamp when the commit was made",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "Timestamp"
|
||||
@@ -8472,6 +8532,7 @@
|
||||
"description": "PublicKey publickey is a user key to push code to repository",
|
||||
"properties": {
|
||||
"created_at": {
|
||||
"description": "Created is the time when the key was added",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "Created"
|
||||
@@ -8877,7 +8938,12 @@
|
||||
"x-go-name": "Stale"
|
||||
},
|
||||
"state": {
|
||||
"$ref": "#/components/schemas/ReviewStateType"
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/ReviewStateType"
|
||||
}
|
||||
],
|
||||
"description": "APPROVED ReviewStateApproved pr is approved\nPENDING ReviewStatePending pr state is pending\nCOMMENT ReviewStateComment is a comment review\nREQUEST_CHANGES ReviewStateRequestChanges changes for pr are requested\nREQUEST_REVIEW ReviewStateRequestReview review is requested from user"
|
||||
},
|
||||
"submitted_at": {
|
||||
"format": "date-time",
|
||||
@@ -9049,6 +9115,7 @@
|
||||
"x-go-name": "Reaction"
|
||||
},
|
||||
"created_at": {
|
||||
"description": "The date and time when the reaction was created",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "Created"
|
||||
@@ -9751,6 +9818,7 @@
|
||||
"description": "StopWatch represent a running stopwatch",
|
||||
"properties": {
|
||||
"created": {
|
||||
"description": "Created is the time when the stopwatch was started",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "Created"
|
||||
@@ -9799,7 +9867,12 @@
|
||||
"x-go-name": "Body"
|
||||
},
|
||||
"event": {
|
||||
"$ref": "#/components/schemas/ReviewStateType"
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/ReviewStateType"
|
||||
}
|
||||
],
|
||||
"description": "APPROVED ReviewStateApproved pr is approved\nPENDING ReviewStatePending pr state is pending\nCOMMENT ReviewStateComment is a comment review\nREQUEST_CHANGES ReviewStateRequestChanges changes for pr are requested\nREQUEST_REVIEW ReviewStateRequestReview review is requested from user"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
@@ -9846,6 +9919,7 @@
|
||||
"description": "TagProtection represents a tag protection",
|
||||
"properties": {
|
||||
"created_at": {
|
||||
"description": "The date and time when the tag protection was created",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "Created"
|
||||
@@ -9862,6 +9936,7 @@
|
||||
"x-go-name": "NamePattern"
|
||||
},
|
||||
"updated_at": {
|
||||
"description": "The date and time when the tag protection was last updated",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "Updated"
|
||||
@@ -9919,9 +9994,16 @@
|
||||
"$ref": "#/components/schemas/Organization"
|
||||
},
|
||||
"permission": {
|
||||
"$ref": "#/components/schemas/AccessLevelName"
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/AccessLevelName"
|
||||
}
|
||||
],
|
||||
"description": "none AccessLevelNameNone\nread AccessLevelNameRead\nwrite AccessLevelNameWrite\nadmin AccessLevelNameAdmin\nowner AccessLevelNameOwner"
|
||||
},
|
||||
"units": {
|
||||
"deprecated": true,
|
||||
"description": "Deprecated: This variable should be replaced by UnitsMap and will be dropped in later versions.",
|
||||
"example": [
|
||||
"repo.code",
|
||||
"repo.issues",
|
||||
@@ -9936,6 +10018,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array",
|
||||
"x-deprecated": true,
|
||||
"x-go-name": "Units"
|
||||
},
|
||||
"units_map": {
|
||||
|
||||
Reference in New Issue
Block a user