mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 00:54:28 +00:00
parent
92328a3394
commit
836884429a
@ -1040,7 +1040,7 @@ PATH =
|
|||||||
;; Additional Emojis not defined in the utf8 standard
|
;; Additional Emojis not defined in the utf8 standard
|
||||||
;; By default we support gitea (:gitea:), to add more copy them to public/img/emoji/emoji_name.png and add it to this config.
|
;; By default we support gitea (:gitea:), to add more copy them to public/img/emoji/emoji_name.png and add it to this config.
|
||||||
;; Dont mistake it for Reactions.
|
;; Dont mistake it for Reactions.
|
||||||
;CUSTOM_EMOJIS = gitea
|
;CUSTOM_EMOJIS = gitea, codeberg, gitlab, git, github, gogs
|
||||||
;;
|
;;
|
||||||
;; Whether the full name of the users should be shown where possible. If the full name isn't set, the username will be used.
|
;; Whether the full name of the users should be shown where possible. If the full name isn't set, the username will be used.
|
||||||
;DEFAULT_SHOW_FULL_NAME = false
|
;DEFAULT_SHOW_FULL_NAME = false
|
||||||
|
@ -181,7 +181,7 @@ The following configuration set `Content-Type: application/vnd.android.package-a
|
|||||||
- `REACTIONS`: All available reactions users can choose on issues/prs and comments
|
- `REACTIONS`: All available reactions users can choose on issues/prs and comments
|
||||||
Values can be emoji alias (:smile:) or a unicode emoji.
|
Values can be emoji alias (:smile:) or a unicode emoji.
|
||||||
For custom reactions, add a tightly cropped square image to public/img/emoji/reaction_name.png
|
For custom reactions, add a tightly cropped square image to public/img/emoji/reaction_name.png
|
||||||
- `CUSTOM_EMOJIS`: **gitea**: Additional Emojis not defined in the utf8 standard.
|
- `CUSTOM_EMOJIS`: **gitea, codeberg, gitlab, git, github, gogs**: Additional Emojis not defined in the utf8 standard.
|
||||||
By default we support gitea (:gitea:), to add more copy them to public/img/emoji/emoji_name.png and
|
By default we support gitea (:gitea:), to add more copy them to public/img/emoji/emoji_name.png and
|
||||||
add it to this config.
|
add it to this config.
|
||||||
- `DEFAULT_SHOW_FULL_NAME`: **false**: Whether the full name of the users should be shown where possible. If the full name isn't set, the username will be used.
|
- `DEFAULT_SHOW_FULL_NAME`: **false**: Whether the full name of the users should be shown where possible. If the full name isn't set, the username will be used.
|
||||||
|
@ -258,8 +258,8 @@ var (
|
|||||||
DefaultTheme: `gitea`,
|
DefaultTheme: `gitea`,
|
||||||
Themes: []string{`gitea`, `arc-green`},
|
Themes: []string{`gitea`, `arc-green`},
|
||||||
Reactions: []string{`+1`, `-1`, `laugh`, `hooray`, `confused`, `heart`, `rocket`, `eyes`},
|
Reactions: []string{`+1`, `-1`, `laugh`, `hooray`, `confused`, `heart`, `rocket`, `eyes`},
|
||||||
CustomEmojis: []string{`gitea`},
|
CustomEmojis: []string{`git`, `gitea`, `codeberg`, `gitlab`, `github`, `gogs`},
|
||||||
CustomEmojisMap: map[string]string{"gitea": ":gitea:"},
|
CustomEmojisMap: map[string]string{"git": ":git:", "gitea": ":gitea:", "codeberg": ":codeberg:", "gitlab": ":gitlab:", "github": ":github:", "gogs": ":gogs:"},
|
||||||
Notification: struct {
|
Notification: struct {
|
||||||
MinTimeout time.Duration
|
MinTimeout time.Duration
|
||||||
TimeoutStep time.Duration
|
TimeoutStep time.Duration
|
||||||
|
BIN
public/img/emoji/codeberg.png
Normal file
BIN
public/img/emoji/codeberg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.1 KiB |
BIN
public/img/emoji/git.png
Normal file
BIN
public/img/emoji/git.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.9 KiB |
BIN
public/img/emoji/github.png
Normal file
BIN
public/img/emoji/github.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
public/img/emoji/gitlab.png
Normal file
BIN
public/img/emoji/gitlab.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
BIN
public/img/emoji/gogs.png
Normal file
BIN
public/img/emoji/gogs.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Loading…
Reference in New Issue
Block a user