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

27th
Jun 2016
Rafał Kowalski
@rafalkowalski
Jun 27 2016 08:40
@/all are we going to add tags to every event?
Mario Behling
@mariobehling
Jun 27 2016 08:41
yes, good idea
Rafał Kowalski
@rafalkowalski
Jun 27 2016 08:41
i will create issue
Mario Behling
@mariobehling
Jun 27 2016 08:41
the categories are tags already and the location city is also a tag
check out eventbrite
but keep it in the way, that only name and date are required to get started with an event
Rafał Kowalski
@rafalkowalski
Jun 27 2016 08:43
so do we need custom tag?
or location and categorie will be enough?
Mario Behling
@mariobehling
Jun 27 2016 08:46
location, event type, event topic are tags
custom tags later
let's not add additional fields now
Rafał Kowalski
@rafalkowalski
Jun 27 2016 08:46
k
Mario Behling
@mariobehling
Jun 27 2016 08:46
we need tags, but it is not a priority now to make the system work
there are 54 issues. please help to close them
and all the time we discover bugs
finish up existing features and refine them. get search fully working. find and solve bugs.
Rafał Kowalski
@rafalkowalski
Jun 27 2016 08:47
ok but now we have #tech and #conference
Mario Behling
@mariobehling
Jun 27 2016 08:48
where does that come from? there is no field
Rafał Kowalski
@rafalkowalski
Jun 27 2016 08:48
i only put it for example you can't define it
Mario Behling
@mariobehling
Jun 27 2016 08:48
take it out please and focus on making the system work
Rafał Kowalski
@rafalkowalski
Jun 27 2016 08:48
ok
Mario Behling
@mariobehling
Jun 27 2016 08:49
i dont need to optimize tags and SEO if core features do not work
every time i browse the system I see bugs. Don't you? Please help to solve and make everything work now, so we can get users.
Screenshot from 2016-06-27 10:49:34.png
It also starts to be a problem, that things that were working already suddenly do not show up as expected.
@rafalkowalski Please really get things working now and look at all the details.
Rafał Kowalski
@rafalkowalski
Jun 27 2016 08:52
ok i will focus on finishi searching and find and fix bugs
Mario Behling
@mariobehling
Jun 27 2016 08:52
please ask friends to test the system with a fresh eye.
Saptak Sengupta
@SaptakS
Jun 27 2016 08:53
I will also ask my friends to start testing..
Rafał Kowalski
@rafalkowalski
Jun 27 2016 08:53
ok
Mario Behling
@mariobehling
Jun 27 2016 09:03
@SaptakS Let's move integration with twitter and Facebook to later milestones and focus on existing issues and bugs.
fossasia/open-event-orga-server#325
So, the question we need to ask ourselves. Do we provide value to people, that they cannot get elsewhere? We need to focus on these kind of features first. In any case people can still post on twitter or FB themselves. We want that feature too, but first, let's make everything work beautifully.
Saptak Sengupta
@SaptakS
Jun 27 2016 09:05
Thats a good idea.. I was already thinking of doing that.
I will change the milestone.
Rafał Kowalski
@rafalkowalski
Jun 27 2016 13:53
@aviaryan can you improve little API filtering?
EventDAO.list.filter(event_location=location).
filter(
event_contains=word)
filter(privacy='public')
I'd like to use something like this
because now i have to add a lots of conditions to filter something
Avi Aryan
@aviaryan
Jun 27 2016 14:27
@rafalkowalski you can make a dict with filters as keys .. dict = {} , dict['event_location'] = reque.args.get('location') , dict['event_contains'] = request.args.get('word') ,... etc . Then you can delete the keys which are None or empty . the remaining dict you can unpack and use as - DAO.list(**dict) .
Rafał Kowalski
@rafalkowalski
Jun 27 2016 14:40
cool ^^
Saptak Sengupta
@SaptakS
Jun 27 2016 19:02
@rafalkowalski @niranjan94 there are multiple heads in migration..
Niranjan Rajendran
@niranjan94
Jun 27 2016 19:04
I'm not with my laptop right now. @rafalkowalski could you merge?
Rafał Kowalski
@rafalkowalski
Jun 27 2016 19:04
ok i can merge
Niranjan Rajendran
@niranjan94
Jun 27 2016 19:05
Thanks :)
Shivam Mamgain
@shivamMg
Jun 27 2016 19:22
Hey @/all, Is there a way to check if some user is currently logged-in into our system?
I need it for the 2nd functionality here: fossasia/open-event-orga-server#873
Niranjan Rajendran
@niranjan94
Jun 27 2016 19:24
No... You can send the email and show a notification to the user when he opens the dashboard...
Shivam Mamgain
@shivamMg
Jun 27 2016 19:25
We can maintain a table where the logged-in users can be stored (when user logs out, remove entry), but is there a better way to do this.
Niranjan Rajendran
@niranjan94
Jun 27 2016 19:25
That's unnecessary for this... Don't you think?...
Shivam Mamgain
@shivamMg
Jun 27 2016 19:26
You mean checking the user logged-in status?
Niranjan Rajendran
@niranjan94
Jun 27 2016 19:26
'if the user is in the system' means if the user already has an account...
When ever the user is logging it, check if he/she has invites... Show it....
Saptak Sengupta
@SaptakS
Jun 27 2016 19:26
I agree with @niranjan94
You can just check whether it is a registered user..
Niranjan Rajendran
@niranjan94
Jun 27 2016 19:27
Send an email too... That's how all services do it.
Saptak Sengupta
@SaptakS
Jun 27 2016 19:27
No need for him to be logged in I guess..
Yes.. Email can also be added in the system_mail views..
Shivam Mamgain
@shivamMg
Jun 27 2016 19:28

'if the user is in the system' means if the user already has an account

Doesn't it mean if a user is logged-in to our system right now

Meaning he has an existing session at the server
Niranjan Rajendran
@niranjan94
Jun 27 2016 19:29
Nope.
The first point is for those who don't have an account. You send a sign up link.
The second is for those who have an account.
I suggest ff
I suggest for those who have an account, send a link and show a notification when they log in.
Shivam Mamgain
@shivamMg
Jun 27 2016 19:32
So if a user's account does not exist -> email him a sign up link
If it exists, send a notification in the user dashboard
But how to give a role-invite to a user who doesn't have an account in the system?
Niranjan Rajendran
@niranjan94
Jun 27 2016 19:33
Send a common role invite to all that will take them to the sign in/register page... Once they finish that, continue to the flow.
The role invite would act as a personalized sign in/sign up link.
Shivam Mamgain
@shivamMg
Jun 27 2016 19:37
Mmm... Instead of storing user (instance of User class), I can store emails. This way even if no user exists with that email on our system, the invite will still be stored. And when the user creates an account (with that email), he can accept that invitation.
Aditya Vyas
@aditya1702
Jun 27 2016 19:38
Does anyone know how to implement cron job in flask
I am having some problems regarding it
Shivam Mamgain
@shivamMg
Jun 27 2016 19:40
@niranjan94 OK, I'll implement that. Thanks. :smile:
@aditya1702 what are you working on. I have worked with cron jobs, but not with flask.
Aditya Vyas
@aditya1702
Jun 27 2016 19:42
@shivamMg Actually I have to implement a method so that all the events in the Admin Trash get cleared automatically after 30 days
Shivam Mamgain
@shivamMg
Jun 27 2016 19:43
What problem are you facing?
and are you using any library?
Aditya Vyas
@aditya1702
Jun 27 2016 19:45
I found one: apscheduler
Shivam Mamgain
@shivamMg
Jun 27 2016 19:46