You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/docs/content/doc/advanced
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: 04b04cf854bcb3ed7659442bcf79822bdebe29e9
Author-Change-Id: IB#1105130
4 years ago
..
adding-legal-pages.en-us.md Add Privacy Policy and Terms of Service Page (#9513) 5 years ago
cmd-embedded.en-us.md Reformat docs (#13897) 4 years ago
config-cheat-sheet.en-us.md Added option to disable migrations (#13114) 4 years ago
config-cheat-sheet.zh-cn.md Manually approve new registration (#13083) 4 years ago
customizing-gitea.en-us.md gitea png to logo (#13974) 4 years ago
customizing-gitea.zh-cn.md Rename custom/conf/app.ini.sample to custom/conf/app.example.ini for better syntax light on editor (#11926) 4 years ago
environment-variables.en-us.md Reformat docs (#13897) 4 years ago
environment-variables.zh-cn.md Refactor docs (#13275) 4 years ago
external-renderers.en-us.md Reformat docs (#13897) 4 years ago
hacking-on-gitea.zh-cn.md ZH-CN translation of Advanced part (#5090) 6 years ago
logging-documentation.en-us.md Reformat docs (#13897) 4 years ago
mail-templates-us.md Reformat docs (#13897) 4 years ago
make.fr-fr.md Reformat docs (#13897) 4 years ago
make.zh-cn.md Reformat docs (#13897) 4 years ago
repo-indexer.en-us.md Reformat docs (#13897) 4 years ago
search-engines-indexation.en-us.md Reformat docs (#13897) 4 years ago
signing.en-us.md Reformat docs (#13897) 4 years ago
third-party-tools.zh-cn.md Reformat docs (#13897) 4 years ago