loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Increase max length of org team names from 30 to 255 characters (#31410)

This PR modifies the structs for editing and creating org teams to allow
team names to be up to 255 characters. The previous maximum length was
30 characters.

(cherry picked from commit 1c26127b520858671ce257c7c9ab978ed1e95252)

authored by

Tobias Balle-Petersen and committed by
Earl Warren
cdefd617 75bbca68

+2 -2
+2 -2
modules/structs/org_team.go
··· 24 24 // CreateTeamOption options for creating a team 25 25 type CreateTeamOption struct { 26 26 // required: true 27 - Name string `json:"name" binding:"Required;AlphaDashDot;MaxSize(30)"` 27 + Name string `json:"name" binding:"Required;AlphaDashDot;MaxSize(255)"` 28 28 Description string `json:"description" binding:"MaxSize(255)"` 29 29 IncludesAllRepositories bool `json:"includes_all_repositories"` 30 30 // enum: read,write,admin ··· 40 40 // EditTeamOption options for editing a team 41 41 type EditTeamOption struct { 42 42 // required: true 43 - Name string `json:"name" binding:"AlphaDashDot;MaxSize(30)"` 43 + Name string `json:"name" binding:"AlphaDashDot;MaxSize(255)"` 44 44 Description *string `json:"description" binding:"MaxSize(255)"` 45 45 IncludesAllRepositories *bool `json:"includes_all_repositories"` 46 46 // enum: read,write,admin