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
..
blob.go Swagger info corrections (#9441) 5 years ago
branch.go Add block on official review requests branch protection (#13705) 4 years ago
collaborators.go Remove page size limit comment from swagger (#11806) 4 years ago
commits.go Not using "ctx.ServerError" in api (#12907) 4 years ago
file.go Add better Swagger description and a example for GetArchive (#12743) 4 years ago
fork.go Move Repo APIFormat to convert package (#13787) 4 years ago
git_hook.go Swagger info corrections (#9441) 5 years ago
git_ref.go Swagger info corrections (#9441) 5 years ago
hook.go Move webhook type from int to string (#13664) 4 years ago
hook_test.go API endpoint for testing webhook (#3550) 6 years ago
issue.go [API] Add ref to create/edit issue options & deprecated assignee (#13992) 4 years ago
issue_comment.go API: Fix GetQueryBeforeSince (#13559) 4 years ago
issue_label.go Add Organization Wide Labels (#10814) 4 years ago
issue_reaction.go Issue comment reactions should also check pull type (#13349) 4 years ago
issue_stopwatch.go Refactor: move Commit To APIFormat Code & Lot of StopWatch related things (#12729) 4 years ago
issue_subscription.go [Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
issue_tracked_time.go API: Fix GetQueryBeforeSince (#13559) 4 years ago
key.go Move Repo APIFormat to convert package (#13787) 4 years ago
label.go Not using "ctx.ServerError" in api (#12907) 4 years ago
language.go Add language statistics API endpoint (#11737) 4 years ago
main_test.go API endpoint for testing webhook (#3550) 6 years ago
migrate.go Added option to disable migrations (#13114) 4 years ago
milestone.go Not using "ctx.ServerError" in api (#12907) 4 years ago
mirror.go Refactor api repo dir (#10048) 4 years ago
pull.go Deny wrong pull (#13308) 4 years ago
pull_review.go Add review request api (#11355) 4 years ago
release.go [Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
release_attachment.go [Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
release_tags.go Delete tag API (#13358) 4 years ago
repo.go Move Repo APIFormat to convert package (#13787) 4 years ago
repo_test.go Fixes #5960 - Adds API Endpoint for Repo Edit (#7006) 5 years ago
star.go Remove page size limit comment from swagger (#11806) 4 years ago
status.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 4 years ago
subscriber.go Remove page size limit comment from swagger (#11806) 4 years ago
tag.go [API] enable paggination for ListRepoTags (#10454) 4 years ago
topic.go Remove page size limit comment from swagger (#11806) 4 years ago
transfer.go Move Repo APIFormat to convert package (#13787) 4 years ago
tree.go Remove page size limit comment from swagger (#11806) 4 years ago