e50e8ed851
db-tests / files-changed (pull_request) Has been cancelled
docker-dryrun / files-changed (pull_request) Has been cancelled
labeler / labeler (pull_request_target) Has been cancelled
compliance / files-changed (pull_request) Has been cancelled
pr-title / lint-pr-title (pull_request) Has been cancelled
e2e-tests / files-changed (pull_request) Has been cancelled
db-tests / test-pgsql (pull_request) Has been cancelled
db-tests / test-sqlite (pull_request) Has been cancelled
db-tests / test-mysql (pull_request) Has been cancelled
docker-dryrun / container-amd64 (pull_request) Has been cancelled
docker-dryrun / container-arm64 (pull_request) Has been cancelled
docker-dryrun / container-riscv64 (pull_request) Has been cancelled
db-tests / test-mssql (pull_request) Has been cancelled
compliance / lint-on-demand (pull_request) Has been cancelled
compliance / lint-go-windows (pull_request) Has been cancelled
compliance / lint-go-gogit (pull_request) Has been cancelled
compliance / frontend (pull_request) Has been cancelled
compliance / checks-backend (pull_request) Has been cancelled
compliance / backend (pull_request) Has been cancelled
e2e-tests / test-e2e (pull_request) Has been cancelled
db-tests / test-unit (pull_request) Has been cancelled
compliance / lint-backend (pull_request) Has been cancelled
- Add HELP_URL and SUPPORT_URL settings to app.ini (defaults to docs.gitea.com) - Replace hardcoded docs.gitea.com in navbar with configurable HelpURL - Expose HelpURL/SupportURL template functions - Show Help URL and Support URL in Site Admin > Configuration - Add locale strings for new admin config entries - Create VERSION file (gitignored) for local builds with 1261.0.0 convention The 1261.xx.xx version convention marks the fork starting point from upstream Gitea. Set via VERSION file locally or GITEA_VERSION env in CI. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
24 lines
699 B
Go
24 lines
699 B
Go
// Copyright 2024 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package setting
|
|
|
|
// Global settings
|
|
var (
|
|
// RunUser is the OS user that Gitea is running as. ini:"RUN_USER"
|
|
RunUser string
|
|
// RunMode is the running mode of Gitea, it only accepts two values: "dev" and "prod".
|
|
// Non-dev values will be replaced by "prod". ini: "RUN_MODE"
|
|
RunMode string
|
|
// IsProd is true if RunMode is not "dev"
|
|
IsProd bool
|
|
|
|
// AppName is the Application name, used in the page title. ini: "APP_NAME"
|
|
AppName string
|
|
|
|
// HelpURL is the URL shown in the help menu. ini: "HELP_URL"
|
|
HelpURL string
|
|
// SupportURL is the URL for support links. ini: "SUPPORT_URL"
|
|
SupportURL string
|
|
)
|