Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 09:54:24 +01: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 For API attachments, use API URL (#25639) 2023-07-10 09:31:19 +00:00
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 Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
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 feat: implement organization secret creation API (#26566) 2023-08-22 11:20:34 +08:00
status.go refactor improve NoBetterThan (#26126) 2023-07-26 08:52:07 +00:00
user.go services/convert/user: Convert pronouns properly 2024-04-03 15:18:01 -05:00
user_test.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
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