91 Commits

Author SHA1 Message Date
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
Oliver Falk
32d093805c Add constant for maximum allowed unconfirmed emails (need to wire up in model/view/save later!) 2018-07-11 15:01:28 +02:00
Oliver Falk
38142b303d Merge branch 'devel' into 'master'
Merge in latest devel

See merge request oliver/ivatar!37
2018-07-11 08:15:01 +02:00
Oliver Falk
007021ce89 Correct FROM 2018-07-10 13:16:07 +02:00
clime
a4cb44ea79 PostgreSQL backend support 2018-07-10 10:16:46 +02:00
Oliver Falk
e44413a43a Make pylint happier 2018-07-03 13:05:47 +02:00
Oliver Falk
1a08887892 Add functionality to check OpenID/mail; Size already works, default URL not (yet) 2018-07-03 10:58:03 +02:00
Oliver Falk
65d989d59f Merge branch 'devel' into tools 2018-07-03 07:15:01 +02:00
Oliver Falk
2f980479a5 Add tools, first interface, no functionality yet 2018-07-02 14:26:09 +02:00
Oliver Falk
12f80ac721 No coverage here 2018-06-27 09:36:32 +02:00
Oliver Falk
93c7552a29 Change sender mail 2018-06-15 13:13:24 +02:00
Oliver Falk
6a4fce0177 Feature 'crop photo' 2018-06-14 14:20:10 +02:00
Oliver Falk
e29c17ff0e No mailgun related settings if test or collectstatic 2018-06-14 14:06:37 +02:00
Oliver Falk
42c5d1852f Fix #c9fa82f2, do not set mailgun backend on collectstatic 2018-06-14 11:00:57 +02:00
Oliver Falk
10ea437d58 If testing, do not set mail backend to anymail, since we'll not have the appropriate environment variables set (fixes commit #c3abb716) 2018-06-14 10:40:59 +02:00
Oliver Falk
44da4ded02 Move credentials for MAILGUN into environment 2018-06-14 09:55:36 +02:00
Oliver Falk
47d65253eb OpenShift online ready 2018-06-13 10:57:31 +02:00
Oliver Falk
e25fa07b00 Cleanup 2018-05-17 09:20:18 +02:00
Oliver Falk
d7065640e0 /account/ -> /accounts/ 2018-05-14 11:20:28 +02:00
Oliver Falk
c3ee80f247 Make django-bootstrap4 load css/js locally 2018-05-09 11:49:15 +02:00
Oliver Falk
a0b15b1f00 Make uploading new photos work 2018-05-08 15:10:26 +02:00
Oliver Falk
e8252e339e Various variables we require 2018-05-08 13:48:32 +02:00
Oliver Falk
9ff9159f8b Initial commit 2018-05-07 15:00:03 +02:00