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

12th
Aug 2016
Avi Aryan
@aviaryan
Aug 12 2016 05:37
@aditya1702
Nope
It isnt running
@aditya1702 then run it redis-3.2.1/src/redis-server &
or redis-3.2.1/src/redis-server in a new terminal window
Mario Behling
@mariobehling
Aug 12 2016 06:32
@aviaryan @shivamMg Please help with this task when possible. It is a blocker to release fossasia/open-event-orga-server#1990
Avi Aryan
@aviaryan
Aug 12 2016 06:50
@mariobehling ok. will proceed.
Avi Aryan
@aviaryan
Aug 12 2016 06:59
I will start with creating the template
Aditya Vyas
@aditya1702
Aug 12 2016 07:25
@SaptakS @niranjan94 The sendgrid key is not working
Niranjan Rajendran
@niranjan94
Aug 12 2016 07:26
We probably ran out of emails
Aditya Vyas
@aditya1702
Aug 12 2016 07:26
But I took the new key from open-event-dev
Saptak had obtained a new key right?
@niranjan94
Avi Aryan
@aviaryan
Aug 12 2016 07:28
yes I think so. Old key ran out of emails or something .
But I dont have the new key.
Shivam Mamgain
@shivamMg
Aug 12 2016 07:35
@aviaryan Regarding this: fossasia/open-event-orga-server#1990
which part of it are you working on?
i can work on the other
Saptak Sengupta
@SaptakS
Aug 12 2016 07:37
Maybe that ran out of mails as well..
Plz create your own key for testing purposes...
Otherwise we will run out of mail again and again...
Shivam Mamgain
@shivamMg
Aug 12 2016 08:00
@/all I need some help regarding this issue: fossasia/open-event-orga-server#2050
Uploading event images using AJAX, I've worked on it for Edit event. The image is directly saved (events/{event_id}/background). But when creating a new event, it would need another place, since the event_id is not defined. To make if work for Create-event, I can save it at a temporary place (new UPLOAD_PATH) and when the event is saved it would copy the file to upload path (events/{event_id}/background). But there could be some problem with this. Since we do not know if the user will surely create an event, the temporary place can keep filling in, even if events are not created. Should I fallback to simple form upload for create event?
Shivam Mamgain
@shivamMg
Aug 12 2016 08:10

But I am unable to understand how to upload it now..

@SaptakS where do you need to upload it?

isn't it all done on server side
Avi Aryan
@aviaryan
Aug 12 2016 08:19
@shivamMg Regarding #1990, I will work on adding "attendee" role to Event permissions.
Shivam Mamgain
@shivamMg
Aug 12 2016 08:21
@aviaryan alright i'll work on system role permissions then.
Avi Aryan
@aviaryan
Aug 12 2016 08:22
@shivamMg cool
Aditya Vyas
@aditya1702
Aug 12 2016 09:04
@/all I need some help in this: fossasia/open-event-orga-server#1852. How do I set multiple SERVER_NAME ?
Mario Behling
@mariobehling
Aug 12 2016 09:30
Avi Aryan
@aviaryan
Aug 12 2016 10:01
@mariobehling Can you give me admin access so that I can check . My email is avi(dot)aryan123(at)gmail
Mario Behling
@mariobehling
Aug 12 2016 10:05
@aviaryan admin access to where?
Avi Aryan
@aviaryan
Aug 12 2016 10:05
@mariobehling open-event-dev
Avi Aryan
@aviaryan
Aug 12 2016 10:11
@aditya1702 I dont think it's possible to set mutliple values there. Also that would not be an efficient way. I think we have to set the SERVER_NAME dynamically. The flask.request instance has the root url of the site, use it and set the SERVER_NAME. As for where/when to set it, there is app.before_first_request signal, maybe that will work.
I just tested it and it works.
Should I send a PR ?
Avi Aryan
@aviaryan
Aug 12 2016 10:18
@aditya1702 current_app.config['SERVER_NAME'] = request.url_root . set it in init.py set_secret function. That should fix it.
Mario Behling
@mariobehling
Aug 12 2016 10:22
@aviaryan Yes, please make a PR. Also could you open an issue about the topic of setting the server name? A few times it was implemented as hard-coded. We need to ensure, that the application runs on any server independently of the name. So, we need an issue, so someone can focus to test this through.
Avi Aryan
@aviaryan
Aug 12 2016 10:37
:+1:
fossasia/open-event-orga-server#2175
Avi Aryan
@aviaryan
Aug 12 2016 11:06
@/all please keep this in mind. fossasia/open-event-orga-server#2177 . @SaptakS @aditya1702 This can be the reason why emails were not being sent.
Saptak Sengupta
@SaptakS
Aug 12 2016 12:18
Ok I will check..
Aditya Vyas
@aditya1702
Aug 12 2016 16:06
@aviaryan Nope. Its not sending even now. I think we have run out of emails
Avi Aryan
@aviaryan
Aug 12 2016 17:05
@aditya1702 ok :+1:
Mario Behling
@mariobehling
Aug 12 2016 18:28
@rafalkowalski Regarding your suggestion in this issue fossasia/open-event-orga-server#2046 please define the details.
Rafał Kowalski
@rafalkowalski
Aug 12 2016 22:51
ok