Commit Graph

726 Commits (mj-v1.14.3)

Author SHA1 Message Date
6543 b9ed8d8497
make branch parameter optional for /api/v1/repos/{owner}/{repo}/contents/{filepath} (#11067)
4 years ago
CirnoT d2693f18de
Support organization labels for PRs in API (#11135)
4 years ago
6543 3c5a4d094a
[API] Add branch delete (#11112)
4 years ago
CirnoT 38d5f88a81
Add X-Total-Count on /repos/{owner]/{repo}/pulls API (#11113)
4 years ago
6543 c52d48aae4
Prevent merge of outdated PRs on protected branches (#11012)
4 years ago
6543 70fab7e26a
document 404 responce and meaning (#11073)
4 years ago
zeripath 2e85ad665a
Contents API should return 404 on not exist (#10323)
4 years ago
6543 ad5c43ae5d
Reject duplicate AccessToken names (#10994)
4 years ago
6543 0dadea19bc
[Api] Check Notify (always return json) (#10059)
4 years ago
Dan Molik 743022116d
Add Get/Update for api/v1/user/applications/oauth2 (#11008)
4 years ago
j.yao.SUSE b40107c416
[suggest] change merge strategy: do not check write access if user in merge white list (#10951)
4 years ago
6543 3d63caa542
[API] Get a single commit via Ref (#10915)
4 years ago
John Olheiser baadb51445
Add gitea-vet (#10948)
4 years ago
mrsdizzie 8d99ee2773
Add Organization Wide Labels (#10814)
4 years ago
Lunny Xiao f490291bea
Use subquery to instead In (#10874)
4 years ago
zeripath 48890ce546
Allow site admin to check /api/v1/orgs endpoints (#10867)
4 years ago
zeripath 7cd47046ea
Handle push rejection in branch and upload (#10854)
4 years ago
Lauris BH bbd910ed1b
Allow to set protected file patterns that can not be changed under no conditions (#10806)
4 years ago
zeripath 52cfd2743c
Option to set default branch at repository creation (#10803)
4 years ago
Lunny Xiao dcaa5643d7
Fix branch api canPush and canMerge (#10776)
4 years ago
zeripath 33c5e5e7fa
Prevent panic in stopwatch (#10670)
4 years ago
John Olheiser 3f1c0841cb
Granular webhook events (#9626)
4 years ago
Lunny Xiao 5abe1c52de
Display pull request head branch even the branch deleted or repository deleted (#10413)
4 years ago
6543 4160bd6ef1
Remove Unused Functions (#10516)
4 years ago
Gustavo Marin af61b2249a
adds API endpoints to manage OAuth2 Application (list/create/delete) (#10437)
4 years ago
6543 7e8cdba181
[Refactor] move APIFormat() of Issue and Label to convert package (#10423)
4 years ago
John Olheiser 78585b1cd7
Fix double PR notification from API (#10482)
4 years ago
6543 084a2b0026
Code Refactor of IssueWatch related things (#10401)
4 years ago
6543 4427a936b4
[API] enable paggination for ListRepoTags (#10454)
4 years ago
6543 39b507e3c4
Trigger webhooks on issue label-change via API too (#10421)
4 years ago
guillep2k 09dbd85a3a
Various fixes in login sources (#10428)
4 years ago
zeripath 089ccb0c80
Handle push rejection message in Merge & Web Editor (#10373)
4 years ago
David Svantesson 9ff4e1d2d9
Add API branch protection endpoint (#9311)
4 years ago
6543 585316f3bf
[API] let admin check org membership on other users (#10201)
4 years ago
6543 e273817154
[API] Fix inconsistent label color format (#10129)
4 years ago
6543 ea50f60df2
Prevent DeleteUser API abuse (#10125)
4 years ago
6543 13bc82009c
API endpoint for repo transfer (#9947)
4 years ago
Lunny Xiao c09e020558
Fix milestone API state parameter unhandled (#10049)
4 years ago
6543 f29c301040
Refactor api repo dir (#10048)
4 years ago
Andy Harrison d879353632 Minor typo fix (#10043)
4 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452)
4 years ago
Lunny Xiao 81daf26878
Fix wrong hint when status checking is running on pull request view (#9886)
4 years ago
Lunny Xiao 6d6f1d568e Fix wrong permissions check when issues/prs shared operations (#9885)
4 years ago
Lunny Xiao f540d0ac87
Fix issues/pulls dependencies problems (#9842)
4 years ago
David Svantesson 3c07d03c03 Add setting to set default and global disabled repository units. (#8788)
4 years ago
Lunny Xiao dbd89acf98 Remove unnecessary permissions load (#9796)
4 years ago
Lunny Xiao 2b3e931cde Migrate reactions when migrating repository from github (#9599)
4 years ago
zeripath 66ee9b87f9 Add require signed commit for protected branch (#9708)
4 years ago
6543 44de66bf50 [API] add endpoint to check notifications [Extend #9488] (#9595)
4 years ago
Lunny Xiao 2677d071f9
Move newbranch to standalone package (#9627)
4 years ago
Manush Dodunekov 1751d5fcf2 Restricted users (#6274)
4 years ago
6543 0b3aaa6196 [API] Add "before" query to ListIssueComments and ListRepoIssue… (#9685)
4 years ago
6543 10055bd2b1 [API] add GET /orgs endpoint (#9560)
4 years ago
Lunny Xiao b465d0d787
Move create/fork repository from models to modules/repository (#9489)
4 years ago
6543 83f9359a75 [BugFix] [API] ​/repos​/issues​/search (#9698)
4 years ago
David Svantesson 32fb813133 Allow repo admin to merge PR regardless of review status (#9611)
4 years ago
Lunny Xiao 4d06d10dba Move tracked time api convert to convert package (#9665)
4 years ago
Ryan 438e159d04 Remove deprecation comment for CreateOrgRepo (#9670)
4 years ago
Lunny Xiao 7a3a90aca3
Fix wrong original git service type on a migrated repository (#9693)
4 years ago
Lunny Xiao 384c2b342e
Move pull request api convert to convert package (#9664)
4 years ago
6543 e8ea0695b0 [API] creat org repo call same as github (#9186)
4 years ago
6543 1080c768d3 [API] orgEditTeam make Fields optional (#9556)
4 years ago
6543 6baa5d7588 [API] Add notification endpoint (#9488)
4 years ago
6543 14a9687444 times Add filters (#9373)
4 years ago
6543 e88d67b774 [API] add comments endpoint for single comment (#9494)
4 years ago
6543 bcac7cb934 fix swagger description of reaction API (#9617)
4 years ago
6543 134e3fdf3d [API] dont reqToken on GetReactions (fix #9543) (#9548)
4 years ago
6543 c620eb5b2d Fix #9189 - API Allow only specific Colums to be updated on Issue (#9539)
4 years ago
6543 9600c27085 [API] Fix 9544 | return 200 when reaction already exist (#9550)
4 years ago
zeripath 27757714d0 Change markdown rendering from blackfriday to goldmark (#9533)
4 years ago
6543 f2d03cda96 [API] Extend times API (#9200)
4 years ago
6543 40e99ea010 [API] Extend contents with dates (#9464)
4 years ago
John Olheiser e6ceb6880a Prefix all user-generated IDs in markup (#9477)
4 years ago
6543 2848c5eb8f Swagger info corrections (#9441)
4 years ago
John Olheiser f5a25d5349 Fix NewCommitStatus (#9434)
4 years ago
Lunny Xiao ffc904b1e0 Sleep longer if request speed is over github limitation (#9335)
4 years ago
Lunny Xiao ce2d488c94 Move PushToBaseRepo from models to services/pull (#9352)
4 years ago
zeripath 74179d1b5e Remove SavePatch and generate patches on the fly (#9302)
4 years ago
6543 aceb1085c7 [API] extend StopWatch (#9196)
4 years ago
6543 37e10d4543 [API] Add Reactions (#9220)
4 years ago
Lunny Xiao e3081c667a
Only show part of members on orgnization dashboard and add paging for orgnization members page (#9092)
4 years ago
Jordan ba9a2d2abb Hide credentials when submitting migration (#9102)
4 years ago
6543 2ab8c78c30 Refactor Issues Subscription (#8738)
5 years ago
David Svantesson 69a255defb Team permission to create repository in organization (#8312)
5 years ago
David Svantesson 184e47f6ce Handle setting default branch via API (#9030)
5 years ago
David Svantesson 86cff86b46 Update branch API endpoint to show effective branch protection. (#9031)
5 years ago
Lunny Xiao 21ae9838e0
Move transfer repository and rename repository on a service package and start action notification (#8573)
5 years ago
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901)
5 years ago
John Olheiser 74a6add4d9 Template Repositories (#8768)
5 years ago
zeripath 8eeb2877d5
Adjust error reporting from merge failures and use LC_ALL=C for git (#8548)
5 years ago
Lunny Xiao daab245167
Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892)
5 years ago
Lunny Xiao f02138a148 Fix bug when migrate from API (#8631)
5 years ago
Lunny Xiao 016a5d0438 Move some actions to notification/action (#8779)
5 years ago
David Svantesson 72aa5a20ec Add team option to grant rights for all organization repositories (#8688)
5 years ago
Lunny Xiao a966a0298e Move more webhook codes from models to webhook module (#8802)
5 years ago
David Svantesson 7971b05d2b Fix API deadline removal (#8759)
5 years ago
6543 5a187f4bcc Add API for Issue set Subscription (#8729)
5 years ago
Lunny Xiao 8f26397928
Move issue milestone assign to issue service and move webhook to notification (#8780)
5 years ago
Lunny Xiao f518fe6662
Rename HookQueue to hookQueue (#8778)
5 years ago
Lunny Xiao 0e7f7df3cf Move webhook to a standalone package under modules (#8747)
5 years ago
Brad Albright 887a8fe242 Allow cross-repository dependencies on issues (#7901)
5 years ago
Lunny Xiao ac6accef09 Move webhook codes from service to webhook notification (#8712)
5 years ago
Lunny Xiao af8957bc4c
Move issue notifications (#8713)
5 years ago
Lunny Xiao c66c9dabc7
Move issue change status from models to service (#8691)
5 years ago
David Svantesson 018b0e8180 Fix deadline on update issue or PR via API (#8696)
5 years ago
Lunny Xiao 9e85358777
Move some repositories' operations to a standalone service package (#8557)
5 years ago
David Svantesson 6aa3f8bc29 Mail assignee when issue/pull request is assigned (#8546)
5 years ago
Lunny Xiao 0a80164bec Revert "API should follow RequireSignInView (#8654)" (#8675)
5 years ago
Lunny Xiao 3c63c3ace4
API should follow RequireSignInView (#8654)
5 years ago
Lunny Xiao bd7709a602
Hide some user information via API if user have no enough permission (#8655)
5 years ago
Monty Taylor ee7b153dd9 Fix 500 when getting user as unauthenticated user (#8653)
5 years ago
7FM 22272fe1e4 Make /users/{username}/repos list private repos the current user has access to (#8621)
5 years ago
Lunny Xiao 280f4bebbf Move issue label operations to issue service package (#8553)
5 years ago
Lunny Xiao 945f121262
Fix bug on pull requests when transfer head repository (#8564)
5 years ago
Antoine GIRARD c748deef33 don't ignore error message (#8550)
5 years ago
zeripath fcb535c5c3
Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631)
5 years ago
Colin Arnott 66e99d722a upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 (#8501)
5 years ago
Lunny Xiao 20477a69ea
Move clearlabels from models to issue service (#8326)
5 years ago
Maxim Tkachenko db657192d0 Password Complexity Checks (#6230)
5 years ago
Lunny Xiao e3e44a59d0 Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751)
5 years ago
Lunny Xiao f2a3abc683
Move migrating repository from frontend to backend (#6200)
5 years ago
David Svantesson 90ab3056eb Api: advanced settings for repository (external wiki, issue tracker etc.) (#7756)
5 years ago
Lunny Xiao 7ff783b732
Move mirror to a standalone package from models (#7486)
5 years ago
David Svantesson 36bcd4cd6b API endpoint for searching teams. (#8108)
5 years ago
Lunny Xiao 3249c0ccba
Extract actions on deletereleasebyid from models to release service (#8219)
5 years ago
Lunny Xiao e6113000c5
Extract actions on new issue from models to services (#8217)
5 years ago
David Svantesson c6fb7fe27c Fix API for edit and delete release attachment (#8285)
5 years ago
Lunny Xiao eb11ca6847
Extract actions on new pull request from models to pulls service and move code.gitea.io/gitea/modules/pull to code.gitea.io/gitea/services/pull (#8218)
5 years ago
Lunny Xiao 061388379a Move create issue comment to comments package (#8212)
5 years ago
Lunny Xiao 5a438ee3c0
Move all mail related codes from models to services/mailer (#7200)
5 years ago
David Svantesson a0e88dfc2e Add teams to repo on collaboration page. (#8045)
5 years ago
Lunny Xiao 04ca7f0047 Refuse merge until all required status checks success (#7481)
5 years ago
Lunny Xiao 29454733b4
move some milestone functions to a standalone package (#8213)
5 years ago
techknowlogick a60d3cbea2 Remove legacy handling of drone token (#8191)
5 years ago
Lunny Xiao 4959bf1c09
Move create release from models to a standalone package (#7539)
5 years ago
Lunny Xiao be0f7ff9bf
Fix team user api (#8172)
5 years ago
WGH 6ddd3b0b47 Implement webhook branch filter (#7791)
5 years ago
John Olheiser 0118b6aaf8 Add option to initialize repository with labels (#6061)
5 years ago
David Svantesson 1f951cdeba Add API endpoint for accessing repo topics (#7963)
5 years ago
guillep2k 5fe2ec264f Retry create issue to cope with duplicate keys (#7898)
5 years ago
Richard Mahn bb5f7cdae6 Adds details about what tags can use the Git tags API (#7989)
5 years ago
Mike Schwörer 042089fbaf API method to list all commits of a repository (#6408)
5 years ago
Tamal Saha 6b3f52fe5f Run CORS handler first for /api routes (#7967)
5 years ago
David Svantesson c9546d4cdd Include description in repository search. (#7942)
5 years ago
David Svantesson 26af3401c3 Document possibility to limit API Repo search to topics only. (#7957)
5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933)
5 years ago
Lunny Xiao 85202d4784
Display ui time with customize time location (#7792)
5 years ago
David Svantesson cde95f9923 Rewrite existing repo units if setting is not included in api body (#7763)
5 years ago
Antoine GIRARD 2b6f45299d api: fix multiple bugs with statuses endpoints (#7785)
5 years ago
Lunny Xiao 5b902e2368 add pagination for admin api get orgs and fix only list public orgs bug (#7742)
5 years ago
renothing cbf231a675 fix wrong email when use gitea as OAuth2 provider (#7640)
5 years ago
zeripath 734aa96508
Fix #7136: Add paging and extend API GetCommitStatuses (#7141)
5 years ago
zeripath 635e7b38bd
Swagger: Add information to API Token header (#7585)
5 years ago
Richard Mahn 26b493bb26 Fixes #7564 - Malformed URLs in API git/commits response (#7565)
5 years ago
Lunny Xiao d95237b561
add notification placeholder (#7409)
5 years ago
Antoine GIRARD f369788347 Refactor filetype is not allowed errors (#7309)
5 years ago
Lunny Xiao b5aa7f7ceb fix api route (#7346)
5 years ago
Lunny Xiao ff85dd3e12 Add commit statuses reports on pull request view (#6845)
5 years ago
Richard Mahn cd96dee982 Fixes #7292 - API File Contents bug (#7301)
5 years ago
Richard Mahn 002b597c1f Fixes #7152 - Allow create/update/delete message to be empty, use default message (#7324)
5 years ago
Richard Mahn 567e117df8 Fixes #7238 - Annotated tag commit ID incorrect (#7321)
5 years ago
zeripath baefea311f
Fix #732: Add LFS objects to base repository on merging (#7082)
5 years ago
Lunny Xiao d8168b356d
Add missing description of label on API (#7159)
5 years ago
zeripath cf2221e3ac Add LastLogin to the User API (#7196)
5 years ago
kolaente f9ec2f89f2 Add golangci (#6418)
5 years ago
Richard Mahn 8de0b0a3f0 Fixes #2738 - Adds the /git/tags API endpoint (#7138)
5 years ago
Mario Lubenka 311ce2d1d0 Compare branches, commits and tags with each other (#6991)
5 years ago
Lanre Adelowo de6539fc8c Add state param to milestone listing API (#7131)
5 years ago
Richard Mahn 43cf2f3b55 Fixes #7023 - API Org Visibility (#7028)
5 years ago
Richard Mahn 1831b3b571 Fixes #5960 - Adds API Endpoint for Repo Edit (#7006)
5 years ago
Lunny Xiao c385dcc26b
Fix index produces problem when issues/pulls deleted (#6973)
5 years ago
zeripath 56ae539bed SearchRepositoryByName improvements and unification (#6897)
5 years ago
techknowlogick 5fb1ad7011 Webhook Logs show proper HTTP Method, and allow change HTTP method in form (#6953)
5 years ago
Tamal Saha 34d06f4c6b Handle CORS requests (#6289)
5 years ago
techknowlogick 5ffc9656c6
Change drone token name to let users know to use oauth2 (#6912)
5 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905)
5 years ago
Richard Mahn 6db3dc7c02 Fixes #6881 - API users search fix (#6882)
5 years ago
Lunny Xiao 9f18b23129 Fix 404 when send pull request some situation (#6871)
5 years ago
Lunny Xiao 08069dc465
Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290)
5 years ago
techknowlogick 46373e7657
Hash App token (#6724)
5 years ago
ngourdon 4e311123d8 Fix team edit API panic (#6780)
5 years ago
Lunny Xiao 199faadea3 Fix org visibility bug when git cloning (#6743)
5 years ago
Lunny Xiao 59be704efb Fix team members API (#6714)
5 years ago
John Olheiser 45fa5cc1be [API] Load issue attributes when editing an issue (#6723)
5 years ago
zeripath be666b03ee Trace Logging on Permission Denied & ColorFormat (#6618)
5 years ago
Filip Navara 2af67f6044 Improve listing performance by using go-git (#6478)
5 years ago
techknowlogick 19ec2606e9 API OTP Context (#6674)
5 years ago
Lunny Xiao dd1acd7ce4 Comments list performance optimization (#5305)
5 years ago
Richard Mahn 2262811e40 Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314)
5 years ago
Segev Finer 34548369e1 Add API for manipulating Git hooks (#6436)
5 years ago
zeripath 837116875e Return a UserList from /api/v1/admin/users (#6629)
5 years ago
John Olheiser cb64b21a7f Change summary to full message (#6591)
5 years ago
mrsdizzie 3ff0a126e1 Improve issue autolinks (#6273)
5 years ago
Lunny Xiao 1b7dffc3a3 fix bug user search API pagesize didn't obey ExplorePagingNum (#6579)
5 years ago
Vasek Sraier 49b2f45f75 Cleaned permission checks for API -> site admin can now do anything (#6483)
5 years ago
Lunny Xiao 09fb036ad6 fix upload attachments (#6481)
5 years ago
zeripath 704da08fdc
Better logging (#6038) (#6095)
5 years ago
Lunny Xiao d578b71d61
move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364)
5 years ago
Segev Finer b4941f707b Fix Hook & HookList in Swagger (#6432)
5 years ago
Richard Mahn ecce28f9df Updates SDK dep (#6406)
5 years ago