Commit Graph

306 Commits (d86e5871869a32b7b8dddc688641d2c4257b740d)

Author SHA1 Message Date
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)
7 years ago
Ethan Koenig 54907dfbd1 Fix legacy URL redirects (#3100)
7 years ago
Vlad Temian 469ab99e9a Delete a user's public key via admin api (closes #3014) (#3059)
7 years ago
Ethan Koenig e59adcde65 Use httptest in integration tests (#3080)
7 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
Lunny Xiao fca7ddc6ea improve integration test to resue models/fixtures and store git repos with tests (#1627)
7 years ago
Ethan Koenig c58708d3ee Integration test framework (#1290)
7 years ago
Sandro Santilli f73e734411 Run "make fmt" with go-1.6 (#1333)
7 years ago
Mura Li bdcc1a23e0 Add integration test for signup (#1135)
7 years ago
Mura Li 288226e13c Fix stray directories generated by integration tests (#1134)
7 years ago
Mura Li 848293671b Add basic integration test infrastructure (and new endpoint `/api/v1/version` for testing it) (#741)
7 years ago