Oliver Falk
|
8643271273
|
Test removing with invalid auth key and test remove not existing address
|
2018-05-14 12:28:41 +02:00 |
|
Oliver Falk
|
c425ce7f7c
|
Should be no cover, instead of noqa
|
2018-05-14 12:22:26 +02:00 |
|
Oliver Falk
|
abadcc85a6
|
URLconf doesn't allow this to happen, therefore no need to test it
|
2018-05-14 12:20:36 +02:00 |
|
Oliver Falk
|
87664d0ea8
|
Correct testing of password set
|
2018-05-14 12:12:31 +02:00 |
|
Oliver Falk
|
5e0134244f
|
Do we need to explicitly add coverage regex?
|
2018-05-14 11:24:19 +02:00 |
|
Oliver Falk
|
c513899815
|
Correct testing of new user, check that we cannot create a user a second time and add test for testing to remove an unconfirmed email that does not exist
|
2018-05-14 11:23:52 +02:00 |
|
Oliver Falk
|
def7fb42d2
|
login_required decorator for most functions and remove success* from CreateView, since we anyway add messages on our own
|
2018-05-14 11:22:27 +02:00 |
|
Oliver Falk
|
c65bea49b7
|
Require user to be logged in
|
2018-05-14 11:21:09 +02:00 |
|
Oliver Falk
|
315fe5a9a2
|
Add link to new user form
|
2018-05-14 11:20:50 +02:00 |
|
Oliver Falk
|
d7065640e0
|
/account/ -> /accounts/
|
2018-05-14 11:20:28 +02:00 |
|
Oliver Falk
|
cafd282283
|
Two new test cases: Adding mail address twice and adding address that is already confirmed (by someone)
|
2018-05-14 09:39:29 +02:00 |
|
Oliver Falk
|
4d541ca9c4
|
Add test for too many unconfirmed mails
|
2018-05-14 09:31:26 +02:00 |
|
Oliver Falk
|
a18e9f1642
|
More documentation
|
2018-05-11 15:02:40 +02:00 |
|
Oliver Falk
|
e9fddfc734
|
We have tests in seperate files
|
2018-05-11 15:00:56 +02:00 |
|
Oliver Falk
|
301e7b0c2b
|
Merge branch 'master' of https://git.linux-kernel.at/oliver/ivatar
|
2018-05-11 14:44:22 +02:00 |
|
Oliver Falk
|
a54b0c83db
|
Incrase coverage
|
2018-05-11 14:44:06 +02:00 |
|
Oliver Falk
|
d2a68331fa
|
Add README.me with links to coverage report and code documentation
|
2018-05-11 14:38:08 +02:00 |
|
Oliver Falk
|
14b147fb69
|
Unfortunately for python3 we need epel
|
2018-05-11 14:18:44 +02:00 |
|
Oliver Falk
|
02c22531a1
|
Correct paths - hopefully
|
2018-05-11 14:15:47 +02:00 |
|
Oliver Falk
|
ebf1e5061f
|
Do we need EPEL anyway?
|
2018-05-11 14:14:25 +02:00 |
|
Oliver Falk
|
ddc543af39
|
Oops, wrong dir
|
2018-05-11 14:11:24 +02:00 |
|
Oliver Falk
|
71b2ec64b9
|
Add (automatic) testing
|
2018-05-11 14:09:23 +02:00 |
|
Oliver Falk
|
2c101c6dbc
|
Ignore html coverage report
|
2018-05-11 14:08:25 +02:00 |
|
Oliver Falk
|
341fd96fa4
|
Ignore coverage
|
2018-05-11 14:07:29 +02:00 |
|
Oliver Falk
|
d557c81a5d
|
Test raw image view and deleting photo view
|
2018-05-11 14:04:25 +02:00 |
|
Oliver Falk
|
6198f6b2cf
|
Fixes to assigning photo on a new mail address, if there is only one photo, correct super classes of DeletePhotoView and call form_valid with form (of course)
|
2018-05-11 14:04:06 +02:00 |
|
Oliver Falk
|
8ce764b12d
|
Remove commented out function
|
2018-05-11 14:02:40 +02:00 |
|
Oliver Falk
|
530c85c54b
|
Dunno why save() does't return anything, but it should be anyway be captured with some try/except elsewhere
|
2018-05-11 14:02:19 +02:00 |
|
Oliver Falk
|
8d0a49a667
|
Ignore vim swap files
|
2018-05-11 14:01:37 +02:00 |
|
Oliver Falk
|
9a02be1bbd
|
Name it consistently raw_image to avoid confusion
|
2018-05-11 12:26:53 +02:00 |
|
Oliver Falk
|
d0ba1af52a
|
Also check if we really set a photo
|
2018-05-09 14:24:56 +02:00 |
|
Oliver Falk
|
fd3525c4c8
|
More test
|
2018-05-09 14:21:46 +02:00 |
|
Oliver Falk
|
4fb4fc7460
|
Use dummy/nobody image if no photo as been set yet (else, we raise an exception
|
2018-05-09 14:21:33 +02:00 |
|
Oliver Falk
|
364ea1f1f5
|
Correct the upload url
|
2018-05-09 14:20:59 +02:00 |
|
Oliver Falk
|
3fa6c13144
|
Make mail confirmation production
|
2018-05-09 14:20:38 +02:00 |
|
Oliver Falk
|
db91e49869
|
Comment out this debug print, since it's no longer required, but should be moved to some logger()
|
2018-05-09 14:20:10 +02:00 |
|
Oliver Falk
|
5d0165c3c7
|
How did we loose jquery!?
|
2018-05-09 14:19:35 +02:00 |
|
Oliver Falk
|
1b45b742ca
|
Add maps
|
2018-05-09 12:15:37 +02:00 |
|
Oliver Falk
|
1960214515
|
Finish AssignPhotoView
|
2018-05-09 11:52:10 +02:00 |
|
Oliver Falk
|
5d2cf58af3
|
Use correct url for the photo
|
2018-05-09 11:51:38 +02:00 |
|
Oliver Falk
|
f90aa1a0a8
|
Correct tags/tag order, script tag locations
|
2018-05-09 11:51:18 +02:00 |
|
Oliver Falk
|
c3ee80f247
|
Make django-bootstrap4 load css/js locally
|
2018-05-09 11:49:15 +02:00 |
|
Oliver Falk
|
9536074655
|
Add JS/CSS locally, so we don't have to hit any external webservers
|
2018-05-09 11:48:43 +02:00 |
|
Oliver Falk
|
a0b15b1f00
|
Make uploading new photos work
|
2018-05-08 15:10:26 +02:00 |
|
Oliver Falk
|
09486d3385
|
Wire up everything in urls (delete photo not correct yet)
|
2018-05-08 13:54:35 +02:00 |
|
Oliver Falk
|
8b244f4a82
|
Email template for email confirmation
|
2018-05-08 13:53:41 +02:00 |
|
Oliver Falk
|
6a31ae7223
|
Confirm email template (incl. Gravatar lookup/import)
|
2018-05-08 13:53:25 +02:00 |
|
Oliver Falk
|
bdef3b7875
|
Add email html template
|
2018-05-08 13:53:00 +02:00 |
|
Oliver Falk
|
9f4fe8d624
|
Add AddEmailForm for managing adding emails
|
2018-05-08 13:52:29 +02:00 |
|
Oliver Falk
|
14597752e0
|
Use correct variables (everything is under user...)
|
2018-05-08 13:51:45 +02:00 |
|