Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail verification, password reset, password change #253

Merged
merged 6 commits into from Dec 30, 2016
Merged

Mail verification, password reset, password change #253

merged 6 commits into from Dec 30, 2016

Conversation

tiltec
Copy link
Member

@tiltec tiltec commented Dec 29, 2016

Closes #239

Backend PR: karrot-dev/karrot-backend#208
I will merge the changes at the same time and add the sparkpost secret on the server.

Authentication is needed for the redirect hook
Tests still fail, I don't know why it doesn't find the route.
TODO: three route tests are skipped, can't get it running
@codecov-io
Copy link

codecov-io commented Dec 29, 2016

Current coverage is 98.80% (diff: 100%)

Merging #253 into master will increase coverage by 0.10%

@@             master       #253   diff @@
==========================================
  Files           108        115     +7   
  Lines          1689       1839   +150   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           1667       1817   +150   
  Misses           22         22          
  Partials          0          0          

Powered by Codecov. Last update b76341a...8c1a926

HAH! Go away, httpBackend! It's not that I don't like you, but it's it
simply didn't work and I still have no idea why. Plain promises to the
rescue!
@tiltec tiltec merged commit 9e0170e into master Dec 30, 2016
@tiltec tiltec deleted the mailing branch December 30, 2016 16:08
tiltec pushed a commit that referenced this pull request May 6, 2018
Related issue: #253 

* added the correct API endpoint feedback

* added the correct API endpoint feedback

* corrected API endpoint feedback

* Flaked some files

* changes with flake8

* cleaned up stored.py

* minor changes in url routers

* playing with FeedbackSerializer and FeedbackModel

* deleted the signal post_feedback_create from signals.py and comment it out in serializers.py as well as some flake8 corrections

* upload the changes in signals.py (which should habe been in the previous commit).

* fixing bugs

* commented out the fields given_by and about in the feedback model for testing purpose

* created a first test case, started with another test if the user is not a member of group

* added a new test for which has to be written code in serializers.py

* added user validation for feedback serializer

* removed unneeded code from the serializer and added comments to the tests

* added a new test and changed the Feedback validator

* bug fixing in test_feedback and playing with FeedbackSerializer

* added 1 positive test for displaying feedback as user + uncommented non-working code

* flake8

* added migration

* flake8 corrections

* fixed 1 test with failing non-group member and extended validate_about with code for non-group member

* added test that fails if you are not assigned to the pickup

* corrected the code in serializers for Feedback, validate_about

* minor changes in FeedbackSerializer

* fixed the Feedback api test (members / users)

* added permission IsMember to FeedbackViewSet and three tests for the method GET (one fails at the moment)

* experimented with FeedbackViewSet, tried to raise Http404 error if the user is non-member of group, see comments

* turned one failing into passing test and added one more test + more comments in apy.py

* added tilmanns code to the serializer

* added Feedback.objects.create() to SetUpClass in test_feedback_api.py

* added queryset function to api to fix the FeedbackTests for list

* more tests for getting single feedback with GET.id for non-user, user, group member and collector

* 1 more test for the feedback in the future + comment clean-up

* test the feedback model and changed the parameters of the fields weight and comment

* removed comments and all unnecessary code

* test if feedback can be created if comment to long
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants