Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport: Fixes indexed repos keeping outdated indexes when files grow too large #7730

Closed
wants to merge 44 commits into from

Conversation

guillep2k
Copy link
Member

Backport of #7712

lunny and others added 30 commits July 8, 2019 23:04
* fix migration tests since #7 fixed

* fix test time
fix post parameter - on issue list - unset assignee

Signed-off-by: Michael Gnehr <michael@gnehr.de>
…tion settings (go-gitea#7386)

affects go-gitea#6755

Signed-off-by: Michael Gnehr <michael@gnehr.de>
…o-gitea#7376)

* only return head: null if source branch was deleted

* add URL into GetPullRequest

* TestPullRequest_APIFormat

* log error if it is not Err(Branch)NotExist

(cherry picked from commit ff85a63)
…#7443)

There was a missing space before the `nohighlight` class which made the
previous class concatenate wrongly as `wrapnohighlight` in the template.
…gitea#7450 (go-gitea#7453)

Fix an issue introduced by cc8e7dd

Signed-off-by: Gary Kim <gary@garykim.dev>
Regression in 356854f, where
a log.Fatal call was removed. log.Fatal calls os.Exit(1) as intended,
but without it the fail() function returns normally and execution
continues past the fatal error, causing a panic.

This is visible as a go panic log and stack trace returned to the SSH
client, which is not only ugly, it leaks server and build system
information.

Fix by removing the stray return statement so that the fail() function
always calls os.Exit(1).

Backport: 2186a99
Fixes: go-gitea#7457
Signed-off-by: Allen Wild <allenwild93@gmail.com>
* Fix regex for issues in commit messages

Use same regex as markup for matching in commits.

Fixes go-gitea#7438

* make fmt
* 1.9.0-rc2 changelog

* Update CHANGELOG.md
…gitea#7478) (go-gitea#7507)

* Fixes go-gitea#7474 - Handles all redirects for Web UI File CRUD

* Fixes lint errors

* Typo fix

* Adds unit tests for a few helper functions

* Fixes per review

* Fix for new branch creation and to unit test

* Fixes the template used for errors on delete
* don't make release-version deps on transalations since translations is only triggered by push on master (go-gitea#7496)

* drone/docker: Use a more standard format (go-gitea#7480)

* drone/docker: Use a more standard format

Based on the plugin drone structure itself : https://github.com/drone-plugins/drone-docker/blob/ebce953fc443371d79b5a019fcc9c1976f60a09a/.drone.yml#L9
Use autotag : http://plugins.drone.io/drone-plugins/drone-docker/#autotag

* use latest plugins/docker:linux-amd64

* remove useless cache_from

* Don't depends on translations step
…tea#7563)

* Fix empty commits now showing in repo overview

* add test

* make fmt
* Fix panic in go-gitea#7611

Use pr.IssueID instead of pr.Issue.ID as Issue may not be loaded and is unnecessary

* Only fetch the head branch from the remote
…gitea#7580) (go-gitea#7623)

* fix bug create/edit wiki pages when code master branch protected

* improve FullPushingEnvironment function
* Fix syntax highlight initialization

Previously hljs was initialized via a function that relies on the
DOMContentLoaded event, registerd after jQuery's 'ready' event. I assume
that with the recent jQuery update, DOMContentLoaded may not be
guaranteed to fire after 'ready'. Fixed this via vanilla JS initalization.

Fixes: go-gitea#7559

* semicolon
renothing and others added 14 commits July 27, 2019 17:25
…-gitea#7647)

when you use gitea as OAuth2 provider, the /api/v1/user should return
user primary email as identifier, which is unique in OAuth2 clients.

this patch use convert.ToUser replace all u.APIFormat in api requests,
return primary email when caller is yourself or admin.
* hide delete/restore button on archived repos
close issue go-gitea#7653
 * backport vor v1.9

* hide column also

* move protected icon to first colum
backport parts of go-gitea#7461

* backport comit divergenze fix
go-gitea#7625
Move add to hook queue for created repo to outside xorm session.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
…o-gitea#7717)

* Backport: skip non-regular files (e.g. submodules) on repo indexing

* Include "executable" files in the index, as they are not necessarily binary
@guillep2k guillep2k closed this Aug 3, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.