2022-01-21 18:59:26 +01:00
|
|
|
// Copyright 2021 The Gitea Authors. All rights reserved.
|
2022-11-27 13:20:29 -05:00
|
|
|
// SPDX-License-Identifier: MIT
|
2022-01-21 18:59:26 +01:00
|
|
|
|
|
|
|
|
package user
|
|
|
|
|
|
|
|
|
|
const (
|
2022-02-08 17:15:04 +11:00
|
|
|
// SettingsKeyHiddenCommentTypes is the setting key for hidden comment types
|
2022-01-21 18:59:26 +01:00
|
|
|
SettingsKeyHiddenCommentTypes = "issue.hidden_comment_types"
|
2022-02-08 17:15:04 +11:00
|
|
|
// SettingsKeyDiffWhitespaceBehavior is the setting key for whitespace behavior of diff
|
|
|
|
|
SettingsKeyDiffWhitespaceBehavior = "diff.whitespace_behaviour"
|
2025-09-13 10:34:43 -04:00
|
|
|
// SettingsKeyShowOutdatedComments is the setting key whether or not to show outdated comments in PRs
|
2023-06-21 18:08:12 +02:00
|
|
|
SettingsKeyShowOutdatedComments = "comment_code.show_outdated"
|
2025-03-15 16:26:49 +08:00
|
|
|
|
2024-09-09 17:05:16 -04:00
|
|
|
// SignupIP is the IP address that the user signed up with
|
|
|
|
|
SignupIP = "signup.ip"
|
|
|
|
|
// SignupUserAgent is the user agent that the user signed up with
|
|
|
|
|
SignupUserAgent = "signup.user_agent"
|
2025-03-15 16:26:49 +08:00
|
|
|
|
|
|
|
|
SettingsKeyCodeViewShowFileTree = "code_view.show_file_tree"
|
2025-07-16 09:54:31 +08:00
|
|
|
|
|
|
|
|
SettingsKeyEmailNotificationGiteaActions = "email_notification.gitea_actions"
|
|
|
|
|
SettingEmailNotificationGiteaActionsAll = "all"
|
|
|
|
|
SettingEmailNotificationGiteaActionsFailureOnly = "failure-only" // Default for actions email preference
|
|
|
|
|
SettingEmailNotificationGiteaActionsDisabled = "disabled"
|
2026-03-21 23:39:47 +01:00
|
|
|
|
|
|
|
|
SettingsKeyActionsConfig = "actions.config"
|
2022-01-21 18:59:26 +01:00
|
|
|
)
|