Skip to content

Commit f5c33da

Browse files
authored
Merge branch 'main' into various-small-fixes
2 parents e639975 + 6e7d28c commit f5c33da

25 files changed

+169
-19
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
/.eslintrc linguist-language=YAML
66
/.stylelintrc linguist-language=YAML
77
/web_src/fomantic/build/** linguist-generated
8+
Dockerfile.* linguist-language=Dockerfile

custom/conf/app.example.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,6 +1587,10 @@ PATH =
15871587
;AVATAR_MAX_WIDTH = 4096
15881588
;AVATAR_MAX_HEIGHT = 3072
15891589
;;
1590+
;; The multiplication factor for rendered avatar images.
1591+
;; Larger values result in finer rendering on HiDPI devices.
1592+
;AVATAR_RENDERED_SIZE_FACTOR = 3
1593+
;;
15901594
;; Maximum allowed file size for uploaded avatars.
15911595
;; This is to limit the amount of RAM used when resizing the image.
15921596
;AVATAR_MAX_FILE_SIZE = 1048576

docs/content/doc/advanced/config-cheat-sheet.en-us.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,7 @@ Define allowed algorithms and their minimum key length (use -1 to disable a type
710710
- `AVATAR_MAX_WIDTH`: **4096**: Maximum avatar image width in pixels.
711711
- `AVATAR_MAX_HEIGHT`: **3072**: Maximum avatar image height in pixels.
712712
- `AVATAR_MAX_FILE_SIZE`: **1048576** (1Mb): Maximum avatar image file size in bytes.
713+
- `AVATAR_RENDERED_SIZE_FACTOR`: **3**: The multiplication factor for rendered avatar images. Larger values result in finer rendering on HiDPI devices.
713714

714715
- `REPOSITORY_AVATAR_STORAGE_TYPE`: **default**: Storage type defined in `[storage.xxx]`. Default is `default` which will read `[storage]` if no section `[storage]` will be a type `local`.
715716
- `REPOSITORY_AVATAR_UPLOAD_PATH`: **data/repo-avatars**: Path to store repository avatar image files.

0 commit comments

Comments
 (0)