0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 17:04:12 -05:00
forgejo/docs/content/doc
Paweł Bogusławski 839daa85aa
Added option to disable migrations (#13114)
* Added option to disable migrations

This patch introduces DISABLE_MIGRATIONS parameter in [repository]
section of app.ini (by default set to false). If set to true
it blocks access to repository migration feature.

This mod hides also local repo import option in user editor if
local repo importing or migrations is disabled.

* Alter Example config

DISABLE_MIGRATIONS set to false in example config to
match its default value.

* HTTP error 403 instead of 500 on denied access to migration

* Parameter DISABLE_MIGRATIONS exposed via API

Fixes: 04b04cf854
Author-Change-Id: IB#1105130
2020-12-21 15:39:41 +01:00
..
advanced Added option to disable migrations (#13114) 2020-12-21 15:39:41 +01:00
developers gitea png to logo (#13974) 2020-12-18 20:17:27 -05:00
features Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
help Store repository data in data path if not previously set (#13991) 2020-12-15 16:52:59 -05:00
installation Use native git variants by default with go-git variants as build tag (#13673) 2020-12-17 22:00:47 +08:00
upgrade Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
usage fix label of --id in admin delete user (#14005) 2020-12-17 02:57:32 -05:00
advanced.en-us.md
advanced.fr-fr.md
advanced.zh-cn.md
developers.en-us.md Refactor docs (#13275) 2020-10-23 11:59:45 -04:00
features.en-us.md
features.zh-cn.md
features.zh-tw.md
help.en-us.md
help.fr-fr.md
help.zh-cn.md
help.zh-tw.md
installation.en-us.md
installation.fr-fr.md
installation.zh-cn.md
installation.zh-tw.md
upgrade.en-us.md
upgrade.fr-fr.md
upgrade.zh-cn.md
upgrade.zh-tw.md
usage.en-us.md
usage.zh-cn.md