Commit Graph

527 Commits (2677d071f911fb91f382acfedaedc251bd807f70)

Author SHA1 Message Date
Lucien Kerl 89eea64e10 added the ability to set labels on the "edit pull request" api (#5347)
6 years ago
Lunny Xiao b3000ae623 Fix create team, update team missing units (#5188)
6 years ago
zeripath 7096085f2b Fix #5226 by adding CSRF checking to api reqToken and add CSRF to the POST header for deadline (#5250)
6 years ago
zeripath 00533d3870 Keys API changes (#4960)
6 years ago
kolaente 6759237eda User action heatmap (#5131)
6 years ago
zeripath 43f9233914 Fix Swagger JSON autogeneration issues. (#4845)
6 years ago
Oleg Kovalov 5a4648cdd6 Remove check for negative length (#5120)
6 years ago
Lunny Xiao ea619b39b2
Add notification interface and refactor UI notifications (#5085)
6 years ago
zeripath dd62ca7ba9 Add support for search by uid (#4876)
6 years ago
zeripath 36e7cb9755 Update Swagger API to match the return of /users/search (#4847)
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
Bobonium 387a4b09c1 allow api to create tags for releases (#4890)
6 years ago
Lanre Adelowo be48397945 Slack webhook channel name cannot be empty or just contain an hashtag (#4786)
6 years ago
Lewis Cowles c43399cad8 Fixes repo branch endpoint summary (#4893)
6 years ago
zeripath d293a2b9d6 Add sudo functionality to the API (#4809)
6 years ago
Lunny Xiao e48df3ee47 issues api allow pulls and fix #4832 (#4852)
6 years ago
EnricoFerro 912953e82a API /admin/users/{username} missing parameter (#4775)
6 years ago
Julien Tant 7781e8cef2 Disable merging a WIP Pull request (#4529)
6 years ago
Lanre Adelowo 59b10e66f7 An inactive user shouldn't be able to be added as a collaborator (#4535)
6 years ago
Allen Wild c40f5d2d4c api: repos/search: add parameters to control the sort order (#3964)
6 years ago
Piotr Orzechowski a74426d631 Swagger.v1.json template (#3572)
6 years ago
Lanre Adelowo 4bf0cae1f5 Respect email privacy option in user search via API (#4512)
6 years ago
kolaente 1bff02de55 Added dependencies for issues (#2196) (#2531)
6 years ago
kolaente ef6813abc9 Issue due date api (#3890)
6 years ago
Lauris BH 659bc727bd
Fix query parameter name comment in issue API (#4421)
6 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
Antoine GIRARD 908e8942cc Fix swagger errors (#4220)
6 years ago
stevegt a5f63fc4d1 swagger: add 'required: true' for params in URL (#4097)
6 years ago
stevegt 39f2aa7c12 add simple descriptions for file API responses (#4089)
6 years ago
stevegt 7707ad7a0a add simple descriptions for swagger validate (#4087)
6 years ago
Magnus Lindvall cdb9478774 LDAP Public SSH Keys synchronization (#1844)
6 years ago
Lunny Xiao 6bdc556b7f
Fix some webhooks bugs (#3981)
6 years ago
Lunny Xiao 24941a1046
Add more webhooks support and refactor webhook templates directory (#3929)
6 years ago
kolaente 95f2e2b57b Multiple assignees (#3705)
6 years ago
David Schneiderbauer ea01decb6b fix wrong issue endpoints in swagger doc (#3914)
6 years ago
kolaente 1a97030017 Issue due date (#3794)
6 years ago
Ethan Koenig 7ea4bfc561 API endpoint for testing webhook (#3550)
6 years ago
Morgan Bazalgette e3028d124f don't reset team/repo count when updating team via API (#3831)
6 years ago
Lunny Xiao bec69f702b
Add topic support (#3711)
6 years ago
Bo-Yi Wu 1c5cbc390b refactor: import order. (#3736)
6 years ago
kolaente 1a83581121 Added issue search via api (#3612)
6 years ago
Jonas Franz 9a5e628a7e Add Attachment API (#3478)
6 years ago
Morgan Bazalgette 535445c32e Rework special link parsing in the post-processing of markup (#3354)
6 years ago
Ethan Koenig 7b104f0cd0 Populate URL field of API commits (#3546)
6 years ago
Piotr Orzechowski b104ab3ca1 Add option to enable or disable swagger endpoints (#3502)
6 years ago
Marc Brückner 695b10bedd Fix API-Endpoint release (#3012)
6 years ago
Kim "BKC" Carlbäcker e5b8b4b5ec Cleanup models.User.HashPassword (#3334)
6 years ago
Morgan Bazalgette 65861900cd Handle refactor (#3339)
6 years ago
Morgan Bazalgette 674cfb7cac Change EncodePasswd to HashPassword (#3329)
6 years ago
Vlad Temian e78786ef39 Writable deploy keys (closes #671) (#3225)
6 years ago
Lauris BH 8ac1501ad7
Add Pull Request merge options - Ignore white-space for conflict checking, Rebase, Squash merge (#3188)
6 years ago
Ethan Koenig ce7ae17b81 Fix swagger docs (#3300)
6 years ago
Ethan Koenig 4c9341f689 Fix bugs in issue dashboard stats (#3073)
6 years ago
Ethan Koenig 515cdaa85d Fix ignored errors when checking if organization, team member (#3177)
6 years ago
Lunny Xiao f94c1b3943
Improvements for supporting UI Location (#3146)
6 years ago
Lunny Xiao f2e20c81b6 Refactor struct's time to remove unnecessary memory usage (#3142)
6 years ago
Vlad Temian 469ab99e9a Delete a user's public key via admin api (closes #3014) (#3059)
7 years ago
Ethan Koenig 3c1b1ca78e Fix error message sanitiziation (#3082)
7 years ago
Vlad Temian 6ad4990a65 Add fingerprint to ssh key endpoints. (#3009)
7 years ago
Michael Kuhn 420fc8efc2 Disable add key button if SSH is disabled (#2873)
7 years ago
Ethan Koenig c3b6383b3a Fix comment API paths (#2813)
7 years ago
Ethan Koenig 876bafb7ef Fix API status code for hook creation (#2814)
7 years ago
Ethan Koenig d22a8dc022 Page parameter for repo search API (#2915)
7 years ago
Ethan Koenig f26f4a7e01 Update swagger documentation (#2899)
7 years ago
Ethan Koenig d91fe5254d Fix ignored errors in API route (#2850)
7 years ago
Lauris BH 08b124dd47
Fix API raw requests for commits and tags (#2841)
7 years ago
Ethan Koenig e6a97b6675 Use api.TrackedTime in API (#2807)
7 years ago
Ethan Koenig 513375c429 Make URL scheme unambiguous (#2408)
7 years ago
Morlinest ddb7f59ef4 Add search mode option to /api/repo/search (#2756)
7 years ago
Lunny Xiao 178bd498b9
fix imports
7 years ago
Lunny Xiao 219ca5cadb
some fixes
7 years ago
Lunny Xiao 6eeadb2082 Hide unactive on explore users and some refactors (#2741)
7 years ago
Antoine GIRARD 619b9b5547 Move swagger-ui under /api/v1 (#2746)
7 years ago
Morlinest ccd3577970 Fix repository search function (#2689)
7 years ago
Morlinest cc84ca40d7 Remove redudant issue LoadAttributes() calls (#2614)
7 years ago
Lunny Xiao 0d80af649a Add init support of orgmode document type on file view and readme (#2525)
7 years ago
Lauris BH 7a0297819d Sync releases table with tags on push and for mirrors (#2459)
7 years ago
Lunny Xiao 52e11b24bf Restructure markup & markdown to prepare for multiple markup language… (#2411)
7 years ago
Jonas Franz 5ccecb44ad Feature: Timetracking (#2211)
7 years ago
Ethan Koenig b689bb6180 Webhooks for repo creation/deletion (#1663)
7 years ago
Bwko 1a5fe4326f Add collaborative repositories to the dashboard (#2205)
7 years ago
Antoine GIRARD fd8e8a421a Improve swagger doc (#2274)
7 years ago
Morlinest 951fb572a7 Fix and improve dashboard repo UI (#2285)
7 years ago
Ethan Koenig 29f3a6e492 Fix rendering of external links (#2292)
7 years ago
Lunny Xiao f960e19c59 Only update needed columns when update user (#2296)
7 years ago
Ethan Koenig 7e0654bd9e Fix counts on issues dashboard (#2215)
7 years ago
Ethan Koenig f29458bd3a EnableUnit() -> UnitEnabled() (#2242)
7 years ago
Ethan Koenig 49df677c47 Check for access in /repositories/:id (#2227)
7 years ago
Lunny Xiao 04c4028aea
fix some bug
7 years ago
Aaron Walker 6a3c03762a API: support '/orgs/:org/repos' (#2047)
7 years ago
Ethan Koenig 93a1de4842 Fix repo API bug (#2133)
7 years ago
Ethan Koenig 8f1d62ad3b Fix GET /users/:username/repos endpoint (#2125)
7 years ago
Antoine GIRARD 30787e48f2 Improve org error handling (#2117)
7 years ago
Ethan Koenig f99489d5c5 Fix API for branches with slashes (#2096)
7 years ago
Lauris BH 783b1967e2 Fix release display and correct paging (#2080)
7 years ago
Ethan Koenig 735676267e Integration tests for issues API (#2059)
7 years ago
Ethan Koenig 2559a34b97 Load label ID in NewLabels (#2045)
7 years ago
Ethan Koenig 3ffedeab03 Fix bug in issue labels API (#2048)
7 years ago
Lunny Xiao d71fad2ab7 Fix #2001 and fix issue comments hidden (#2016)
7 years ago
Antoine GIRARD 2bcd9471c9 Separate generate swagger + fix sed os specific (#1791)
7 years ago
Jonas Östanbäck ad70af1248 Add repo fork swagger (#1941)
7 years ago
Dennis Keitzel 96b4780727 Gracefully handle bare repositories on API operations. (#1932)
7 years ago
Andrey Nering 65cf6cc848 Merge pull request #1905 from ethantkoenig/fix/org_api_auth
7 years ago
Andrey Nering a70073e768 Merge pull request #1904 from ethantkoenig/fix/org_api
7 years ago
Ethan Koenig 971e3a35c1 Require token before checking membership/ownership
7 years ago
Ethan Koenig f38842320e Bug fixes for org member API
7 years ago
camlafit 952cb8046f A missing / to provide a correct endpoint
7 years ago
Bo-Yi Wu 703d18e50d feat: add check misspelling (#1877)
7 years ago
Antoine GIRARD 976c2a05fa Fix change introduce by update of go-swagger. (#1727)
7 years ago
Andrey Nering e67ece26f0 Merge pull request #1750 from andreynering/dashboard-search-org-repos
7 years ago
Ethan Koenig 7e6ff69c00 Fix 500 for GET /teams/:id endpoints (#1811)
7 years ago
Jonas Östanbäck 0161e46b5a Add swagger comment for MirrorSync (#1747)
7 years ago
Andrey Nering 8906b2891b Fix test
7 years ago
Andrey Nering dc2b28ed76 Show repos acording to user/organization
7 years ago
Andrey Nering 8917f47347 Fix org repos not showing on dashboard search
7 years ago
Ethan Koenig a5f28a4544 gofmt (#1662)
7 years ago
Antoine GIRARD 3edb0c5894 Generate swagger json (#1402)
7 years ago
Lunny Xiao 0308d44a16 fix #1643 and improve integration test (#1645)
7 years ago
Lunny Xiao 61b08b5c01 bug fixed for API to get user's repos (#1622)
7 years ago
Kim "BKC" Carlbäcker 4bea219128 Status-API (#1332)
7 years ago
Jonas f995bcc87a Add repo mirror sync API endpoint (#1508)
7 years ago
Antoine GIRARD cf91cfb993 Migrate WatchInfo struct to api (#1492)
7 years ago
Lunny Xiao cf6699fb4f fix gpg API panic when no verification (#1451)
7 years ago
Antoine GIRARD 14fe9010ae GPG commit validation (#1150)
7 years ago
Antoine GIRARD ca1c3f1926 Implement GPG api (#710)
7 years ago
Ethan Koenig ec0ae5d50c Refactor and fix incorrect comment (#1247)
7 years ago
Mura Li 848293671b Add basic integration test infrastructure (and new endpoint `/api/v1/version` for testing it) (#741)
7 years ago
Lunny Xiao c1d5983d3e fix panic when get user repos from api (#1110)
7 years ago
awwalker c0f99e8229 API: support /users/:username/repos
7 years ago
Lunny Xiao a5ac4c64fc refactor api issues load attributes for better performance (#1066)
7 years ago
Ethan Koenig 831ff41754 Fix go vet faults (#1060)
7 years ago
Andrew Boyarshin 0602a44b27 Fix URL handling in the whole markdown module, improve test coverage (#1027)
7 years ago
Andrew Boyarshin dc8248f8a4 Markdown rendering overhaul (#186)
7 years ago
Bo-Yi Wu 3576e1ee73 fix: trim the whitespaces for the search keyword (#893)
7 years ago
Ethan Koenig 2f13d31ff0 Fix bug in repos search (#884)
7 years ago
Ethan Koenig 027591a3a5 Redirects for renamed repos (#807)
7 years ago
Lunny Xiao 8a421b1fd7 Add units concept for modulable functions of a repository (#742)
7 years ago
Bo-Yi Wu a90a215662 feat: Add search bar on user profile page. (#787)
7 years ago
Ethan Koenig 73d05a51e3 Remove unneeded database loads (#814)
7 years ago
Lunny Xiao 081485ecfd add milestone changed traker on issue view (#804)
7 years ago
Ethan Koenig 10644d6dd7 Bug fixes and unit tests for models/issue_label (#802)
7 years ago
Lunny Xiao f94869d2d1 Track labels changed on issue view & resolved #542 (#788)
7 years ago
Ethan Koenig d1b5498cc0 Use handlers for API authorization (#723)
7 years ago
Ethan Koenig 833f8b94c2 Search bar for issues/pulls (#530)
7 years ago
Bwko 7e401b9e39 Fix crash caused by #647 (#708)
7 years ago
Ethan Koenig 74bbec3bf9 Fix permission bugs in team API (#647)
7 years ago
Ethan Koenig fcf02e4961 API Endpoints for organization members (#645)
7 years ago
Philip Couling 64375d875b Attach to release (#673)
7 years ago
Ethan Koenig 27fcf8d30a Bug fixes for webhook API (#650)
7 years ago
Ethan Koenig 8422ab542c API endpoint for subscribers (#598)
7 years ago
Ethan Koenig 1a7fc53c98 API endpoint for stargazers (#597)
7 years ago
Lunny Xiao 51021585a7 build failed by deleting release by API (#562)
7 years ago
Ethan Koenig 0c301f7b5c Release API endpoints
7 years ago
Ethan Koenig b75450ad36 API endpoints for forks (#509)
7 years ago
Ethan Koenig 6f4ba6884c Repo permission bug fixes (#513)
7 years ago
Ethan Koenig 35d9378e4e Permissions bug fix for webhooks
7 years ago
Ethan Koenig f686a32eac API endpoints for organization teams (#370)
7 years ago
Ethan Koenig 9fae9f0dc2 Remove redundant query in collaborator API (#516)
7 years ago
Ethan Koenig 2342df183b API Endpoints for collaborators (#375)
7 years ago
Ethan Koenig 9847b38518 Organization webhook API endpoints
7 years ago
Bwko a345a03d99 Added sorting to the labels & milestones page (#199)
7 years ago
Ethan Koenig 8a4161c723 API Endpoint for watching (#191)
7 years ago
Kim "BKC" Carlbäcker df7fa4e995 issue comment api fix (#449)
7 years ago
Denis Denisov 380e32e129 Fix random string generator (#384)
7 years ago
Lunny Xiao b4c794058a fixed vulnerabilities (#392)
7 years ago
Ethan Koenig 7b5b5178e1 Bug fix for edit-hook API endpoint
8 years ago
Ethan Koenig 04b9a7e7a2 Bug fixes for repo permissions in API
8 years ago
Kim "BKC" Carlbäcker 0f05470cb8 [API] Pull Requests (#248)
8 years ago
Kim "BKC" Carlbäcker e8e0539b45 Linting
8 years ago
Kim "BKC" Carlbäcker e6cfccdd40 GitHub API Compliance (& linting)
8 years ago
Kim "BKC" Carlbäcker 71bb6df75a Add undocumented endpoint for /repositories/:id
8 years ago
Kim "BKC" Carlbäcker 42ec5ce740 Fix breakage from vendor-update
8 years ago
Lunny Xiao ec87a75c00 golint fixed for modules/auth
8 years ago
Lunny Xiao 94da472717 Golint fixed for modules/setting (#262)
8 years ago
Lunny Xiao faabc76fd6 Golint fixed for modules/context
8 years ago
Lunny Xiao 3917ed45de golint fixed for routers (#208)
8 years ago
Ethan Koenig 0834e492c0 API endpoints for stars
8 years ago
Sandro Santilli a1c5f02444 Fix import path of go-sdk (#141)
8 years ago
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io (#135)
8 years ago
Sandro Santilli aadd7dcdc3 And others
8 years ago
Sandro Santilli 60c82a8780 More...
8 years ago
Sandro Santilli f388661bda ACCESS_MODE_* -> AccessMode*
8 years ago
Sandro Santilli 80eea77953 Use MixedCase constant names
8 years ago
Thomas Boerger 4c6c16f358
Replaced go-gogs-client with go-sdk imports
8 years ago
Sandro Santilli 6e4252dad4 Replace gogits/git-module dependency with go-gitea/git (#94)
8 years ago
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37)
8 years ago
Unknwon 99c2ae7b35 #3515 use alert instead 500 for duplicated login source name
8 years ago
Andrey Nering 9ac46fb983 Support Editorconfig on web editor
8 years ago
Unknwon 28cf0e6aaa #3459 code quality improvement
8 years ago
Unknwon 6b98d58906 #2966 code cleanup
8 years ago
Iwan Budi Kusnanto 8dca9f95fa issues comment API : list, create, edit (#2966)
8 years ago
Unknwon f8a48ffaad Web editor: improve code quality
8 years ago
Kurt Madel 67fb0fe6a5 added support to set pull_request event from api (#3513)
8 years ago
Unknwon 0b273ac4d5 #3383 code cleanup
8 years ago
lstahlman 84b56c3c53 Additional API support for milestones (#3383)
8 years ago
Kim Carlbäcker 7c5710d31f Issues can be closed via API (#3170) (#3479)
8 years ago
Unknwon 4042d1f0c3 models/issue: improve quality and performance of NewIssue function
8 years ago
Unknwon dccb0c15b9 Replace convert.To with APIFormat calls
8 years ago
Unknwon 3f7f4852ef #2246 fully support of webhooks for pull request
8 years ago
Unknwon 2cb04db526 Fix #3391
8 years ago
Robin Lambertz 5a9709fa9d Add MaxRepoCreation to EditUser API (#2781)
8 years ago
Unknwon 7e9b42c87d #2780 code clean up
8 years ago
Robin Lambertz b6c14f8b21 Add AddCollaborator API Endpoint (#2780)
8 years ago
lstahlman 89f71b44f7 Add committer information to API and Webhooks. Also fixes #3271 (#3414)
8 years ago
Unknwon db3d393576 routers/api: rename handlers to be unexported
8 years ago
Unknwon 2f105f3979 #2162 completely disable builtin issue tracker when enable external tracker
8 years ago
Unknwon e7fd65f0cf #3290 better code structure and batch minor improvements
8 years ago
lstahlman 2eeb0ec9b0 Additional API support for labels (#3290)
8 years ago
Richard Mahn 0402c803c6 Added Full Name to CreateUser api call (#3333)
8 years ago
Unknwon e74630ae3b #1384 add pagination for repositories
8 years ago
Unknwon 1f2e173a74 Refactor User.Id to User.ID
8 years ago
Unknwon 46e96c008c Use struct for UI settings
8 years ago
Unknwon e63b2881b1 api: fix panic if anonymous user request admin API
8 years ago
Unknwon 5aa2bf86f4 Update locales and .gopmfile
8 years ago
Unknwon 60110adc06 models/webhook: restrict deletion to be explicitly with repo and org ID
8 years ago
Dennis Chen 5ff2dfb23e api: delete repository webhooks (#3275)
8 years ago
Unknwon 3d93532c87 #3274 fix can't get webhook detail of organization
8 years ago
Unknwon f1b8d52eb3 #2854 fix no mail notification when issue is closed/reopened
8 years ago
lstahlman 846bf2ca9f Add timestamps to repository api response (#3255)
8 years ago
lstahlman 12cb84b97f Extend the API to include more repository properties (#3249)
8 years ago
Unknwon d62ab49978 #3057 retrieve webhook with repo_id
8 years ago
Unknwon 4b25bdfbc4 #3058 #3059 support correct page size and link header
8 years ago
Unknwon e9ae926e04 #809 fix wrong closed issue count when create closed issue via API
8 years ago
Unknwon bf5faf76eb #809 able to set issue state to closed when create
8 years ago
Unknwon d27ca649c7 api/admin: add/remove organization team repository
8 years ago
Unknwon b1d41cfa60 #1692 add admin APIs to add/remove a user from teams
8 years ago
Unknwon 5e11341232 Fix status code
8 years ago
Unknwon 90e93b1f3a Change list teams API to non-admin specific
8 years ago
Unknwon e6f927f61a #1692 api: admin list and create team under organization
8 years ago
Unknwon 9bd9ad4205 #1692 add CRUD issue APIs
8 years ago
Unknwon dd6faf7f9b Convert all API handers to use *context.APIContext
8 years ago
Unknwon 2bf8494332 #13 finish user and repository search
8 years ago
Unknwon 514382e2eb Rename module: middleware -> context
8 years ago
Unknwon d5a3021a7d Make markdown as an independent module
8 years ago
Unknwon 995487e822 Minor fix for #2506
8 years ago
Antoine GIRARD b7b30cd85e Corrections following recommendations
8 years ago
Antoine GIRARD 81e5722bcc Handling error for the API request and add commments
8 years ago
Antoine GIRARD 303d091ea9 Update link for documentation (Temporary https://gist.github.com/sapk/df64347ff218baf4a277)
8 years ago
Antoine GIRARD c11c3b6c11 Near ready
8 years ago
Unknwon 4331d1d2a0 require token for list my orgs
8 years ago
Unknwon 03427fb005 fix #2360
8 years ago
Unknwon a49af93faf #1692 APIs: Users Followers
8 years ago
Unknwon 1c9dd11ba7 #1692 API: admin create repo
9 years ago