summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-1917-17/+0
|
* Moved defaults in defaults.go to setting.go (#5764)John Olheiser2019-01-192-15/+9
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* ldap: Adjust log settings when a user is not found. (#5771)Harshit Bansal2019-01-191-3/+3
| | | Fixes: #3849.
* Fix wording when user is unassigned from an issue (#5769)Lanre Adelowo2019-01-192-2/+7
| | | | Previous Gitea would display that the user had unassigned themselves even if the actor was not the user. Fixes #4418
* Force the PR close time to 60 days (#5770)Antoine GIRARD2019-01-191-0/+1
| | | | | Like the comment that is posted. Ex: https://github.com/go-gitea/gitea/pull/4749 is closed after 2 weeks and not 2 months
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-191-0/+1
|
* Log IP of failed ssh connection (#5766)Robert Sprunk2019-01-191-2/+2
| | | | | Fix #5765 by log the IP address of a connecting remote machine in case of a SSH connection error for the built-in ssh server. Signed-off-by: Robert Sprunk <github@sprunk.me>
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-181-0/+1
|
* fix migration bug (#5762)Lunny Xiao2019-01-181-8/+28
|
* backport 1.7.0-rc3 changelog (#5758)techknowlogick2019-01-181-0/+12
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-1820-20/+1
|
* Disable auto-migrate in docker container (#5730)techknowlogick2019-01-171-6/+0
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-1820-20/+20
|
* Refactor repo.isBare to repo.isEmpty #5629 (#5714)zeripath2019-01-1739-81/+125
| | | | | | | | * Refactor repo.isBare to repo.isEmpty #5629 Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove Sync call
* update docs to include THEMES config value (#5752)Lanre Adelowo2019-01-173-2/+4
| | | | | | | | * update docs to include THEMES * Update app.ini.sample * Update config-cheat-sheet.en-us.md
* Refactor notification for indexer (#5111)Lunny Xiao2019-01-178-15/+75
| | | | | | * notification for indexer * use NullNotifier as parent struct
* upgrade go-sql-driver/mysql to fix invalid connection error (#5748)Lunny Xiao2019-01-1713-522/+466
| | | should fix #5736
* api: Add missing GET teams endpoints (#5382)Harshit Bansal2019-01-1610-12/+160
| | | | | | | | | | | | | | | | | | | | * api: Add an endpoint to list a particular member of team. * models: Rename `GetUserTeams()` to `GetUserOrgTeams()` in `org_team` model. `GetUserTeams()` sounds a bit misnomer since it actually returns the teams that user belongs to in a given organization rather than all the teams across all the organization that the user has joined. * models: Add `GetUserTeams()`. Returns all the teams that a user belongs to. * api: Add an endpoint for GET '/user/teams'. A GET request to this endpoint lists all the teams that a user belongs to.
* Add Default Pull Request Title (#5735)Elijah Oyekunle2019-01-161-2/+17
| | | | | | | | * add default PR title Set default PR title to commit summary if there's a single commit on the head branch, else set it to the head branch name * set default PR description If there's a single commit on the head branch, and it's multiline, then set it as the default PR description
* Fixing #5728: (#5747)Zsombor2019-01-163-5/+9
| | | | * Format boolean values to true/false even when it is returned as byte-slice, * Fix the sequence generation, the proper sequence name is used (instead of 'table_id_seq'), and fix the next value be max+1 always
* backport 1.6.4 to HEAD (#5742)techknowlogick2019-01-161-0/+6
|
* Add Prerequisites (#5734)vee w2019-01-161-0/+21
| | | | Add set system user guide. Add absolute path for sqlite3 guide.
* Add proper CORS preflight origin validation (#5740)silverwind2019-01-151-2/+14
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-151-3/+4
|
* Don't list an issue on its own dependency list UI. (#5658)Harshit Bansal2019-01-152-2/+8
| | | Fixes: #4684.
* Support CORS headers to git smart http protocol (#5719)Lunny Xiao2019-01-144-18/+38
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-143-0/+11
|