summaryrefslogtreecommitdiffstats
path: root/services/forms
diff options
context:
space:
mode:
authorMichael Jerger <michael.jerger@meissa-gmbh.de>2024-05-24 13:28:15 +0200
committerMichael Jerger <michael.jerger@meissa-gmbh.de>2024-05-24 13:28:15 +0200
commit82cb9e0203777a28a792cb29a709f0e62ae1b778 (patch)
treef30f0ba72ede4618fb431b40afc675ef5cbcfc8b /services/forms
parentMerge pull request 'Update dependency @playwright/test to v1.44.1' (#3879) fr... (diff)
downloadforgejo-82cb9e0203777a28a792cb29a709f0e62ae1b778.tar.xz
forgejo-82cb9e0203777a28a792cb29a709f0e62ae1b778.zip
ui for adding following repos
Diffstat (limited to 'services/forms')
-rw-r--r--services/forms/repo_form.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/forms/repo_form.go b/services/forms/repo_form.go
index e4fcf8e0c0..1bc06b1b9a 100644
--- a/services/forms/repo_form.go
+++ b/services/forms/repo_form.go
@@ -1,3 +1,4 @@
+// Copyright 2024 The Forgejo Authors. All rights reserved.
// Copyright 2014 The Gogs Authors. All rights reserved.
// Copyright 2017 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
@@ -113,6 +114,7 @@ type RepoSettingForm struct {
RepoName string `binding:"Required;AlphaDashDot;MaxSize(100)"`
Description string `binding:"MaxSize(2048)"`
Website string `binding:"ValidUrl;MaxSize(1024)"`
+ FederationRepos string
Interval string
MirrorAddress string
MirrorUsername string