ivatar issueshttps://git.linux-kernel.at/oliver/ivatar/-/issues2021-09-06T11:53:02Zhttps://git.linux-kernel.at/oliver/ivatar/-/issues/49Content-Type should be "image/jpeg", not "image/jpg"2021-09-06T11:53:02ZGhost UserContent-Type should be "image/jpeg", not "image/jpg"The following:
```console
curl -I "https://seccdn.libravatar.org/avatar/63a75a80e6b1f4adfdb04c1ca02e596c?s=72&d=monsterid"
```
result in:
```http
HTTP/1.1 200 OK
Date: Wed, 27 Feb 2019 13:42:43 GMT
Server: Apache/2.4.34 (Fedora) Open...The following:
```console
curl -I "https://seccdn.libravatar.org/avatar/63a75a80e6b1f4adfdb04c1ca02e596c?s=72&d=monsterid"
```
result in:
```http
HTTP/1.1 200 OK
Date: Wed, 27 Feb 2019 13:42:43 GMT
Server: Apache/2.4.34 (Fedora) OpenSSL/1.1.0i-fips mod_wsgi/4.5.20 Python/3.6
Strict-Transport-Security: max-age=31536000; preload; includeSubDomains
Content-Length: 2210
Vary: Accept-Language,Cookie
Content-Language: en
X-Frame-Options: SAMEORIGIN
Content-Type: image/jpg
```
I suppose `Content-Type` should be `image/jpeg`Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/48Retro images have a margin on the bottom and right sides2021-09-06T11:52:52ZGhost UserRetro images have a margin on the bottom and right sidesThe image generated with the default=retro option have a margin or internal border of some sort:
Example:
https://www.libravatar.org/avatar/13294c5d1d80d103b665a3596a7ed975e75e356b5b6af178eaf097b7c3130bf3?s=60&forcedefault=y&default=re...The image generated with the default=retro option have a margin or internal border of some sort:
Example:
https://www.libravatar.org/avatar/13294c5d1d80d103b665a3596a7ed975e75e356b5b6af178eaf097b7c3130bf3?s=60&forcedefault=y&default=retro
Attached here:
![retro](/uploads/1b7d7c0e858be5b6128382ce3b6c4ddd/retro.png)https://git.linux-kernel.at/oliver/ivatar/-/issues/47check tool doesn't display SHA256 avatars (email)2021-09-06T11:52:45ZGhost Usercheck tool doesn't display SHA256 avatars (email)I use my own libravatar server. The check tool does display the MD5 picture, but not the SHA256 picture. You can replicate with the email address `testlibravatar@tastytea.de`. The server returns the right image¹ and it worked with the ol...I use my own libravatar server. The check tool does display the MD5 picture, but not the SHA256 picture. You can replicate with the email address `testlibravatar@tastytea.de`. The server returns the right image¹ and it worked with the old check tool.
¹ https://avatar.tastytea.de/avatar/926ccda19cfe96f3d714506c74ad3101e5cdfec95aaacef99b7f39242636a3b2
![screenshot_2019-02-19T22_01_31](/uploads/cd66e0f6ccc96ad0117b7c3ecd60418d/screenshot_2019-02-19T22_01_31.png)Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/46Some pictures are not resized2021-09-06T11:52:37ZGhost UserSome pictures are not resizedI checked with two different pictures:
- ![black](/uploads/3c963f7c4702d85fea7618e2cd8d9cc8/black.png) a 512x512 1-bit PNG image ;
- ![wb](/uploads/31bc0aadbabf610eda26625971a7aeed/wb.png) a 32x32 2-bit PNG image.
The first one is corr...I checked with two different pictures:
- ![black](/uploads/3c963f7c4702d85fea7618e2cd8d9cc8/black.png) a 512x512 1-bit PNG image ;
- ![wb](/uploads/31bc0aadbabf610eda26625971a7aeed/wb.png) a 32x32 2-bit PNG image.
The first one is correctly displayed as a 80x80 image when requested without the size option and again correctly resized to other size.
The second is not, ever.Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/45The default option is not respected anymore2021-09-06T11:46:50ZGhost UserThe default option is not respected anymoreA request for a random, non-existing hash such as one generated with `sha256 -qs invalid$RANDOM` with a default of `404` or `retro` or any other valid value for this option is now ignored. Instead ivatar redirects to `/gravatarproxy/...?...A request for a random, non-existing hash such as one generated with `sha256 -qs invalid$RANDOM` with a default of `404` or `retro` or any other valid value for this option is now ignored. Instead ivatar redirects to `/gravatarproxy/...?s=80`, then on `/avatar/...?s=80&forcedefault=y` and finally redirects to nobody.png.
Perhaps all options should be passed instead of just the size ? I tested the same request with a non-default size and it was passed on as expected.
Example:
```
$ curl -iL "https://libravatar-stg.fedorainfracloud.org/avatar/$(sha256 -qs invalid$RANDOM)?d=404"
HTTP/1.1 302 Found
Date: Tue, 19 Feb 2019 16:00:56 GMT
Server: Apache/2.4.34 (Fedora) OpenSSL/1.1.0i-fips mod_wsgi/4.5.20 Python/3.6
Strict-Transport-Security: max-age=31536000; preload
Location: /gravatarproxy/985993fa4f05b8195da128cbf86c6fb1d6c2fbcbf3861865d93fd214aacce2f0?s=80
Content-Length: 0
Vary: Accept-Language,Cookie
Content-Language: en
X-Frame-Options: SAMEORIGIN
Content-Type: text/html; charset=utf-8
HTTP/1.1 302 Found
Date: Tue, 19 Feb 2019 16:00:56 GMT
Server: Apache/2.4.34 (Fedora) OpenSSL/1.1.0i-fips mod_wsgi/4.5.20 Python/3.6
Strict-Transport-Security: max-age=31536000; preload
Location: /avatar/985993fa4f05b8195da128cbf86c6fb1d6c2fbcbf3861865d93fd214aacce2f0?s=80&forcedefault=y
Content-Length: 0
Vary: Accept-Language,Cookie
Content-Language: en
X-Frame-Options: SAMEORIGIN
Content-Type: text/html; charset=utf-8
HTTP/1.1 302 Found
Date: Tue, 19 Feb 2019 16:00:57 GMT
Server: Apache/2.4.34 (Fedora) OpenSSL/1.1.0i-fips mod_wsgi/4.5.20 Python/3.6
Strict-Transport-Security: max-age=31536000; preload
Location: /static/img/nobody/80.png
Content-Length: 0
Vary: Accept-Language,Cookie
Content-Language: en
X-Frame-Options: SAMEORIGIN
Content-Type: text/html; charset=utf-8
HTTP/1.1 200 OK
Date: Tue, 19 Feb 2019 16:00:57 GMT
Server: Apache/2.4.34 (Fedora) OpenSSL/1.1.0i-fips mod_wsgi/4.5.20 Python/3.6
Strict-Transport-Security: max-age=31536000; preload
Last-Modified: Wed, 14 Nov 2018 14:53:30 GMT
ETag: "9f4-57aa118f1484d"
Accept-Ranges: bytes
Content-Length: 2548
Content-Type: image/png
```Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/44Valid hash with a forced default option redirects to an invalid page2021-09-06T11:52:22ZGhost UserValid hash with a forced default option redirects to an invalid pageA request for a valid hash such as `4751ed9aae86881d2b45dd0512c3e14a` with a invalid default such as `unicorn` works fine unless the forcedefault option is used. In this case ivatar redirects to an invalid page using `unicorn` as the has...A request for a valid hash such as `4751ed9aae86881d2b45dd0512c3e14a` with a invalid default such as `unicorn` works fine unless the forcedefault option is used. In this case ivatar redirects to an invalid page using `unicorn` as the hash.
A request for an invalid hash with an invalid forced default correctly returns nobody.png.
Example:
```
$ curl -i "https://libravatar-stg.fedorainfracloud.org/avatar/4751ed9aae86881d2b45dd0512c3e14a?d=unicorn&f=y"
HTTP/1.1 302 Found
Date: Tue, 19 Feb 2019 15:44:44 GMT
Server: Apache/2.4.34 (Fedora) OpenSSL/1.1.0i-fips mod_wsgi/4.5.20 Python/3.6
Strict-Transport-Security: max-age=31536000; preload
Location: unicorn
Content-Length: 0
Vary: Accept-Language,Cookie
Content-Language: en
X-Frame-Options: SAMEORIGIN
Content-Type: text/html; charset=utf-8
```Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/43Wrong page returned for a hash of invalid length2021-09-06T11:52:07ZGhost UserWrong page returned for a hash of invalid lengthWith a short hash like 55a407f5 ivatar returns an HTML error page stating “incorrect digest length” but with an HTTP code of 200, which is confusing. Latest discussions stated libravatar implementations should do they best to return an i...With a short hash like 55a407f5 ivatar returns an HTML error page stating “incorrect digest length” but with an HTTP code of 200, which is confusing. Latest discussions stated libravatar implementations should do they best to return an image, so perhaps nobody.png should returned here. At least it should be an HTTP code 400 or such.
Example:
$ curl -i "https://libravatar-stg.fedorainfracloud.org/avatar/55a407f >
HTTP/1.1 200 OKOliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/42Mail/Photo association on import doesn't work2021-09-06T11:46:04ZGhost UserMail/Photo association on import doesn't workEither export broken or importEither export broken or importOliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/41Account deletion doesn't work2019-02-19T10:36:02ZOliver Falkoliver@linux-kernel.atAccount deletion doesn't workGives error 500Gives error 500Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/40Style for check_domain2019-02-23T21:44:48ZOliver Falkoliver@linux-kernel.atStyle for check_domainThe current style of check_domain has been taken over (mostly) from the old site and is using tables to style the result.
Would be cool, if we can restyle this.
Example:
https://libravatar-stg.fedorainfracloud.org/tools/check_domain/
Can...The current style of check_domain has been taken over (mostly) from the old site and is using tables to style the result.
Would be cool, if we can restyle this.
Example:
https://libravatar-stg.fedorainfracloud.org/tools/check_domain/
Can I assign this to you @nipos ?https://git.linux-kernel.at/oliver/ivatar/-/issues/39For email confirmation, you need to be logged when clicking on a link in the ...2021-09-06T11:51:16ZGhost UserFor email confirmation, you need to be logged when clicking on a link in the emailThis is rather a question. I noticed I need to be logged in when clicking a confirm link in the received confirmation email. If I am not logged in into libravatar at that moment, the email want get verified/confirmed. I don't think being...This is rather a question. I noticed I need to be logged in when clicking a confirm link in the received confirmation email. If I am not logged in into libravatar at that moment, the email want get verified/confirmed. I don't think being logged in is usually required when confirming an email address.Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/38disable exception stacktraces getting into browser on production2021-09-06T11:51:05ZGhost Userdisable exception stacktraces getting into browser on productionHello, on production (https://libravatar.fedorainfracloud.org), right now, when an exception is raised, it gets displayed in browser. We should very likely disable it for production. I am now not sure which Django settings influences it ...Hello, on production (https://libravatar.fedorainfracloud.org), right now, when an exception is raised, it gets displayed in browser. We should very likely disable it for production. I am now not sure which Django settings influences it but we definitely want a different settings for production and different for developement.Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/37libravatar's sends email with FROM: accounts@mg.linux-kernel.at2021-09-06T11:51:01ZGhost Userlibravatar's sends email with FROM: accounts@mg.linux-kernel.atI think it might be related to the following settings in config.py (although it comes before `DEFAULT_FROM_EMAIL = os.environ.get('DEFAULT_FROM_EMAIL', 'ivatar@mg.linux-kernel.at')` strangely).
```
SERVER_EMAIL = 'accounts@mg.linux-kern...I think it might be related to the following settings in config.py (although it comes before `DEFAULT_FROM_EMAIL = os.environ.get('DEFAULT_FROM_EMAIL', 'ivatar@mg.linux-kernel.at')` strangely).
```
SERVER_EMAIL = 'accounts@mg.linux-kernel.at'
DEFAULT_FROM_EMAIL = SERVER_EMAIL
```
...Actually looking into models.py `SERVER_EMAIL` varaiable is used as `send_email`'s parameter.
We probably want to:
```
SERVER_EMAIL = os.environ.get('SERVER_EMAIL', 'accounts@mg.linux-kernel.at')
```
Or maybe we can just keep `DEFAULT_FROM_EMAIL`?https://git.linux-kernel.at/oliver/ivatar/-/issues/36on libravatar-stg there is still the "old" navbar on homepage when logged in2021-09-06T11:50:55ZGhost Useron libravatar-stg there is still the "old" navbar on homepage when logged inHello, when I am logged in on libravatar-stg (devel branch), I get the "old" navbar displayed. I think this has been updated in a recent PR.
![Screenshot_from_2019-02-05_20-44-47](/uploads/aedbdc378fcde45457c79babd6e30666/Screenshot_fro...Hello, when I am logged in on libravatar-stg (devel branch), I get the "old" navbar displayed. I think this has been updated in a recent PR.
![Screenshot_from_2019-02-05_20-44-47](/uploads/aedbdc378fcde45457c79babd6e30666/Screenshot_from_2019-02-05_20-44-47.png)https://git.linux-kernel.at/oliver/ivatar/-/issues/35check tool doesn't work properly2021-09-06T11:50:48ZGhost Usercheck tool doesn't work properlyHello!
on https://libravatar-stg.fedorainfracloud.org/, I've deleted all the users to start from a fresh environment. I then created user clime, added an openID https://clime.id.fedoraproject.org and uploaded a photo for this openID.
I...Hello!
on https://libravatar-stg.fedorainfracloud.org/, I've deleted all the users to start from a fresh environment. I then created user clime, added an openID https://clime.id.fedoraproject.org and uploaded a photo for this openID.
I then tried to check the openID and the photo for it by the check tool but check tool doesn't display the photo for some reason, when I put https://clime.id.fedoraproject.org into OpenId field, just a default avatar for sha512 is displayed.Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/34ivatar vs. libravatar name on home page2021-09-06T11:50:41ZGhost Userivatar vs. libravatar name on home pageHello, I think we want the home page on https://libravatar.fedorainfracloud.org/ to say:
"libravatar"
"freeing the web one face at a time"
instead of:
"ivatar"
"freeing the web one face at a time"
I understand ivatar is the name of t...Hello, I think we want the home page on https://libravatar.fedorainfracloud.org/ to say:
"libravatar"
"freeing the web one face at a time"
instead of:
"ivatar"
"freeing the web one face at a time"
I understand ivatar is the name of the software but i don't think users need to know the software is actually named differently.
Similarly, we should modify:
<title>iVatar :: federated avatar hosting service</title>
Maybe this can be done by adding a configuration variable SERVICE_NAME and using that in the template?https://git.linux-kernel.at/oliver/ivatar/-/issues/33what is ALLOWED_EXTERNAL_OPENID_REDIRECT_DOMAINS good for2021-09-06T11:50:25ZGhost Userwhat is ALLOWED_EXTERNAL_OPENID_REDIRECT_DOMAINS good forHello,
there is configuration option ALLOWED_EXTERNAL_OPENID_REDIRECT_DOMAINS. Is it good for something? OPENID login is working on libravatar-stg even though the domain name is currently not being present in the above-mentioned setting...Hello,
there is configuration option ALLOWED_EXTERNAL_OPENID_REDIRECT_DOMAINS. Is it good for something? OPENID login is working on libravatar-stg even though the domain name is currently not being present in the above-mentioned setting.
Thank you!
climeOliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/32Make it possible to use SMTP email backend for sending email2021-09-06T11:50:17ZGhost UserMake it possible to use SMTP email backend for sending emailHello,
currently, only mailgun email backend is available. Can we make email backend configurable so that postfix can be employed for sending emails?
Thank you!Hello,
currently, only mailgun email backend is available. Can we make email backend configurable so that postfix can be employed for sending emails?
Thank you!Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/31home page should show topbar when user is logged in2021-09-06T11:50:09ZGhost Userhome page should show topbar when user is logged inWhen I click at home in my profile. I am redirected to home page, from which I can't easily (without a back button) get into my profile again. It would be nice if the top bar for logged in users was shown on homepage as well.When I click at home in my profile. I am redirected to home page, from which I can't easily (without a back button) get into my profile again. It would be nice if the top bar for logged in users was shown on homepage as well.Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/30ivatar uses gravatar way too often?2021-09-06T11:49:56ZGhost Userivatar uses gravatar way too often?If I make up some random hash and use it, I get:
http://libravatar-stg.fedorainfracloud.org/avatar/40f8d096a3777232204cb3f796c577b7?s=500
vs.
http://cdn.libravatar.org/avatar/40f8d096a3777232204cb3f796c577b7?s=500
In the first case, ...If I make up some random hash and use it, I get:
http://libravatar-stg.fedorainfracloud.org/avatar/40f8d096a3777232204cb3f796c577b7?s=500
vs.
http://cdn.libravatar.org/avatar/40f8d096a3777232204cb3f796c577b7?s=500
In the first case, gravatar is used as a source to get avatar. In the second case, libravatar's default avatar is used. I wonder what are the rules when gravatar should be used and when not.
This is more a question than a bug report.