Commit Graph

456 Commits (742e21aeba5c02935269a2a3681f4486019ce542)

Author SHA1 Message Date
6543 40e99ea010 [API] Extend contents with dates (#9464)
4 years ago
6543 6d811bcb14 Hide not allowed Reactions (#9387)
4 years ago
zeripath d1a49977b0 AuthorizedKeysCommand should not query db directly (#9371)
4 years ago
zeripath 60b31c8f01
Fix the intermittent TestGPGGit failures (#9360)
4 years ago
Brad Albright f6b29012e0 Add /milestones endpoint (#8733)
4 years ago
zeripath e3c3b33ea7
Graceful: Xorm, RepoIndexer, Cron and Others (#9282)
4 years ago
Antoine GIRARD 8bea92c3dc test: command keys (#9357)
4 years ago
John Olheiser 6715677b2b Push to create repo (#8419)
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
Antoine GIRARD 4dc3993b22 tests: add attachement tests integration (#9309)
4 years ago
6543 7f0d7c0a17 File Edit: Author/Committer interchanged [BugFix] (#9297)
4 years ago
Lunny Xiao be06dee04c Move code indexer related code to a new package (#9191)
4 years ago
zeripath 3da6d256f4
Missed defer prepareTestEnv (#9285)
4 years ago
6543 37e10d4543 [API] Add Reactions (#9220)
4 years ago
David Svantesson 9cb418e623 Redirect issue if repo has configured external tracker. (#9247)
4 years ago
David Svantesson bac4b78e09 Branch protection: Possibility to not use whitelist but allow anyone with write access (#9055)
4 years ago
6543 66028d58f9 [UI] IssuePage multi repo select (#8741)
4 years ago
6543 668eaf95d5 [Feature] Custom Reactions (#8886)
4 years ago
Lunny Xiao 7b7d382b8b Fix datarace on git.GlobalCommandArgs on tests (#9162)
4 years ago
zeripath 9d9e6ac411 Yet another attempt to fix the intermittent failure of gpg git test (#9146)
4 years ago
zeripath 055f6d2296 Fix "data race" in testlogger (#9159)
4 years ago
David Svantesson 69a255defb Team permission to create repository in organization (#8312)
4 years ago
Antoine GIRARD f128e06ea6 fix: add search to reserved usernames (#9063)
5 years ago
Lunny Xiao 9ff6312627
Move modules/gzip to gitea.com/macaron/gzip (#9058)
5 years ago
Lars Lehtonen 3dfe9190b0 integrations: fix dropped errors in TestCreateOrUpdateRepoFileForUpdateWithFileMove() (#9040)
5 years ago
zeripath 7b75603ffe
Fix intermittent GPG Git test failure (#8968)
5 years ago
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901)
5 years ago
John Olheiser 74a6add4d9 Template Repositories (#8768)
5 years ago
guillep2k 01a4a7cb14 Auto-subscribe user to repository when they commit/tag to it (#7657)
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
guillep2k 6e1912c73a Fix password complexity check on registration (#8887)
5 years ago
Lunny Xiao f02138a148 Fix bug when migrate from API (#8631)
5 years ago
David Svantesson 72aa5a20ec Add team option to grant rights for all organization repositories (#8688)
5 years ago
Lunny Xiao bd7709a602
Hide some user information via API if user have no enough permission (#8655)
5 years ago
zeripath b59a905394
Update heatmap fixtures to restore tests (#8615)
5 years ago
Lunny Xiao d151503d34 Upgrade xorm to v0.8.0 (#8536)
5 years ago
zeripath fcb535c5c3
Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631)
5 years ago
guillep2k 15809d81f7 Rewrite reference processing code in preparation for opening/closing from comment references (#8261)
5 years ago
zeripath 5e759b60cc Restore functionality for early gits (#7775)
5 years ago
Lunny Xiao 46a12f196b
Move change issue title from models to issue service package (#8456)
5 years ago
guillep2k 0bda876161 Fix lfs locks (#8361)
5 years ago
David Svantesson 90ab3056eb Api: advanced settings for repository (external wiki, issue tracker etc.) (#7756)
5 years ago
David Svantesson 36bcd4cd6b API endpoint for searching teams. (#8108)
5 years ago
Lunny Xiao a8c024043c Improve integration tests (#8276)
5 years ago
Sandro Santilli 3dd1cee331 Test more reserved usernames (#8263)
5 years ago
guillep2k 2a2b46c62e Reference issues from pull requests and other issues (#8137)
5 years ago
Mura Li eec997d30a Fix data race (#8204)
5 years ago
Lunny Xiao be0f7ff9bf
Fix team user api (#8172)
5 years ago
guillep2k 72f6d5c882 Restrict repository indexing by glob match (#7767)
5 years ago
David Svantesson 1f951cdeba Add API endpoint for accessing repo topics (#7963)
5 years ago
Gary Kim ee11974719 Search Commits via Commit Hash (#7400)
5 years ago
guillep2k 765be70323 Make CI work (#8057)
5 years ago
Mike Schwörer 042089fbaf API method to list all commits of a repository (#6408)
5 years ago
Lunny Xiao f83db078f0 Move database settings from models to setting (#7806)
5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933)
5 years ago
Mura Li 3ac45e3cb5 Fix pull creation with empty changes (#7920)
5 years ago
guillep2k de5986ae03 Reduce quote usage to bypass bug in GIT_SSH_COMMAND (#7893)
5 years ago
guillep2k 5a44be627c Convert files to utf-8 for indexing (#7814)
5 years ago
Antoine GIRARD c2c35d169c lfs/lock: round locked_at timestamp to second (#7872)
5 years ago
zeripath 176ba79e96
Fix local runs of ssh-requiring integration tests (#7855)
5 years ago
Antoine GIRARD e9bb75d8d1 Fix duplicate call of webhook (#7821)
5 years ago
Antoine GIRARD 2b6f45299d api: fix multiple bugs with statuses endpoints (#7785)
5 years ago
zeripath 026696b87a
Fix dropTableColumns sqlite implementation (#7710)
5 years ago
Antoine GIRARD d02566a8ea integration tests: Use t.Helper() (#7654)
5 years ago
zeripath 78e5317242
Update to latest mssqldriver (#7613)
5 years ago
Christian Muehlhaeuser 54d96c79b5 Removed unnecessary conversions (#7557)
5 years ago
Christian Muehlhaeuser 12a098920c Fixed ineffectual assignments in tests (#7553)
5 years ago
techknowlogick d0ec940dd7
switch to use gliderlabs/ssh for builtin server (#7250)
5 years ago
Lunny Xiao 1772c6b94d fix pull view ui merge section (#7335)
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
zeripath baefea311f
Fix #732: Add LFS objects to base repository on merging (#7082)
5 years ago
John Olheiser 8f0182c322 API error cleanup (#7186)
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
zeripath 356854fc5f Move serv hook functionality & drop GitLogger (#6993)
5 years ago
zeripath fb4438a815
Improve git test (#7086)
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
Bo-Yi Wu 743697a549
refactor: append, build variable and type switch (#4940)
5 years ago
zeripath 31557b1274
Fix LFS Locks over SSH (#6999)
5 years ago
zeripath 54bd63cd5c
Change UpdateRepoIndex api to include watchers (#7012)
5 years ago
zeripath 84bfd00537
Fix TestSearchRepo by waiting till indexing is done (#7004)
5 years ago
mrsdizzie 68a83cc5a2 Allow collaborators to view repo owned private org (#6965)
5 years ago
zeripath 56ae539bed SearchRepositoryByName improvements and unification (#6897)
5 years ago
zeripath e55c874dd2 Add work path CLI option (#6922)
5 years ago
Tamal Saha 34d06f4c6b Handle CORS requests (#6289)
5 years ago
zeripath ce8de35334 Remove local clones & make hooks run on merge/edit/upload (#6672)
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
Lauris BH d9d538c8a1
Refactor table width to have more info shown in file list (#6867)
5 years ago
Lunny Xiao 2382f1b057
fix 500 when reviewer is deleted with integration tests (#6856)
5 years ago
zeripath 0081cd8dfe Add mssql migration tests (#6852)
5 years ago
techknowlogick 46373e7657
Hash App token (#6724)
5 years ago
zeripath 8d0d7bc28d Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631)
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 ff03b2f606 Fix: Sort repos on org home page with non-admin login (#6741)
5 years ago
Lunny Xiao 1d8b521ae1 Add tests for Org API (#6731)
5 years ago
Lunny Xiao 59be704efb Fix team members API (#6714)
5 years ago
zeripath b33f7f792b
Prevent creating empty sessions (#6677)
5 years ago
Filip Navara 2af67f6044 Improve listing performance by using go-git (#6478)
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
Jonas Franz 62d3f49c28 Add json tags for oauth2 form (#6627)
5 years ago
Antoine GIRARD d699de32f2 add .gpg url (match github behaviour) (#6610)
5 years ago
Jonas Franz 783cd64927 Add option to disable refresh token invalidation (#6584)
5 years ago
Mura Li 3186ef554c Support search operators for commits search (#6479)
5 years ago
zeripath c02c6a144f Fix race in integration testlogger (#6556)
5 years ago
zeripath 5422f23ed8 Quieter Integration Tests (#6513)
5 years ago
Elias Norberg bf5af87eef Show last commit status in pull request lists (#6465)
5 years ago
Lunny Xiao d578b71d61
move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364)
5 years ago
mrsdizzie d056bf300f Clean up ref name rules (#6437)
5 years ago
mrsdizzie ca46385637 Clean up various use of escape/unescape functions for URL generation (#6334)
5 years ago
Lunny Xiao 4a6b011b15 Add test environment for Mysql8 (#5234)
5 years ago
Bogdan Petrea 583968f274 Return 409 when creating repo if it already exists. (#6330)
5 years ago
Jonas Franz 2315019fef Add support for client basic auth for exchanging access tokens (#6293)
5 years ago
Jonas Franz e777c6bdc6 Integrate OAuth2 Provider (#5378)
5 years ago
John Olheiser d26d249748 Minor UI tweaks (#5980)
5 years ago
Lanre Adelowo 094263db4d Show email if the authenticated user owns the profile page being requested for (#4981)
5 years ago
Lunny Xiao f5fa22a499 Fix prohibit login check on authorization (#6106)
5 years ago
zeripath 2a03e96bce
Allow markdown files to read from the LFS (#5787)
5 years ago
Lunny Xiao 01bbf5ea69 Add API to list tags (#5850)
5 years ago
Lunny Xiao 2d213b64d1 use native golang SSH library but ssh-keygen when enable built-in SSH server to remove dependent on that command lines (#5976)
5 years ago
Gabriel Silva Simões 3b7f41f9f7 Fix serving of raw wiki files other than .md (#5814)
5 years ago
zeripath 01c10a951b
Fix ssh deploy and user key constraints (#1357) (#5939)
5 years ago
zeripath 13c0f7dfff
Fix notifications on pushing with deploy keys by setting hook environment variables (#5935)
5 years ago
Lunny Xiao ecefa9e724 Add single commit API support (#5843)
5 years ago
zeripath 3d91bb2f2d Make log mailer for testing (#5893)
5 years ago
Lauris BH fada6968a8 Fix new release creation API to allow empty target (#5870)
5 years ago
zeripath 8917d66571 Add migration test (#5773)
5 years ago
Gabriel Silva Simões 5f4a40c4a3 Revert #3711 overwrite of only show "No Description" to repo admins #2167 (#5836)
5 years ago
zeripath 44371b96f5 Ensure valid git author names passed in signatures (#5774)
5 years ago
zeripath 7d434376f1 Pooled and buffered gzip implementation (#5722)
5 years ago
zeripath 07802a2bc5 Refactor repo.isBare to repo.isEmpty #5629 (#5714)
5 years ago
Julian 4a685f8b87 Add rebase with merge commit merge style (#3844) (#4052)
5 years ago
Mura Li 9a33798b30 Fix type mismatch of format string (#5574)
5 years ago
Lunny Xiao 7fd34c0517
fix lfs version check warning log when using ssh protocol (#5501)
5 years ago
kolaente 6db7dbd333 Added test environment for mssql (#4282)
5 years ago
Lunny Xiao da5a0b8382
add tests for api user orgs (#5494)
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
Daniel Balko 3379141d81 API: '/orgs/:org/repos': return private repos with read access (#5310) (#3829) (#5383)
6 years ago
Lunny Xiao 8ef177f8c5 add api for user to create org (#5268)
6 years ago
Peter Hoffmann e08c7e521b Add raw blob endpoint to get objects by SHA ID (#5334)
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
Jerry Jacobs 22ad514297 Fix issue where ecdsa and other key types are not synced from LDAP (#5092) (#5094)
6 years ago
kolaente 6759237eda User action heatmap (#5131)
6 years ago
BetaCat 4090204944 CN translation of README (#5050)
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
zeripath d293a2b9d6 Add sudo functionality to the API (#4809)
6 years ago
SagePtr bf55276189 Fix redirect with non-ascii branch names (#4764) (#4810)
6 years ago
Julien Tant 7781e8cef2 Disable merging a WIP Pull request (#4529)
6 years ago
techknowlogick ab55ca7ebd
Add ability to delete a token (#4235)
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
David Schneiderbauer 0b3ea42847 hide issues from org private repos w/o team assignment (#4034)
6 years ago
David Schneiderbauer adba2ad609 fix not respecting landing page setting (#4209)
6 years ago
Alexey Terentyev 7b773bd49f Fixed drone command in readme (#4222)
6 years ago
Magnus Lindvall cdb9478774 LDAP Public SSH Keys synchronization (#1844)
6 years ago
David Schneiderbauer 099372d76c Refactor User Settings (#3900)
6 years ago
Lauris BH ff3971b830 Add LDAP integration tests (#3897)
6 years ago
kolaente 1fdf560678 Added user language setting (#3875)
6 years ago
Tris Forster 85d14cc229 Symlink icons (#1416) (#3826)
6 years ago
bugreport0 bac6d05e78 Improve English grammar and consistency. (#3614)
6 years ago
bugreport0 521945a2d2 Fix missing translations when updating username. (#3564)
6 years ago
Lauris BH ae30315a62
Fix escaping changed title in comments (#3530)
6 years ago
Ethan Koenig a2648281a0 Improvements to git integration test (#3466)
6 years ago
Antoine GIRARD 36a94da8da doc: Improve integrations examples (#3416)
6 years ago
Antoine GIRARD 9e842c8a72 Fix SSH auth lfs locks (#3152)
6 years ago
Antoine GIRARD 095fb9f2e3 Add integrations tests from git cli (#3377)
6 years ago
Marc Brückner 695b10bedd Fix API-Endpoint release (#3012)
6 years ago
Lauris BH be1330ec89 Remove hardcoded paths to fix randomly failing tests (#3347)
6 years ago
Lauris BH d8dff304c0
Fix randomly failing LFS lock tests in drone (#3346)
6 years ago
Sandro Santilli f2b841d0ec Add some instructions about running integration tests (#3319)
6 years ago
Sandro Santilli 44053532bb Serve .patch for pull requests (#3305)
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
Sandro Santilli a192f3052e Serve pull request .diff files (#3293)
6 years ago
Morgan Bazalgette 3d3faa2624 Responsive view (#2750)
6 years ago
Antoine GIRARD cc7b8e3379 Add more bench (#3161)
6 years ago
Ethan Koenig befa7445d2 Unit tests for routers/repo/issue_label (#3198)
6 years ago
Ethan Koenig 9f033bf2b5 Make test more robust (#3167)
6 years ago
Ethan Koenig 682ac11958 Log unexpected responses in integration tests (#3138)
6 years ago
Ethan Koenig d1efe2078a Fix integration tests (#3141)
6 years ago
Antoine GIRARD ef78309b65 Improve LFS tests + fix lfs url refs + keep path upper/lowercase in db. (#3092)
6 years ago
Ethan Koenig 54907dfbd1 Fix legacy URL redirects (#3100)
6 years ago
Vlad Temian 469ab99e9a Delete a user's public key via admin api (closes #3014) (#3059)
6 years ago
Ethan Koenig e59adcde65 Use httptest in integration tests (#3080)
6 years ago
Antoine GIRARD 4035ab05fa Fix git lfs path (#3016)
7 years ago
Antoine GIRARD d99f4ab003 Git LFS lock api (#2938)
7 years ago
Ethan Koenig b7ebaf6d20 Various wiki bug fixes (#2996)
7 years ago
Ethan Koenig c3b6383b3a Fix comment API paths (#2813)
7 years ago