0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 08:45:04 +01:00
gitea/modules/repository
wxiaoguang 395f65c65a
Remove unnecessary length check for repo's Description & Website (#21194)
Follows #21119

The manual length check doesn't make sense nowadays:
1. The length check is already done by form's `binding:MaxSize` (then the manual check is unnecessary)
2. The CreateRepository doesn't have such check (then the manual check is inconsistent)

So this PR removes these manual length checks.
2022-09-18 10:35:24 +08:00
..
collaborator.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
collaborator_test.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
commits.go
commits_test.go
create.go Remove unnecessary length check for repo's Description & Website (#21194) 2022-09-18 10:35:24 +08:00
create_test.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
delete.go
env.go
fork.go
generate.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
generate_test.go
hooks.go
init.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
main_test.go
push.go
repo.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
temp.go