summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Clean less files (#6921)Xaver Maierhofer2019-05-1317-999/+1385
|
* Use modules/git for git commands (#6775)Mura Li2019-05-131-82/+42
|
* Change drone token name to let users know to use oauth2 (#6912)techknowlogick2019-05-121-3/+10
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-121-1/+3
|
* Fix input size for dependency select (#6913)Xaver Maierhofer2019-05-123-4/+13
|
* fix syntax highlight in blame view #6895 (#6909)iliyan ivanov2019-05-111-1/+1
|
* Remove local clones & make hooks run on merge/edit/upload (#6672)zeripath2019-05-1133-1463/+1698
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add options to git.Clone to make it more capable * Begin the process of removing the local copy and tidy up * Remove Wiki LocalCopy Checkouts * Remove the last LocalRepo helpers * Remove WithTemporaryFile * Enable push-hooks for these routes * Ensure tests cope with hooks Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove Repository.LocalCopyPath() * Move temporary repo to use the standard temporary path * Fix the tests Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove LocalWikiPath * Fix missing remove Signed-off-by: Andrew Thornton <art27@cantab.net> * Use AppURL for Oauth user link (#6894) * Use AppURL for Oauth user link Fix #6843 * Update oauth.go * Update oauth.go * internal/ssh: ignore env command totally (#6825) * ssh: ignore env command totally * Remove commented code Needed fix described in issue #6889 * Escape the commit message on issues update and title in telegram hook (#6901) * update sdk to latest (#6903) * improve description of branch protection (fix #6886) (#6906) The branch protection description text were not quite accurate. * Fix logging documentation (#6904) * ENABLE_MACARON_REDIRECT should be REDIRECT_MACARON_LOG * Allow DISABLE_ROUTER_LOG to be set in the [log] section * [skip ci] Updated translations via Crowdin * Move sdk structs to modules/structs (#6905) * move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
* Move sdk structs to modules/structs (#6905)Lunny Xiao2019-05-11188-2144/+717
| | | | | | | | | | | | * move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-1111-22/+0
|
* Fix logging documentation (#6904)zeripath2019-05-112-2/+4
| | | | | | * ENABLE_MACARON_REDIRECT should be REDIRECT_MACARON_LOG * Allow DISABLE_ROUTER_LOG to be set in the [log] section
* improve description of branch protection (fix #6886) (#6906)Jannik Beyerstedt2019-05-111-2/+2
| | | The branch protection description text were not quite accurate.
* update sdk to latest (#6903)techknowlogick2019-05-108-21/+82
|
* Escape the commit message on issues update and title in telegram hook (#6901)zeripath2019-05-102-2/+4
|
* internal/ssh: ignore env command totally (#6825)Antoine GIRARD2019-05-091-12/+0
| | | | | | | | * ssh: ignore env command totally * Remove commented code Needed fix described in issue #6889
* Use AppURL for Oauth user link (#6894)techknowlogick2019-05-091-1/+1
| | | | | | | | | | * Use AppURL for Oauth user link Fix #6843 * Update oauth.go * Update oauth.go
* Fixes #6881 - API users search fix (#6882)Richard Mahn2019-05-084-2/+69
|
* 1.8.1 changelog (#6877) (#6878)John Olheiser2019-05-081-0/+26
| | | | | | | | | | * New and improved Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add backport/original PR numbers Change wording for 500 error Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Show full name if DefaultShowFullName setting activated (#6710)Wim2019-05-0816-49/+84
| | | | | Adds a new key DEFAULT_SHOW_FULL_NAME (default false) to the [ui] section. If enabled the full name will be shown (unless it's empty, then the default username will be used)
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-081-0/+33
|
* Change the color of issues/pulls list, merged is purple and closed is red ↵Lunny Xiao2019-05-081-1/+1
| | | | (#6874)
* Add documentation for OTP/2FA header in API for basic auth (#6872)techknowlogick2019-05-071-0/+6
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-072-0/+43
|
* Fix 404 when send pull request some situation (#6871)Lunny Xiao2019-05-0762-12/+1196
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-072-0/+41
|
* Improve migrations to support migrating ↵Lunny Xiao2019-05-07128-75/+33540
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | milestones/labels/issues/comments/pullrequests (#6290) * add migrations * fix package dependency * fix lints * implements migrations except pull requests * add releases * migrating releases * fix bug * fix lint * fix migrate releases * fix tests * add rollback * pull request migtations * fix import * fix go module vendor * add tests for upload to gitea * more migrate options * fix swagger-check * fix misspell * add options on migration UI * fix log error * improve UI options on migrating * add support for username password when migrating from github * fix tests * remove comments and fix migrate limitation * improve error handles * migrate API will also support migrate milestones/labels/issues/pulls/releases * fix tests and remove unused codes * add DownloaderFactory and docs about how to create a new Downloader * fix misspell * fix migration docs * Add hints about migrate options on migration page * fix tests
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-061-0/+1
|
* Enforce osusergo build tag for releases (#6862)Antoine GIRARD2019-05-061-3/+3
|
* Refactor table width to have more info shown in file list (#6867)Lauris BH2019-05-064-142/+453
| | | | | | | | * Refactor table width to have more info shown in file list * Remove unnecesary semicolon * Fix tests for changed html structure
* fix config ui error about cache ttl (#6861)Lunny Xiao2019-05-063-0/+6
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-063-5/+7
|
* fix 500 when reviewer is deleted with integration tests (#6856)Lunny Xiao2019-05-065-2/+49
|
* [docker] drop the docker Makefile from the image (#6507)Jakob Ackermann2019-05-0513-1/+1
|
* Add mssql migration tests (#6852)zeripath2019-05-065-8/+8
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-052-0/+27
|
* Don't post process commit summary in templates (#6842)mrsdizzie2019-05-052-3/+3
| | | | | | | | | | | | | | | | | * Don't post process commit summary in templates Don't run summary through render/post process to avoid it generating links and breaking certain views where the summary is already expected to be a link to the commit. For consistancy, disable processing of summary in all locations. Fixes #6809 * Do process title on diff page On second thought, the title is often the only place a pull request number will exists so do process it on the individual diff page. This fixes the list view and still gives easy access to the PR link
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-051-0/+17
|
* Attempt to fix #6707 (#6823)zeripath2019-05-051-1/+8
|
* Add GET requests to webhook (#6771)Simon2019-05-058-15/+71
| | | | | | | | | | | | | | * Add GET requests to webhook * make fmt * Handle invalid http method on webhook * Uppercase http method in webhook * Rename v85.go to v86.go * make fmt
* Number of commits ahead/behind in branch overview (#6695)Mario Lubenka2019-05-057-6/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Call Git API to determine divergence of a branch and its base branch Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Show commit divergance in branch list Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Adds missing comment Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Adds test for diverging commits Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Try comparing commits instead of branches Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Removes test as CI can't run it Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Adjusts signature of percentage function to allow providing multiple integers as numerator Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Moves CountDivergingCommits function into repofiles module Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-051-0/+21
|
* Fix v85.go: Set UNIQUE constraint later (#6851)zeripath2019-05-051-3/+21
| | | Signed-off-by: Andrew Thornton <art27@cantab.net>
* docs(*): fix codecov bad links in README_ZH (#6850)Songlin Yang2019-05-051-1/+1
|
* add french specific rule for translating plural texts (#6846)ngourdon2019-05-041-0/+6
|
* Generate access token in admin cli (#6847)Lanre Adelowo2019-05-041-2/+21
| | | | * add cli flag for access token while creating a user
* Improve localization of git activity stats (#6848)Lauris BH2019-05-042-4/+8
|
* Hash App token (#6724)techknowlogick2019-05-0416-44/+239
|
* Git statistics in Activity tab (#4724)Lauris BH2019-05-047-8/+306
| | | | | | | | | | | | | | | | | | * Initial implementation for git statistics in Activity tab * Create top user by commit count endpoint * Add UI and update src-d/go-git dependency * Add coloring * Fix typo * Move git activity stats data extraction to git module * Fix message * Add git code stats test
* Update https://github.com/urfave/cli to version 1.2.0 (#6838)Antoine GIRARD2019-05-0316-168/+580
| | | From un-tagged pervious version : https://github.com/urfave/cli/compare/d86a009f5e13...master
* Fix #6813: Allow git.GetTree to take both commit and tree names (#6816)Filip Navara2019-05-024-11/+17
| | | | | | | | | | * Allow git.GetTree to take both commit and tree names, return full paths on entries listed through Tree.ListEntriesRecursive Signed-off-by: Filip Navara <filip.navara@gmail.com> * Fix the SHA returned on Git Tree APIs called with commit hash or symbolic name Signed-off-by: Filip Navara <filip.navara@gmail.com>
* Drone: Do full branch clone and get tags for correct version hashes (#6836)kolaente2019-05-021-6/+5
| | | | Although #591 attempted to make version hashes be preceded with tag names on our branch builds, it would fail again silently at 50 commits because we were not cloning the full branch. Drone's new plugin will do a single branch clone by default meaning that depth is no longer necessary.