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/models
Allen Wild 15c6bb500b Add repository setting to enable/disable health checks (#3607)
New Feature:
  * Repository struct field for IsFsckEnabled (default true of course)
  * Admin Settings section on repo options page, accessible only by
    admin users

Possible Enhancements:
  * There's no way to force running health checks on all repos
    regardless of their IsFsckEnabled setting. This would be useful if
    there were an admin API or dashboard button to run fsck immediately.

Issue: https://github.com/go-gitea/gitea/issues/1712
Signed-off-by: Allen Wild <allenwild93@gmail.com>
6 years ago
..
fixtures Remove IsOwner, NumTeams from OrgUser (#3269) 7 years ago
migrations Add repository setting to enable/disable health checks (#3607) 6 years ago
access.go Refactor and fix incorrect comment (#1247) 7 years ago
access_test.go Remove unit types commits and settings (#2161) 7 years ago
action.go Set default branchname on first push (#3715) 6 years ago
action_list.go refactor: reduce sql query in retrieveFeeds (#3547) 6 years ago
action_test.go fix: Add feed for organization (#3594) 6 years ago
admin.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
admin_test.go Fix tests code to prevent some runtime errors (#2381) 7 years ago
attachment.go Improve release page UI (#3693) 6 years ago
attachment_test.go Add Attachment API (#3478) 6 years ago
branches.go Add protected branch whitelists for merging (#3689) 6 years ago
branches_test.go Add deleted_branch table fixture (#2832) 7 years ago
consistency.go Fix activity feed (#1779) 7 years ago
error.go Added checks for protected branches in pull requests (#3544) 6 years ago
error_oauth2.go gofmt (#1662) 7 years ago
external_login_user.go Add primary key and index to external login user table (#1656) 7 years ago
git_diff.go Update code.gitea.io/git (#3482) 6 years ago
git_diff_test.go Fix import order (#1951) 7 years ago
gpg_key.go Don't write to log NoCommitterAccount (#3621) 6 years ago
gpg_key_test.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
graph.go fix #1189, commit messages containing a pipe (#1203) 7 years ago
graph_test.go Fix benchmarktests (#557) 8 years ago
helper.go Add reactions to issues/PR and comments (#2856) 7 years ago
issue.go Add issue closed time column to fix activity closed issues list (#3537) 6 years ago
issue_comment.go fix bug when a user delete but assigned on issue (#3318) 7 years ago
issue_comment_test.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
issue_indexer.go Reduce repo indexer disk usage (#3452) 6 years ago
issue_label.go Add label descriptions (#3662) 6 years ago
issue_label_test.go Fix tests code to prevent some runtime errors (#2381) 7 years ago
issue_list.go Remove unnecessary IssueList attribute loads (#2936) 7 years ago
issue_list_test.go Unit tests for issue_list (#1209) 7 years ago
issue_mail.go Issue content should not be updated when closing with comment (#2833) 7 years ago
issue_milestone.go Check ignored errors for issue and milestone count (#3213) 7 years ago
issue_milestone_test.go Add issue closed time column to fix activity closed issues list (#3537) 6 years ago
issue_reaction.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
issue_reaction_test.go Tests for reactions (#3083) 7 years ago
issue_stopwatch.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
issue_stopwatch_test.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
issue_test.go Fix bugs in issue dashboard stats (#3073) 7 years ago
issue_tracked_time.go Improvements for supporting UI Location (#3146) 7 years ago
issue_tracked_time_test.go Feature: Timetracking (#2211) 7 years ago
issue_user.go Replace deprecated Id method with ID (#2655) 7 years ago
issue_user_test.go Move IssueUser code to separate file (#836) 8 years ago
issue_watch.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
issue_watch_test.go Hide unactive on explore users and some refactors (#2741) 7 years ago
lfs.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
lfs_lock.go Fix SSH auth lfs locks (#3152) 7 years ago
login_source.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
mail.go Issue content should not be updated when closing with comment (#2833) 7 years ago
main_test.go Unit tests for wiki routers (#3022) 7 years ago
models.go Add missing indexer doc in configuration (#3324) 7 years ago
models_sqlite.go go vet 10 years ago
models_test.go Cleaner IMO (#1361) 7 years ago
models_tidb.go Remove go version from build tags (#133) 8 years ago
notification.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
notification_test.go Add 'mark all read' option to notifications (#3097) 7 years ago
oauth2.go Replace calls to xorm UseBool with Where (#2237) 7 years ago
org.go Fix remove team member issue (#3566) 6 years ago
org_team.go Fix remove team member issue (#3566) 6 years ago
org_team_test.go Fix ignored errors when checking if organization, team member (#3177) 7 years ago
org_test.go Remove IsOwner, NumTeams from OrgUser (#3269) 7 years ago
pull.go Add protected branch whitelists for merging (#3689) 6 years ago
pull_test.go Fix unit test race condition (#2516) 7 years ago
release.go Add Attachment API (#3478) 6 years ago
repo.go Add repository setting to enable/disable health checks (#3607) 6 years ago
repo_activity.go Add issue closed time column to fix activity closed issues list (#3537) 6 years ago
repo_branch.go Create new branch from branch selection dropdown (#2130) 7 years ago
repo_collaboration.go Reduce usage of allcols on update (#2596) 7 years ago
repo_collaboration_test.go Unit tests for models/repo_collaboration (#1032) 7 years ago
repo_editor.go Code/repo search (#2582) 7 years ago
repo_indexer.go Update code.gitea.io/git (#3482) 6 years ago
repo_issue.go Feature: Timetracking (#2211) 7 years ago
repo_list.go Global code search support (#3664) 6 years ago
repo_list_test.go Add search mode option to /api/repo/search (#2756) 7 years ago
repo_mirror.go fix: if Mirrors repo no content is fetched, updated time should not b… (#3551) 6 years ago
repo_redirect.go Redirects for renamed repos (#807) 8 years ago
repo_redirect_test.go Unit tests for repo redirects (#961) 7 years ago
repo_test.go Fix repo-transfer-and-team-repo-count bug (#3241) 7 years ago
repo_unit.go Add Pull Request merge options - Ignore white-space for conflict checking, Rebase, Squash merge (#3188) 7 years ago
repo_watch.go fix: Add feed for organization (#3594) 6 years ago
repo_watch_test.go Hide unactive on explore users and some refactors (#2741) 7 years ago
ssh_key.go Remove useless check (#3384) 7 years ago
ssh_key_test.go Use assert in legacy unit tests (#867) 8 years ago
star.go refactor: small optimize for sql query (#940) 7 years ago
star_test.go Fix tests code to prevent some runtime errors (#2381) 7 years ago
status.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
status_test.go Fix tests code to prevent some runtime errors (#2381) 7 years ago
test_fixtures.go Integration test framework (#1290) 7 years ago
token.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
token_test.go Fix tests code to prevent some runtime errors (#2381) 7 years ago
twofactor.go Implements generator cli for secrets (#3531) 6 years ago
unit.go Fix implementation of repo Home func (#2601) 7 years ago
unit_tests.go Use unique temp dirs in unit tests (#3494) 6 years ago
update.go Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
update_test.go Fix tests code to prevent some runtime errors (#2381) 7 years ago
user.go Implements generator cli for secrets (#3531) 6 years ago
user_follow.go Refactor session close as xorm already does everything needed internally (#2020) 7 years ago
user_follow_test.go Move user_follow to separate file (#1210) 7 years ago
user_mail.go Replace deprecated Id method with ID (#2655) 7 years ago
user_mail_test.go Fix tests code to prevent some runtime errors (#2381) 7 years ago
user_openid.go Replace deprecated Id method with ID (#2655) 7 years ago
user_openid_test.go Fix tests code to prevent some runtime errors (#2381) 7 years ago
user_test.go Cleanup models.User.HashPassword (#3334) 7 years ago
webhook.go Add sensitive headers (#3429) 7 years ago
webhook_dingtalk.go Add dingtalk webhook (#2777) 7 years ago
webhook_discord.go fix discord hook bug (#2778) 7 years ago
webhook_slack.go Make URL scheme unambiguous (#2408) 7 years ago
webhook_test.go Fix tests code to prevent some runtime errors (#2381) 7 years ago
wiki.go Fix rendering of wiki page list if wiki repo contains other files (#3454) 6 years ago
wiki_test.go Fix rendering of wiki page list if wiki repo contains other files (#3454) 6 years ago