summaryrefslogtreecommitdiffstats
path: root/integrations
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Complete push webhooks (#2530)David Schneiderbauer2017-09-211-0/+1
| | | | | | | | | | | | | | | | | * implemented missing 'delete' push webhooks moreover created ActionDeleteBranch and ActionDeleteTag * add CommitRepoAction tests for tag/branch creation/deletion * fixed error where push webhook not called if is new branch or tag removed unnecessary code * moved prepare unit test environment into separate method to be used across unit tests * add missing if clause in pushUpdate Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Fix /api/repo/search integration tests (#2550)Morlinest2017-09-201-9/+5
|
* Make integration tests more user-friendly (#2536)Ethan Koenig2017-09-181-1/+5
|
* Improve issue search (#2387)Ethan Koenig2017-09-165-6/+55
| | | | | | | | | | * Improve issue indexer * Fix new issue sqlite bug * Different test indexer paths for each db * Add integration indexer paths to make clean
* improve protected branch to add whitelist support (#2451)Lunny Xiao2017-09-143-8/+21
| | | | | | | | | | | | | | | | | | | | * improve protected branch to add whitelist support * fix lint * fix style check * fix tests * fix description on UI and import * fix test * bug fixed * fix tests and languages * move isSliceInt64Eq to util pkg; improve function names & typo
* Allow changing integration test database connection using env variables (#2484)Lauris BH2017-09-132-8/+8
|
* Add missing fixture to clean gpg_key table (#2494)Lauris BH2017-09-121-0/+4
| | | | | | * Add missing fixture to clean gpg_key table * Fix possible too fast request execution in timetracker start/stop test
* Feature: Timetracking (#2211)Jonas Franz2017-09-122-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added comment's hashtag to url for mail notifications. * Added explanation to return statement + documentation. * Replacing in-line link generation with HTMLURL. (+gofmt) * Replaced action-based model with nil-based model. (+gofmt) * Replaced mailIssueActionToParticipants with mailIssueCommentToParticipants. * Updating comment for mailIssueCommentToParticipants * Added link to comment in "Dashboard" * Deleting feed entry if a comment is going to be deleted * Added migration * Added improved migration to add a CommentID column to action. * Added improved links to comments in feed entries. * Fixes #1956 by filtering for deleted comments that are referenced in actions. * Introducing "IsDeleted" column to action. * Adding design draft (not functional) * Adding database models for stopwatches and trackedtimes * See go-gitea/gitea#967 * Adding design draft (not functional) * Adding translations and improving design * Implementing stopwatch (for timetracking) * Make UI functional * Add hints in timeline for time tracking events * Implementing timetracking feature * Adding "Add time manual" option * Improved stopwatch * Created report of total spent time by user * Only showing total time spent if theire is something to show. * Adding license headers. * Improved error handling for "Add Time Manual" * Adding @sapks 's changes, refactoring * Adding API for feature tracking * Adding unit test * Adding DISABLE/ENABLE option to Repository settings page * Improving translations * Applying @sapk 's changes * Removing repo_unit and using IssuesSetting for disabling/enabling timetracker * Adding DEFAULT_ENABLE_TIMETRACKER to config, installation and admin menu * Improving documentation * Fixing vendor/ folder * Changing timtracking routes by adding subgroups /times and /times/stopwatch (Proposed by @lafriks ) * Restricting write access to timetracking based on the repo settings (Proposed by @lafriks ) * Fixed minor permissions bug. * Adding CanUseTimetracker and IsTimetrackerEnabled in ctx.Repo * Allow assignees and authors to track there time too. * Fixed some build-time-errors + logical errors. * Removing unused Get...ByID functions * Moving IsTimetrackerEnabled from context.Repository to models.Repository * Adding a seperate file for issue related repo functions * Adding license headers * Fixed GetUserByParams return 404 * Moving /users/:username/times to /repos/:username/:reponame/times/:username for security reasons * Adding /repos/:username/times to get all tracked times of the repo * Updating sdk-dependency * Updating swagger.v1.json * Adding warning if user has already a running stopwatch (auto-timetracker) * Replacing GetTrackedTimesBy... with GetTrackedTimes(options FindTrackedTimesOptions) * Changing code.gitea.io/sdk back to code.gitea.io/sdk * Correcting spelling mistake * Updating vendor.json * Changing GET stopwatch/toggle to POST stopwatch/toggle * Changing GET stopwatch/cancel to POST stopwatch/cancel * Added migration for stopwatches/timetracking * Fixed some access bugs for read-only users * Added default allow only contributors to track time value to config * Fixed migration by chaging x.Iterate to x.Find * Resorted imports * Moved Add Time Manually form to repo_form.go * Removed "Seconds" field from Add Time Manually * Resorted imports * Improved permission checking * Fixed some bugs * Added integration test * gofmt * Adding integration test by @lafriks * Added created_unix to comment fixtures * Using last event instead of a fixed event * Adding another integration test by @lafriks * Fixing bug Timetracker enabled causing error 500 at sidebar.tpl * Fixed a refactoring bug that resulted in hiding "HasUserStopwatch" warning. * Returning TrackedTime instead of AddTimeOption at AddTime. * Updating SDK from go-gitea/go-sdk#69 * Resetting Go-SDK back to default repository * Fixing test-vendor by changing ini back to original repository * Adding "tags" to swagger spec * govendor sync * Removed duplicate * Formatting templates * Adding IsTimetrackingEnabled checks to API * Improving translations / english texts * Improving documentation * Updating swagger spec * Fixing integration test caused be translation-changes * Removed encoding issues in local_en-US.ini. * "Added" copyright line * Moved unit.IssuesConfig().EnableTimetracker into a != nil check * Removed some other encoding issues in local_en-US.ini * Improved javascript by checking if data-context exists * Replaced manual comment creation with CreateComment * Removed unnecessary code * Improved error checking * Small cosmetic changes * Replaced int>string>duration parsing with int>duration parsing * Fixed encoding issues * Removed unused imports Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix some tests : make coverage -> test (#2492)Antoine GIRARD2017-09-12106-11/+20
| | | | | | | | * Fix test : make coverage -> test * Refactor integration tests to be able to run them in parallel * Add custom local repository temp path
* Hotfix for integration testing (#2473)Thomas Boerger2017-09-103-7/+2
| | | | | | * Hotfix for integration testing * Comment sqlite tests because of database locking issues
* Only check at least one email gpg key (#2266)Antoine GIRARD2017-09-0530-0/+799
| | | | | | | | | | | | | | | | | | | | | | * Only require one email (possibly not yet validated) * Update message error and check validation of commit * Add integrations tests * Complete integration for import * Add pre-check/optimization * Add some test (not finished) * Finish * Fix fixtures * Fix typo * Don't guess key ID
* Error message for integration test (#2410)Ethan Koenig2017-08-281-1/+2
|
* Fix tests code to prevent some runtime errors (#2381)Morlinest2017-08-281-2/+3
| | | | | | * Fix tests code to prevent some runtime errors * Reduce nesting
* Fix integration test after librejs location change (#2374)Sandro Santilli2017-08-241-1/+1
| | | Fixes #2373
* Add more test for login links and fix a bug on action retrieve (#2361)Lunny Xiao2017-08-231-0/+97
| | | | * add more test for login links and fix a bug on action retrieve
* Add integration tests for signin (#2363)David Schneiderbauer2017-08-232-4/+71
| | | Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Add INTERNAL_TOKEN to integration .ini file (#2346)Sandro Santilli2017-08-211-0/+1
| | | | | | | Avoids override of source file upon running `make test-pgsql` Long story: settings.NewContext *adds* an INTERNAL_TOKEN if none is found; the other ini files under integration/ all have an INTERNAL_TOKEN
* Add public links check (#2323)Lunny Xiao2017-08-171-0/+33
| | | | | | * add public links check * more links for query parameters
* fix template error on explore repos (#2319)Lunny Xiao2017-08-171-0/+17
|
* Make SHOW_USER_EMAIL also apply to profiles (#2258)Michael Kuhn2017-08-171-0/+70
| | | The e-mail address is currently only hidden from the explore page.
* More tweaks to repo top panel (#2267)silverwind2017-08-131-1/+1
| | | | | | | | | | * More tweaks to repo top panel * undo hiding of compare button on master * attempt to fix ci issue * another ci attempt
* Check for access in /repositories/:id (#2227)Ethan Koenig2017-07-301-0/+8
| | | | | | * Check for access in /repositories/:id * Integration test
* Fix bare-repo bugs (#2199)Ethan Koenig2017-07-2720-0/+563
| | | | | | | | * Fix bare-repo bugs * Integration tests * Unused import
* Fix hooks for integration repo (#2216)Ethan Koenig2017-07-277-3/+30
|
* Remove unit types commits and settings (#2161)Lauris BH2017-07-171-1/+1
| | | | | | | | | | * Remove unit types commits and settings * Can not limit units in administrator teams * Limit changing units only to teams with read and write access mode * Small code optimization
* Only show SSH clone URL if signed in (#2169) (#2170)Stefan Kalscheuer2017-07-151-0/+37
| | | | | | | | | | | | | | | | | | | * Add configuration flag SSH_EXPOSE_ANONYMOUS If this flag (default True) is set to false, the SSH clone URL will only be exposed if the current user is signed in. * Default SSH exposure set to false To match GitHub and for security reasons, SSH URL exposure is disabled by default. In addition to that. minor code changes have been applied. Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de> * Add integration tests * Hide clone button neither HTTP and SSH is enabled Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
* More integration tests for comment API (#2156)Ethan Koenig2017-07-141-1/+90
|
* API: support '/orgs/:org/repos' (#2047)Aaron Walker2017-07-131-0/+21
| | | * API: support '/orgs/:org/repos'
* Fix username rendering bug (#2122)Ethan Koenig2017-07-121-0/+37
| | | | | | | | * Fix username rendering bug * XSS integration test * Migration to unescape user full names
* Fix repo API bug (#2133)Ethan Koenig2017-07-123-0/+69
| | | Don't require token when not necessary
* Fix GET /users/:username/repos endpoint (#2125)Ethan Koenig2017-07-101-4/+33
|
* Cache session cookies in tests (#2128)Ethan Koenig2017-07-091-1/+8
|
* Remove unused files (#2124)Ethan Koenig2017-07-072-23/+0
|
* Less verbose integration tests (#2123)Ethan Koenig2017-07-0724-223/+122
| | | * Helper functions for intergration test boilerplate
* Fix API for branches with slashes (#2096)Ethan Koenig2017-07-022-0/+45
|
* Check for valid renamed usernames (#2077)Ethan Koenig2017-07-011-0/+99
| | | | | | | | | | * Check for valid renamed usernames * Integration test * Test for username with space * Make name field required
* Fix SQL bug in models.PullRequestsEthan Koenig2017-07-011-0/+31
|