]> source.dussan.org Git - gitea.git/log
gitea.git
5 years agoChangelog 1.8.0 rc2 (#6451) v1.8.0-rc2
John Olheiser [Wed, 27 Mar 2019 19:16:25 +0000 (14:16 -0500)]
Changelog 1.8.0 rc2 (#6451)

5 years agoChangelog 1.7.5 (#6444) (#6448)
John Olheiser [Wed, 27 Mar 2019 18:47:14 +0000 (13:47 -0500)]
Changelog 1.7.5 (#6444) (#6448)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years agoChange order that PostProcess Processors are run (#6445) (#6447)
mrsdizzie [Wed, 27 Mar 2019 16:06:40 +0000 (12:06 -0400)]
Change order that PostProcess Processors are run (#6445) (#6447)

Make sure Processors that work on full links are run first so that
something matching another pattern doesn't alter a link before we get to
it, for example:

 https://stackoverflow.com/questions/2896191/what-is-go-used-fore

Fixes #4813

5 years agoFix Hook & HookList in Swagger (#6432) (#6440)
Segev Finer [Wed, 27 Mar 2019 07:03:34 +0000 (09:03 +0200)]
Fix Hook & HookList in Swagger (#6432) (#6440)

Backport from #6432

5 years agoClean up ref name rules (#6437) (#6439)
mrsdizzie [Tue, 26 Mar 2019 21:14:22 +0000 (17:14 -0400)]
Clean up ref name rules (#6437) (#6439)

5 years agorouters/repo/setting: display correct error for invalid mirror interval (#6429)
Allen Wild [Tue, 26 Mar 2019 00:35:06 +0000 (20:35 -0400)]
routers/repo/setting: display correct error for invalid mirror interval (#6429)

Set Err_Interval in the context data so that the mirror interval box is
highlighted red as expected.

Clear Err_RepoName for the mirror and advanced actions. repo_name is not
set by these forms, causing auth.validate() to set the Err_RepoName
before SettingsPost is called, which would lead to the repository name
box getting erroneously highlighted red.

Fixes: https://github.com/go-gitea/gitea/issues/6396
5 years agoFixed unitTypeCode not being used (#6419) (#6422)
kolaente [Sun, 24 Mar 2019 17:31:34 +0000 (18:31 +0100)]
Fixed unitTypeCode not being used (#6419) (#6422)

5 years agofix dump table name error and add some test for dump database (#6394) (#6402)
Lunny Xiao [Thu, 21 Mar 2019 09:11:44 +0000 (17:11 +0800)]
fix dump table name error and add some test for dump database (#6394) (#6402)

5 years agofix migrations 82 to ignore unsynced tags between database and git data and missing...
Lunny Xiao [Thu, 21 Mar 2019 08:39:50 +0000 (16:39 +0800)]
fix migrations 82 to ignore unsynced tags between database and git data and missing is_archived on repository table (#6387) (#6403)

5 years agoDon't Unescape redirect_to cookie value (#6399) (#6401)
mrsdizzie [Thu, 21 Mar 2019 06:58:49 +0000 (02:58 -0400)]
Don't Unescape redirect_to cookie value (#6399) (#6401)

redirect_to holds a value that we want to redirect back to after login.
This value can be a path with intentonally escaped values and we
should not unescape it.

Fixes #4475

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:16 +0000 (10:19 +0800)]
fix bug manifest.json will not request with cookie so that session will created every request (#6372) (#6382)

5 years agomake sure units of a team are returned (#6379) (#6381)
Lanre Adelowo [Tue, 19 Mar 2019 22:40:54 +0000 (23:40 +0100)]
make sure units of a team are returned (#6379) (#6381)

5 years agoDisable benchmarking during tag events on DroneIO (#6365) (#6366) v1.8.0-rc1
techknowlogick [Tue, 19 Mar 2019 06:54:34 +0000 (02:54 -0400)]
Disable benchmarking during tag events on DroneIO (#6365) (#6366)

5 years ago1.8.0-rc1 changelog (#6363) v1.9.0-dev
techknowlogick [Tue, 19 Mar 2019 02:22:04 +0000 (22:22 -0400)]
1.8.0-rc1 changelog (#6363)

5 years agoClean up various use of escape/unescape functions for URL generation (#6334)
mrsdizzie [Mon, 18 Mar 2019 14:00:23 +0000 (10:00 -0400)]
Clean up various use of escape/unescape functions for URL generation (#6334)

* 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

5 years agoFix headline (#6353)
Sandro Jäckel [Mon, 18 Mar 2019 13:59:46 +0000 (14:59 +0100)]
Fix headline (#6353)

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 18 Mar 2019 12:51:30 +0000 (12:51 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoAdd lang specific font stacks for CJK (#6007)
zeripath [Mon, 18 Mar 2019 12:49:01 +0000 (12:49 +0000)]
Add lang specific font stacks for CJK (#6007)

* 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

5 years agofix testing instructions in CONTRIBUTING.md (#6305)
stevegt [Mon, 18 Mar 2019 00:38:08 +0000 (01:38 +0100)]
fix testing instructions in CONTRIBUTING.md (#6305)

* 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

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sun, 17 Mar 2019 19:20:28 +0000 (19:20 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoAdd test environment for Mysql8 (#5234)
Lunny Xiao [Sun, 17 Mar 2019 19:17:18 +0000 (03:17 +0800)]
Add test environment for Mysql8 (#5234)

5 years agoMore specific declaration of search disk space (#6338)
Thomas McWork [Sun, 17 Mar 2019 02:47:04 +0000 (03:47 +0100)]
More specific declaration of search disk space (#6338)

Elaborate more on the code search storage space requirement

5 years agosplit setting.go to multiple files (#6154)
Lunny Xiao [Sat, 16 Mar 2019 03:12:44 +0000 (11:12 +0800)]
split setting.go to multiple files (#6154)

* split setting.go to multiple files

* fix lint

5 years agoRequest to join the maintainers (#6340)
Richard Mahn [Fri, 15 Mar 2019 16:53:53 +0000 (10:53 -0600)]
Request to join the maintainers (#6340)

5 years agouse updated reference of xgo in makefile (#6339)
techknowlogick [Fri, 15 Mar 2019 16:39:02 +0000 (12:39 -0400)]
use updated reference of xgo in makefile (#6339)

5 years agoAdd way to force checkout (#6322)
John Olheiser [Fri, 15 Mar 2019 16:18:01 +0000 (11:18 -0500)]
Add way to force checkout (#6322)

5 years agoAdd same changes from issues page to milestone->issues page (#6328)
John Olheiser [Fri, 15 Mar 2019 15:50:27 +0000 (10:50 -0500)]
Add same changes from issues page to milestone->issues page (#6328)

5 years agoReturn 409 when creating repo if it already exists. (#6330)
Bogdan Petrea [Fri, 15 Mar 2019 14:19:09 +0000 (14:19 +0000)]
Return 409 when creating repo if it already exists. (#6330)

5 years agoFix ParsePatch function to work with quoted diff --git strings (#6323)
mrsdizzie [Thu, 14 Mar 2019 16:09:53 +0000 (12:09 -0400)]
Fix ParsePatch function to work with quoted diff --git strings (#6323)

* 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

5 years agoAdd InternalTokenURI to load InteralToken from an external file (#5812)
techknowlogick [Wed, 13 Mar 2019 22:49:43 +0000 (18:49 -0400)]
Add InternalTokenURI to load InteralToken from an external file (#5812)

5 years agobackport 1.7.4 changelog (#6317)
techknowlogick [Wed, 13 Mar 2019 07:50:20 +0000 (03:50 -0400)]
backport 1.7.4 changelog (#6317)

5 years agoUse correct remote on Windows (#6313)
John Olheiser [Tue, 12 Mar 2019 17:47:04 +0000 (12:47 -0500)]
Use correct remote on Windows (#6313)

5 years agoFix reported issue in repo description (#6306)
zeripath [Tue, 12 Mar 2019 02:23:34 +0000 (02:23 +0000)]
Fix reported issue in repo description (#6306)

5 years agoUse url.PathEscape to escape the branchname (#6304)
zeripath [Mon, 11 Mar 2019 22:53:41 +0000 (22:53 +0000)]
Use url.PathEscape to escape the branchname (#6304)

* Use url.PathEscape to escape the branchname

* GetRepositoryByOwnerAndName should also have url.PathEscape as the owner and reponame are provided by the client

5 years agoUpdates vendor/code.gitea.io/git (#6286)
Richard Mahn [Mon, 11 Mar 2019 18:01:00 +0000 (12:01 -0600)]
Updates vendor/code.gitea.io/git (#6286)

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 11 Mar 2019 11:37:48 +0000 (11:37 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoUpdate third-party-tools.en-us.md (#6301)
MysticBoy [Mon, 11 Mar 2019 11:35:18 +0000 (19:35 +0800)]
Update third-party-tools.en-us.md (#6301)

Add  Gitea Extension for Visual Studio

5 years agoupdate git vendor to fix wrong release commit id and add migrations (#6224)
Lunny Xiao [Mon, 11 Mar 2019 03:44:58 +0000 (11:44 +0800)]
update git vendor to fix wrong release commit id and add migrations (#6224)

* update git vendor to fix wrong release commit id and add migrations

* fix count

* fix migration release

* fix tests

5 years agoAdd support for client basic auth for exchanging access tokens (#6293)
Jonas Franz [Mon, 11 Mar 2019 02:54:59 +0000 (03:54 +0100)]
Add support for client basic auth for exchanging access tokens (#6293)

* Add support for client basic auth for exchanging access tokens

* Improve error messages

* Fix tests

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sun, 10 Mar 2019 21:58:54 +0000 (21:58 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoRemove util.RemoveAll - should have been removed since go 1.7 (#6299)
zeripath [Sun, 10 Mar 2019 21:56:36 +0000 (21:56 +0000)]
Remove util.RemoveAll - should have been removed since go 1.7 (#6299)

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Sat, 9 Mar 2019 21:18:31 +0000 (21:18 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoCopyedit docs (#6275)
Aidan Fitzgerald [Sat, 9 Mar 2019 21:15:45 +0000 (16:15 -0500)]
Copyedit docs (#6275)

5 years agoAdd regenerate secret feature for oauth2 (#6291)
Jonas Franz [Sat, 9 Mar 2019 16:29:58 +0000 (17:29 +0100)]
Add regenerate secret feature for oauth2 (#6291)

* Add regenerate secret functionality

* Fix lint

5 years agoAdd unit types to repo action URL to correctly show 404 when archived (#6247)
John Olheiser [Sat, 9 Mar 2019 11:00:38 +0000 (05:00 -0600)]
Add unit types to repo action URL to correctly show 404 when archived (#6247)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Fri, 8 Mar 2019 20:28:33 +0000 (20:28 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoUse golang 1.12 to build in dockerfile (#6285)
techknowlogick [Fri, 8 Mar 2019 20:25:47 +0000 (15:25 -0500)]
Use golang 1.12 to build in dockerfile (#6285)

5 years agoAdd security note to issue template (#6281)
John Olheiser [Fri, 8 Mar 2019 18:15:46 +0000 (12:15 -0600)]
Add security note to issue template (#6281)

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Fri, 8 Mar 2019 17:43:26 +0000 (17:43 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoThird party docs (#6282)
John Olheiser [Fri, 8 Mar 2019 17:42:59 +0000 (11:42 -0600)]
Third party docs (#6282)

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Fri, 8 Mar 2019 16:45:46 +0000 (16:45 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoIntegrate OAuth2 Provider (#5378)
Jonas Franz [Fri, 8 Mar 2019 16:42:50 +0000 (17:42 +0100)]
Integrate OAuth2 Provider (#5378)

5 years ago[Contrib] Checkout a PR (#6021)
Antoine GIRARD [Fri, 8 Mar 2019 01:54:10 +0000 (02:54 +0100)]
[Contrib] Checkout a PR (#6021)

5 years agoAdd robots.txt as reserved username (#6272)
techknowlogick [Thu, 7 Mar 2019 21:30:25 +0000 (16:30 -0500)]
Add robots.txt as reserved username (#6272)

Fix #6271

5 years agoReplace linkRegex with xurls library (#6261)
mrsdizzie [Thu, 7 Mar 2019 20:12:01 +0000 (15:12 -0500)]
Replace linkRegex with xurls library (#6261)

* 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.

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Thu, 7 Mar 2019 19:16:42 +0000 (19:16 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoRemove visitLinksForShortLinks features (#6257)
mrsdizzie [Thu, 7 Mar 2019 19:13:44 +0000 (14:13 -0500)]
Remove visitLinksForShortLinks features (#6257)

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.

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Wed, 6 Mar 2019 00:50:36 +0000 (00:50 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoFix fork button (#6223)
John Olheiser [Wed, 6 Mar 2019 00:48:30 +0000 (18:48 -0600)]
Fix fork button (#6223)

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Tue, 5 Mar 2019 20:18:01 +0000 (20:18 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoFix #6234 : Check organization visibility before everything else (#6235)
Zsombor [Tue, 5 Mar 2019 20:15:24 +0000 (21:15 +0100)]
Fix #6234 : Check organization visibility before everything else (#6235)

* Fix #6234 : Check organization visibility before everything else

* Ensure that Owner is available in the Repo

5 years agoAdd ability to sort issues by due date (#6206) (#6244)
stevegt [Tue, 5 Mar 2019 14:39:41 +0000 (15:39 +0100)]
Add ability to sort issues by due date (#6206) (#6244)

Signed-off-by: Steve Traugott <stevegt@t7a.org>
5 years agoMake organization dropdown scrollable when using mouse wheel (#5988)
Muhammed TİFTİKÇİ [Tue, 5 Mar 2019 03:13:51 +0000 (06:13 +0300)]
Make organization dropdown scrollable when using mouse wheel (#5988)

* Fix #5580

5 years agoPrevent double-close of issues (#6233)
zeripath [Tue, 5 Mar 2019 02:52:52 +0000 (02:52 +0000)]
Prevent double-close of issues (#6233)

5 years agoOverride xorm type mapping for U2F counter (#6232)
Maurizio Porrato [Tue, 5 Mar 2019 02:34:52 +0000 (02:34 +0000)]
Override xorm type mapping for U2F counter (#6232)

5 years agoadd isAdmin to user model (#6231)
Lanre Adelowo [Sun, 3 Mar 2019 22:57:24 +0000 (23:57 +0100)]
add isAdmin to user model (#6231)

update vendor and add tests

fix swagger

5 years agoadd create issue via email comparison (#6227)
Martin Delille [Sat, 2 Mar 2019 20:44:51 +0000 (21:44 +0100)]
add create issue via email comparison (#6227)

5 years agoFix renames over redirects (#6216)
James E. Blair [Sat, 2 Mar 2019 13:07:19 +0000 (05:07 -0800)]
Fix renames over redirects (#6216)

In #6211, we started creating repo_redirects for ownership transfers,
however that opens an edge case where a user might perform the
following sequence:

rename org1/repo1 -> org1/repo2  (creates org1/repo1 redirect)
transfer org2/repo1 -> org1/repo1 (org1/repo1 redirect continues to exist)
rename org1/repo1 -> org1/repo3 (fails due to existing org1/repo1 redirect)

This change ensures that each time we rename or transfer a repo,
we delete any existing redirects at the target location.  This
already happens when a new repo is created.  By doing this we ensure
that we'll never have both a repo and a redirect at the same location.

Signed-off-by: James E. Blair <jeblair@redhat.com>
5 years agoadd service desk to comparison (#6220)
Martin Delille [Fri, 1 Mar 2019 23:57:14 +0000 (00:57 +0100)]
add service desk to comparison (#6220)

* add service desk to comparison

* add link to issue

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Fri, 1 Mar 2019 20:41:52 +0000 (20:41 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoUpdate to docs README (#6221)
John Olheiser [Fri, 1 Mar 2019 20:39:30 +0000 (14:39 -0600)]
Update to docs README (#6221)

* Update to docs README

* Update Hugo link

5 years agoUI: Fix race in update issue labels and assignees (#6194)
silverwind [Thu, 28 Feb 2019 22:10:08 +0000 (23:10 +0100)]
UI: Fix race in update issue labels and assignees (#6194)

Fix #6191

* fix issue update race condition
* fix similar race same race when clearing assignee
* always load promise polyfill
* replace es6-promise with promise-polyfill
* move promise-polyfill to <head>

5 years agoModify linkRegex to require http|https (#6171)
mrsdizzie [Thu, 28 Feb 2019 12:31:53 +0000 (07:31 -0500)]
Modify linkRegex to require http|https (#6171)

Modify the current linkRegex to require http|https which appears to be
the intended behavior based on the comments. Right now, it also matches
anything starting with www as well. Also add testing for linkRegex

5 years agoDoc updates for customization and installation. (#6176)
John Olheiser [Thu, 28 Feb 2019 12:09:47 +0000 (06:09 -0600)]
Doc updates for customization and installation. (#6176)

* Doc updates and changing default sqlite DB path

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update customizing locales and THEMES

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add link to templates directory

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add portion for final step of running Gitea

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add recommended to service file usage

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Removed DB path change, moving to another PR
Updated doc sentence structure

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Revert change to template wording

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move recommended run-type to top

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Thu, 28 Feb 2019 08:04:31 +0000 (08:04 +0000)]
[skip ci] Updated translations via Crowdin

5 years agofix display dashboard even if require to change password (#6214)
Lunny Xiao [Thu, 28 Feb 2019 08:01:42 +0000 (16:01 +0800)]
fix display dashboard even if require to change password (#6214)

* fix display dashboard even if require to change password

* fix comments

5 years agoCreate a repo redirect when transferring ownership (#6210) (#6211)
James E. Blair [Thu, 28 Feb 2019 03:51:46 +0000 (19:51 -0800)]
Create a repo redirect when transferring ownership (#6210) (#6211)

When transferring ownership of a repo to a different user/org,
create a repo redirect that points to the new location in the same
way that is done when a repo is renamed.

Signed-off-by: James E. Blair <jeblair@redhat.com>
5 years agoAdd "ghost" and "notifications" to list of reserved user names. (#6208)
tklein23 [Thu, 28 Feb 2019 00:04:44 +0000 (01:04 +0100)]
Add "ghost" and "notifications" to list of reserved user names. (#6208)

5 years agoAdd Changelog for 1.7.3 (#6202) (#6207)
zeripath [Wed, 27 Feb 2019 20:32:25 +0000 (20:32 +0000)]
Add Changelog for 1.7.3 (#6202) (#6207)

5 years agoAdds MustChangePassword to user create/edit API, defaults to true (#6193)
John Olheiser [Wed, 27 Feb 2019 19:37:57 +0000 (13:37 -0600)]
Adds MustChangePassword to user create/edit API, defaults to true (#6193)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years agoUI: Style tweaks to issue selection (#6196)
silverwind [Wed, 27 Feb 2019 17:24:21 +0000 (18:24 +0100)]
UI: Style tweaks to issue selection (#6196)

- Prevent jump in layout when selecting the first issue
- Remove useless padding on top of first issue

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Wed, 27 Feb 2019 16:58:32 +0000 (16:58 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoChange sqlite DB path default to data directory (#6198)
John Olheiser [Wed, 27 Feb 2019 16:55:08 +0000 (10:55 -0600)]
Change sqlite DB path default to data directory (#6198)

5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Tue, 26 Feb 2019 23:10:22 +0000 (23:10 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoUse go 1.12 for tests and deprecate go 1.9 (#6186)
techknowlogick [Tue, 26 Feb 2019 23:07:35 +0000 (18:07 -0500)]
Use go 1.12 for tests and deprecate go 1.9 (#6186)

Blocked until 1.12 docker images are released

5 years agofix bug when migrate repository 500 when repo is existed (#6188)
Lunny Xiao [Tue, 26 Feb 2019 14:28:56 +0000 (22:28 +0800)]
fix bug when migrate repository 500 when repo is existed (#6188)

* fix bug when migrate repository 500 when repo is existed

* use 409 but not 422 for error status code when not exist

* translation fix

5 years agoIncrease Username and Orgname MaxSize 35 -> 40 (#6178)
Segev Finer [Mon, 25 Feb 2019 18:56:47 +0000 (20:56 +0200)]
Increase Username and Orgname MaxSize 35 -> 40 (#6178)

* Increase Username and Orgname MaxSize 35 -> 40

Signed-off-by: Segev Finer <segev@codeocean.com>
* Dep update code.gitea.io/sdk

Signed-off-by: Segev Finer <segev@codeocean.com>
* Run generate-swagger

Signed-off-by: Segev Finer <segev@codeocean.com>
5 years ago[skip ci] Updated translations via Crowdin
GiteaBot [Mon, 25 Feb 2019 10:39:39 +0000 (10:39 +0000)]
[skip ci] Updated translations via Crowdin

5 years agoUI: Fix scrollbar always present on page body (#6177)
silverwind [Mon, 25 Feb 2019 10:37:04 +0000 (11:37 +0100)]
UI: Fix scrollbar always present on page body (#6177)

5 years agoUI: Make document body a flexbox (#6139)
silverwind [Sun, 24 Feb 2019 21:02:45 +0000 (22:02 +0100)]
UI: Make document body a flexbox (#6139)

* UI: Make document body a flexbox

Fixes: https://github.com/go-gitea/gitea/issues/6118
* ie11 fixes

* increase padding to 80px

* add flex-grow

5 years agofix bug when set indexer as db and add tests (#6173)
Lunny Xiao [Sun, 24 Feb 2019 16:16:20 +0000 (00:16 +0800)]
fix bug when set indexer as db and add tests (#6173)

5 years agoRefactor coverage profile with multiple packages (#6167) 6153/head
Bo-Yi Wu [Sat, 23 Feb 2019 10:44:32 +0000 (18:44 +0800)]
Refactor coverage profile with multiple packages (#6167)

5 years agofeat(docker): speed up docker build. (#6159)
Bo-Yi Wu [Sat, 23 Feb 2019 01:16:34 +0000 (09:16 +0800)]
feat(docker): speed up docker build. (#6159)

* feat(docker): speed up docker build.

* feat: add docker dryrun

* fix: remove docker username and password if dryrun

5 years agofix bug user could change private repository to public when force private enabled...
Lunny Xiao [Fri, 22 Feb 2019 21:56:05 +0000 (05:56 +0800)]
fix bug user could change private repository to public when force private enabled. (#6156)

5 years agofix bug when update owner team then visit team's repo return 404 (#6119)
Lunny Xiao [Fri, 22 Feb 2019 16:14:45 +0000 (00:14 +0800)]
fix bug when update owner team then visit team's repo return 404 (#6119)

5 years agoMake repo creation for API similar to UI (#6142)
John Olheiser [Thu, 21 Feb 2019 22:07:58 +0000 (16:07 -0600)]
Make repo creation for API similar to UI (#6142)

5 years agoAllow display of LFS stored Readme.md on directory page (#6073) (#6099)
zeripath [Thu, 21 Feb 2019 20:57:16 +0000 (20:57 +0000)]
Allow display of LFS stored Readme.md on directory page (#6073) (#6099)

* Fix display of >1Kb LFS text files

* Make LFS stored Readme files viewable

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Slight restructure

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Slight restructure

Signed-off-by: Andrew Thornton <art27@cantab.net>
* catch errors and restructure LFS sections

5 years agoAdmins can now do unlimited page size user search (listAllUsers & listAllOrgs) (...
John Olheiser [Thu, 21 Feb 2019 20:42:54 +0000 (14:42 -0600)]
Admins can now do unlimited page size user search (listAllUsers & listAllOrgs) (#6143)

Non-admins will default to 10 page size

5 years agoAdd more tests and docs for issue indexer, add db indexer type for searching from...
Lunny Xiao [Thu, 21 Feb 2019 05:01:28 +0000 (13:01 +0800)]
Add more tests and docs for issue indexer, add db indexer type for searching from database (#6144)

* add more tests and docs for issue indexer, add db indexer type for searching from database

* fix typo

* fix typo

* fix lint

* improve docs

5 years agorefactor issue indexer, add some testing and fix a bug (#6131)
Lunny Xiao [Thu, 21 Feb 2019 00:54:05 +0000 (08:54 +0800)]
refactor issue indexer, add some testing and fix a bug (#6131)

* refactor issue indexer, add some testing and fix a bug

* fix error copyright year on comment header

* issues indexer package import keep consistent