Commit Graph

42 Commits (ced94f2e0df249d1779f349e11922bfad61cba67)

Author SHA1 Message Date
zeripath 61b89747ed
Provide the ability to set password hash algorithm parameters (#22942) 2 years ago
Sybren aa45777c92
Allow custom "created" timestamps in user creation API (#22549) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
Jason Song 4011821c94
Implement actions (#21937) 2 years ago
Sybren 326d29dce0
Reliable selection of admin user (#22509) 2 years ago
Xinyu Zhou 7cc7db73b9
Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
Jason Song 9607750b5e
Replace fmt.Sprintf with hex.EncodeToString (#21960) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
wxiaoguang 2900dc90a7
Improve valid user name check (#20136) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
Alexander Shimchik 1d3095b718
Check if email is used when updating user (#21289) 2 years ago
KN4CK3R 1b630ff7cd
Fix user visible check (#21210) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Tyrone Yeh 3bd8f50af8
Added email notification option to receive all own messages (#20179) 2 years ago
Tyrone Yeh 931c02d152
Add order by for assignee no sort issue (#20053) 2 years ago
zeripath 45f17528a8
Only show Followers that current user can access (#20220) 2 years ago
Baekjun Kim c4368fc6bc
Display full name (#20171) 2 years ago
Gusted 711cbcce8d
Use neutral language in comments and docs (#20135) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
6543 e2a3f3d259
Federation: return useful statistic information for nodeinfo (#19561) 3 years ago
Jimmy Praet 5aebc4f000
Respect DefaultUserIsRestricted system default when creating new user (#19310) 3 years ago
Gusted 43332a483f
Update reserved usernames list (#18438) 3 years ago
KN4CK3R 1d332342db
Add Package Registry (#16510) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
Lunny Xiao 18033f49ba
Restrict email address validation (#17688) 3 years ago
Gusted 33e19c8004
Don't update email for organisation (#18905) 3 years ago
Lunny Xiao 6621710deb
Fix update user (#18878) 3 years ago
Lunny Xiao f1b1472632
Fix ldap user sync missed email in email_address table (#18786) 3 years ago
Lunny Xiao dc988eae0c
Fix bug for get user by email (#18833) 3 years ago
Gusted 7a42e35741
Pass correct context (#18638) 3 years ago
singuliere 8bd89ca294
preserve users if restoring a repository on the same Gitea instance (#18604) 3 years ago
wxiaoguang 49dd906753
Use base32 for 2FA scratch token (#18384) 3 years ago
Lunny Xiao 67d73882f4
Fix update user bug (#18250) 3 years ago
Gusted 623c93ff46
Increase Salt randomness (#18179) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
zeripath 8354670708
Prevent hang in git cat-file if repository is not a valid repository and other fixes (#17991) 3 years ago
a1012112796 ba57e30f13
fix 500 error while use a reserved name in org rename (#17878) 3 years ago
Lunny Xiao 371ebce252
Fix database inconsistent when admin change user email (#17549) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago
techknowlogick 499b05da22
Add user settings key/value DB table (#16834) 3 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
KN4CK3R f34151bdb2
Move user/org deletion to services (#17673) 3 years ago
Lunny Xiao 3c3855a05c
Move user functions into user.go (#17659) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
Lunny Xiao 95d3266bee
Move user follow and openid into models/user/ (#17613) 3 years ago