forgejo/templates/base
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
..
alert.tmpl Return the full rejection message and errors in flash errors (#13221) 2020-10-20 19:50:10 -04:00
alert_details.tmpl Return the full rejection message and errors in flash errors (#13221) 2020-10-20 19:50:10 -04:00
delete_modal_actions.tmpl Replace footer and modal icons with SVG (#13245) 2020-10-21 22:07:33 +01:00
footer.tmpl Enable linting of JS inside templates (#13708) 2020-11-28 01:01:33 +02:00
footer_content.tmpl Replace footer and modal icons with SVG (#13245) 2020-10-21 22:07:33 +01:00
head.tmpl gitea png to logo (#13974) 2020-12-18 20:17:27 -05:00
head_navbar.tmpl Added option to disable migrations (#13114) 2020-12-21 15:39:41 +01:00
paginate.tmpl Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00