-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Improve avatar uploading / resizing / compressing, remove Fomantic card module #24653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
7b679b3
fix
wxiaoguang 8f3a71c
support webp animation
wxiaoguang d40c7e6
improve webp detection
wxiaoguang 4702918
fix
wxiaoguang 34868ce
Update modules/avatar/avatar.go
wxiaoguang 90f6e2e
remove unnecessary setting access
wxiaoguang ef79c9c
refactor
wxiaoguang ceeee5a
fine tune
wxiaoguang ab70def
improve comment
wxiaoguang d6e10c5
fix comment typo
wxiaoguang 0bfed61
Apply suggestions from code review
wxiaoguang 865f18e
Update docs/content/doc/administration/config-cheat-sheet.en-us.md
wxiaoguang 9c2eb7a
fix typo in comment
wxiaoguang b79d492
double default AVATAR_MAX_FILE_SIZE to 2MiB
silverwind 85e3fb1
double AVATAR_MAX_ORIGIN_SIZE to 256KiB
silverwind ceb44e5
reduce AVATAR_RENDERED_SIZE_FACTOR to 2
silverwind 60410f9
increase AVATAR_MAX_HEIGHT to 4096
silverwind 1ac0d77
take into account setting.Avatar.RenderedSizeFactor when scaling, red…
silverwind c3ac10f
revert AVATAR_MAX_FILE_SIZE to 1MiB
silverwind c32812f
update comment
silverwind b916c2a
make fmt
silverwind eb3037d
replace number in test
silverwind 2b8133c
Update templates/user/profile.tmpl
wxiaoguang f80f89e
fix failed tests
wxiaoguang 52fb4db
remove fomantic card module and extract all needed styles, fix avatar…
silverwind 68047ce
add comment
silverwind 5288391
avatar page fixes
silverwind 7941519
more fixes, migrate is now pixel-identical
silverwind 04c5fde
move card styles to own file
silverwind File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update templates/user/profile.tmpl
- Loading branch information
commit 2b8133c187e0e9fb709a57df306904256e1dd90c
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.