Oliver Falk
04a39f7693
Bump version - new feature deserves it
2025-02-10 10:59:24 +01:00
Oliver Falk
3aaaac51f0
Bluesky integration
...
* Centralize the our urlopen for consistency.
* Fix a few tests
2025-02-07 11:34:24 +00:00
Oliver Falk
1fa5dddce5
Use real database (side container)
2024-06-25 08:32:34 +00:00
Oliver Falk
2fe8af6fab
JSONSerializer has been deprecated: https://docs.djangoproject.com/en/4.2/releases/4.1/
2023-12-07 09:41:22 +01:00
Oliver Falk
6deea2758f
Add new dicebear endpoint ( Fixes #92 )
2023-02-01 16:02:10 +00:00
Oliver Falk
d2e4162b6b
Yes, this deserves a version increase
2022-11-22 21:03:46 +01:00
Oliver Falk
9565ccc54e
Changes required for Django > 4
2022-11-22 19:38:08 +01:00
Oliver Falk
9221da5805
Inc version
2022-10-24 09:46:25 +02:00
Oliver Falk
899e8db661
Merge branch 'adapt-old-config' into 'devel'
...
fix: resolve backward compability in config
See merge request oliver/ivatar!209
2022-09-15 17:03:07 +00:00
Seth Falco
cf65ea2c6a
fix: resolve backward compability in config
2022-09-15 17:03:06 +00:00
Oliver Falk
ce18bb58bd
Since this includes the new trusted URLs handling, increas the version a bit
2022-09-15 19:01:17 +02:00
Seth Falco
2578e804b6
fix: validation for trusted urls
2022-07-16 07:36:12 +01:00
Oliver Falk
67ac0ad973
Add www.gravatar.com to the list of trusted URIs
2022-07-15 15:12:53 +02:00
Oliver Falk
00aa1a45cb
Add a few more trusted URLs gathered from the logs
2022-02-18 09:33:01 +01:00
Oliver Falk
0c3686beef
First preparations for Django >= 4.x
...
- Slight reformatting in some parts; Non-functional changes
- ugettext(_lazy) no longer available in Django > 4, changing to
gettext(_lazy)
- Since django-openid-auth doesn't work with Django > 4 yet, we need to
pin this project to Django < 4 until that issue is solved
2021-12-10 09:21:49 +01:00
Oliver Falk
a1c1da81e1
A few more sites known to use default param
2021-11-24 08:35:19 +01:00
Oliver Falk
56f90412bf
Enhance the list. It's possible some non-ssl sites still use gravatar without https and some sites use secure.gravatar.com
2021-11-22 13:57:12 +01:00
Oliver Falk
e260e6ff2f
Increase version
2021-11-22 13:22:47 +01:00
Oliver Falk
ff9bfdefb5
Fix CWE-601 - Open URL redirection
...
- Only a few URLs are allowed now and this _will_ break some implementations
- Print information in the log about which URL was kicked
2021-11-22 13:17:20 +01:00
Oliver Falk
a3f7575726
v1.5 - massive code update
2021-09-16 09:23:38 +02:00
Oliver Falk
f37fc4de09
Central place for the schema root
2021-09-15 13:14:56 +02:00
Oliver Falk
7ca34aea1b
Clean up with black
2021-09-14 15:54:37 +02:00
Oliver Falk
635951ff4d
Make pylint happier, enhance a few tests and add missing schemas
2020-11-13 13:36:16 +01:00
Oliver Falk
e74365e788
Now that this source is 2 years old, time to upgrade the version
...
Signed-off-by: Oliver Falk <oliver@linux-kernel.at >
2020-05-11 13:25:41 +02:00
Oliver Falk
060a664d26
Make response caching default and increase cache timeout to 15 minutes
2020-03-04 15:25:18 +01:00
Oliver Falk
6bc0390b48
Fix some debug prints + HttpResponse for Gravatar
2020-03-04 15:11:05 +01:00
Oliver Falk
b463f9f95a
Add setting to easily be able to disable the response caching
2020-03-04 14:30:28 +01:00
Oliver Falk
476bddb21c
A caching HttpResponse in order to reduce the roundtrip (a lot)
2020-03-04 14:23:58 +01:00
Oliver Falk
e9fe81a8bc
The OpenID changes deserve a version increase :-)
2020-02-25 13:55:30 +01:00
Oliver Falk
180056f8c2
New design and cropping fixes/JCrop update
2019-08-09 09:20:43 +02:00
Oliver Falk
6814be78d7
Change cache for issue #50
2019-03-11 11:03:24 +01:00
Oliver Falk
166582bc9d
Increase the max age, create separate option in config for it (CACHE_IMAGE_MAX_AGE). Issue #50
2019-03-08 13:49:09 +01:00
Oliver Falk
14db71cca0
Increase version
2019-02-28 13:35:01 +01:00
Oliver Falk
af9f3f9a1a
Fallback to smtp backend if no MAILGUN is available
2019-02-25 15:46:23 +01:00
Oliver Falk
b92a535469
Revert caching
2019-02-19 09:56:49 +01:00
Oliver Falk
a19a837e82
Enable memcache caching
2019-02-18 16:40:44 +01:00
Oliver Falk
af8bee78db
Add languages and message tags correction
2019-02-18 13:04:00 +01:00
Oliver Falk
2b9c5a7eec
More adaptions to testing
2019-02-12 18:26:15 +01:00
Oliver Falk
855264657e
Correct grammar, correct link to ivatar s/w and mark this version 1.0, since this is going to be deployed in prod (with some minor tweaks maybe)
2019-02-12 16:12:39 +01:00
clime
3fda33b6f6
enable setting SERVER_EMAIL from env, use DEFAULT_FROM_EMAIL for send_mail
...
From documentation for DEFAULT_FROM_EMAIL:
Default email address to use for various automated correspondence from the site manager(s).
This doesn’t include error messages sent to ADMINS and MANAGERS; for that, see SERVER_EMAIL.
That means it makes sense to make SERVER_EMAIL and DEFAULT_FROM_EMAIL separate settings and
not set one from another.
2019-02-10 19:36:43 +01:00
Oliver Falk
e554537c40
Integrate change from PR ls -ltrah, issue #32
2019-01-08 12:01:50 +01:00
Oliver Falk
abadbd1724
Merge branch 'devel' into 'devel'
...
make SITE_NAME, SECURE_BASE_URL, BASE_URL configurable from env
See merge request oliver/ivatar!95
2019-01-08 09:02:00 +01:00
Oliver Falk
06c6fc76b2
Implement option to specify EMAIL_BACKEND in ENV for issue #32
2019-01-07 19:42:18 +01:00
clime
a2b4c55976
make SITE_NAME, SECURE_BASE_URL, BASE_URL configurable from env
2018-12-29 16:08:46 +01:00
Oliver Falk
e783ea6601
Add DEFAULT_AVATAR_SIZE to config, as we need it in various places
2018-11-30 14:07:30 +01:00
Oliver Falk
2f79608a59
Add middleware and rearrange to make pylint happier
2018-11-19 15:43:46 +01:00
Oliver Falk
740c03e731
Set option to use proxy set value from X_FORWARDED_HOST
2018-11-16 13:23:18 +01:00
Oliver Falk
d92c56c7d1
Use pickle serializer, because of https://stackoverflow.com/questions/20301338/django-openid-auth-typeerror-openid-yadis-manager-yadisservicemanager-object-is
2018-11-06 13:08:10 +01:00
Oliver Falk
b2245ba8d1
Allow all
2018-09-24 13:02:01 +02:00
Lars Kruse
b07f413034
Reduce occurrences of bare exceptions
...
* replace bare exceptions with specific ones, if possible
* use "exc" instead of "e" as exception variable
("exc" is the most popular choice in the standard library)
2018-07-27 04:41:11 +02:00