aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add bio field for user (#6113)techknowlogick2019-03-186-6/+19
| | | | Fix #4339
* Include repo name in page title tag (#6343)mrsdizzie2019-03-181-1/+1
| | | Fixes #6265
* 1.8.0-rc1 changelog (#6363)v1.9.0-devtechknowlogick2019-03-181-1/+207
|
* Clean up various use of escape/unescape functions for URL generation (#6334)mrsdizzie2019-03-1812-68/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use PathUnescape instead of QueryUnescape when working with branch names Currently branch names with a '+' fail in certain situations because QueryUnescape replaces the + character with a blank space. Using PathUnescape should be better since it is defined as: // PathUnescape is identical to QueryUnescape except that it does not // unescape '+' to ' ' (space). Fixes #6333 * Change error to match new function name * Add new util function PathEscapeSegments This function simply runs PathEscape on each segment of a path without touching the forward slash itself. We want to use this instead of PathEscape/QueryEscape in most cases because a forward slash is a valid name for a branch etc... and we don't want that escaped in a URL. Putting this in new file url.go and also moving a couple similar functions into that file as well. * Use EscapePathSegments where appropriate Replace various uses of EscapePath/EscapeQuery with new EscapePathSegments. Also remove uncessary uses of various escape/unescape functions when the text had already been escaped or was not escaped. * Reformat comment to make drone build happy * Remove no longer used url library * Requested code changes
* Fix headline (#6353)Sandro Jäckel2019-03-181-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-181-0/+33
|
* Add lang specific font stacks for CJK (#6007)zeripath2019-03-1824-20/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add lang specific font stacks * Force font changes Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix icons Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix octicons and icons Signed-off-by: Andrew Thornton <art27@cantab.net> * Just override the semantic ui fonts only Signed-off-by: Andrew Thornton <art27@cantab.net> * Missed the headers... override them too * Missed some more semantic ui stuff * Fix PT Sans Signed-off-by: Andrew Thornton <art27@cantab.net> * More changes Signed-off-by: Andrew Thornton <art27@cantab.net> * Squashed commit of the following: commit 7d1679e9079541359869c9e677ba7412bfcc59f3 Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 13:53:49 2019 +0100 Remove missed YaHei leftover from _home.less commit 0079121ea91860a323ed4e5cc1a9c0d490d9cefd Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 12:03:54 2019 +0100 Fix overdone fixes (inherit, :lang) commit 62c919915928ec1db4731d547e95885f91a0618d Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 02:29:10 2019 +0100 Fix elements w/ explicit lang (language chooser) commit b3117587aa2eb8570d60bed583a11ee5565418be Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 20:17:26 2019 +0100 Fix textarea also (to match body) commit 81cedf2c3012c4dd05a7680782b4a98e1b947f67 Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 19:41:39 2019 +0100 Revert css temporarily to fix conflict commit 80ff82797f3203cbeaf866f22e961334e137df89 Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 19:15:30 2019 +0100 Tweak CJK, fix Yu Gothic, more monospace inherits commit 581dceb9a869646c2c486dabb925c88c2680d70c Author: Mike L <cl.jeremy@qq.com> Date: Mon Mar 11 13:09:26 2019 +0100 Add Lato for latin extd. & cyrillic, improve CJK * update stylesheet
* fix testing instructions in CONTRIBUTING.md (#6305)stevegt2019-03-181-9/+20
| | | | | | | | | | | | | | | | | * add scripts/test-local.sh and fix CONTRIBUTING.md - fixes #6243 - partial fix for #6269 Signed-off-by: Steve Traugott <stevegt@t7a.org> * remove reference to possible automated drone run * remove bash version of drone-cli test script * fix issue number links in testing instructions * remove scripts/test-local.sh
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-171-1/+1
|
* Add test environment for Mysql8 (#5234)Lunny Xiao2019-03-174-4/+120
|
* More specific declaration of search disk space (#6338)Thomas McWork2019-03-161-1/+1
| | | Elaborate more on the code search storage space requirement
* split setting.go to multiple files (#6154)Lunny Xiao2019-03-165-348/+433
| | | | | | * split setting.go to multiple files * fix lint
* Request to join the maintainers (#6340)Richard Mahn2019-03-151-0/+1
|
* use updated reference of xgo in makefile (#6339)techknowlogick2019-03-151-3/+3
|
* Add way to force checkout (#6322)John Olheiser2019-03-151-1/+8
|
* Add same changes from issues page to milestone->issues page (#6328)John Olheiser2019-03-154-11/+35
|
* Return 409 when creating repo if it already exists. (#6330)Bogdan Petrea2019-03-152-2/+74
|
* Fix ParsePatch function to work with quoted diff --git strings (#6323)mrsdizzie2019-03-142-0/+65
| | | | | | | | | | | | | | | | * Fix ParsePatch to work properly with quoted diff --git string Currently ParsePatch fails when a diff contains a quoted diff line like: diff --git "a/file" "b/file" This patch makes it properly parse the line when that happens. Fixes #6309 * Add test for regular case while here * Simplify string modification
* Add InternalTokenURI to load InteralToken from an external file (#5812)techknowlogick2019-03-131-25/+73
|
* backport 1.7.4 changelog (#6317)techknowlogick2019-03-131-0/+9
|
* Use correct remote on Windows (#6313)John Olheiser2019-03-121-1/+1
|
* Fix reported issue in repo description (#6306)zeripath2019-03-112-3/+53
|
* Use url.PathEscape to escape the branchname (#6304)zeripath2019-03-122-2/+4
| | | | | | * Use url.PathEscape to escape the branchname * GetRepositoryByOwnerAndName should also have url.PathEscape as the owner and reponame are provided by the client
* Updates vendor/code.gitea.io/git (#6286)Richard Mahn2019-03-112-4/+12
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-111-0/+27
|
* Update third-party-tools.en-us.md (#6301)MysticBoy2019-03-111-0/+3
| | | Add Gitea Extension for Visual Studio
* update git vendor to fix wrong release commit id and add migrations (#6224)Lunny Xiao2019-03-119-15/+133
| | | | | | | | | | * update git vendor to fix wrong release commit id and add migrations * fix count * fix migration release * fix tests
* Add support for client basic auth for exchanging access tokens (#6293)Jonas Franz2019-03-112-1/+68
| | | | | | | | * Add support for client basic auth for exchanging access tokens * Improve error messages * Fix tests
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-102-1/+26
|
* Remove util.RemoveAll - should have been removed since go 1.7 (#6299)zeripath2019-03-103-31/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-092-0/+51
|
* Copyedit docs (#6275)Aidan Fitzgerald2019-03-0928-111/+111
|
* Add regenerate secret feature for oauth2 (#6291)Jonas Franz2019-03-093-1/+33
| | | | | | * Add regenerate secret functionality * Fix lint
* Add unit types to repo action URL to correctly show 404 when archived (#6247)John Olheiser2019-03-091-1/+1
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-0829-3/+63
|
* Use golang 1.12 to build in dockerfile (#6285)techknowlogick2019-03-081-1/+1
|
* Add security note to issue template (#6281)John Olheiser2019-03-081-2/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-081-3/+3
|
* Third party docs (#6282)John Olheiser2019-03-081-0/+33
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-081-6/+6
|
* Integrate OAuth2 Provider (#5378)Jonas Franz2019-03-0837-11/+2667
|
* [Contrib] Checkout a PR (#6021)Antoine GIRARD2019-03-072-0/+260
|
* Add robots.txt as reserved username (#6272)techknowlogick2019-03-071-0/+1
| | | Fix #6271
* Replace linkRegex with xurls library (#6261)mrsdizzie2019-03-079-3/+2038
| | | | | | | | | | | | | | | | | | | | * Replace linkRegex with xurls library Rather than maintaining a complicated regex to match URLs for autolinking, gitea can use this existing go library that takes care of the matching with very little code change to gitea itself. After spending a while trying to find the perfect regex for all cases this library still works better as it is more flexible than a single regex ever will be. This will also fix the following issues: #5844 #3095 #3381 This passes all our current tests and I've added new ones mentioned in those issues as well. * Use xurls.StrictMatchingScheme instead of xurls.Strict This is much faster and we only care about https? links to preserve existing behavior.
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-074-13/+16
|
* Remove visitLinksForShortLinks features (#6257)mrsdizzie2019-03-072-14/+9
| | | | | | | | | | | | | | | | | | | | | | The visitLinksForShortLinks feature would look inside of an <a> tag and run shortLinkProcessorFull on any text, which attempts to create links out of potential 'short links' like [[test]] [[link|example]] etc... This makes no sense because you can't have nested links within an <a> tag. Specifically, the html5 standard says <a> tags can't include interactive content if they contain the href attribute: http://w3c.github.io/html/single-page.html#the-a-element And also defines an <a> element with a href attribute as interactive: http://w3c.github.io/html/single-page.html#interactive-content Therefore you can't really put a link inside of another link. In practice none of this works anyways since browsers won't render it, it would probably be broken if they tried, and it is causing a bug (#4946). No current tests rely on this behavior either. This removes the feature and also explicitly excludes the current visitNodeForShortLinks from looking in <a> tags.
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-061-0/+7
|
* Fix fork button (#6223)John Olheiser2019-03-053-2/+22
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-051-9/+28
|
* Fix #6234 : Check organization visibility before everything else (#6235)Zsombor2019-03-051-0/+11
| | | | | | * Fix #6234 : Check organization visibility before everything else * Ensure that Owner is available in the Repo