ivatar issueshttps://git.linux-kernel.at/oliver/ivatar/-/issues2021-09-06T11:50:25Zhttps://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.https://git.linux-kernel.at/oliver/ivatar/-/issues/29Outdated links on front page2021-09-06T11:35:53ZGhost UserOutdated links on front pageHello!
The source code link on frontpage should likely link to this repo, not to https://code.launchpad.net/libravatar.
The same for "Report bugs"/"Questions". "Security" link doesn't work.Hello!
The source code link on frontpage should likely link to this repo, not to https://code.launchpad.net/libravatar.
The same for "Report bugs"/"Questions". "Security" link doesn't work.https://git.linux-kernel.at/oliver/ivatar/-/issues/28TODO TODO TODO on Contact page under Bug Tracker2021-09-06T11:49:46ZGhost UserTODO TODO TODO on Contact page under Bug TrackerHello,
there is unfinished text under "Bug Tracker" title on Contacts page. I think it is just missing link to this Gitlab's bugtracker.Hello,
there is unfinished text under "Bug Tracker" title on Contacts page. I think it is just missing link to this Gitlab's bugtracker.Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/27Cannot log into my account under my openID, instead new account is created2021-09-06T11:49:38ZGhost UserCannot log into my account under my openID, instead new account is createdHello,
I have imported data into libravatar-stg.fedorainfracloud.org and tried to log under my openID http://clime.id.fedoraproject.org. Instead of logging into my account for username browserid376, I got logged into a new account, whic...Hello,
I have imported data into libravatar-stg.fedorainfracloud.org and tried to log under my openID http://clime.id.fedoraproject.org. Instead of logging into my account for username browserid376, I got logged into a new account, which was automatically created at that point.
For original libravatar, users are able to log into their accounts under their confirmed openIDs. I think we want that behavior too.Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/26libravatar's import/export data do not store relation between confirmed email...2021-09-06T11:49:30ZGhost Userlibravatar's import/export data do not store relation between confirmed email/openid and photosPhotos, confirmed emails, and confirmed openIDs are all imported independently. If I have have some photo assigned to a certain email on current libravatar instance, this relation is not transferred through export/import operation.Photos, confirmed emails, and confirmed openIDs are all imported independently. If I have have some photo assigned to a certain email on current libravatar instance, this relation is not transferred through export/import operation.https://git.linux-kernel.at/oliver/ivatar/-/issues/25libravatar's export/import scripts don't account for password2021-09-06T11:49:13ZGhost Userlibravatar's export/import scripts don't account for passwordHello,
https://git.linux-kernel.at/oliver/ivatar/blob/libravatar_export/exportaccounts.py
nor
https://git.linux-kernel.at/oliver/ivatar/blob/master/import_libravatar.py
account for user password. I think we might want to transfer those...Hello,
https://git.linux-kernel.at/oliver/ivatar/blob/libravatar_export/exportaccounts.py
nor
https://git.linux-kernel.at/oliver/ivatar/blob/master/import_libravatar.py
account for user password. I think we might want to transfer those as well.Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/24content for security link is missing2021-09-06T11:49:06ZGhost Usercontent for security link is missingHello,
when I click on "Security" item in top bar when logged in*, I get an error about non-existing template. Do we have any intended content for that tab or could we simply drop it?
*[Screenshot_from_2018-12-27_22-20-07](/uploads/a5...Hello,
when I click on "Security" item in top bar when logged in*, I get an error about non-existing template. Do we have any intended content for that tab or could we simply drop it?
*[Screenshot_from_2018-12-27_22-20-07](/uploads/a5b7cbc1efce7c05eed5829c4b1127ab/Screenshot_from_2018-12-27_22-20-07.png)Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/23PasswordReset form doesn't send any emails2021-09-06T11:48:58ZGhost UserPasswordReset form doesn't send any emailsHello!
there is a problem with password reset form. Namely, ivatar doesn't set user.email attribute and django checks on that attribute when sending a password-reset email:
https://github.com/django/django/blob/master/django/contrib/au...Hello!
there is a problem with password reset form. Namely, ivatar doesn't set user.email attribute and django checks on that attribute when sending a password-reset email:
https://github.com/django/django/blob/master/django/contrib/auth/forms.py#L260
A solution here could be to override: PasswordResetForm:get_users method.https://git.linux-kernel.at/oliver/ivatar/-/issues/22Implement gravatar fallback2021-09-06T11:43:05ZGhost UserImplement gravatar fallbackDefault: Fallback to gravatar to local gravatar proxying under /gravatar/
Alternative: Directly redirect to gravatar.com
Alternative2: Disable redirect/fallback at all.Default: Fallback to gravatar to local gravatar proxying under /gravatar/
Alternative: Directly redirect to gravatar.com
Alternative2: Disable redirect/fallback at all.Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/21Requests with a negative size option crash ivatar2021-09-06T11:48:47ZGhost UserRequests with a negative size option crash ivatarExample:
```
curl -i "https://avatars.linux-kernel.at/avatar/4751ed9aae86881d2b45dd0512c3e14a?s=-19"
```
This produce an uncatched ValueError exception with the following message: “height and width must be > 0”.
My implementation retu...Example:
```
curl -i "https://avatars.linux-kernel.at/avatar/4751ed9aae86881d2b45dd0512c3e14a?s=-19"
```
This produce an uncatched ValueError exception with the following message: “height and width must be > 0”.
My implementation returns an HTTP status code 400 while libravatar returns an image with the default size.https://git.linux-kernel.at/oliver/ivatar/-/issues/20nobody.png is returned instead of MysteryMan2021-09-06T11:48:41ZGhost Usernobody.png is returned instead of MysteryManNow it is the other way around ! :laughing:
When requesting a non existing user's avatar with a `default` option of 'mm' or 'mp' the nobody.png picture is returned instead of 'mm.png'.
Example:
```
curl -L https://avatars.linux-kerne...Now it is the other way around ! :laughing:
When requesting a non existing user's avatar with a `default` option of 'mm' or 'mp' the nobody.png picture is returned instead of 'mm.png'.
Example:
```
curl -L https://avatars.linux-kernel.at/avatar/4751ed9aae86881d2b45dd0512c3e14a?d=mm&f=y
```
This regression doesn't affect values of 'identicon' or 'retro'.Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/16Importing pictures from another libravatar instance is broken2021-09-06T11:48:18ZGhost UserImporting pictures from another libravatar instance is brokenThe function `get_context_data` in the class `ImportPhotoView` from the `ivatar/ivataraccount/views.py` file generates a broken URL.
In this snippet the variable `libravatar_service_url` already contains an option at the end, namely '?d...The function `get_context_data` in the class `ImportPhotoView` from the `ivatar/ivataraccount/views.py` file generates a broken URL.
In this snippet the variable `libravatar_service_url` already contains an option at the end, namely '?d=404' :
```
libravatar_service_url = libravatar_url(
email=addr,
default=404,
)
```
A few lines later '?s=512' or '?s=80' is concatenated.Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/15Exception on avatar importing2021-09-06T11:48:12ZGhost UserException on avatar importingHello Oliver,
I got the following exception when I tried to import avatar from gravatar (this was automatically offered to me after email confirmation).
```
DataError at /accounts/import_photo/1
invalid input syntax for type inet: "('2...Hello Oliver,
I got the following exception when I tried to import avatar from gravatar (this was automatically offered to me after email confirmation).
```
DataError at /accounts/import_photo/1
invalid input syntax for type inet: "('213.175.37.10', True)"
LINE 1: ... '2018-11-13T15:37:48.762539+00:00'::timestamptz, '(''213.17...
^
Request Method: POST
Request URL: http://libravatar-stg.fedorainfracloud.org/accounts/import_photo/1
Django Version: 2.1.2
Exception Type: DataError
Exception Value:
invalid input syntax for type inet: "('213.175.37.10', True)"
LINE 1: ... '2018-11-13T15:37:48.762539+00:00'::timestamptz, '(''213.17...
^
Exception Location: /mnt/data/.virtualenv/lib/python3.6/site-packages/django/db/backends/utils.py in _execute, line 85
Python Executable: /usr/bin/python3
Python Version: 3.6.6
Python Path:
['/srv/libravatar',
'/mnt/data/.virtualenv/lib64/python36.zip',
'/mnt/data/.virtualenv/lib64/python3.6',
'/mnt/data/.virtualenv/lib64/python3.6/lib-dynload',
'/usr/lib64/python3.6',
'/usr/lib/python3.6',
'/mnt/data/.virtualenv/lib/python3.6/site-packages']
Server time: Tue, 13 Nov 2018 15:37:49 +0000
```Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/13Add RoboHash?2019-02-21T08:51:43ZOliver Falkoliver@linux-kernel.atAdd RoboHash?If we want RoboHash, this should receive some votes, else, I'll not care too much:
https://github.com/e1ven/RobohashIf we want RoboHash, this should receive some votes, else, I'll not care too much:
https://github.com/e1ven/RobohashAdditional features (not required for go-live)Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/12e.g. ".well-known/avatars" as an alternative/addition to DNS SRV for federate...2022-12-30T12:37:46ZOliver Falkoliver@linux-kernel.ate.g. ".well-known/avatars" as an alternative/addition to DNS SRV for federated libravatars?Looking at [WebFinger](https://webfinger.net/) and its [avatar link](https://webfinger.net/rel/avatar/) rel I was wondering if one could use a .well-known/avatars or something similar as an alternative/addition to DNS SRV records federat...Looking at [WebFinger](https://webfinger.net/) and its [avatar link](https://webfinger.net/rel/avatar/) rel I was wondering if one could use a .well-known/avatars or something similar as an alternative/addition to DNS SRV records federated avatars server?
E.g. either add something like:
https://example.com/.well-known/avatars
or
https://example.com/.well-known/avatars-server
which responds with the avatars-server (and maybe port/path) to [Well-Known URIs](https://www.iana.org/assignments/well-known-uris/well-known-uris.xhtml)?
Or maybe it would fit better to use [RFC 6415](https://tools.ietf.org/html/rfc6415)'s .well-known/host-meta or even [WebFinger](https://webfinger.net/)?Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/10OpenID login redirects to *openshift2018-11-23T11:49:16ZOliver Falkoliver@linux-kernel.atOpenID login redirects to *openshiftFix redirect to go where you came from.Fix redirect to go where you came from.Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/9Login with OpenID should automatically add OpenID identity2018-12-05T15:48:21ZOliver Falkoliver@linux-kernel.atLogin with OpenID should automatically add OpenID identityIf you login with https://avatars.linux-kernel.at/openid/login/, it will not automatically create your OpenID identity, but it should, since it's kinda confirmed at that point already.If you login with https://avatars.linux-kernel.at/openid/login/, it will not automatically create your OpenID identity, but it should, since it's kinda confirmed at that point already.Additional features (not required for go-live)Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.at