156 Commits (7c555b2231cd199954b5e841b51f972552782f74)

Author SHA1 Message Date
  silverwind 24e64fe372
Replace `interface{}` with `any` (#25686) (#25687) 1 year ago
  Giteabot 203fe2841d
Fix `Permission` in API returned repository struct (#25388) (#25441) 1 year ago
  wxiaoguang 6b33152b7d
Decouple the different contexts from each other (#24786) 1 year ago
  Zettat123 6b0df6d8da
Add activity feeds API (#23494) 1 year ago
  yp05327 d74a7efb60
Use context for `RepositoryList.LoadAttributes` (#23435) 1 year ago
  KN4CK3R 2173f14708
Add user webhooks (#21563) 1 year ago
  zeripath d2128b44f7
Add scopes to API to create token and display them (#22989) 1 year ago
  yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 1 year ago
  Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 1 year ago
  KN4CK3R a35749893b
Move `convert` package to services (#22264) 1 year ago
  Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 1 year ago
  flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 1 year ago
  KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 1 year ago
  M Hickford 191a74d622
Record OAuth client type at registration (#21316) 1 year ago
  John Olheiser a48d6ba4b4
Go 1.19 format (#20758) 1 year ago
  Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 1 year ago
  zeripath 11bae50484
Pad GPG Key ID with preceding zeroes (#20878) 1 year ago
  zeripath 45f17528a8
Only show Followers that current user can access (#20220) 2 years ago
  Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 years ago
  Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
  Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 2 years ago
  Gusted f4c1aa75be
Fix DELETE request for non-existent public key (#19443) 2 years ago
  Gusted 23d37673bd
Don't panic on `ErrEmailInvalid` (#19441) 2 years ago
  Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 2 years ago
  KN4CK3R 59b867dc2d
Add `ContextUser` to http request context (#18798) 2 years ago
  wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
  KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
  Lunny Xiao 18033f49ba
Restrict email address validation (#17688) 2 years ago
  Lauris BH 6392f4691a
API: Return primary language and repository language stats API URL (#18396) 2 years ago
  6543 54e9ee37a7
format with gofumpt (#18184) 2 years ago
  Lunny Xiao de8e3948a5
Refactor auth package (#17962) 2 years ago
  wxiaoguang 4da1d97810
Refactor HTTP request context (#17979) 2 years ago
  qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs (#17968) 2 years ago
  Lunny Xiao 5723240490
Some repository refactors (#17950) 2 years ago
  Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 2 years ago
  Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 2 years ago
  Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 2 years ago
  Lunny Xiao 371ebce252
Fix database inconsistent when admin change user email (#17549) 2 years ago
  Lunny Xiao a666829a37
Move user related model into models/user (#17781) 2 years ago
  Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 2 years ago
  Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 2 years ago
  Lunny Xiao 95d3266bee
Move user follow and openid into models/user/ (#17613) 2 years ago
  Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 2 years ago
  Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 2 years ago
  6543 73394f435c
[API] List limited and private orgs if authentificated (#16866) 2 years ago
  6543 2289580bb7
[API] generalize list header (#16551) 2 years ago
  6543 f1a810e090
Related refactors to ctx.FormX functions (#16567) 2 years ago
  6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 2 years ago
  zeripath 48c7c880b8
Swagger AccessToken fixes (#16574) 2 years ago
  Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 2 years ago