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/models/user
Andreas Fischer 9862936ed3
Make e-mail sanity check more precise (#20991)
For security reasons, all e-mail addresses starting with
non-alphanumeric characters were rejected. This is too broad and rejects
perfectly valid e-mail addresses. Only leading hyphens should be
rejected -- in all other cases e-mail address specification should
follow RFC 5322.

Co-authored-by: Andreas Fischer <_@ndreas.de>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2 years ago
..
avatar.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
badge.go Add badge capabilities to users (#20607) 2 years ago
email_address.go Make e-mail sanity check more precise (#20991) 2 years ago
email_address_test.go Make e-mail sanity check more precise (#20991) 2 years ago
error.go Move user related model into models/user (#17781) 3 years ago
external_login_user.go add test coverage for original author conversion during migrations (#18506) 2 years ago
follow.go Use neutral language in comments and docs (#20135) 2 years ago
follow_test.go Move tests as seperate sub packages to reduce duplicated file names (#19951) 2 years ago
list.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
main_test.go Move tests as seperate sub packages to reduce duplicated file names (#19951) 2 years ago
openid.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
openid_test.go Move tests as seperate sub packages to reduce duplicated file names (#19951) 2 years ago
redirect.go Move EmailAddress & UserRedirect into models/user/ (#17607) 3 years ago
redirect_test.go Move tests as seperate sub packages to reduce duplicated file names (#19951) 2 years ago
search.go Add migrate repo archiver and packages storage support on command line (#20757) 2 years ago
setting.go Add config options to hide issue events (#17414) 2 years ago
setting_keys.go User keypairs and HTTP signatures for ActivityPub federation using go-ap (#19133) 2 years ago
setting_test.go Move tests as seperate sub packages to reduce duplicated file names (#19951) 2 years ago
user.go Check if email is used when updating user (#21289) 2 years ago
user_test.go Check if email is used when updating user (#21289) 2 years ago
user_update.go Move some files into models' sub packages (#20262) 2 years ago