0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00
forgejo/services/convert
Gergely Nagy df8e58c5cb
Allow changing global wiki editability via the API
The global wiki editability can be set via the web UI, this patch makes
it possible to set the same thing via the API too. This is accomplished
by adjusting the GET and PATCH handlers of the
`/api/v1/repos/{owner}/{repo}` route.

The first will include the property when checking the repo's settings,
the second allows a repo admin to change the setting too.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-04-16 22:51:36 +02:00
..
activity.go
attachment.go
convert.go Count downloads for tag archives 2024-04-08 12:51:27 +02:00
git_commit.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
git_commit_test.go
issue.go Fix missed doer (#30231) 2024-04-15 20:01:35 +02:00
issue_comment.go Fix missed doer (#30231) 2024-04-15 20:01:35 +02:00
issue_test.go
main_test.go
mirror.go
notification.go Performance improvements for pull request list page (#29900) 2024-03-26 19:04:26 +01:00
package.go Fix incorrect relative/absolute URL usages (#29531) 2024-03-06 12:10:46 +08:00
pull.go Fix missed doer (#30231) 2024-04-15 20:01:35 +02:00
pull_review.go [GITEA] POST /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments 2024-02-05 16:09:42 +01:00
pull_test.go [GITEA] Fix NPE in ToPullReviewList 2024-02-05 16:09:42 +01:00
release.go Count downloads for tag archives 2024-04-08 12:51:27 +02:00
release_test.go
repository.go Allow changing global wiki editability via the API 2024-04-16 22:51:36 +02:00
secret.go
status.go
user.go services/convert/user: Convert pronouns properly 2024-04-03 15:18:01 -05:00
user_test.go
utils.go [BRANDING] add Forgejo Git Service and migration UI 2024-02-05 16:05:02 +01:00
utils_test.go [BRANDING] add Forgejo Git Service and migration UI 2024-02-05 16:05:02 +01:00
wiki.go Fix an actions schedule bug (#28942) 2024-03-25 16:27:32 +01:00