Commit Graph

544 Commits (7e920703f94c4f2782860a72cc6beca5671736f5)

Author SHA1 Message Date
Lunny Xiao 29454733b4
move some milestone functions to a standalone package (#8213)
4 years ago
techknowlogick a60d3cbea2 Remove legacy handling of drone token (#8191)
4 years ago
Lunny Xiao 4959bf1c09
Move create release from models to a standalone package (#7539)
4 years ago
Lunny Xiao be0f7ff9bf
Fix team user api (#8172)
4 years ago
WGH 6ddd3b0b47 Implement webhook branch filter (#7791)
4 years ago
John Olheiser 0118b6aaf8 Add option to initialize repository with labels (#6061)
4 years ago
David Svantesson 1f951cdeba Add API endpoint for accessing repo topics (#7963)
4 years ago
guillep2k 5fe2ec264f Retry create issue to cope with duplicate keys (#7898)
4 years ago
Richard Mahn bb5f7cdae6 Adds details about what tags can use the Git tags API (#7989)
4 years ago
Mike Schwörer 042089fbaf API method to list all commits of a repository (#6408)
4 years ago
Tamal Saha 6b3f52fe5f Run CORS handler first for /api routes (#7967)
4 years ago
David Svantesson c9546d4cdd Include description in repository search. (#7942)
4 years ago
David Svantesson 26af3401c3 Document possibility to limit API Repo search to topics only. (#7957)
4 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933)
4 years ago
Lunny Xiao 85202d4784
Display ui time with customize time location (#7792)
4 years ago
David Svantesson cde95f9923 Rewrite existing repo units if setting is not included in api body (#7763)
4 years ago
Antoine GIRARD 2b6f45299d api: fix multiple bugs with statuses endpoints (#7785)
4 years ago
Lunny Xiao 5b902e2368 add pagination for admin api get orgs and fix only list public orgs bug (#7742)
4 years ago
renothing cbf231a675 fix wrong email when use gitea as OAuth2 provider (#7640)
4 years ago
zeripath 734aa96508
Fix #7136: Add paging and extend API GetCommitStatuses (#7141)
4 years ago
zeripath 635e7b38bd
Swagger: Add information to API Token header (#7585)
4 years ago
Richard Mahn 26b493bb26 Fixes #7564 - Malformed URLs in API git/commits response (#7565)
4 years ago
Lunny Xiao d95237b561
add notification placeholder (#7409)
4 years ago
Antoine GIRARD f369788347 Refactor filetype is not allowed errors (#7309)
4 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
Roland Koebler 57ecf09787 Markdown: enable some more extensions (#6362)
5 years ago
Lanre Adelowo 5c82ef098e make sure units of a team are returned (#6379)
5 years ago
John Olheiser cac9e6e760 Updates to API 404 responses (#6077)
5 years ago
Bogdan Petrea 583968f274 Return 409 when creating repo if it already exists. (#6330)
5 years ago
Aidan Fitzgerald f5cf9a8355 Copyedit docs (#6275)
5 years ago
Lanre Adelowo 141c58f5a6 add isAdmin to user model (#6231)
5 years ago
John Olheiser 7548037a64 Adds MustChangePassword to user create/edit API, defaults to true (#6193)
5 years ago
Lunny Xiao 7afe81f28e fix bug when migrate repository 500 when repo is existed (#6188)
5 years ago
John Olheiser df30010dbd Make repo creation for API similar to UI (#6142)
5 years ago
John Olheiser 994b1be9d1 Admins can now do unlimited page size user search (listAllUsers & listAllOrgs) (#6143)
5 years ago
Lunny Xiao 0751153613
refactor issue indexer, add some testing and fix a bug (#6131)
5 years ago
John Olheiser ba0749b7db Load Issue attributes for API call (#6122)
5 years ago
Lunny Xiao 830ae61456 Refactor issue indexer (#5363)
5 years ago
Lanre Adelowo 44114b38e6 Implement "conversation lock" for issue comments (#5073)
5 years ago
Rémy Boulanouar 64ce159a6e Allow to set organization visibility (public, internal, private) (#1763)
5 years ago
Lanre Adelowo f2256d9881 make sure labels are actually returned (#6053)
5 years ago
Thomas Loubiou 7fb09f035a Fix #5799 - swagger for mergePullRequest (#5996)
5 years ago
Lunny Xiao 01bbf5ea69 Add API to list tags (#5850)
5 years ago
Lanre Adelowo 9dfdf80af0 Expose issue stopwatch toggling via API (#5970)
5 years ago
Richard Mahn da1edbfb79 Feature - Pagination for git tree API (#5838)
5 years ago
Gabriel Silva Simões 3b7f41f9f7 Fix serving of raw wiki files other than .md (#5814)
5 years ago
Lanre Adelowo 024871ade6 Add label names as filter in issue search api (#5946)
5 years ago
zeripath 24a36e84cc Issue 5924 fix compare button (#5929)
5 years ago
zeripath 01c10a951b
Fix ssh deploy and user key constraints (#1357) (#5939)
5 years ago
Lunny Xiao ecefa9e724 Add single commit API support (#5843)
5 years ago
Lanre Adelowo 57a69ef277 don't allow pull requests to be created on an archived repository (#5883)
5 years ago
Lauris BH fada6968a8 Fix new release creation API to allow empty target (#5870)
5 years ago
zeripath bf47f70c3b
API: Fix null pointer in attempt to Sudo if not logged in (#5872)
5 years ago
Lunny Xiao 6b0c2e9e35 update swagger for release API pagination (#5841)
5 years ago
Lunny Xiao 892bfd0b19 improve the releases api paging (#5831)
5 years ago
kolaente 9a137faaaf Added docs for the tree api (#5834)
5 years ago
Shashvat Kedia 1b90692844 New API routes added (#5594)
5 years ago
zeripath 07802a2bc5 Refactor repo.isBare to repo.isEmpty #5629 (#5714)
5 years ago
Lunny Xiao 82e08a3364
Refactor notification for indexer (#5111)
5 years ago
Harshit Bansal 5ac6da3c41 api: Add missing GET teams endpoints (#5382)
5 years ago
Rodrigo Villablanca Vásquez 4c52858c39 Issue is not overdue when it is on the same date #5566 (#5568)
5 years ago
Shashvat Kedia 6e20b504b1 Delete organization endpoint added (#5601)
5 years ago
Shashvat Kedia ba2c02b75d Fix route in swagger (#5598)
5 years ago
Lunny Xiao b3b7598ec6 Improve performance of dashboard (#4977)
5 years ago
Lunny Xiao 58c4559d3b fix permission check on api create org (#5523)
5 years ago
Lunny Xiao da5a0b8382
add tests for api user orgs (#5494)
5 years ago
Lanre Adelowo 9441bfaccc admin should be able to delete repos even if he is not a member of the organization (#5443)
5 years ago
Lucien Kerl 552014a068 Removing Labels via EditPullRequest API (#5348)
5 years ago
Kasi Reddy d5d847e5c4 Git-Trees API (#5403)
5 years ago
Lunny Xiao eabbddcd98
Restrict permission check on repositories and fix some problems (#5314)
5 years ago
Lauris BH 08bf443016 Implement git refs API for listing references (branches, tags and other) (#5354)
5 years ago
Lanre Adelowo 5e022a98e6 show only opened milestones on issues page milestone filter (#5051)
5 years ago
Daniel Balko 3379141d81 API: '/orgs/:org/repos': return private repos with read access (#5310) (#3829) (#5383)
5 years ago
Lunny Xiao 8ef177f8c5 add api for user to create org (#5268)
5 years ago
Lucien Kerl 89eea64e10 added the ability to set labels on the "edit pull request" api (#5347)
5 years ago
Lunny Xiao b3000ae623 Fix create team, update team missing units (#5188)
5 years ago
zeripath 7096085f2b Fix #5226 by adding CSRF checking to api reqToken and add CSRF to the POST header for deadline (#5250)
5 years ago
zeripath 00533d3870 Keys API changes (#4960)
5 years ago
kolaente 6759237eda User action heatmap (#5131)
5 years ago
zeripath 43f9233914 Fix Swagger JSON autogeneration issues. (#4845)
5 years ago
Oleg Kovalov 5a4648cdd6 Remove check for negative length (#5120)
5 years ago
Lunny Xiao ea619b39b2
Add notification interface and refactor UI notifications (#5085)
5 years ago
zeripath dd62ca7ba9 Add support for search by uid (#4876)
5 years ago
zeripath 36e7cb9755 Update Swagger API to match the return of /users/search (#4847)
5 years ago
Bo-Yi Wu ea20adaa84
feat(repo): support search repository by topic name (#4505)
5 years ago
B-OnTheGo e47df0b301 Enforce token on api routes [fixed critical security issue #4357] (#4840)
5 years ago
Bobonium 387a4b09c1 allow api to create tags for releases (#4890)
5 years ago
Lanre Adelowo be48397945 Slack webhook channel name cannot be empty or just contain an hashtag (#4786)
5 years ago
Lewis Cowles c43399cad8 Fixes repo branch endpoint summary (#4893)
5 years ago
zeripath d293a2b9d6 Add sudo functionality to the API (#4809)
5 years ago
Lunny Xiao e48df3ee47 issues api allow pulls and fix #4832 (#4852)
5 years ago
EnricoFerro 912953e82a API /admin/users/{username} missing parameter (#4775)
5 years ago
Julien Tant 7781e8cef2 Disable merging a WIP Pull request (#4529)
5 years ago
Lanre Adelowo 59b10e66f7 An inactive user shouldn't be able to be added as a collaborator (#4535)
5 years ago
Allen Wild c40f5d2d4c api: repos/search: add parameters to control the sort order (#3964)
5 years ago
Piotr Orzechowski a74426d631 Swagger.v1.json template (#3572)
5 years ago
Lanre Adelowo 4bf0cae1f5 Respect email privacy option in user search via API (#4512)
5 years ago
kolaente 1bff02de55 Added dependencies for issues (#2196) (#2531)
5 years ago
kolaente ef6813abc9 Issue due date api (#3890)
5 years ago
Lauris BH 659bc727bd
Fix query parameter name comment in issue API (#4421)
5 years ago
techknowlogick ab55ca7ebd
Add ability to delete a token (#4235)
6 years ago
Nicolas Da Mutten e07d3ad0fc Fixes repo membership check in API (#4341)
6 years ago
Lauris BH 69e2ab1611 Allow administrator to create repository for any organization (#4368)
6 years ago
Lauris BH 4a8ee0b5cc
Check that repositories can only be migrated to own user or organizations (#4366)
6 years ago
Jonas Franz 467ff4d343 Fix milestone appliance and permission checks (#4271)
6 years ago
stevegt a7aaacb633 fix CreateIssueCommentOption reference (#4239)
6 years ago
Antoine GIRARD 6efdcaed86 Fix swagger security parts (#4236)
6 years ago