forgejo/modules
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
..
actions
activitypub
analyze
assetfs
auth
avatar
base
cache
charset
container Add container.FilterSlice function (gitea#30339) 2024-04-16 11:49:44 +02:00
csv
emoji
eventsource
generate
git
gitgraph
gitrepo
graceful
hcaptcha
highlight
hostmatcher
html
httpcache
httplib
indexer
issue/template
json
label
lfs
log
markup Refactor markdown render (#30139) 2024-04-16 10:42:49 +02:00
mcaptcha
metrics
migration
nosql
optional Add interface{} to any replacement to make fmt, exclude *.pb.go (#30461) 2024-04-15 20:01:36 +02:00
options
packages Some NuGet package enhancements 2024-04-15 20:45:14 +02:00
paginator
pprof
private
process
proxy
proxyprotocol
public
queue
recaptcha
references
regexplru
repository
secret
session fix: Fix to delete cookie when AppSubURL is non-empty (#30375) 2024-04-15 20:01:36 +02:00
setting
sitemap
ssh
storage
structs Allow changing global wiki editability via the API 2024-04-16 22:51:36 +02:00
svg
sync
system
templates Avoid losing token when updating mirror settings (#30429) 2024-04-15 20:01:36 +02:00
test
testlogger
timeutil
translation
turnstile
typesniffer
updatechecker
uri
user
util Clean up log messages (#30313) 2024-04-15 20:01:35 +02:00
validation
web fix: Fix to delete cookie when AppSubURL is non-empty (#30375) 2024-04-15 20:01:36 +02:00
webhook