Add user authentication and the possibility to trigger/send a message…#207
Conversation
|
When I call Do you not get this too? It's odd, as the trigger() method should put POST as the argument, so I'm not sure where its going missing. |
… to a specific user
5aaeaec to
f09845c
Compare
|
@benjamin-tang-pusher Yes, you are right. I found the problem and fixed it. The @request_method is unnecessary because the send_to_user is only a wrapper calling the trigger. Now, the code is fixed and working. Please let me know if you have any other problems. :) |
|
Whoops, I forgot about that decorator. I gave it another test and it works now. I will ask the team to review it. |
|
@fbenevides do you have any news? Thx. |
|
+1, need this |
|
Any news here? |
|
@fbenevides any updates on this PR? Would be super helpful to have 😄 |
|
@amad @robertoles @benjamin-tang-pusher @benw-pusher I'm tagging you because you were the last committers on this project. Do you have any intention to finish this PR? Thanks for any help you can give me. :) |
|
@andersonrocha0 Hey! Pusher team is here, we back! |
|
@evgeniibreikin I reviewed your comments and fixed some ones of them. Could you please double-check? Thx. |
ff5e8eb to
6242ea7
Compare
Thanks for changes! Last thing I wanna ask you is in my changes request. The reason is: channel name starting with |
I'd like this to be merged and release. Is removing the expectation of the '#' as a prefix the only thing missing? |
Yes, everything from changes request. Btw, you can clone this branch locally and use it instead of pip package version |
1ac47dc to
2b8fcc2
Compare
|
@evgeniibreikin and @gvso every suggestion was applied and squashed into one commit. Please, double check it. |
|
@andersonrocha0 thanks a lot for your contribution! It took a long run to make this merged by the pusher team :): |
What does this PR do?
Add the authenticate_user method allowing clients to authenticate users.
Add the send_to_user_method allowing any backend to send messages to a specific user.
requirements.txtandsetup.pyhave been updatedCHANGELOG