aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix panic when diff (#9187) (#9193)Lunny Xiao2019-11-2826-8/+688
| | | | | * fix panic when diff * improve code
* Fix #9151 - smtp logger configuration sendTos should be an arra… (#9157)zeripath2019-11-251-1/+5
| | | | | * Fix #9151 - sendTos should be an array * trimspace from the addresses
* backport v1.10 - Always show Password field on link account sign in page (#9150)Benno2019-11-242-1/+2
|
* Create PR on Current Repository by Default (#8670) (#9141)guillep2k2019-11-243-2/+35
| | | | | | | | | | | | | * 'update' * Send push tag event when release created * send tag create event while release created in UI * update to go v1.13 * fix gofmt error * fix #8576 create pull request on current repository by default
* fix race on indexer (#9136) (#9139)Lunny Xiao2019-11-231-7/+12
|
* Fix reCAPTCHA URL (#9119)Koichi MATSUMOTO2019-11-221-1/+1
| | | Fix reCAPTCHA issue
* Backport: Hide given credentials for migrated repos. (#9098)Jordan2019-11-202-1/+2
| | | | CloneAddr was being used as OriginalURL. Now passing OriginalURL through from the form and saving it.
* backport: update golang.org/x/crypto vendor to use acme v2 (#9056) (#9085)techknowlogick2019-11-2052-2942/+3429
|
* Backport: Fix password checks on admin create/edit user (#9076) (#9081)guillep2k2019-11-201-3/+14
| | | | | | * Fix password checks on admin create/edit user * Remove incorrect trimspace
* fix: add search to reserved usernames (#9063) (#9065)Antoine GIRARD2019-11-182-0/+2
| | | | | | | * fix: add search to reserved usernames * Update integrations/user_test.go Co-Authored-By: 6543 <24977596+6543@users.noreply.github.com>
* Fix permission checks for close/reopen from commit (#8875) (#9033)guillep2k2019-11-162-18/+31
| | | | | * Fix checks for close/reopen from commit * Fix permission order
* Ensure Written is set in GZIP ProxyResponseWriter (#9018) (#9025)zeripath2019-11-151-10/+43
| | | | | | | | Fix #9001 The GZIP ProxyReponseWriter doesn't currently respond correctly to requests about its Written status - leading to #9001. This PR properly reimplements these methods.
* Fix broken link to branch from issue list (#9003) (#9021)65432019-11-151-1/+1
| | | | | * Fix broken link to branch from issue list * Update templates/repo/issue/list.tmpl
* fix wrong system notice when repository is empty (#9020)Lunny Xiao2019-11-151-0/+5
|
* Shadow password correctly for session config (#8984) (#9002)zeripath2019-11-141-9/+17
| | | | | | | Fix #8718 This PR shadows passwords in session config correctly by detecting the VirtualProvider, unmarshalling the original config and then shadowing config within that.
* Update security (#8990)John Olheiser2019-11-141-2/+2
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Changelog for 1.10.0 (#8978)v1.10.0John Olheiser2019-11-141-21/+33
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Hotfix for review actions and notifications (#8965)guillep2k2019-11-143-9/+23
|
* Backport 1.9.6 (#8969)John Olheiser2019-11-131-0/+8
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add Close() method to gogitRepository (#8901) (#8956)zeripath2019-11-1372-102/+386
| | | | | | | | | | | Backport #8901 In investigating #7947 it has become clear that the storage component of go-git repositories needs closing. This PR adds this Close function and adds the Close functions as necessary. In TransferOwnership the ctx.Repo.GitRepo is closed if it is open to help prevent the risk of multiple open files. Fixes #7947
* Update Github Migration Tests (#8938) (#8945)mrsdizzie2019-11-131-278/+143
| | | | | | | Update all Github migration tests to use a new repo created just for these tests that won't accidentially be modified by regular users interacting with issues. Fixes #8895
* Backport: Enable punctuations ending mentions (#8889) (#8894)guillep2k2019-11-092-12/+37
| | | | | | * Enable punctuations ending mentions * Improve tests
* Fix issue with user.fullname (#8903)zeripath2019-11-101-3/+5
|
* Update Github migration test (#8896)guillep2k2019-11-091-6/+0
| | | | | | | Earlier today #716 was reopened which updated the modification time for an old milestone (1.6.0) that we use in testing with the assumption that it is old and won't change. This breaks all builds now, so remove this test since we have others that test the same code and this milestone will likely be updated again as that issue changes etc...
* Backport: Fix password complexity check on registration (#8887) (#8888)guillep2k2019-11-092-2/+7
| | | | | | * Fix registration password complexity * Fix integration to use a complex password ;)
* Backport: Fix require external registration password (#8885) (#8890)guillep2k2019-11-091-3/+3
| | | | | | * Fix require external registration password * Fix ctx on error condition by @jolheiser
* Fix edit content button on migrated issue content (#8877) (#8884)mrsdizzie2019-11-081-1/+1
| | | | | | Typo on a closing span tag caused edit button not to work properly on the original issue content for a migrated issue. Fixes #8876
* Fix to close opened io resources as soon as not needed (#8839) (#8846)Lauris BH2019-11-051-33/+39
| | | | | * Fix to close opened io resources as soon as not needed * Remove unneeded err checks
* Fix new user form for non-local users (#8826) (#8828)Lauris BH2019-11-052-10/+12
|
* Fix commit expand button to not go to commit link (#8745) (#8825)Lauris BH2019-11-042-15/+29
| | | | | | | | | * Fix commit expand button to not go to commit link * Fix message rendering to have correct HTML in result * Fix check for empty commit message * Code optimization
* Fix SSH2 conditonal in key parsing code (#8806) (#8810)65432019-11-032-1/+14
| | | | | | | | | Avoid out of bounds error by using strings.HasPrefix to check for starting SSH2 text rather than assuming user input has at least 31 characters. Add tests for bad input as well. Fixes #8800
* add missing "d" (#8801)65432019-11-031-1/+1
|
* fix 500 when edit hook (#8782) (#8789)Lunny Xiao2019-11-021-0/+5
|
* On windows set core.longpaths true (#8776) (#8786)zeripath2019-11-021-0/+8
|
* Allow to merge if file path contains " or \ (#8629) (#8771)zeripath2019-11-011-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * if a filename in a repository contains " or \ the owner can't merge pull request with this files because "git diff-tree" adds double quotes to that filepath example: filepath is ab"cd but "git diff-tree" returns "ab\"cd" now, when the owner click "Merge Pull Request" button the server returns 500 this commit fix it Signed-off-by: Ilya Pavlov <ilux@cpan.org> * add -z option to getDiffTree escape spec symbols for sparse-checkout Signed-off-by: Ilya Pavlov <ilux@cpan.org> * go fmt Signed-off-by: Ilya Pavlov <ilux@cpan.org> * typo Signed-off-by: Ilya Pavlov <ilux@cpan.org> * escape '\' escape all spaces and '!' * use regexp.ReplaceAllString() Signed-off-by: Ilya Pavlov <ilux@cpan.org> * strings.ReplaceAll was added in go 1.12 Signed-off-by: Ilya Pavlov <ilux@cpan.org> * add '\' to regexp.MustCompile Signed-off-by: Ilya Pavlov <ilux@cpan.org>
* Changelog 1.9.5 (#8753) (#8756)John Olheiser2019-10-301-0/+24
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Changelog 1.10.0-rc2 (#8750)v1.10.0-rc2John Olheiser2019-10-301-0/+26
| | | | | | | | | | | | | | * 1.10.0-rc2 Signed-off-by: jolheiser <john.olheiser@gmail.com> * Wording Signed-off-by: jolheiser <john.olheiser@gmail.com> * Update CHANGELOG.md Co-Authored-By: jaqra <48099350+jaqra@users.noreply.github.com>
* [Fix] milestone close timestamp (#8728) (#8730)65432019-10-291-1/+5
| | | | | * BugFix: Update closed_date_unix colum on milestone table on close * go fmt
* Fix deadline on update issue or PR via API (#8698)David Svantesson2019-10-282-16/+14
|
* Fix 500 when getting user as unauthenticated user (#8653) (#8663)Monty Taylor2019-10-251-1/+1
| | | | | | | | | Backport #8653 When doing GET /api/v1/users/{user} as an unauthenticated user, gitea throws a 500 because it's trying to dereference elements from the context user. It wants to do this to see whether to show the primary email and will do that if the logged in user is admin or the user in question. However, if ctx.User is nil there is a panic
* make call createMilestoneComment on newIssue func (#8678) (#8681)jaqra2019-10-251-0/+4
| | | | | * make call createMilestoneComment on newIssue func * make OldMilestoneID 0 instead of -1
* Hide some user information via API if user have no enough permission (#8655) ↵Lunny Xiao2019-10-242-5/+4
| | | | | | | (#8657) * Hide some user information via API if user have no enough permission * fix test
* Use AppSubUrl for more redirections (#8647) (#8651)zeripath2019-10-233-3/+3
| | | | | | Partial backport without changes to locale files. Fix #8461 - fix misspelling of {{AppSubUrl}} and other misspelling in template Fixes /explore and organisation redirection
* Add SubURL to redirect path (#8632) (#8634)John Olheiser2019-10-221-1/+1
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix template error on account page (#8562) (#8622)John Olheiser2019-10-221-1/+1
|
* Allow externalID to be UUID (#8551) (#8624)guillep2k2019-10-226-16/+6
| | | Signed-off-by: Wenxuan Zhao <viz@linux.com>
* Prevent .code-view from overriding font on icon fonts (#8614) (#8627)guillep2k2019-10-222-2/+2
|
* Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params ↵zeripath2019-10-224-17/+25
| | | | | | | | (#8528) (#8618) * Expose db.SetMaxOpenConns and allow other dbs to set their connection params * Add note about port exhaustion Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* fix emoji panel be removed bug in issue page, when the sub issue summit the ↵guillep2k2019-10-221-1/+1
| | | | duplicate emoji (#8609) (#8623)
* Update heatmap fixtures to restore tests (#8615) (#8616)zeripath2019-10-213-4/+4
| | | | * Update heatmap fixtures to restore tests * Add hint to check the fixture age on fail