aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* [skip ci] Updated translations via CrowdinGiteaBot2019-05-021-1/+1
|
* Fix double-generation of scratch token (#6832) (#6833)SagePtr2019-05-021-5/+1
|
* Allow Recaptcha service url to be configured (#6820)zeripath2019-05-028-5/+20
|
* When mirroring we should set the remote to mirror (#6824)zeripath2019-05-021-1/+1
|
* Rename LFS_JWT_SECRET to include OAUTH2 as well (#6826)techknowlogick2019-05-012-5/+6
|
* Change verbose flag in dump command to avoid colliding with global version ↵John Olheiser2019-05-012-2/+2
| | | | | | | | | flag (#6822) * Change verbose flag to avoid colliding with version flag * Update docs Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Improve issue reference on commit (#6694)mrsdizzie2019-05-012-9/+155
| | | | | | | | | | | | | | * Improve issue reference on commit Allow commits to properly reference issues in other repositories and also to close/reopen those issues if user has code permission. Should match Github behavior described here: https://help.github.com/en/articles/closing-issues-using-keywords Fixes 6664 * Fix missing return * Match user/repo directly in regex
* update github.com/mcuadros/go-version to v0.0.0-20190308113854-92cdf37c5b75 ↵Lunny Xiao2019-05-015-13/+48
| | | | (#6815)
* Add existing issues (#6811)Antoine GIRARD2019-04-301-7/+7
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-04-301-0/+1
|
* Remove `seen` map from `getLastCommitForPaths` (#6807)Filip Navara2019-04-301-8/+2
| | | | | | | | | Ensures correctly traversing the commit graph for all path and avoids erroneously skipping some. Also preallocate some arrays to correct size to prevent unnecessary reallocations. Fixes #6708. Signed-off-by: Filip Navara <filip.navara@gmail.com>
* Show scrollbar only when needed (#6802)Lauris BH2019-04-292-3/+3
|
* UI: Tweak tab text and icon colors (#6760)silverwind2019-04-292-1/+12
| | | This adds a hover highlight and fades out the icon on inactive tabs.
* Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631)zeripath2019-04-2917-193/+184
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-04-291-1/+1
|
* Service worker js is a missing comma (#6788)techknowlogick2019-04-281-2/+2
| | | Fix #6787
* [skip ci] Updated translations via CrowdinGiteaBot2019-04-282-3/+32
|
* Restore IsWindows variable assignment (#6722) (#6790)Nicola Scattaglia2019-04-281-0/+2
| | | Signed-off-by: Nicola Scattaglia <scattaglia.nicola.work@gmail.com>
* Set user search base field optional in DLDAP edit page (#6779)ngourdon2019-04-283-1/+9
|
* README WordPress the code is overflowing #6679 (#6696)Zer00CooL2019-04-272-1/+5
|
* Fix team edit API panic (#6780)ngourdon2019-04-272-1/+65
|
* LDAP: ignore already existing public keys after ldap sync (#6766)Lukas Prettenthaler2019-04-262-2/+6
| | | | | | | | | | | | | | | | | | * fix type in public key exist error, only log trace for ldap public key import if existing Signed-off-by: Lukas Prettenthaler <lukas@noenv.com> * cleanup switch statement Signed-off-by: Lukas Prettenthaler <lukas@noenv.com> * replace switch with if, fix log formatting Signed-off-by: Lukas Prettenthaler <lukas@noenv.com> * fix formatting Signed-off-by: Lukas Prettenthaler <lukas@noenv.com>
* UI: Detect and restore encoding and BOM in content (#6727)zeripath2019-04-263-7/+114
| | | | | | | | | | | | | | | | | | | | | | * detect and remove a decoded BOM Signed-off-by: Andrew Thornton <art27@cantab.net> * Restore the previous encoding and BOM * On error keep as UTF-8 Signed-off-by: Andrew Thornton <art27@cantab.net> * create remove BOM function * Deal with LFSed content * Update modules/repofiles/update.go * Fix final LFS bug * Keep LFS sections referring to opts.Content
* fix pulls broken when fork repository deleted (#6754)Lunny Xiao2019-04-263-1/+28
| | | | | | * fix pulls broken when fork repository deleted * fix lint
* OAuth2 token can be used in basic auth (#6747)techknowlogick2019-04-252-2/+28
|
* Fix org visibility bug when git cloning (#6743)Lunny Xiao2019-04-2587-14/+2865
| | | | | | | | | | | | | | * fix org visibility bug * fix permission check * add integration tests * fix tests * change test user name for easier maintainance and fix test * fix test git repo name
* fix missing return (#6751)Lunny Xiao2019-04-251-0/+1
|
* fix new team 500 (#6749)Lunny Xiao2019-04-252-1/+6
| | | | | | | | * fix new team 500 * Update models/unit.go Co-Authored-By: lunny <xiaolunwen@gmail.com>
* Handle redirects in git clone commands (#6688)James E. Blair2019-04-252-2/+20
| | | | | | | | | | Add support for repo_redirect objects in the git smart http handler so that when a user clones a repo that has been moved or renamed, they are redirected to the new location. This requires that the query string be included in the redirect as well, so that is added. Signed-off-by: James E. Blair <jeblair@redhat.com>
* Fix domain name pattern in email regex (#6739)mrsdizzie2019-04-242-1/+16
| | | Fixes #6735
* Add FAQ for version downloads (#6742)John Olheiser2019-04-241-0/+12
|
* Fix: Sort repos on org home page with non-admin login (#6741)Lunny Xiao2019-04-243-3/+55
|
* Drop is_bare IDX only when it exists for MySQL and MariaDB (#6736)Lanre Adelowo2019-04-241-0/+10
| | | | | | * Drop is_bare IDX only when it exists * show indexes only on mysql or mariadb
* Add tests for Org API (#6731)Lunny Xiao2019-04-241-28/+72
|
* fix template error (#6737)Lanre Adelowo2019-04-241-1/+1
|
* Fix team members API (#6714)Lunny Xiao2019-04-242-1/+51
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-04-241-0/+25
|
* Order file actions equal to GitHub (#6706)Joel da Rosa2019-04-241-1/+1
|