Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
* upstream/main:
  Rewrite fuzzers to native Go harnesses (go-gitea#22313)
  Update Emoji dataset to Unicode 14 (go-gitea#22342)
  fix gravatar disable bug (go-gitea#22336)
  • Loading branch information
zjjhot committed Jan 5, 2023
2 parents d1c7b74 + 906d8cc commit e1ec9b2
Show file tree
Hide file tree
Showing 6 changed files with 566 additions and 357 deletions.
2 changes: 1 addition & 1 deletion assets/emoji.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/generate-emoji.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (

const (
gemojiURL = "https://raw.githubusercontent.com/github/gemoji/master/db/emoji.json"
maxUnicodeVersion = 12
maxUnicodeVersion = 14
)

var flagOut = flag.String("o", "modules/emoji/emoji_data.go", "out")
Expand Down
2 changes: 1 addition & 1 deletion models/system/setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func Init() error {
}
}

if enableFederatedAvatarSetting.GetValueBool() {
if GravatarSourceURL != nil && enableFederatedAvatarSetting.GetValueBool() {
LibravatarService = libravatar.New()
if GravatarSourceURL.Scheme == "https" {
LibravatarService.SetUseHTTPS(true)
Expand Down
Loading

0 comments on commit e1ec9b2

Please sign in to comment.