Mario CupelliHello,
I am using Confluence Avatar Server for Stash and it is working now. I just added in the Stash configuration file: stash-config.properties the following entry
avatar.url.format.http=http://<confluence url>/rest/cas/1.0/avatar/server/%1$s
In addition, the following format parameters are available
* %1$s -> The user's e-mail address, MD5 hashed, or "00000000000000000000000000000000" if the user has no e-mail.
* %2$d -> The requested avatar size.
* %3$s -> The fallback URL, URL-encoded, which may be defined using "avatar.url.default".
* %4$s -> The user's e-mail address, not hashed, or an empty string if the user has no e-mail.
So this can specified in the properties as mentioned in the following:
avatar.url.format.http=http://<confluence url>/rest/cas/1.0/avatar/server/%1$s.jpg?s=%2$d&d=%3$s
avatar.url.format.https=https://<confluence url>/rest/cas/1.0/avatar/server/%1$s.jpg?s=%2$d&d=%3$s
Was this review helpful?•