1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-03 14:38:55 -05:00
forgejo/modules/context
Pawel Boguslawski 04b04cf854 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.

Author-Change-Id: IB#1105130
2020-10-12 13:15:36 +02:00
..
api.go Fix typo (#12013) 2020-06-22 11:21:11 -04:00
api_org.go Golint fixed for modules/context 2016-11-25 14:53:59 +08:00
api_test.go fix API link header (#7298) 2019-06-26 16:51:32 +08:00
auth.go Prevent redirect back to /user/events (#12462) 2020-08-08 18:39:40 -04:00
context.go Added option to disable migrations 2020-10-12 13:15:36 +02:00
org.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
pagination.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
panic.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
permission.go Use Req.URL.RequestURI() to cope with FCGI urls (#9473) 2019-12-24 00:11:12 +00:00
repo.go Add configurable Trust Models (#11712) 2020-09-20 00:44:55 +08:00