]> source.dussan.org Git - gitea.git/log
gitea.git
5 years agoChangelog 1.7.5 (#6444) v1.7.5
John Olheiser [Wed, 27 Mar 2019 15:40:39 +0000 (10:40 -0500)]
Changelog 1.7.5 (#6444)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years agoFixed unitTypeCode not being used (#6423)
kolaente [Sun, 24 Mar 2019 17:31:01 +0000 (18:31 +0100)]
Fixed unitTypeCode not being used (#6423)

5 years agofix bug manifest.json will not request with cookie so that session will created every...
Lunny Xiao [Wed, 20 Mar 2019 02:19:54 +0000 (10:19 +0800)]
fix bug manifest.json will not request with cookie so that session will created every request (#6372) (#6383)

5 years agoFix ParsePatch function to work with quoted diff --git strings (#6323) (#6332)
mrsdizzie [Thu, 14 Mar 2019 19:59:29 +0000 (15:59 -0400)]
Fix ParsePatch function to work with quoted diff --git strings (#6323) (#6332)

Backport of #6323

5 years agoProposed changelog for 1.7.4 (#6316) v1.7.4
John Olheiser [Wed, 13 Mar 2019 01:02:58 +0000 (20:02 -0500)]
Proposed changelog for 1.7.4 (#6316)

* Proposed changelog for 1.7.4

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Updated security fix description with @zeripath suggestion.

* Added 6292

* Update CHANGELOG.md

* Update CHANGELOG.md

5 years agoupdate git vendor to fix wrong release commit id and add migrations (#6224) (#6300)
Lunny Xiao [Tue, 12 Mar 2019 17:39:20 +0000 (01:39 +0800)]
update git vendor to fix wrong release commit id and add migrations (#6224) (#6300)

5 years agobackport 6306 (#6308)
techknowlogick [Tue, 12 Mar 2019 10:58:49 +0000 (06:58 -0400)]
backport 6306 (#6308)

5 years agoFix #5580 : Make organization dropdown scrollable when using mouse wh… (#6246)
Muhammed TİFTİKÇİ [Tue, 5 Mar 2019 18:27:50 +0000 (21:27 +0300)]
Fix #5580 : Make organization dropdown scrollable when using mouse wh… (#6246)

* Fix #5580 : Make organization dropdown scrollable when using mouse wheel.

* build less file with old makefile

5 years agofix display dashboard even if require to change password (#6214) (#6215)
Lunny Xiao [Thu, 28 Feb 2019 11:36:57 +0000 (19:36 +0800)]
fix display dashboard even if require to change password (#6214) (#6215)

* fix display dashboard even if require to change password

* fix comments

5 years agoAdd Changelog for 1.7.3 (#6202) v1.7.3
zeripath [Wed, 27 Feb 2019 20:13:13 +0000 (20:13 +0000)]
Add Changelog for 1.7.3 (#6202)

* Add Changelog for 1.7.3

5 years agofix bug when migrate repository 500 when repo is existed (#6188) (#6197)
Lunny Xiao [Wed, 27 Feb 2019 03:32:25 +0000 (11:32 +0800)]
fix bug when migrate repository 500 when repo is existed (#6188) (#6197)

5 years agoLoad Issue attributes for API call (#6122) (#6185)
John Olheiser [Tue, 26 Feb 2019 02:05:45 +0000 (20:05 -0600)]
Load Issue attributes for API call (#6122) (#6185)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years agofix bug user could change private repository to public when force private enabled...
Lunny Xiao [Sat, 23 Feb 2019 05:53:52 +0000 (13:53 +0800)]
fix bug user could change private repository to public when force private enabled. (#6156) (#6165)

5 years agofix bug when update owner team then visit team's repo return 404 (#6119) (#6166)
Lunny Xiao [Sat, 23 Feb 2019 03:55:32 +0000 (11:55 +0800)]
fix bug when update owner team then visit team's repo return 404 (#6119) (#6166)

5 years agoFix heatmap and repository menu display in Internet Explorer 9+ (#6117) (#6137)
Lauris BH [Wed, 20 Feb 2019 14:11:58 +0000 (16:11 +0200)]
Fix heatmap and repository menu display in Internet Explorer 9+ (#6117) (#6137)

5 years agoFix prohibit login check on authorization (#6106) (#6115)
Lunny Xiao [Tue, 19 Feb 2019 09:38:04 +0000 (17:38 +0800)]
Fix prohibit login check on authorization (#6106) (#6115)

* Fix prohibit login check on authorization (#6106)

* fix bug prohibit login not applied on dashboard

* fix tests

* fix bug user status leak

* fix typo

* return after render

* remove unused tests

5 years agoMove to ldap.v3 to fix #5928 (#6105) (#6107)
zeripath [Mon, 18 Feb 2019 14:24:25 +0000 (14:24 +0000)]
Move to ldap.v3 to fix #5928 (#6105) (#6107)

Signed-off-by: Andrew Thornton <art27@cantab.net>
5 years agoFix deadlock in webhook PullRequest (#6102) (#6104)
zeripath [Mon, 18 Feb 2019 03:38:26 +0000 (03:38 +0000)]
Fix deadlock in webhook PullRequest (#6102) (#6104)

Signed-off-by: Andrew Thornton <art27@cantab.net>
5 years agomodules/context/auth.go: fix redirect loop (#5965) (#6101)
xdch47 [Sun, 17 Feb 2019 12:51:37 +0000 (13:51 +0100)]
modules/context/auth.go: fix redirect loop (#5965) (#6101)

Closes #5815

5 years agoIssue 5924 fix compare button (#5929) (#6098)
zeripath [Sat, 16 Feb 2019 18:11:07 +0000 (18:11 +0000)]
Issue 5924 fix compare button (#5929) (#6098)

* Revert #5877

This unfortunately was not the solution.

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Change permission check to create pull requests to CanReadIssuesOrPulls

Signed-off-by: Andrew Thornton <art27@cantab.net>
5 years agoRecover panic in orgmode.Render if bad orgfile (#4982) (#5903) (#6097)
zeripath [Sat, 16 Feb 2019 17:39:52 +0000 (17:39 +0000)]
Recover panic in orgmode.Render if bad orgfile (#4982) (#5903) (#6097)

This PR protects against the panic referred to in chaseadmsio/goorgeous#82
by recovering from the panic and just returning the raw bytes if
there is an error.

Signed-off-by: Andrew Thornton <art27@cantab.net>
5 years agoChangelog for release v1.7.2 (#6084) v1.7.2
Lauris BH [Fri, 15 Feb 2019 08:19:51 +0000 (10:19 +0200)]
Changelog for release v1.7.2 (#6084)

5 years agoIn basic auth check for tokens before call UserSignIn (#5725) (#6083)
Lauris BH [Fri, 15 Feb 2019 08:01:53 +0000 (10:01 +0200)]
In basic auth check for tokens before call UserSignIn (#5725) (#6083)

* Check first if user/password is a token

* In basic auth check if user/password is a token

* Remove unnecessary else statement

* Changes of fmt

5 years ago1.7.2 changelog (#6079)
techknowlogick [Fri, 15 Feb 2019 07:14:00 +0000 (02:14 -0500)]
1.7.2 changelog (#6079)

5 years agoSwitch to more recent build of xgo (#6070) (#6072)
techknowlogick [Thu, 14 Feb 2019 18:35:27 +0000 (13:35 -0500)]
Switch to more recent build of xgo (#6070) (#6072)

5 years agoMake sure labels are actually returned (#6053) (#6059)
Lanre Adelowo [Wed, 13 Feb 2019 17:51:18 +0000 (18:51 +0100)]
Make sure labels are actually returned (#6053) (#6059)

5 years agoCreate repository on organisation by default on its dashboard (#6026) (#6048)
zeripath [Wed, 13 Feb 2019 03:04:48 +0000 (03:04 +0000)]
Create repository on organisation by default on its dashboard (#6026) (#6048)

* Create repository on organisation by default on its dashboard
* Only show owners the add new repositories to an organisation button.

Fix #3253

Signed-off-by: Andrew Thornton <art27@cantab.net>
5 years agoFix metrics auth token detection (#6006) (#6017)
Paul [Sat, 9 Feb 2019 14:35:51 +0000 (16:35 +0200)]
Fix metrics auth token detection (#6006) (#6017)

Backport of #6006

Signed-off-by: Pauls Barkans <paulsb@gmail.com>
5 years agoFix empty ssh key importing in ldap (#5984) (#6009)
zeripath [Sat, 9 Feb 2019 12:44:53 +0000 (12:44 +0000)]
Fix empty ssh key importing in ldap (#5984) (#6009)

5 years agofix bug when deleting a linked account will removed all (#5989) (#5990)
Lunny Xiao [Thu, 7 Feb 2019 07:11:51 +0000 (15:11 +0800)]
fix bug when deleting a linked account will removed all (#5989) (#5990)

5 years agoFix ssh deploy and user key constraints (#1357) (#5939) (#5966)
zeripath [Mon, 4 Feb 2019 21:41:03 +0000 (21:41 +0000)]
Fix ssh deploy and user key constraints (#1357) (#5939) (#5966)

Backport of #5939

1. A key can either be an ssh user key or a deploy key. It cannot be both.
2. If a key is a user key - it can only be associated with one user.
3. If a key is a deploy key - it can be used in multiple repositories and the permissions it has on those repositories can be different.
4. If a repository is deleted, its deploy keys must be deleted too.

We currently don't enforce any of this and multiple repositories access with different permissions doesn't work at all. This PR enforces the following constraints:

- [x] You should not be able to add the same user key as another user
- [x] You should not be able to add a ssh user key which is being used as a deploy key
- [x] You should not be able to add a ssh deploy key which is being used as a user key
- [x] If you add an ssh deploy key to another repository you should be able to use it in different modes without losing the ability to use it in the other mode.
- [x] If you delete a repository you must delete all its deploy keys.

Fix #1357

5 years agoshow user who created the repository instead of the organization in action feed ...
Lanre Adelowo [Mon, 4 Feb 2019 09:20:36 +0000 (10:20 +0100)]
show user who created the repository instead of the organization in action feed (#5948) (#5956)

5 years agohandle milestone events for issues and PR (#5947) (#5955)
Lanre Adelowo [Mon, 4 Feb 2019 08:33:56 +0000 (09:33 +0100)]
handle milestone events for issues and PR (#5947) (#5955)

Backport of #5947

5 years agoFix #5866: Silence console logger in gitea serv (#5887) (#5943)
zeripath [Sun, 3 Feb 2019 18:50:41 +0000 (18:50 +0000)]
Fix #5866: Silence console logger in gitea serv  (#5887) (#5943)

By default, if `setting.NewContext()` prints out any warning logs, these are printed to the stdout breaking `git receive-pack` etc. meaning that even if there is a warning because of a minor problem in your app.ini but gitea starts despite this - you **CANNOT** push or pull over SSH.

This PR disables the console logger whilst in `serv.go`

Signed-off-by: Andrew Thornton <art27@cantab.net>
5 years agoFix notifications on pushing with deploy keys by setting hook environment variables...
zeripath [Sun, 3 Feb 2019 18:04:09 +0000 (18:04 +0000)]
Fix notifications on pushing with deploy keys by setting hook environment variables (#5935) (#5944)

The gitea prerecieve and postrecieve hooks and the gitea PushUpdate function require that the PusherID and PusherName are real users. Previously, these environment variables were not being set when using a deploy key - the main result being that pushing to empty repositories meant that is_empty status was not changed.

I've also added an integration test to ensure that the is_empty status is updated on pushing with a deploy key.

There is a slight issue in that the deploy key is now considered a proxy for the owner - we don't have a way of separating out the deploy key from the owner at present. This can be fixed in another PR.

Fix #3795

Signed-off-by: Andrew Thornton art27@cantab.net
5 years agoRemove all CommitStatus when a repo is deleted (#5941)
John Olheiser [Sun, 3 Feb 2019 05:55:33 +0000 (23:55 -0600)]
Remove all CommitStatus when a repo is deleted (#5941)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago1.7.1 changelog (#5918) v1.7.1
techknowlogick [Thu, 31 Jan 2019 16:11:25 +0000 (11:11 -0500)]
1.7.1 changelog (#5918)

5 years agoDisable redirect for i18n (#5910) (#5916)
techknowlogick [Thu, 31 Jan 2019 15:07:57 +0000 (10:07 -0500)]
Disable redirect for i18n (#5910) (#5916)

5 years agofix compare button on upstream repo leading to 404 (#5877) (#5914)
Lanre Adelowo [Thu, 31 Jan 2019 14:55:39 +0000 (15:55 +0100)]
fix compare button on upstream repo leading to 404 (#5877) (#5914)

5 years agorespect value of REQUIRE_SIGNIN_VIEW (#5901) (#5915)
Lanre Adelowo [Thu, 31 Jan 2019 14:38:01 +0000 (15:38 +0100)]
respect value of REQUIRE_SIGNIN_VIEW (#5901) (#5915)

5 years agoFix bug when read public repo lfs file (#5913)
Lunny Xiao [Thu, 31 Jan 2019 13:36:10 +0000 (21:36 +0800)]
Fix bug when read public repo lfs file (#5913)

* fix bug when read public repo lfs file

* add comment on lfs permission check

5 years agoOnly allow local login if password is non-empty (#5906) (#5908)
zeripath [Wed, 30 Jan 2019 21:46:19 +0000 (21:46 +0000)]
Only allow local login if password is non-empty (#5906) (#5908)

5 years agoFix go-get URL generation (#5905) (#5907)
Lauris BH [Wed, 30 Jan 2019 21:29:44 +0000 (23:29 +0200)]
Fix go-get URL generation (#5905) (#5907)

5 years agoPrevent nil dereference in mailIssueCommentToParticipants (#5891, #5895) (#5894)
zeripath [Tue, 29 Jan 2019 22:44:00 +0000 (22:44 +0000)]
Prevent nil dereference in mailIssueCommentToParticipants (#5891, #5895) (#5894)

* Ensure issue.Poster is loaded in mailIssueCommentToParticipants (#5891)

Previous code could potentially dereference nil - this PR ensures
that the poster is loaded before dereferencing it.

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Also ensure the repo is loaded

Signed-off-by: Andrew Thornton <art27@cantab.net>
5 years agoWhen creating new repository fsck option should be enabled (#5817) (#5885)
Lauris BH [Tue, 29 Jan 2019 01:42:47 +0000 (03:42 +0200)]
When creating new repository fsck option should be enabled (#5817) (#5885)

5 years agoAPI: Fix null pointer in attempt to Sudo if not logged in (#5872) (#5884)
zeripath [Mon, 28 Jan 2019 20:26:55 +0000 (20:26 +0000)]
API: Fix null pointer in attempt to Sudo if not logged in (#5872) (#5884)

Backport of #5872 to v1.7

Signed-off-by: Andrew Thornton <art27@cantab.net>
5 years agoFix an error while adding a dependency via UI. (Backport #5862) (#5876)
Harshit Bansal [Mon, 28 Jan 2019 12:51:30 +0000 (18:21 +0530)]
Fix an error while adding a dependency via UI. (Backport #5862) (#5876)

Fixes: #5783.
5 years agoFix delete correct temp directory (#5840)
yasuokav [Fri, 25 Jan 2019 07:33:15 +0000 (16:33 +0900)]
Fix delete correct temp directory (#5840)

5 years agoAdded docs for the tree api (#5835)
kolaente [Thu, 24 Jan 2019 18:40:54 +0000 (19:40 +0100)]
Added docs for the tree api (#5835)

* Added docs for the tree api

* Updated swagger docs

* Added missing response definition

* Updated swagger docs

* Fixed swagger docs

5 years agoBackport #5830 : Include Go toolchain to --version (#5832)
Antoine GIRARD [Thu, 24 Jan 2019 15:33:28 +0000 (16:33 +0100)]
Backport #5830 : Include Go toolchain to --version (#5832)

* Include Go version

* fix import order

5 years ago Request for public keys only if LDAP attribute is set (#5816) (#5819)
Lauris BH [Thu, 24 Jan 2019 10:21:36 +0000 (12:21 +0200)]
 Request for public keys only if LDAP attribute is set  (#5816) (#5819)

* Update go-ldap dependency

* Request for public keys only if attribute is set

5 years agoFix TLS errors when using acme/autocert for local connections (#5820) (#5826)
Joona Hoikkala [Thu, 24 Jan 2019 07:48:02 +0000 (09:48 +0200)]
Fix TLS errors when using acme/autocert for local connections (#5820) (#5826)

5 years ago1.7.0 changelog (#5802) v1.7.0
techknowlogick [Tue, 22 Jan 2019 19:21:46 +0000 (14:21 -0500)]
1.7.0 changelog (#5802)

5 years agoDisallow empty titles (#5785) (#5794)
Lanre Adelowo [Mon, 21 Jan 2019 15:55:12 +0000 (16:55 +0100)]
Disallow empty titles (#5785) (#5794)

* 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

5 years ago1.7.0-rc3 changelog (#5756) v1.7.0-rc3
techknowlogick [Fri, 18 Jan 2019 06:08:41 +0000 (01:08 -0500)]
1.7.0-rc3 changelog (#5756)

5 years agobackport 1.6.4 changelog to 1.7 branch (#5741)
techknowlogick [Wed, 16 Jan 2019 12:43:06 +0000 (07:43 -0500)]
backport 1.6.4 changelog to 1.7 branch (#5741)

5 years agofix: use correct value for "MSpan Structures Obtained" #4742 (#5706) (#5716)
Julian Tölle [Sun, 13 Jan 2019 14:32:55 +0000 (15:32 +0100)]
fix: use correct value for "MSpan Structures Obtained" #4742 (#5706) (#5716)

Signed-off-by: Julian Tölle <julian.toelle97@gmail.com>
5 years agoDo not display the raw OpenID error in the UI (#5705) (#5712)
zeripath [Sun, 13 Jan 2019 13:05:20 +0000 (13:05 +0000)]
Do not display the raw OpenID error in the UI (#5705) (#5712)

* Do not display the raw OpenID error in the UI

If there are no `WHITELIST_URIS` or `BLACKLIST_URIS` set in the openid
section of the app.ini, it is possible that gitea can leak sensitive
information about the local network through the error provided by the
UI. This PR hides the error information and logs it.

Fix #4973

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update auth_openid.go

Place error log within the `err != nil` branch.

5 years agoUpdate xorm to fix issue #5659 and #5651 (#5680) (#5692)
Zsombor [Thu, 10 Jan 2019 19:43:29 +0000 (20:43 +0100)]
Update xorm to fix issue #5659 and #5651 (#5680) (#5692)

5 years agofix public will not be reused as public key after deleting as deploy key (#5671)...
Lunny Xiao [Thu, 10 Jan 2019 14:23:33 +0000 (22:23 +0800)]
fix public will not be reused as public key after deleting as deploy key (#5671) (#5684)

5 years agoWhen redirecting clean the path to avoid redirecting to //www.othersite.com (#5669...
zeripath [Wed, 9 Jan 2019 22:32:49 +0000 (22:32 +0000)]
When redirecting clean the path to avoid redirecting to //www.othersite.com (#5669) (#5679)

Fix #5627

Signed-off-by: Andrew Thornton <art27@cantab.net>
5 years agoOnly count users own actions for heatmap contributions (#5647) (#5655)
Julian [Sun, 6 Jan 2019 20:16:55 +0000 (21:16 +0100)]
Only count users own actions for heatmap contributions (#5647) (#5655)

Signed-off-by: Julian Tölle <julian.toelle97@gmail.com>
5 years agofix commit page showing status for current default branch (#5650) (#5653)
Julian [Sun, 6 Jan 2019 18:11:49 +0000 (19:11 +0100)]
fix commit page showing status for current default branch (#5650) (#5653)

Signed-off-by: Julian Tölle <julian.toelle97@gmail.com>
5 years agoDon't close issues via commits on non-default branch. (#5622) (#5643)
Harshit Bansal [Sat, 5 Jan 2019 20:04:02 +0000 (01:34 +0530)]
Don't close issues via commits on non-default branch. (#5622) (#5643)

Adds a small check to close the issues only if the referencing commits
are on the default branch.

Fixes: #2314.
5 years agoFix sqlite deadlock when assigning to a PR (#5640) (#5642)
zeripath [Sat, 5 Jan 2019 15:18:17 +0000 (15:18 +0000)]
Fix sqlite deadlock when assigning to a PR (#5640) (#5642)

* Fix sqlite deadlock when assigning to a PR

Fix 5639

Signed-off-by: Andrew Thornton <art27@cantab.net>
* More possible deadlocks found and fixed

Signed-off-by: Andrew Thornton <art27@cantab.net>
5 years agoAdd changelog for 1.6.3 and 1.7.0-rc2 (#5638) v1.7.0-rc2
Jonas Franz [Fri, 4 Jan 2019 18:17:32 +0000 (19:17 +0100)]
Add changelog for 1.6.3 and 1.7.0-rc2 (#5638)

Signed-off-by: Jonas Franz <info@jonasfranz.software>
5 years agoSECURITY: protect DeleteFilePost et al with cleanUploadFileName (#5631) (#5635)
zeripath [Fri, 4 Jan 2019 16:41:30 +0000 (16:41 +0000)]
SECURITY: protect DeleteFilePost et al with cleanUploadFileName (#5631) (#5635)

This commit wraps more of the TreePaths with cleanUploadFileName

Signed-off-by: Andrew Thornton <art27@cantab.net>
5 years agoBackport latest translation changes
Lauris BH [Fri, 4 Jan 2019 09:26:23 +0000 (11:26 +0200)]
Backport latest translation changes

5 years agoDocumentation: Clarity for HTTPS setups (#5626) v1.7.0-rc1
0x5c [Thu, 3 Jan 2019 15:46:07 +0000 (10:46 -0500)]
Documentation: Clarity for HTTPS setups (#5626)

[https-setup]
- Made it clearer that HTTP redirection is possible
[config-cheat-sheet]
- Clarified the behavihour of the redirection-related config keys

Signed-off-by: Matti Ranta <matti@mdranta.net>
5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Thu, 3 Jan 2019 10:19:43 +0000 (10:19 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoAdd changelog for 1.7.0-rc1 (#5616)
Jonas Franz [Thu, 3 Jan 2019 10:17:28 +0000 (11:17 +0100)]
Add changelog for 1.7.0-rc1 (#5616)

* Add changelog for 1.7.0-rc1

* Change position of refactoring of heatmap

* Refactoring some items in changelog

* Fix wrong PR title in changelog

Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Remove backported PRs

Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix wrong date

Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add new PR to list

* Security fixes have been backported

5 years agoFix bug on modifying sshd username (#5624)
Moshi Binyamini [Wed, 2 Jan 2019 22:42:33 +0000 (00:42 +0200)]
Fix bug on modifying sshd username (#5624)

Should fix #5623

5 years agoUpdate @jonasfranz's username (#5619)
techknowlogick [Wed, 2 Jan 2019 18:35:18 +0000 (13:35 -0500)]
Update @jonasfranz's username (#5619)

* Update @jonasfranz's username

* lowercase'd username

5 years agoUpdate owners & Date in contributing (#5620)
techknowlogick [Wed, 2 Jan 2019 18:00:19 +0000 (13:00 -0500)]
Update owners & Date in contributing (#5620)

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Wed, 2 Jan 2019 12:59:14 +0000 (12:59 +0000)]
[skip ci] Updated translations via Crowdin

5 years agobranch: Trigger update when deleting branch via UI. (#5617)
Harshit Bansal [Wed, 2 Jan 2019 12:56:58 +0000 (18:26 +0530)]
branch: Trigger update when deleting branch via UI. (#5617)

Fixes: #5309.
5 years agoIssue is not overdue when it is on the same date #5566 (#5568)
Rodrigo Villablanca Vásquez [Tue, 1 Jan 2019 17:56:47 +0000 (14:56 -0300)]
Issue is not overdue when it is on the same date #5566 (#5568)

* Due date time of issues and milestones is set to 23:59:59

* Add docs

* make gen swagger

* fix swagger gen

5 years agomirror: Delete tags in mirror which are removed for original repo. (#5609)
Harshit Bansal [Mon, 31 Dec 2018 23:00:54 +0000 (04:30 +0530)]
mirror: Delete tags in mirror which are removed for original repo. (#5609)

This bug was being caused by an error in the logic in `release.go`.
Credit to @yasuokav for tracing the root of the issue.

Fixes: #5192.
5 years agoupdate v71.go to resolve #5595 (#5613)
Daniel Wolf [Mon, 31 Dec 2018 13:23:03 +0000 (08:23 -0500)]
update v71.go to resolve #5595 (#5613)

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 31 Dec 2018 12:03:07 +0000 (12:03 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoFix wrong text getting saved on editing second comment on an issue. (#5608)
Harshit Bansal [Mon, 31 Dec 2018 12:01:20 +0000 (17:31 +0530)]
Fix wrong text getting saved on editing second comment on an issue. (#5608)

* comments: Fix an incorrent DOM element selection.

This commit fixes a bug that was causing text from previously edited
comment to get saved when two comments were edited one after other.
Text area with id of `#content` isn't unique on the page but it was
being treated as unique by the event handling code.

Fixes: #5581.
* templates: Remove `id` from textarea in commit edit form.

An element is assigned an `id` only if it is unique for the whole page
but in this case there can be multiple textarea so it should have one.

5 years agoWebhook for Pull Request approval/rejection (#5027)
Lanre Adelowo [Thu, 27 Dec 2018 18:04:30 +0000 (19:04 +0100)]
Webhook for Pull Request approval/rejection (#5027)

5 years agoSynchronize SSH keys on login with LDAP + Fix SQLite deadlock on ldap ssh key deletio...
zeripath [Thu, 27 Dec 2018 17:28:48 +0000 (17:28 +0000)]
Synchronize SSH keys on login with LDAP + Fix SQLite deadlock on ldap ssh key deletion (#5557)

* Synchronize SSH keys on login with LDAP

* BUG: Fix hang on sqlite during LDAP key deletion

5 years agoLDAP via simple auth separate bind user and search base (#5055)
Tony Homrich [Thu, 27 Dec 2018 16:51:19 +0000 (11:51 -0500)]
LDAP via simple auth separate bind user and search base (#5055)

5 years agoDelete organization endpoint added (#5601)
Shashvat Kedia [Thu, 27 Dec 2018 15:36:58 +0000 (21:06 +0530)]
Delete organization endpoint added (#5601)

* Delete organization endpoint added

* Parameters added in comment

* Typo fix

* Newline character removed

5 years agofix nil pointer when adding a due date (#5587)
Lanre Adelowo [Thu, 27 Dec 2018 15:02:43 +0000 (16:02 +0100)]
fix nil pointer when adding a due date  (#5587)

* fix nil pointer

* remove nil check and just call loadRepo regardless

5 years agoMake sure argsSet verifies string isn't empty too (#4980)
Lanre Adelowo [Thu, 27 Dec 2018 12:38:38 +0000 (13:38 +0100)]
Make sure argsSet verifies string isn't empty too (#4980)

5 years agoAdd rebase with merge commit merge style (#3844) (#4052)
Julian [Thu, 27 Dec 2018 10:27:08 +0000 (11:27 +0100)]
Add rebase with merge commit merge style (#3844) (#4052)

Signed-off-by: Julian Tölle <julian.toelle97@gmail.com>
5 years agoRemove MTecknology from MAINTAINERS (#5599)
Michael Lustfield [Thu, 27 Dec 2018 02:03:34 +0000 (20:03 -0600)]
Remove MTecknology from MAINTAINERS (#5599)

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Wed, 26 Dec 2018 19:16:27 +0000 (19:16 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoFix route in swagger (#5598)
Shashvat Kedia [Wed, 26 Dec 2018 19:13:49 +0000 (00:43 +0530)]
Fix route in swagger (#5598)

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 24 Dec 2018 11:12:56 +0000 (11:12 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoGitlab does have discord integration now (#5589)
Charles [Mon, 24 Dec 2018 11:11:18 +0000 (06:11 -0500)]
Gitlab does have discord integration now (#5589)

5 years agodrone/mssql: use golang 1.11 build like the other tests (#5586)
Antoine GIRARD [Sun, 23 Dec 2018 21:11:22 +0000 (22:11 +0100)]
drone/mssql: use golang 1.11 build like the other tests (#5586)

5 years agoFix translation errors in doc advanced part (zh-cn) (#5112)
BetaCat [Sun, 23 Dec 2018 10:57:49 +0000 (18:57 +0800)]
Fix translation errors in doc advanced part (zh-cn) (#5112)

* ZH-CN translation of Advanced part

* Fix translation errors

* Resolve issues

5 years agobackport 1.6.2 changelog (#5576)
techknowlogick [Fri, 21 Dec 2018 17:45:58 +0000 (12:45 -0500)]
backport 1.6.2 changelog (#5576)

5 years agoFix type mismatch of format string (#5574)
Mura Li [Fri, 21 Dec 2018 16:13:31 +0000 (00:13 +0800)]
Fix type mismatch of format string (#5574)

5 years agoImmediate fix to htmlEncode user added text (#5570)
zeripath [Fri, 21 Dec 2018 13:40:40 +0000 (13:40 +0000)]
Immediate fix to htmlEncode user added text (#5570)

There are likely problems remaining with the way that initCommentForm
is creating its elements. I suspect that a malformed avatar url could
be used maliciously.

5 years agofix bug on upload file name (#5571)
Lunny Xiao [Fri, 21 Dec 2018 02:32:11 +0000 (10:32 +0800)]
fix bug on upload file name (#5571)

5 years agoCreate stale bot config (#5243)
Antoine GIRARD [Thu, 20 Dec 2018 20:34:55 +0000 (21:34 +0100)]
Create stale bot config (#5243)