Skip to content

Commit c6aea50

Browse files
committed
Merge remote-tracking branch 'giteaofficial/main'
* giteaofficial/main: Update permissions.en-us.md (go-gitea#20075) Changelog for 1.16.9 (go-gitea#20059) (go-gitea#20063) Release page show all tags in compare dropdown (go-gitea#20070) docs: Mention file extension for issue_template directory (go-gitea#20057)
2 parents 201d49d + 031f5f7 commit c6aea50

File tree

5 files changed

+33
-7
lines changed

5 files changed

+33
-7
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,25 @@ This changelog goes through all the changes that have been made in each release
44
without substantial changes to our git log; to see the highlights of what has
55
been added to each release, please refer to the [blog](https://blog.gitea.io).
66

7+
## [1.16.9](https://github.com/go-gitea/gitea/releases/tag/v1.16.9) - 2022-06-21
8+
9+
* BUGFIXES
10+
* Release page show all tags in compare dropdown (#20070) (#20071)
11+
* Fix permission check for delete tag (#19985) (#20001)
12+
* Only log non ErrNotExist errors in git.GetNote (#19884) (#19905)
13+
* Use exact search instead of fuzzy search for branch filter dropdown (#19885) (#19893)
14+
* Set Setpgid on child git processes (#19865) (#19881)
15+
* Import git from alpine 3.16 repository as 2.30.4 is needed for `safe.directory = '*'` to work but alpine 3.13 has 2.30.3 (#19876)
16+
* Ensure responses are context.ResponseWriters (#19843) (#19859)
17+
* Fix incorrect usage of `Count` function (#19850)
18+
* Fix raw endpoint PDF file headers (#19825) (#19826)
19+
* Make WIP prefixes case insensitive, e.g. allow `Draft` as a WIP prefix (#19780) (#19811)
20+
* Don't return 500 on NotificationUnreadCount (#19802)
21+
* Prevent NPE when cache service is disabled (#19703) (#19783)
22+
* Detect truncated utf-8 characters at the end of content as still representing utf-8 (#19773) (#19774)
23+
* Fix doctor pq: syntax error at or near "." quote user table name (#19765) (#19770)
24+
* Fix bug with assigneees (#19757)
25+
726
## [1.16.8](https://github.com/go-gitea/gitea/releases/tag/v1.16.8) - 2022-05-16
827

928
* ENHANCEMENTS

docs/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ params:
1818
description: Git with a cup of tea
1919
author: The Gitea Authors
2020
website: https://docs.gitea.io
21-
version: 1.16.8
21+
version: 1.16.9
2222
minGoVersion: 1.18
2323
goVersion: 1.18
2424
minNodeVersion: 14

docs/content/doc/usage/issue-pull-request-templates.en-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Possible directory names for issue templates:
8585
- `.gitlab/ISSUE_TEMPLATE`
8686
- `.gitlab/issue_template`
8787

88-
Inside the directory can be multiple issue templates with the form
88+
Inside the directory can be multiple markdown (`.md`) issue templates of the form
8989

9090
```md
9191
---

docs/content/doc/usage/permissions.en-us.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Different from individual repositories, the owner of organization repositories a
6767
A team in an organization has unit permissions settings. It can have members and repositories scope. A team could access all the repositories in this organization or special repositories changed by the owner team. A team could also be allowed to create new
6868
repositories.
6969

70-
The owner team will be created when the organization created and the creator will become the first member of the owner team.
71-
Notice Gitea will not allow a people is a member of organization but not in any team. The owner team could not be deleted and only
72-
members of owner team could create a new team. Admin team could be created to manage some of repositories, members of admin team
73-
could do anything with these repositories. Generate team could be created by the owner team to do the permissions allowed operations.
70+
The owner team will be created when the organization is created, and the creator will become the first member of the owner team.
71+
Every member of an organization must be in at least one team. The owner team cannot be deleted and only
72+
members of the owner team can create a new team. An admin team can be created to manage some of the repositories, whose members can do anything with these repositories.
73+
The Generate team can be created by the owner team to do the operations allowed by their permissions.

routers/web/repo/release.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,14 @@ func releasesOrTags(ctx *context.Context, isTagList bool) {
9898
listOptions.PageSize = setting.API.MaxResponseItems
9999
}
100100

101-
tags, err := ctx.Repo.GitRepo.GetTags(listOptions.GetStartEnd())
101+
// TODO(20073) tags are used for compare feature witch needs all tags
102+
// filtering is doen at the client side atm
103+
tagListStart, tagListEnd := 0, 0
104+
if isTagList {
105+
tagListStart, tagListEnd = listOptions.GetStartEnd()
106+
}
107+
108+
tags, err := ctx.Repo.GitRepo.GetTags(tagListStart, tagListEnd)
102109
if err != nil {
103110
ctx.ServerError("GetTags", err)
104111
return

0 commit comments

Comments
 (0)