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 Fix attachment download bug (#27486) 2023-10-10 15:33:56 +00:00
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 Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
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 make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
mirror.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
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 add Upload URL to release API (#26663) 2023-08-24 10:36:10 +00:00
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