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.
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
..
auth Replace more icons with SVG, repo search tweaks (#13860) 4 years ago
base Comment box tweaks and SVG dropdown triangles (#13376) 4 years ago
emails Removes dangling < on emails/list.tmpl (#13970) 4 years ago
org Replace more icons with SVG, repo search tweaks (#13860) 4 years ago
repo Replace more icons with SVG, repo search tweaks (#13860) 4 years ago
user Added option to disable migrations (#13114) 4 years ago
config.tmpl Replace more icons with SVG, repo search tweaks (#13860) 4 years ago
dashboard.tmpl Add class to page content to unify top margin (#13766) 4 years ago
hook_new.tmpl gitea png to logo (#13974) 4 years ago
hooks.tmpl Add class to page content to unify top margin (#13766) 4 years ago
monitor.tmpl Replace more icons with SVG, repo search tweaks (#13860) 4 years ago
navbar.tmpl CSS navbar and color tweaks (#13609) 4 years ago
notice.tmpl Replace more icons with SVG, repo search tweaks (#13860) 4 years ago
queue.tmpl Replace more icons with SVG, repo search tweaks (#13860) 4 years ago