aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix wrong URL to download link. (#5881)vee w2019-01-281-3/+3
| | | | | | | | * Fix wrong URL to download link. The link does not contain trailing slash and cause error page displayed. * Update version
* New Issue ?body= query (#5851)kekero2019-01-283-2/+7
| | | | | | | | * New Issue ?body= query * Override issue template with body query * Add documentation for issue body query
* Fix "pulls.blocked_by_approvals" text (#5879)Lanre Adelowo2019-01-281-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-284-0/+89
|
* API: Fix null pointer in attempt to Sudo if not logged in (#5872)zeripath2019-01-281-1/+1
| | | Signed-off-by: Andrew Thornton <art27@cantab.net>
* Revert #3711 overwrite of only show "No Description" to repo admins #2167 ↵Gabriel Silva Simões2019-01-272-1/+21
| | | | | (#5836) Revert #3711 overwrite of only show "No Description" to repo admins #2167 and add tests to prevent accidental overwrite again.
* Fix wording of #5858 issue.review.reject string (#5869)zeripath2019-01-271-1/+1
| | | | | As per @lafriks comment this should be: requested changes Signed-off-by: Andrew Thornton <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-271-0/+8
|
* Fix an error while adding a dependency via UI. (#5862)Harshit Bansal2019-01-272-2/+3
| | | Fixes: #5783
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-2711-20/+18
|
* Config option to disable automatic repo watching (#5852)sebastian-sauer2019-01-275-14/+31
| | | | | | | | | Add a new config option to enable / disable the automatic watching of repos for new repositories and if a user is added to a team. Fixes #653 Signed-off-by: Sebastian Sauer <sauer.sebastian@gmail.com>
* Rename reject to 'request changes' (#5858)Lanre Adelowo2019-01-261-2/+2
| | | | | | * remame reject to 'request changes * make usee of requested changes in issue's view content
* Fix failing migration v67 (#5849)Jakub Arbet2019-01-261-8/+8
| | | Fixes #5848
* Fix MinInterval (#5856)yasuokav2019-01-261-1/+1
| | | Fixes #5847
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-261-0/+15
|
* Move input fields to add members to a team and repos to a team (#5853)sebastian-sauer2019-01-252-34/+34
| | | | | | Move input fields to the top so no scrolling is needed to add new members / repos to a team. Signed-off-by: Sebastian Sauer <sauer.sebastian@gmail.com>
* fix delete correct temp directory (#5839)yasuokav2019-01-251-1/+1
|
* update swagger for release API pagination (#5841)Lunny Xiao2019-01-252-0/+20
|
* improve the releases api paging (#5831)Lunny Xiao2019-01-245-2/+29
| | | | | | * improve the releases api paging * add max limit on API paging
* Added docs for the tree api (#5834)kolaente2019-01-243-0/+135
| | | | | | | | * Added docs for the tree api * Added missing response definition * Fixed swagger docs
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-241-0/+27
|
* Include Go toolchain to --version (#5830)Antoine GIRARD2019-01-241-2/+3
| | | | | | * Include Go version * fix import order
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-241-0/+19
|
* Ensure valid git author names passed in signatures (#5774)zeripath2019-01-246-13/+72
| | | | | | | | | | | | | | | | | | | | * Ensure valid git author names passed in signatures Fix #5772 - Git author names are not allowed to include `\n` `<` or `>` and must not be empty. Ensure that the name passed in a signature is valid. * Account for pathologically named external users LDAP and the like usernames are not checked in the same way that users who signup are. Therefore just ensure that user names are also git safe and if totally pathological - Set them to "user-$UID" * Add Tests and adjust test users Make our testcases a little more pathological so that we be sure that integration tests have a chance to spot these cases. Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix topics saving internal error and disable for archived repos (#5821)Lauris BH2019-01-242-3/+3
|
* Make sure .git/info is created before generating .git/info/sparse-che… (#5825)Mura Li2019-01-241-1/+5
| | | | | | * Make sure .git/info is created before generating .git/info/sparse-checkout * fix permissions
* Remove tidb reference from docs (#5823)techknowlogick2019-01-244-4/+0
| | | | | | | | | | * Remove tidb reference from docs * Update from-source.fr-fr.md * Update from-source.zh-cn.md * Update from-source.zh-tw.md
* When creating new repository fsck option should be enabled (#5817)Lauris BH2019-01-231-6/+7
|
* Fix TLS errors when using acme/autocert for local connections (#5820)Joona Hoikkala2019-01-231-0/+1
|
* Request for public keys only if LDAP attribute is set (#5816)Lauris BH2019-01-2413-105/+293
| | | | | | * Update go-ldap dependency * Request for public keys only if attribute is set
* New API routes added (#5594)Shashvat Kedia2019-01-235-5/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * New API routes added * Comments added * Build fix * swagger_v1_json.tmpl without new line character * Typo fix * Code review changes * Code review changes * Add copyright * Add copyright * Add copyright * Update per @lafriks feedback * Update org.go * Update user.go * Update user.go * make fmt
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-2329-0/+29
|
* Adapt documentation to renamed ENABLE_SWAGGER option (#5811)Peter Colberg2019-01-233-3/+3
| | | | | Updates documentation to account for the renamed ENABLE_SWAGGER_ENDPOINT from #3572 (commit a74426d631e3311cc3c460ae9917f76f0221f4de) Signed-off-by: Peter Colberg <peter@colberg.org>
* Feature: Archive repos (#5009)kolaente2019-01-2330-243/+436
|
* Optimize pulls merging (#4921)Mura Li2019-01-231-16/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Optimize pulls merging By utilizing `git clone -s --no-checkout` rather than cloning the whole repo. * Use sparse-checkout to speedup pulls merge * Use bytes.Buffer instead of strings.Builder for backward compatibility * Fix empty diff-tree output for repos with only the initial commit * Fix missing argument for the format string * Rework diff-tree-list generation * Remove logging code * File list for sparse-checkout must be prefix with / Otherwise, they would match all files with the same name under subdirectories. * Update onto the rebased head * Use referecen repo to avoid fetching objects
* Pooled and buffered gzip implementation (#5722)zeripath2019-01-236-10/+598
| | | | | | | | | | | | | | | | | | | * Pooled and buffered gzip implementation * Add test for gzip * Add integration test * Ensure lfs check within transaction The previous code made it possible for a race condition to occur whereby a LFSMetaObject could be checked into the database twice. We should check if the LFSMetaObject is within the database and insert it if not in one transaction. * Try to avoid primary key problem in postgres The integration tests are being affected by https://github.com/go-testfixtures/testfixtures/issues/39 if we set the primary key high enough, keep a count of this and remove at the end of each test we shouldn't be affected by this.
* Add the ability to use multiple labels as filters(#5786)Lauris BH2019-01-229-24/+74
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-222-0/+5
|
* backport 1.7.0 changelog (#5804)techknowlogick2019-01-221-25/+20
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-211-1/+4
|
* Allow markdown table to scroll (#4401)pgodwin2019-01-212-1/+2
| | | | | | * Allow markdown table to scroll `overflow:auto` isn't effective when a table is wider than the container. Adding `display:block` fixes this issue.
* Disallow empty titles (#5785)Lanre Adelowo2019-01-217-3/+48
| | | | | | | | | | | | * add util method and tests * make sure the title of an issue cannot be empty * wiki title cannot be empty * pull request title cannot be empty * update to make use of the new util methof
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-211-0/+2
|
* fix migration 78 error mssql (#5791)Lunny Xiao2019-01-211-3/+2
|
* Ensure error is logged on db reconnection attempts (#5780)Paul Brackin2019-01-201-1/+1
| | | Unfortunately a scoping problem was missed on the previous PR which meant that the only nil error was logged on failure to connect to the db. This pr fixes this.
* Change systemd service file to more correctly match Debian & Centos - Fix ↵techknowlogick2019-01-191-4/+5
| | | | #4391 (#5777)
* Fix the v78 migration script (#5776)zeripath2019-01-191-0/+12
| | | | | | | | Unfortunately the last fix didn't completely fix the migration to v79 of the db due to bug with schema locking during Sync2. This should fix this issue. Fix #5759 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Add documentation for SHOW_REGISTRATION_BUTTON (#5778)techknowlogick2019-01-192-0/+3
| | | | * Fix #5737
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-191-0/+110
|
* Make db connect more robust (#5738)Paul Brackin2019-01-194-10/+41
|