This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/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 Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
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 Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
env.go
fork.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
generate.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
generate_test.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
hooks.go Executable check always returns true for windows (#20637) 2022-08-04 15:28:32 +08:00
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