Commit Graph

456 Commits (742e21aeba5c02935269a2a3681f4486019ce542)

Author SHA1 Message Date
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
Ethan Koenig 47f40ccd5e Add integration test for user deleting account (#2891)
7 years ago
Ethan Koenig 5abd1d2a68 Add integration test for logging out (#2892)
7 years ago
Lauris BH 57de1ff991
Fix API raw file content access for default branch (#2849)
7 years ago
Lauris BH 08b124dd47
Fix API raw requests for commits and tags (#2841)
7 years ago
Lauris BH 240609432b Issue content should not be updated when closing with comment (#2833)
7 years ago
Lauris BH 2e08f230ca
Use different directories for session files in integration tests (#2834)
7 years ago
Morlinest 1f04c00e2f Fix redirect url of legacy commits route (#2825)
7 years ago
Lunny Xiao f70758dec9 Add git clone test on integration test (#1682)
7 years ago
Ethan Koenig 1b6a962e70 Include HTTP method in test error message (#2815)
7 years ago
Ethan Koenig 513375c429 Make URL scheme unambiguous (#2408)
7 years ago
Ethan Koenig 5866eb2321 Code/repo search (#2582)
7 years ago
Morlinest ddb7f59ef4 Add search mode option to /api/repo/search (#2756)
7 years ago
Bwko 3ab580c8d6 Add branch overiew page (#2108)
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
Lunny Xiao 9e865cee67 Merge password and 2fa page on user settings (#2695)
7 years ago
Lauris BH c7f4f07765 Integration test for activity page (#2704)
7 years ago
Lauris BH f3833b7ce4 Create new branch from branch selection dropdown (#2130)
7 years ago
Lauris BH 1ec4dc6c1d Fix so that user can still fork his own repository to owned organizations (#2699)
7 years ago
Sandro Santilli a4cd4616c6 Update hard-coded version to 1.3.0-dev (#2390)
7 years ago
Morlinest c2346e4469 Add repository search unit and integration tests (#2575)
7 years ago
David Schneiderbauer 1eedd983ea Complete push webhooks (#2530)
7 years ago
Morlinest 80b430d7c0 Fix /api/repo/search integration tests (#2550)
7 years ago
Ethan Koenig 6c6533fb31 Make integration tests more user-friendly (#2536)
7 years ago
Ethan Koenig b0f7457d9e Improve issue search (#2387)
7 years ago
Lunny Xiao 1739e84ac0 improve protected branch to add whitelist support (#2451)
7 years ago
Lauris BH 377cd1ae38 Allow changing integration test database connection using env variables (#2484)
7 years ago
Lauris BH 8c3a2e817b Add missing fixture to clean gpg_key table (#2494)
7 years ago
Jonas Franz 5ccecb44ad Feature: Timetracking (#2211)
7 years ago
Antoine GIRARD 69dfe43ffc Fix some tests : make coverage -> test (#2492)
7 years ago
Thomas Boerger fd85e25f5f Hotfix for integration testing (#2473)
7 years ago
Antoine GIRARD 7c417bbb0d Only check at least one email gpg key (#2266)
7 years ago
Ethan Koenig d23b36c598 Error message for integration test (#2410)
7 years ago
Morlinest 8e61823ec4 Fix tests code to prevent some runtime errors (#2381)
7 years ago
Sandro Santilli 233bbcfa94 Fix integration test after librejs location change (#2374)
7 years ago
Lunny Xiao 64b7068846 Add more test for login links and fix a bug on action retrieve (#2361)
7 years ago
David Schneiderbauer 8aadf79f80 Add integration tests for signin (#2363)
7 years ago
Sandro Santilli 951c909a67 Add INTERNAL_TOKEN to integration .ini file (#2346)
7 years ago
Lunny Xiao 9e9e1e0e52 Add public links check (#2323)
7 years ago
Lunny Xiao aec826b023 fix template error on explore repos (#2319)
7 years ago
Michael Kuhn 934dd41fa6 Make SHOW_USER_EMAIL also apply to profiles (#2258)
7 years ago
silverwind fc29a405e8 More tweaks to repo top panel (#2267)
7 years ago
Ethan Koenig 49df677c47 Check for access in /repositories/:id (#2227)
7 years ago
Ethan Koenig fd45a032a7 Fix bare-repo bugs (#2199)
7 years ago
Ethan Koenig aff11bc65e Fix hooks for integration repo (#2216)
7 years ago
Lauris BH f33e6ae09e Remove unit types commits and settings (#2161)
7 years ago
Stefan Kalscheuer 0b177574c9 Only show SSH clone URL if signed in (#2169) (#2170)
7 years ago
Ethan Koenig dd758ad8dc More integration tests for comment API (#2156)
7 years ago
Aaron Walker 6a3c03762a API: support '/orgs/:org/repos' (#2047)
7 years ago
Ethan Koenig 858324c21a Fix username rendering bug (#2122)
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
Ethan Koenig 89cd4dd424 Cache session cookies in tests (#2128)
7 years ago
Ethan Koenig 4c57db7924 Remove unused files (#2124)
7 years ago
Ethan Koenig f1adaef458 Less verbose integration tests (#2123)
7 years ago
Ethan Koenig f99489d5c5 Fix API for branches with slashes (#2096)
7 years ago
Ethan Koenig fea902adc8 Check for valid renamed usernames (#2077)
7 years ago
Ethan Koenig eae9154811 Fix SQL bug in models.PullRequests
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 4c0e567062 Fix improper setup for integration tests (#2050)
7 years ago
Ethan Koenig f64c232953 Improve integration test helper functions (#2049)
7 years ago
Ethan Koenig 3ffedeab03 Fix bug in issue labels API (#2048)
7 years ago
Lauris BH 0a5dc640a1 Make branch deletion URL more like GitHub's, fixes #1397 (#1994)
7 years ago
Mura Li 754482bf5d Add integration test for repository migration (#1983)
7 years ago
Mura Li 4d2ea7dc41 Add integration test for issue creating (#2002)
7 years ago
Ethan Koenig 255adc40ae Don't show non-comments in comments API (#2001)
7 years ago
Ethan Koenig 4df1a24096 Let not-logged-in users view releases (#1999)
7 years ago
Bo-Yi Wu 90f9bb12c6 fix golint error and rename func for suggestion. (#1997)
7 years ago
Antoine GIRARD 6233e88f7f Use testing benchmark interface (#1993)
7 years ago
Ethan Koenig ce9b86082c Consolidate boilerplate in integration tests (#1979)
7 years ago
Ethan Koenig d1e4af66c1 Set console to debug for integration tests
7 years ago
Mura Li 01322af2e8 Add integration test for pull-request merge (#1912)
7 years ago
Shuanglei Tao 13f0e1255a Fix typo (#1974)
7 years ago
Mura Li 033aaf4b38 Add pull-create integration test (#1972)
7 years ago
Ethan Koenig 8fcda0442e Fix search by issue type (#1914)
7 years ago
Lunny Xiao 31b5e9177f fix collborators lack of units on orgnization repositories (#1968)
7 years ago
Ethan Koenig 5e92b82ac6 Fix uppercase default branch bug (#1965)
7 years ago
Kim "BKC" Carlbäcker 889409ba31 Fix setting.AppPath for integration tests (#1923)
7 years ago
Ethan Koenig 23d0735f90 Absolute path for setting.CustomConf
7 years ago
Ethan Koenig 61716bd8f7 Display URLs in integration test logs (#1924)
7 years ago
Ethan Koenig e9b1b908ee Fix setting.AppPath for integration tests
7 years ago
Mura Li 662b8bc2a2 Add integration test for file editing (#1907)
7 years ago
Mura Li 30a831698e Add integration test for repository forking
7 years ago
Ethan Koenig b900c04316 Display draft releases (#1854)
7 years ago
Ethan Koenig 5554165a0c Fix pull request compare link (#1832)
7 years ago
Ethan Koenig bafd778c25 Fix invalid reference in feeds template (#1820)
7 years ago
Ethan Koenig 7e6ff69c00 Fix 500 for GET /teams/:id endpoints (#1811)
7 years ago
Ethan Koenig 0c332f0480 Fix activity feed (#1779)
7 years ago
Ethan Koenig cf02cd7ba0 Fix and test for delete user (#1713)
7 years ago
Ethan Koenig 251fb935ff Don't recreate database in integration tests (#1697)
7 years ago
Lunny Xiao d98a86d2a2 remove sqlite tag when integration test with mysql/postgres AND recreate database when init integration test (#1693)
7 years ago
Lauris BH 51d0becb42 Add configuration option for default permission to create Organizations (#1686)
7 years ago
Lunny Xiao 2bb8b3a562 fix bug when push a branch name with / & fix an integration test bug (#1689)
7 years ago
Lauris BH 79494047b0 Show commit status icon in commits table (#1688)
7 years ago
Lauris BH 0144817971 Do not allow commiting to protected branch from online editor (#1502)
7 years ago
Ethan Koenig 66c803fae2 MySQL, Postgres integration tests in drone (#1638)
7 years ago
Lunny Xiao 0308d44a16 fix #1643 and improve integration test (#1645)
7 years ago
Lunny Xiao e31c02d4bf fix bug on issue view when not login (#1624)
7 years ago
Lunny Xiao 61b08b5c01 bug fixed for API to get user's repos (#1622)
7 years ago