Commit Graph

129 Commits (5495ba7660979973ba19e304786135da474e0e64)

Author SHA1 Message Date
Lunny Xiao 18033f49ba
Restrict email address validation (#17688) 3 years ago
Lauris BH 6392f4691a
API: Return primary language and repository language stats API URL (#18396) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
wxiaoguang 4da1d97810
Refactor HTTP request context (#17979) 3 years ago
qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs (#17968) 3 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 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
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
Lunny Xiao 95d3266bee
Move user follow and openid into models/user/ (#17613) 3 years ago
Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
6543 73394f435c
[API] List limited and private orgs if authentificated (#16866) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
6543 f1a810e090
Related refactors to ctx.FormX functions (#16567) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
zeripath 48c7c880b8
Swagger AccessToken fixes (#16574) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
Patrick Schratz ef395286bf
update `user/repos` api description (#16503) 3 years ago
zeripath b82293270c
Add option to provide signature for a token to verify key ownership (#14054) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
Sergey Dryabzhinsky 22a0636544
Add Visible modes function from Organisation to Users too (#16069) 3 years ago
6543 58501a2682
[API] GET / SET User Settings (#16169) 3 years ago
6543 b3fbd37e99
[API] expose repo.GetReviewers() & repo.GetAssignees() (#16168) 3 years ago
a1012112796 63411309fb
add some reponse status on api docs (#15399) 4 years ago
Lunny Xiao 1fc1d60517
Fix delete nonexist oauth application 500 and prevent deadlock (#15384) 4 years ago
a1012112796 e375cbfd46
rsponse 404 when delete not exist email (#15383) 4 years ago
6543 290cf75f93
[refactor] Unify the export of user data via API (#15144) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
Andrew Bezold bc05ddc0eb
Redirect on changed user and org name (#11649) 4 years ago
zeripath ad1164f73b
Disable SSH key deletion of externally managed Keys (#13985) 4 years ago
6543 a19447aed1
migrate from com.* to alternatives (#14103) 4 years ago
Norwin bdeccc3688
Fix api doc response code (#14123) 4 years ago
Norwin f6bec85296
rework heatmap permissions (#14080) 4 years ago
6543 7ac8a770e1
Move Repo APIFormat to convert package (#13787) 4 years ago
Chris Shyi d025d84d91
Add email validity check (#13475) 4 years ago
6543 d5b6931dbe
[API] Delete Token accept names too (#12366) 4 years ago
zeripath 7c2cf236f8
Allow addition of gpg keyring with multiple keys (#12487) 4 years ago
zeripath 2ef318e6f1
Add Access-Control-Expose-Headers (#12446) 4 years ago
Clark Boylan 7e401fb026
Fix repo API listing stability (#12057) 4 years ago
Cirno the Strongest 81324cf37c
Add pagination headers on endpoints that support total count from database (#11145) 4 years ago
Cirno the Strongest 0159851cc3
Rework api/user/repos for pagination (#11827) 4 years ago
Cirno the Strongest 27a6e03906
Remove page size limit comment from swagger (#11806) 4 years ago
6543 560744fb33
Handle expected errors in AddGPGkey API (#11644) 4 years ago
6543 ab69b9b1a6
Refactor UpdateOAuth2Application (#11034) 5 years ago