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
..
activity.go Add top author stats to activity page (#9615) 5 years ago
attachment.go Attachments: Add extension support, allow all types for releases (#12465) 4 years ago
blame.go Show dropdown with all statuses for commit (#13977) 4 years ago
branch.go Refactor: Move PushUpdateOptions (#13363) 4 years ago
commit.go Show dropdown with all statuses for commit (#13977) 4 years ago
compare.go Fix label display on new issues (#13590) 4 years ago
download.go Update golangci-lint to version 1.31.0 (#13102) 4 years ago
editor.go Return the full rejection message and errors in flash errors (#13221) 4 years ago
editor_test.go Add Close() method to gogitRepository (#8901) 5 years ago
http.go Log IP on SSH authentication failure for Built-in SSH server (#13150) 4 years ago
issue.go Show dropdown with all statuses for commit (#13977) 4 years ago
issue_dependency.go Fix wrong permissions check when issues/prs shared operations (#9885) 5 years ago
issue_label.go Move jquery-minicolors to npm/webpack (#12305) 4 years ago
issue_label_test.go fix go vet error (#3740) 6 years ago
issue_lock.go Implement "conversation lock" for issue comments (#5073) 5 years ago
issue_stopwatch.go Automatically clear stopwatch on merging a PR (#4327) 5 years ago
issue_test.go Refactor combine label comments with tests (#13619) 4 years ago
issue_timetrack.go [API] Extend times API (#9200) 5 years ago
issue_watch.go Fix PR/issue redirects when having external tracker (#9339) 5 years ago
lfs.go Use native git variants by default with go-git variants as build tag (#13673) 4 years ago
main_test.go Unit tests for wiki routers (#3022) 7 years ago
middlewares.go Add gitea-vet (#10948) 4 years ago
migrate.go Added option to disable migrations (#13114) 4 years ago
milestone.go Issue templates directory (#11450) 4 years ago
projects.go Added title and action buttons to Project view page (#13437) 4 years ago
pull.go Show status check for merged PRs (#13975) 4 years ago
pull_review.go Add a way to mark Conversation (code comment) resolved (#11037) 4 years ago
release.go Add the tag list page to the release page (#12096) 4 years ago
release_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repo.go [RFC] Make archival asynchronous (#11296) 4 years ago
search.go Add detected file language to code search (#10256) 4 years ago
setting.go Use monaco for the git hook editor (#13552) 4 years ago
setting_protected_branch.go Add block on official review requests branch protection (#13705) 4 years ago
settings_test.go Disable DSA ssh keys by default (#13056) 4 years ago
topic.go Add API endpoint for accessing repo topics (#7963) 5 years ago
view.go Show dropdown with all statuses for commit (#13977) 4 years ago
webhook.go Fix broken migration on webhook (#13911) 4 years ago
wiki.go Allow different HardBreaks settings for documents and comments (#11515) 4 years ago
wiki_test.go Fix wiki raw view on sub path (#10002) 4 years ago