1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 13:29:12 -05:00
forgejo/templates/admin
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
..
auth Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00
base Comment box tweaks and SVG dropdown triangles (#13376) 2020-10-31 18:15:11 -04:00
emails Removes dangling < on emails/list.tmpl (#13970) 2020-12-13 10:48:03 +08:00
org Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00
repo Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00
user Added option to disable migrations (#13114) 2020-12-21 15:39:41 +01:00
config.tmpl Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00
dashboard.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
hook_new.tmpl gitea png to logo (#13974) 2020-12-18 20:17:27 -05:00
hooks.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
monitor.tmpl Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00
navbar.tmpl CSS navbar and color tweaks (#13609) 2020-11-26 19:33:28 +00:00
notice.tmpl Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00
queue.tmpl Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00