Commit Graph

76 Commits (1ed8e6aa5fad235506f211daa9dffd448d9d5ad4)

Author SHA1 Message Date
wxiaoguang fb1ad920b7
Refactor sha1 and time-limited code (#31023) 6 months ago
wxiaoguang bffbbf5470
Improve oauth2 client "preferred username field" logic and the error handling (#30622) 7 months ago
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 7 months ago
Jack Hay 59d4aadba5
Add setting to disable user features when user login type is not plain (#29615) 8 months ago
pengqiseven 7f856d5d74
remove repetitive words (#29695) 9 months ago
Zettat123 4fd9c56ed0
Skip email domain check when admin users adds user manually (#29522) 9 months ago
KN4CK3R c337ff0ec7
Add user blocking (#29028) 9 months ago
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 9 months ago
6543 7fbdb60fc1
Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) 9 months ago
KN4CK3R 155269fa58
Remove unused `KeyID`. (#29167) 9 months ago
Gwyneth Morgan 5b2fd0fc19
Drop "@" from email sender to avoid spam filters (#29109) 10 months ago
KN4CK3R f8b471ace1
Unify user update methods (#28733) 10 months ago
Gwyneth Morgan 360b3fd17c
Include username in email headers (#28981) 10 months ago
yp05327 ce0225c1b8
Forbid removing the last admin user (#28337) 10 months ago
yp05327 b820019fec
Fix when private user following user, private user will not be counted in his own view (#28037) 10 months ago
Kyle D 54acf7b0d4
Normalize oauth email username (#28561) 11 months ago
Nanguan Lin 881806a50b
Replace -1 with GhostUserID (#27703) 1 year ago
24601 624c0ba920
fix: comment typo (#27388) 1 year ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
JakobDev ea385f5d39
Fix API leaking Usermail if not logged in (#25097) 1 year ago
puni9869 2af30f715e
Fix inconsistent user profile layout across tabs (#25625) 1 year ago
Lunny Xiao 6e19484f4d
Sync branches into databases (#22743) 1 year ago
Yarden Shoham abccb86b36
Show `bot` label next to username when rendering autor link if the user is a bot (#24943) 2 years ago
谈笑风生间 309354c70e
New webhook trigger for receiving Pull Request review requests (#24481) 2 years ago
Lunny Xiao a523bd5889
Only validate changed columns when update user (#24867) 2 years ago
wxiaoguang 4647660776
Rewrite logger system (#24726) 2 years ago
Lunny Xiao c59a057297
Refactor rename user and rename organization (#24052) 2 years ago
yp05327 cc64a92560
Add follow organization and fix the logic of following page (#24345) 2 years ago
Infinoid 949ba4894b
Fix comment for EmailNotificationsAndYourOwn constant (#24236) 2 years ago
techknowlogick 1819c4b59b
Add new user types `reserved`, `bot`, and `remote` (#24026) 2 years ago
6543 2b91841cd3
Reserve ".png" suffix for user/org names (#23992) 2 years ago
techknowlogick 03591f0f95
add user rename endpoint to admin api (#22789) 2 years ago
yp05327 cf29ee6dd2
Add missing tabs to org projects page (#22705) 2 years ago
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