These are chat archives for fossasia/open-event-server

6th
Jul 2017
Amol Mejari
@mejariamol
Jul 06 2017 11:13
@niranjan94 not getting account activation confirmation mail on https://open-event-dev.herokuapp.com.
Niranjan Rajendran
@niranjan94
Jul 06 2017 11:13
Probably the free email quota is over.
Amol Mejari
@mejariamol
Jul 06 2017 11:14
:smile:
Niranjan Rajendran
@niranjan94
Jul 06 2017 11:15
:) ... I don't think that would be any issue ... Is it preventing you from doing anything
?
Amol Mejari
@mejariamol
Jul 06 2017 11:17
No. I am getting all the responses in browser. But missing responses in orga app. Must be app issue.
Afroz Ahamad
@enigmaeth
Jul 06 2017 15:15
@SaptakS @poush @magdalenesuo @shubham-padia
How do you suggest adding relationships between session and user with speaker?
From comments at #3771, I used current_identity.id for user_id.
Also, we have events/<int:event_id>/speakers for GET and POST for SpeakerList.
What do you think about: users/<int:user_id>/speakers and sessions/<int:user_id>/speakers - should these be GET only? or should we allow POST also (If yes, I am unsure about what should be sent as part of the request)?
This I think would be the way to go with users and sessions with speakers: http://flask-rest-jsonapi.readthedocs.io/en/latest/quickstart.html#create-relationship
Afroz Ahamad
@enigmaeth
Jul 06 2017 19:57
Guys, I am getting Access Forbidden on PATCH and DELETE for users/<int:id>. Were any changes made recently, that I need to take care of?
Saptak Sengupta
@SaptakS
Jul 06 2017 19:57
check permission manager code.
maybe that is the key to the problem
Afroz Ahamad
@enigmaeth
Jul 06 2017 19:59
Saptak Sengupta
@SaptakS
Jul 06 2017 20:01
@enigmaeth no. @shubham-padia might be able to tell.
I can't recollect any reason as such
Afroz Ahamad
@enigmaeth
Jul 06 2017 20:02
One reason I think is that user 1 is the one which is being used to run the tests, so we don't want patch or the delete on the same user.
Saptak Sengupta
@SaptakS
Jul 06 2017 20:08
possible