Skip to content

Commit c6d8b73

Browse files
committed
merge main branch
2 parents e97c6d3 + de484e8 commit c6d8b73

File tree

268 files changed

+7594
-4397
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

268 files changed

+7594
-4397
lines changed

.drone.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,10 @@ services:
230230
MINIO_ACCESS_KEY: 123456
231231
MINIO_SECRET_KEY: 12345678
232232

233+
- name: smtpimap
234+
image: tabascoterrier/docker-imap-devel:latest
235+
pull: always
236+
233237
steps:
234238
- name: fetch-tags
235239
image: docker:git

.golangci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,14 @@ linters-settings:
7676
extra-rules: true
7777
lang-version: "1.19"
7878
depguard:
79-
# TODO: use depguard to replace import checks in gitea-vet
8079
list-type: denylist
8180
# Check the list against standard lib.
8281
include-go-root: true
8382
packages-with-error-message:
8483
- encoding/json: "use gitea's modules/json instead of encoding/json"
8584
- github.com/unknwon/com: "use gitea's util and replacements"
85+
- io/ioutil: "use os or io instead"
86+
- golang.org/x/exp: "it's experimental and unreliable."
8687

8788
issues:
8889
max-issues-per-linter: 0

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,47 @@ 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.18.1](https://github.com/go-gitea/gitea/releases/tag/v1.18.1) - 2023-01-17
8+
9+
* API
10+
* Add `sync_on_commit` option for push mirrors api (#22271) (#22292)
11+
* BUGFIXES
12+
* Update `github.com/zeripath/zapx/v15` (#22485)
13+
* Fix pull request API field `closed_at` always being `null` (#22482) (#22483)
14+
* Fix container blob mount (#22226) (#22476)
15+
* Fix error when calculating repository size (#22392) (#22474)
16+
* Fix Operator does not exist bug on explore page with ONLY_SHOW_RELEVANT_REPOS (#22454) (#22472)
17+
* Fix environments for KaTeX and error reporting (#22453) (#22473)
18+
* Remove the netgo tag for Windows build (#22467) (#22468)
19+
* Fix migration from GitBucket (#22477) (#22465)
20+
* Prevent panic on looking at api "git" endpoints for empty repos (#22457) (#22458)
21+
* Fix PR status layout on mobile (#21547) (#22441)
22+
* Fix wechatwork webhook sends empty content in PR review (#21762) (#22440)
23+
* Remove duplicate "Actions" label in mobile view (#21974) (#22439)
24+
* Fix leaving organization bug on user settings -> orgs (#21983) (#22438)
25+
* Fixed colour transparency regex matching in project board sorting (#22092) (#22437)
26+
* Correctly handle select on multiple channels in Queues (#22146) (#22428)
27+
* Prepend refs/heads/ to issue template refs (#20461) (#22427)
28+
* Restore function to "Show more" buttons (#22399) (#22426)
29+
* Continue GCing other repos on error in one repo (#22422) (#22425)
30+
* Allow HOST has no port (#22280) (#22409)
31+
* Fix omit avatar_url in discord payload when empty (#22393) (#22394)
32+
* Don't display stop watch top bar icon when disabled and hidden when click other place (#22374) (#22387)
33+
* Don't lookup mail server when using sendmail (#22300) (#22383)
34+
* Fix gravatar disable bug (#22337)
35+
* Fix update settings table on install (#22326) (#22327)
36+
* Fix sitemap (#22272) (#22320)
37+
* Fix code search title translation (#22285) (#22316)
38+
* Fix due date rendering the wrong date in issue (#22302) (#22306)
39+
* Fix get system setting bug when enabled redis cache (#22298)
40+
* Fix bug of DisableGravatar default value (#22297)
41+
* Fix key signature error page (#22229) (#22230)
42+
* TESTING
43+
* Remove test session cache to reduce possible concurrent problem (#22199) (#22429)
44+
* MISC
45+
* Restore previous official review when an official review is deleted (#22449) (#22460)
46+
* Log STDERR of external renderer when it fails (#22442) (#22444)
47+
748
## [1.18.0](https://github.com/go-gitea/gitea/releases/tag/v1.18.0) - 2022-12-29
849

950
* SECURITY

Makefile

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -751,16 +751,16 @@ $(EXECUTABLE): $(GO_SOURCES) $(TAGS_PREREQ)
751751
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o $@
752752

753753
.PHONY: release
754-
release: frontend generate release-windows release-linux release-darwin release-copy release-compress vendor release-sources release-docs release-check
754+
release: frontend generate release-windows release-linux release-darwin release-freebsd release-copy release-compress vendor release-sources release-docs release-check
755755

756756
$(DIST_DIRS):
757757
mkdir -p $(DIST_DIRS)
758758

759759
.PHONY: release-windows
760760
release-windows: | $(DIST_DIRS)
761-
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -buildmode exe -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'windows/*' -out gitea-$(VERSION) .
761+
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -buildmode exe -dest $(DIST)/binaries -tags 'osusergo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'windows/*' -out gitea-$(VERSION) .
762762
ifeq (,$(findstring gogit,$(TAGS)))
763-
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -buildmode exe -dest $(DIST)/binaries -tags 'netgo osusergo gogit $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'windows/*' -out gitea-$(VERSION)-gogit .
763+
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -buildmode exe -dest $(DIST)/binaries -tags 'osusergo gogit $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'windows/*' -out gitea-$(VERSION)-gogit .
764764
endif
765765
ifeq ($(CI),true)
766766
cp /build/* $(DIST)/binaries
@@ -780,6 +780,13 @@ ifeq ($(CI),true)
780780
cp /build/* $(DIST)/binaries
781781
endif
782782

783+
.PHONY: release-freebsd
784+
release-freebsd: | $(DIST_DIRS)
785+
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '$(LDFLAGS)' -targets 'freebsd/amd64' -out gitea-$(VERSION) .
786+
ifeq ($(CI),true)
787+
cp /build/* $(DIST)/binaries
788+
endif
789+
783790
.PHONY: release-copy
784791
release-copy: | $(DIST_DIRS)
785792
cd $(DIST); for file in `find . -type f -name "*"`; do cp $${file} ./release/; done;

assets/emoji.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)