-
Notifications
You must be signed in to change notification settings - Fork 359
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
[FEATURE] Uniform avatar configure by AVATAR_PROXY #555
Conversation
Some questions:
|
|
Edited: I got an idea to handle it. |
Edited: So do |
@Mister-Hope |
So we are actually removing the "force fetch" feature? I understand that the type can be set in the proxy env variable, but enabling a random or time based suffix is not seen in this pr. (Or do I miss it?) |
@Mister-Hope All avatar configuration will move to https://github.com/waline/porter and custom it If they want. And https://github.com/waline/porter has no cache right now, so |
Got it, so I just need to detect if users are implict setting any avatar options, and use the old logic, otherwise just using the |
@Mister-Hope Yes, you're right. I think client has comment avatar field detection feature already and do not need any more work about it, because login user comment data will export avatar field. |
But that will make all the avatar settings unavailable when server side updates, and is some kind of breaking changes. I found this out either when I am trying to finish this one. BTW, currently is there a way for me to detect if a user is a login user? |
@Mister-Hope I'll update major version and add some description in the changelog. |
I am not looking forward to raise a major version, as I am planing to drop some support of old filelds in Valine when raising to V2. (Such as the Chinglish |
@Mister-Hope OK, so we can create v2 branch and merge those break feature into it and release v2 beta version. |
Edited: BTW, currently is there a way for me to detect if a comment is posted by a login user? (Which means his avatar should be kept) If so I can still support it without making breaking changes. |
@Mister-Hope a comment data has |
close #525 when pr closed.