You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
2 years ago
..
collaborator.go Move some files into models' sub packages (#20262) 2 years ago
collaborator_test.go Move some files into models' sub packages (#20262) 2 years ago
commits.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
commits_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
create.go Remove unnecessary length check for repo's Description & Website (#21194) 2 years ago
create_test.go Move some files into models' sub packages (#20262) 2 years ago
delete.go Move some repository related code into sub package (#19711) 2 years ago
env.go Move some helper files out of models (#19355) 2 years ago
fork.go Move some repository related code into sub package (#19711) 2 years ago
generate.go Move some files into models' sub packages (#20262) 2 years ago
generate_test.go Move some repository related code into sub package (#19711) 2 years ago
hooks.go Executable check always returns true for windows (#20637) 2 years ago
init.go Move some files into models' sub packages (#20262) 2 years ago
main_test.go Use a struct as test options (#19393) 2 years ago
push.go Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
repo.go Move some files into models' sub packages (#20262) 2 years ago
temp.go Move some helper files out of models (#19355) 2 years ago