Commit Graph

66 Commits (074759286580bd40837a9370314f6345770b8582)

Author SHA1 Message Date
Lunny Xiao 12c742f8dc
Fix order by parameter (#19849) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
Peter Gardfjäll 43ff92e122
An attempt to sync a non-mirror repo must give 400 (Bad Request) (#19300) 3 years ago
qwerty287 1563a45623
Fix page and missing return on unadopted repos API (#18848) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
qwerty287 7cc44491fa
Add API to manage repo tranfers (#17963) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Gusted 7743f13bed
Use `f` variant to parse formatting (#17751) 3 years ago
wxiaoguang 013fb73068
Use `hostmatcher` to replace `matchlist`, improve security (#17605) 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
a1012112796 5bb97a12d7
Creating a repo from a template repo via API (#15958) 3 years ago
6543 d5be9ddc97
fix TestAPIRepoTransfer (#16189) 3 years ago
6543 75205b5669
Fix some API bugs (#16184) 3 years ago
6543 b3fbd37e99
[API] expose repo.GetReviewers() & repo.GetAssignees() (#16168) 3 years ago
6543 6ad5d0a306
[API] ListReleases add filter for draft and pre-releases (#16175) 3 years ago
zeripath 6e423d5573
Ensure validation occurs on clone addresses too (#14994) 4 years ago
6543 a4148c0f12
Repository transfer has to be confirmed, if user can not create repo for new owner (#14792) 4 years ago
Elena Neuschild 564030336d
Issues overview should not show issues from archived repos (#13220) 4 years ago
6543 b2435af9be
Add Allow-/Block-List for Migrate & Mirrors (#13610) 4 years ago
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
Kyle Evans e461f0854f
[RFC] Make archival asynchronous (#11296) 4 years ago
John Olheiser b5e974c8a5
Delete tag API (#13358) 4 years ago
6543 fd60ebfe14
[API] Migration: Change ServiceType String (#12672) 4 years ago
6543 fb603825f5
Test ignore migration rate limitation error (#12715) 4 years ago
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
赵智超 7744b36e56
Use a small size repo for migrate test (#12300) 4 years ago
Cirno the Strongest cefbf73aea
Honor DEFAULT_PAGING_NUM for API (#11805) 5 years ago
6543 ad31d6b5e8
Fix release counter on API repository info (#10968) 5 years ago
guillep2k 62a1322cf9
Fix "access" fixtures and tests (#10247) 5 years ago
6543 13bc82009c
API endpoint for repo transfer (#9947) 5 years ago
David Svantesson 9cb418e623 Redirect issue if repo has configured external tracker. (#9247) 5 years ago
zeripath 055f6d2296 Fix "data race" in testlogger (#9159) 5 years ago
David Svantesson 69a255defb Team permission to create repository in organization (#8312) 5 years ago
John Olheiser 74a6add4d9 Template Repositories (#8768) 5 years ago
Lunny Xiao f02138a148 Fix bug when migrate from API (#8631) 5 years ago
guillep2k 72f6d5c882 Restrict repository indexing by glob match (#7767) 5 years ago
zeripath 56ae539bed SearchRepositoryByName improvements and unification (#6897) 6 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905) 6 years ago
Segev Finer 34548369e1 Add API for manipulating Git hooks (#6436) 6 years ago
Mura Li 3186ef554c Support search operators for commits search (#6479) 6 years ago
Bogdan Petrea 583968f274 Return 409 when creating repo if it already exists. (#6330) 6 years ago
Lunny Xiao eabbddcd98
Restrict permission check on repositories and fix some problems (#5314) 6 years ago
Daniel Balko 3379141d81 API: '/orgs/:org/repos': return private repos with read access (#5310) (#3829) (#5383) 6 years ago
Bo-Yi Wu ea20adaa84
feat(repo): support search repository by topic name (#4505) 6 years ago
B-OnTheGo e47df0b301 Enforce token on api routes [fixed critical security issue #4357] (#4840) 6 years ago
SagePtr bf55276189 Fix redirect with non-ascii branch names (#4764) (#4810) 6 years ago