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.
forgejo/modules/structs
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
..
admin_user.go API: Admin EditUser: Make FullName, Email, Website & Location optional (#13562) 4 years ago
attachment.go Fix wrong hint when status checking is running on pull request view (#9886) 4 years ago
commit_status.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 4 years ago
cron.go Add cron running API (#12421) 4 years ago
doc.go Move sdk structs to modules/structs (#6905) 5 years ago
fork.go Move sdk structs to modules/structs (#6905) 5 years ago
git_blob.go Move sdk structs to modules/structs (#6905) 5 years ago
git_hook.go Move sdk structs to modules/structs (#6905) 5 years ago
hook.go Update golangci-lint to version 1.31.0 (#13102) 4 years ago
issue.go [API] Add ref to create/edit issue options & deprecated assignee (#13992) 4 years ago
issue_comment.go Display original author and URL information when showing migrated issues/comments (#7352) 5 years ago
issue_label.go [API] Fix inconsistent label color format (#10129) 4 years ago
issue_milestone.go Add Created & Updated to Milestone (#12662) 4 years ago
issue_reaction.go [API] Fix 9544 | return 200 when reaction already exist (#9550) 5 years ago
issue_stopwatch.go additional data for type StopWatch in swagger api (#12458) 4 years ago
issue_tracked_time.go [API] Extend times API (#9200) 5 years ago
lfs_lock.go Move sdk structs to modules/structs (#6905) 5 years ago
miscellaneous.go API method to list all commits of a repository (#6408) 5 years ago
notifications.go API: NotificationSubject show Issue/Pull State (#12901) 4 years ago
org.go Add teams to repo on collaboration page. (#8045) 5 years ago
org_member.go Move sdk structs to modules/structs (#6905) 5 years ago
org_team.go [API] orgEditTeam make Fields optional (#9556) 5 years ago
org_type.go Fixes #7023 - API Org Visibility (#7028) 5 years ago
pull.go Add option to API to update PullRequest base branch (#11666) 4 years ago
pull_review.go Add review request api (#11355) 4 years ago
release.go Add single release page and latest redirect (#11102) 4 years ago
repo.go Gitea 2 Gitea migration (#12657) 4 years ago
repo_branch.go Add block on official review requests branch protection (#13705) 4 years ago
repo_collaborator.go Move sdk structs to modules/structs (#6905) 5 years ago
repo_commit.go [#13004] Add Timestamp to Tag list API (#13026) 4 years ago
repo_file.go [API] Extend contents with dates (#9464) 5 years ago
repo_key.go Move sdk structs to modules/structs (#6905) 5 years ago
repo_refs.go Move sdk structs to modules/structs (#6905) 5 years ago
repo_tag.go Fixes #2738 - Adds the /git/tags API endpoint (#7138) 5 years ago
repo_topic.go Add API endpoint for accessing repo topics (#7963) 5 years ago
repo_tree.go Move sdk structs to modules/structs (#6905) 5 years ago
repo_watch.go Move sdk structs to modules/structs (#6905) 5 years ago
settings.go Added option to disable migrations (#13114) 4 years ago
status.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 4 years ago
task.go Move migrating repository from frontend to backend (#6200) 5 years ago
user.go Add LastLogin to the User API (#7196) 5 years ago
user_app.go Remove Unused Functions (#10516) 4 years ago
user_email.go Move sdk structs to modules/structs (#6905) 5 years ago
user_gpgkey.go Move sdk structs to modules/structs (#6905) 5 years ago
user_key.go Move sdk structs to modules/structs (#6905) 5 years ago