summaryrefslogtreecommitdiffstats
path: root/integrations
Commit message (Collapse)AuthorAgeFilesLines
* Improve English grammar and consistency. (#3614)bugreport02018-04-192-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | * Start improving English grammar and consistency. * Apply review comments, push translation further. * Additional review changes; expand translation. * Undo team/organization change, further translation. * Add site administration; review comments; merge. * Update hardcoded branch protection string tests. * Update hardcoded branch deletion string test. * Update another hardcoded translation string test. * Add my nickname to the list of translators. * Implement @lafriks review comments. * Remove (now) unused branch deletion warnings. * Remove (now) unused branch deletion warnings.
* Fix missing translations when updating username. (#3564)bugreport02018-02-251-1/+1
| | | | | | | | * Fix missing translations when updating username. * Fix reserved username translated string test. * Fix 'username reserved' string test a bit more.
* Fix escaping changed title in comments (#3530)Lauris BH2018-02-183-10/+45
| | | | | | | | * Fix escaping changed title in comments * Fix escaping of wiki page titile Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
* Improvements to git integration test (#3466)Ethan Koenig2018-02-061-11/+7
|
* doc: Improve integrations examples (#3416)Antoine GIRARD2018-01-271-4/+38
|
* Fix SSH auth lfs locks (#3152)Antoine GIRARD2018-01-272-7/+5
| | | | | | | | | | * Fix SSH auth LFS locks * Activate SSH/lock test * Remove debug * Follow @lunny recommendation for AfterLoad method
* Add integrations tests from git cli (#3377)Antoine GIRARD2018-01-165-140/+246
| | | | | | | | | | | * test: integration add git cli tests Extracted form for easing review process and debug #3152 * test: integration add git cli big file commit * fix: Don't rewrite key if internal server
* Fix API-Endpoint release (#3012)Marc Brückner2018-01-161-0/+85
| | | | | | | | | * Fixes API-Endpoint release (#3005) * Using context.ReferencesGitRepo(); doing the same in the PATCH route. * Add release create, get and update test
* Remove hardcoded paths to fix randomly failing tests (#3347)Lauris BH2018-01-114-0/+5
| | | | | | * Remove hardcoded paths to fix randomly failing tests * Use correct function for merge path
* Fix randomly failing LFS lock tests in drone (#3346)Lauris BH2018-01-112-0/+2
|
* Add some instructions about running integration tests (#3319)Sandro Santilli2018-01-081-0/+22
| | | | | | | | * Add some instructions about running integration tests * Add missing newline escape * Suggest running a clean build
* Serve .patch for pull requests (#3305)Sandro Santilli2018-01-071-1/+9
| | | | | | | | | * Serve .patch for pull requests Closes #3259 Updates "git" module, for GetFormatPatch * Handle io.Copy error
* Writable deploy keys (closes #671) (#3225)Vlad Temian2018-01-071-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add is_writable checkbox to deploy keys interface * Add writable key option to deploy key form * Add support for writable ssh keys in the interface * Rename IsWritable to ReadOnly * Test: create read-only and read-write deploy keys via api * Add DeployKey access mode migration * Update gitea sdk via govendor * Fix deploykey migration * Add unittests for writable deploy keys * Move template text to locale * Remove implicit column update * Remove duplicate locales * Replace ReadOnly field with IsReadOnly method * Fix deploy_keys related integration test * Rename v54 migration with v55 * Fix migration hell
* Add Pull Request merge options - Ignore white-space for conflict checking, ↵Lauris BH2018-01-052-5/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rebase, Squash merge (#3188) * Pull request options migration and UI in settings * Add ignore whitespace functionality * Fix settings if pull requests are disabled * Fix migration transaction * Merge with Rebase functionality * UI changes and related functionality for pull request merging button * Implement squash functionality * Fix rebase merging * Fix pull request merge tests * Add squash and rebase tests * Fix API method to reuse default message functions * Some refactoring and small fixes * Remove more hardcoded values from tests * Remove unneeded check from API method * Fix variable name and comment typo * Fix reset commit count after PR merge
* Serve pull request .diff files (#3293)Sandro Santilli2018-01-051-3/+12
| | | | | | | | | | | | * Serve pull request .diff files Closes #3259 * Add test for pull request redirection and .diff access * Typo * There's no need to test for pr.BaseRepo being nil after calling GetBaseRepo
* Responsive view (#2750)Morgan Bazalgette2017-12-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Viewport meta tag * responsive: dashboard * responsive: issues page * responsive: Explore page * responsive: navbar, and some navbar css refactoring * responsive: button for collapsing navbar in mobile view * Mark the hamburger button as active when pressed * better homepage for responsive views * Bring back jump class in navbar The class was necessary, because this way the dropdown doesn't assume the contents of the selected item. * make repository homes responsive * Make file view page responsive * Make forms look good on responsive views * make commits and commit diff view responsive * issues and PRs * responsive wiki * Don't place auto-init far off the page * Minor changes to amend broken stuff minor improvements - make login/sign up in navbar stackable - make navbar in explore and sign in not stackable Change selected class in TestPullCompare Fix typo that happened when rebasing fix dashboard on org view improve profile UI Use clearing on file diff to fix broken UI caused by floating elements remove unresolved merge conflict, and | Sanitize Fix repo home not loading
* Add more bench (#3161)Antoine GIRARD2017-12-243-27/+114
| | | | | | * Improve makefile + Add benchs * Apply recommendations of @ethantkoenig
* Unit tests for routers/repo/issue_label (#3198)Ethan Koenig2017-12-159-17/+24
|
* Make test more robust (#3167)Ethan Koenig2017-12-121-1/+1
|
* Log unexpected responses in integration tests (#3138)Ethan Koenig2017-12-111-2/+28
| | | | | | * Log flash error message in integration tests * Also log short, non-HTML responses
* Fix integration tests (#3141)Ethan Koenig2017-12-111-0/+1
|
* Improve LFS tests + fix lfs url refs + keep path upper/lowercase in db. (#3092)Antoine GIRARD2017-12-0810-23/+148
| | | | | | | | | | | | | | | | | | | | | | | | * Add failing test * Fix urls * Improve url in tests * improve testing * Remove debug code * Add deps * LFS corner-case : Search on lower but store with case * Temporary comment of blocking action * fix hooks * Use temporary repo for git client test * Use userPassword in place of hard-coded password
* Fix legacy URL redirects (#3100)Ethan Koenig2017-12-071-2/+4
|
* Delete a user's public key via admin api (closes #3014) (#3059)Vlad Temian2017-12-061-0/+73
| | | | | | | | | | | | | | | | * Delete a user's public key via admin api * Test admin ssh endpoint for creating a new ssh key * Adapt public ssh key test to also test the delete operation * Test that deleting a missing key will result in a 404 * Test that a normal user can't delete another user's ssh key * Make DeletePublicKey return err * Update swagger doc
* Use httptest in integration tests (#3080)Ethan Koenig2017-12-0412-100/+77
|
* Fix git lfs path (#3016)Antoine GIRARD2017-11-291-13/+10
| | | | | | | | * add suffix .git * Remove Content-Type on GET methods * Add migrations to force creation before any further potential migration
* Git LFS lock api (#2938)Antoine GIRARD2017-11-284-16/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement routes * move to api/sdk and create model * Implement add + list * List return 200 empty list no 404 * Add verify lfs lock api * Add delete and start implementing auth control * Revert to code.gitea.io/sdk/gitea vendor * Apply needed check for all lfs locks route * Add simple tests * fix lint * Improve tests * Add delete test + fix * Add lfs ascii header * Various fixes from review + remove useless code + add more corner case testing * Remove repo link since only id is needed. Save a little of memory and cpu time. * Improve tests * Use TEXT column format for path + test * fix mispell * Use NewRequestWithJSON for POST tests * Clean path * Improve DB format * Revert uniquess repoid+path * (Re)-setup uniqueness + max path length * Fixed TEXT in place of VARCHAR * Settle back to maximum VARCHAR(3072) * Let place for repoid in key * Let place for repoid in key * Let place for repoid in key * Revert back
* Various wiki bug fixes (#2996)Ethan Koenig2017-11-2817-0/+509
| | | | | | * Update macaron * Various wiki bug fixes
* Fix comment API paths (#2813)Ethan Koenig2017-11-201-4/+4
|
* Add integration test for user deleting account (#2891)Ethan Koenig2017-11-121-2/+45
|
* Add integration test for logging out (#2892)Ethan Koenig2017-11-111-0/+26
|
* Fix API raw file content access for default branch (#2849)Lauris BH2017-11-041-0/+3
|
* Fix API raw requests for commits and tags (#2841)Lauris BH2017-11-041-0/+28
|
* Issue content should not be updated when closing with comment (#2833)Lauris BH2017-11-032-7/+60
|
* Use different directories for session files in integration tests (#2834)Lauris BH2017-11-032-0/+2
|
* Fix redirect url of legacy commits route (#2825)Morlinest2017-11-031-1/+3
|
* Add git clone test on integration test (#1682)Lunny Xiao2017-11-022-2/+65
|
* Include HTTP method in test error message (#2815)Ethan Koenig2017-11-011-1/+1
|
* Make URL scheme unambiguous (#2408)Ethan Koenig2017-10-304-58/+74
| | | | | | | | | | * Make URL scheme unambiguous Redirect old routes to new routes * Fix redirects to new URL scheme, and update template * Fix branches/_new endpoints, and update integration test
* Code/repo search (#2582)Ethan Koenig2017-10-275-0/+45
| | | Indexed search of repository contents (for default branch only)
* Add search mode option to /api/repo/search (#2756)Morlinest2017-10-271-6/+51
| | | | | | | | | | | | | | | | | | | | | | | | * Add repo type option to /api/repo/search * Add tests and fix result of collaborative filter in specific condition * Fix/optimize search & tests * Improve integration tests * Fix lint errors * Fix unit tests * Change and improve internal implementation of repo search * Use NonexistentID * Make search api more general * Change mirror and fork search behaviour * Fix tests & typo in comment
* Add branch overiew page (#2108)Bwko2017-10-261-0/+79
| | | | | | | | * Add branch overiew page * fix changed method name on sub menu * remove unused code
* Move swagger-ui under /api/v1 (#2746)Antoine GIRARD2017-10-211-2/+4
| | | | | | | | | | | | * Move swagger interface under /api/v1 * Update swagger-ui * Add /api/swagger and prepare for multiple api version * Update test links * Fix footer link
* Fix repository search function (#2689)Morlinest2017-10-171-5/+10
| | | | | | | | | | | | | | | | * Fix and remove FIXME * Respect membership visibility * Fix/rewrite searchRepositoryByName function * Add unit tests * Add integration tests * Remove Searcher completely * Remove trailing space
* Merge password and 2fa page on user settings (#2695)Lunny Xiao2017-10-161-2/+2
| | | * merge password and 2fa page on user settings
* Integration test for activity page (#2704)Lauris BH2017-10-164-12/+68
| | | | | | | | * Integration test for activity page * Small code refactoring for acitvity page * Move activity stats calculation logic to model
* Create new branch from branch selection dropdown (#2130)Lauris BH2017-10-151-0/+132
| | | | | | | | | | * Create new branch from branch selection dropdown and rewrite it to VueJS * Make updateLocalCopyToCommit as not exported * Move branch name validation to model * Fix possible race condition
* Fix so that user can still fork his own repository to owned organizations ↵Lauris BH2017-10-153-10/+31
| | | | | | | | | | (#2699) * Fix so that user can still fork his own repository to his organizations * Fix to only use owned organizations * Add integration test for forking own repository to owned organization
* Update hard-coded version to 1.3.0-dev (#2390)Sandro Santilli2017-10-121-1/+1
| | | | | | * Use -dev (1.3.0-dev is less than 1.3.0, according to semver) * Use fake version for testing purpose
* Add repository search unit and integration tests (#2575)Morlinest2017-10-101-1/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add more repo search tests * Fix repo search tests * Always test returned repos length * Add test with lower pagesize limit (test more pages) * Add and fix /api/repo/search integration tests * Simplify unit tests code * Simplify and unify integration tests code * Improve test coverage * Temporary fix tests due to bugs in current repo search implementation * Revert removing not nil Searcher * Add more checks to tests * Simplify privacy checks in /api/repo tests * Temporary remove privacy check from repo search tests