Commit Graph

170 Commits

Author SHA1 Message Date
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
ff83761332 Add humans and correct path in header 2018-06-14 10:11:13 +02:00
Oliver Falk
c3abb716a3 Correctly display errors in add_email 2018-06-14 10:04:03 +02:00
Oliver Falk
44da4ded02 Move credentials for MAILGUN into environment 2018-06-14 09:55:36 +02:00
Oliver Falk
a561cb4f02 Merge branch 'master' of https://git.linux-kernel.at/oliver/ivatar 2018-06-14 07:26:57 +02:00
Oliver Falk
ef49fb6ddd Likewise: Neither do we require the slash here 2018-06-13 14:34:32 +02:00
Oliver Falk
c7a66c6411 Need to remove slash at the end... 2018-06-13 14:30:18 +02:00
Oliver Falk
24892264aa Merge branch 'merge-for-openshift' into 'master'
OpenShift online ready

See merge request oliver/ivatar!1
2018-06-13 11:04:01 +02:00
Oliver Falk
72d7b5f90b Merge branch 'master' of https://git.linux-kernel.at/oliver/ivatar 2018-06-13 11:01:21 +02:00
Oliver Falk
47d65253eb OpenShift online ready 2018-06-13 10:57:31 +02:00
Oliver Falk
c0dc55d039 Add example deployment script 2018-06-12 14:51:34 +02:00
Oliver Falk
2ce46d2361 SITE_URL is now automagically created 2018-06-12 14:45:54 +02:00
Oliver Falk
420c758957 Reenable - seems it was just the wrong deployment... 2018-06-12 14:36:04 +02:00
Oliver Falk
ea3a495289 Disable use of MySQL for further debugging 2018-06-12 14:21:38 +02:00
Oliver Falk
cc94d7d16a Seems to be mysql in mysql-persistent 2018-06-12 14:11:54 +02:00
Oliver Falk
f7aff85a99 Fix use ob absolute uri 2018-06-12 13:36:46 +02:00
Oliver Falk
95d3ea752d Fix, when local dev 2018-06-12 13:36:38 +02:00
Oliver Falk
8cec401fa4 Send whole request to the form, so we can use the request to build the real URL 2018-06-12 13:18:09 +02:00
Oliver Falk
9e5352a931 Localhost tries to access local sock. IP? 2018-06-12 13:05:25 +02:00
Oliver Falk
52894dd6bf Is it localhost? 2018-06-12 12:59:55 +02:00
Oliver Falk
f3d63adaf0 I hope that's the correct way for setting the mysql host name 2018-06-12 12:57:34 +02:00
Oliver Falk
411e3086f3 We need mysqlclient now... 2018-06-12 12:52:47 +02:00
Oliver Falk
ed3ff9077f Set up default dict before trying to access it 2018-06-12 12:43:18 +02:00
Oliver Falk
4a3890fe25 If we see mysql environment variables, use 'em 2018-06-12 12:34:47 +02:00
Oliver Falk
ace5406a5a Of course anymail is a req now 2018-06-12 10:31:49 +02:00
Oliver Falk
2c48c413d5 Python LDAP needs openldap-devel to build 2018-06-12 10:30:15 +02:00
Oliver Falk
2971d2c87e Use Mailgun. TODO: Move credentials out of config file into env 2018-06-12 10:11:24 +02:00
Oliver Falk
72ef1dc79a Remove pyre-check as dep, since this causes issues during ci build 2018-06-12 09:29:57 +02:00
Oliver Falk
a0fa883738 Allow OpenShift 2018-06-12 09:25:06 +02:00
Oliver Falk
51b7eaa942 Allow local hostname as well for allowed_hosts 2018-06-12 09:18:57 +02:00
Oliver Falk
0918b06882 Add all reqs 2018-06-12 09:18:36 +02:00
Oliver Falk
4a899cc28a Am I allowed to exclude it this way from coverage testing? 2018-05-25 11:57:01 +02:00
Oliver Falk
fe912e3ba1 Am I allowed to exclude it this way from coverage testing? 2018-05-25 11:52:14 +02:00
Oliver Falk
6c33b10d5d Two more tests, simply to check templates 2018-05-25 11:51:50 +02:00
Oliver Falk
d1b195d71b Move title from header to base, so extend from other templates will correctly set the title 2018-05-25 11:36:49 +02:00
Oliver Falk
c702ef6bbd Test fetching avatar for non existing mail address 2018-05-25 11:21:55 +02:00
Oliver Falk
6b615dba9e Catch if digest isn't there - WIP, since we do not send a default ATM 2018-05-25 11:21:29 +02:00
Oliver Falk
e37699b822 Gearman no longer required 2018-05-25 11:05:48 +02:00
Oliver Falk
4b644e1c80 For testing, we need pyLibravatar 2018-05-25 11:01:10 +02:00
Oliver Falk
c84dea8c21 Test if fetching avatar via mail/openid works fine 2018-05-25 10:56:37 +02:00
Oliver Falk
2f6542bc61 Give the url a name 2018-05-25 10:55:45 +02:00
Oliver Falk
d780894d80 Error when trying to fetch with openid 2018-05-25 10:55:32 +02:00
Oliver Falk
8e772708e6 Additional stuff we cannot/don't want to cover atm 2018-05-25 10:03:18 +02:00
Oliver Falk
4e43ba4cb6 Change assertion, since locally, this behaves diffeerently and raises another Exception 2018-05-25 09:34:39 +02:00
Oliver Falk
8e3f83696b No coverage testing for DjangoOpenIDStore functions - at least not ATM 2018-05-25 09:28:20 +02:00
Oliver Falk
fd9b42ca3c Add test for set_photo on confirmedopenid 2018-05-25 09:25:38 +02:00
Oliver Falk
da37ef4768 No coverage testing for this 2018-05-25 09:24:56 +02:00
Oliver Falk
dbf4e54803 This is so simple, no need for coverage testing 2018-05-25 09:24:29 +02:00
Oliver Falk
9f4f6a1186 Two more tests on OpenID 2018-05-25 09:15:38 +02:00
Oliver Falk
3da9580443 No idea how to test this ATM 2018-05-25 09:15:21 +02:00