bench-forgejo/templates
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
2020-12-21 15:39:41 +01:00
..
admin Added option to disable migrations (#13114) 2020-12-21 15:39:41 +01:00
base Added option to disable migrations (#13114) 2020-12-21 15:39:41 +01:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Search and Diff CSS enhancements (#14050) 2020-12-20 13:00:03 -05:00
mail Add email notify for new release (#12463) 2020-08-23 16:03:18 +01:00
org gitea png to logo (#13974) 2020-12-18 20:17:27 -05:00
pwa gitea png to logo (#13974) 2020-12-18 20:17:27 -05:00
repo expose translation of previously hardcoded string (#14087) 2020-12-21 21:12:13 +08:00
shared Present repository name as {{name}}#{{index}} instead of label on dashboard issuelist (#14085) 2020-12-21 16:31:20 +08:00
status Style and template tweaks (#13828) 2020-12-04 12:18:37 +01:00
swagger Added option to disable migrations (#13114) 2020-12-21 15:39:41 +01:00
user Fix feed push tag (#14064) 2020-12-20 07:46:28 +08:00
home.tmpl gitea png to logo (#13974) 2020-12-18 20:17:27 -05:00
install.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
post-install.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00