ivatar issueshttps://git.linux-kernel.at/oliver/ivatar/-/issues2021-09-06T11:49:30Zhttps://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/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/62libravatar.org footer covers content in firefox2021-09-06T11:41:31ZGhost Userlibravatar.org footer covers content in firefoxIn Firefox, the page footer covers whatever part of the page it is over when the page loads. Scrolling on the page moves the footer as well as the page content.
The page footer has css of "position: absolute;" in FF, but has "position:...In Firefox, the page footer covers whatever part of the page it is over when the page loads. Scrolling on the page moves the footer as well as the page content.
The page footer has css of "position: absolute;" in FF, but has "position: relative;" in Chrome where it behaves as expected.
Of no real consequence: in FF the footer is just a box but in Chrome it is a fancy curve topped element.![libravatar_home_page_in_FF](/uploads/1f101ffaabe2e72c822e18b2d013374a/libravatar_home_page_in_FF.png)https://git.linux-kernel.at/oliver/ivatar/-/issues/51Libravator logo link in wiki is broken2021-09-06T11:53:18ZGhost UserLibravator logo link in wiki is brokenIn the [wiki](https://wiki.libravatar.org) there was a link to a Libravatar logo, which is currently broken. It points to https://seccdn.libravatar.org/nobody/256.png.In the [wiki](https://wiki.libravatar.org) there was a link to a Libravatar logo, which is currently broken. It points to https://seccdn.libravatar.org/nobody/256.png.https://git.linux-kernel.at/oliver/ivatar/-/issues/72Link to online avatar generators2022-12-30T12:24:15ZGhost UserLink to online avatar generatorsLink to online avatar generator websites that can be used to create an avatar for Libravtar.
Example:
* https://avatarmaker.net/create-avatar
* https://avachara.com/avatar/
Maybe link to some Android apps that let you create avatars to...Link to online avatar generator websites that can be used to create an avatar for Libravtar.
Example:
* https://avatarmaker.net/create-avatar
* https://avachara.com/avatar/
Maybe link to some Android apps that let you create avatars too.
Here is a search query for "[face avatar makers](https://play.google.com/store/apps/collection/cluster?clp=ggETChFmYWNlIGF2YXRhciBtYWtlcg%3D%3D:S:ANO1ljJ8XxQ&gsr=ChaCARMKEWZhY2UgYXZhdGFyIG1ha2Vy:S:ANO1ljLcF0M)" on Google Play Store.Next sprintOliver 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.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/95Logout leading to HTTP error 4052024-01-16T14:00:42ZOliver Falkoliver@linux-kernel.atLogout leading to HTTP error 405Django 5 deprecated logout via GET request - only POST is allowed.
Reference: https://docs.djangoproject.com/en/5.0/releases/5.0/#features-removed-in-5-0
Also partially outlined here: https://codereviewdoctor.medium.com/3-awesome-django...Django 5 deprecated logout via GET request - only POST is allowed.
Reference: https://docs.djangoproject.com/en/5.0/releases/5.0/#features-removed-in-5-0
Also partially outlined here: https://codereviewdoctor.medium.com/3-awesome-django-4-1-changes-1-is-a-logout-deprecation-you-need-to-know-about-1d8166ccbdb2
This needs to be fixed in navigation and home pages.https://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/61Maintenance page2020-02-25T11:29:27ZOliver Falkoliver@linux-kernel.atMaintenance pageAdd config option to allow a maintenance page to show up instead of the normal user interface, but still allow avatars to be served.
So => No write, just read.Add config option to allow a maintenance page to show up instead of the normal user interface, but still allow avatars to be served.
So => No write, just read.Migration 02/2020Oliver 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/85Matrix contact details2021-09-06T12:18:16ZGhost UserMatrix contact detailsSince I didn't manage to fork the project on this gitlab instance due to project restrictions, I just provide this handy patch, that should provide an updated version of the contact page.
It's a first draft, so feel free to criticise an...Since I didn't manage to fork the project on this gitlab instance due to project restrictions, I just provide this handy patch, that should provide an updated version of the contact page.
It's a first draft, so feel free to criticise and adjust :)
[0001-Add-newer-version-of-matrix-contact-page.patch](/uploads/7c01d8cd8d94e357b463fc380b650ef6/0001-Add-newer-version-of-matrix-contact-page.patch)Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/86Missing Cache-Control headers2022-12-30T12:26:39ZDaniel AleksandersenMissing Cache-Control headersHi,
There’s quite a few responses that are missing `Cache-Control` headers. Especially the 404 not found responses (default image), redirects, and even when an avatar image is found and served.
Secondarily, the cache efficiency can be ...Hi,
There’s quite a few responses that are missing `Cache-Control` headers. Especially the 404 not found responses (default image), redirects, and even when an avatar image is found and served.
Secondarily, the cache efficiency can be increased significantly by adding `stale-while-revalidate` handling (e.g. `Cache-Cotrol: max-age=600,stale-while-revalidate=259200`.) Intermediary caches and even browsers will keep using a cached image and revalidate and update the cached image in the background. (So, the page load isn’t delayed after the `max-age` has expired.) It lets you keep a short 15-min max-age while still letting browsers use a cached image for a month.Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/80No confirmation email2021-09-06T12:17:40ZGhost UserNo confirmation emailHello there,
I am using this service for a while now,
when I use google, yahoo ..etc email, it's completely fine, I can just ask for a confirmation email, and done.
But this can't be done with "@outlook" email.
I have checked the inbox a...Hello there,
I am using this service for a while now,
when I use google, yahoo ..etc email, it's completely fine, I can just ask for a confirmation email, and done.
But this can't be done with "@outlook" email.
I have checked the inbox and junk as well.
Thank you.Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/52No Identica importer2021-09-06T11:53:25ZGhost UserNo Identica importerHello,
While reading the old [photo importers](https://github.com/libravatar/wiki.libravatar.org/commit/89804fc50d4ae61c8bc31daed8254cb0fdaaf66c) page I discovered the previous version of Libravatar had support for automatic import of p...Hello,
While reading the old [photo importers](https://github.com/libravatar/wiki.libravatar.org/commit/89804fc50d4ae61c8bc31daed8254cb0fdaaf66c) page I discovered the previous version of Libravatar had support for automatic import of picture from the Identica micro-blogging platform.
Nobody complained about it so far so we should just document this regression somewhere.Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://git.linux-kernel.at/oliver/ivatar/-/issues/81No module named 'PIL2021-09-06T12:17:47ZGhost UserNo module named 'PILWhen installing on my RaspberryPi, I get this error when running `pip install -r requirements.txt`
```
ERROR: Command errored out with exit status 1:
command: /opt/ivatar/ivatar/.virtualenv/bin/python3 -c 'import sys, setuptools, to...When installing on my RaspberryPi, I get this error when running `pip install -r requirements.txt`
```
ERROR: Command errored out with exit status 1:
command: /opt/ivatar/ivatar/.virtualenv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-9qiryzy2/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-9qiryzy2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-ofy7p5ap
cwd: /tmp/pip-req-build-9qiryzy2/
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-9qiryzy2/setup.py", line 4, in <module>
import Identicon
File "/tmp/pip-req-build-9qiryzy2/Identicon/__init__.py", line 6, in <module>
from PIL import Image, ImageDraw
ModuleNotFoundError: No module named 'PIL'
----------------------------------------
WARNING: Discarding git+https://github.com/flavono123/identicon.git. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
```Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.athttps://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/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/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/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/89Password reset raises error if multiple accounts with the same mail address e...2022-11-17T11:39:14ZOliver Falkoliver@linux-kernel.atPassword reset raises error if multiple accounts with the same mail address existLog from the error:
```
Internal Server Error: /accounts/password_reset/
Traceback (most recent call last):
File "/data/venvs/libravatar/lib/python3.10/site-packages/django/core/handlers/exception.py", line 47, in inner
response =...Log from the error:
```
Internal Server Error: /accounts/password_reset/
Traceback (most recent call last):
File "/data/venvs/libravatar/lib/python3.10/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/data/venvs/libravatar/lib/python3.10/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/data/venvs/libravatar/lib/python3.10/site-packages/django/views/generic/base.py", line 70, in view
return self.dispatch(request, *args, **kwargs)
File "/data/venvs/libravatar/lib/python3.10/site-packages/django/utils/decorators.py", line 43, in _wrapper
return bound_method(*args, **kwargs)
File "/data/venvs/libravatar/lib/python3.10/site-packages/django/utils/decorators.py", line 130, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/data/venvs/libravatar/lib/python3.10/site-packages/django/contrib/auth/views.py", line 222, in dispatch
return super().dispatch(*args, **kwargs)
File "/data/venvs/libravatar/lib/python3.10/site-packages/django/views/generic/base.py", line 98, in dispatch
return handler(request, *args, **kwargs)
File "/srv/libravatar/ivatar/ivataraccount/views.py", line 1084, in post
user = User.objects.get(email=request.POST["email"])
File "/data/venvs/libravatar/lib/python3.10/site-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/data/venvs/libravatar/lib/python3.10/site-packages/django/db/models/query.py", line 439, in get
raise self.model.MultipleObjectsReturned(
django.contrib.auth.models.User.MultipleObjectsReturned: get() returned more than one User -- it returned 4!
```Oliver Falkoliver@linux-kernel.atOliver Falkoliver@linux-kernel.at