@(info: Option[Any])(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.util.DatabaseConfig

Property | Value
--- | ---
GITBUCKET_VERSION | @gitbucket.core.GitBucketCoreModule.getVersions.last.getVersion
GITBUCKET_HOME | @gitbucket.core.util.Directory.GitBucketHome
DATABASE_URL @if(DatabaseConfig.url.startsWith("jdbc:h2:")) { | @gitbucket.core.util.DatabaseConfig.url GitBucket is using the embedded H2 database. It's recommended that you configure GitBucket to use an external database if you're running GitBucket in a production environment. }else{ | @gitbucket.core.util.DatabaseConfig.url }

Base URL (e.g. `http://example.com/gitbucket`)

The base URL is used for redirects, notification emails, git repository URL boxes, and more. If the base URL is empty, GitBucket generates the URL from the request information. You can use this property to adjust to URL differences between a reverse proxy and GitBucket.

Site notification (Supports HTML)
@context.settings.information

Default branch

AdminLTE skin name
Skin name

User-defined CSS
@context.settings.userDefinedCss

Account registration
Allow - Users can create accounts by themselves. Deny - Only administrators can create accounts.

Reset password
Allow - Allow users to reset password. (SMTP setting is required) Deny - Doesn't allow users to reset password.

Repository operation
Create
All users - All users can create repository. Admin only - Only administrators can create repository.
Delete
All users - All users can delete repository. Admin only - Only administrators can delete repository.
Rename
All users - All users can rename repository. Admin only - Only administrators can rename repository.
Transfer
All users - All users can transfer repository. Admin only - Only administrators can transfer repository.
Fork
All users - All users can fork repository. Admin only - Only administrators can fork repository.

Default visibility when creating a new repository
Public - All users and guests can read the repository. Private - Only collaborators can read the repository.

Anonymous access
Allow - Anyone can view public repositories and user/group profiles. Deny - Users must authenticate before viewing any information.

Show mail address
Show - Anyone can view mail address by user's profile page. Hide - Hide mail address in user's profile page.

File upload
Max size
Timeout
Max size for large files
Timeout for large files

Show repositories in sidebar
All - Show all visible repositories in sidebar. Limited - Show only owned repositories in sidebar.

Repository viewer
Max files in directory

If the number of files in the directory is bigger than this number, GitBucket doesn't show detailed commit info on the repository viewer because it can make the entire system quite heavy. 0 or negative number means no limitation.

Max files in diff

Avoid showing diff to prevent browser freezes if number of files in diff is bigger than this value. 0 or negative number means no limitation.

Max lines in diff

Avoid showing diff to prevent browser freezes if lines of diff in a file is bigger than this value. 0 or negative number means no limitation.