climu / openstudyroom

Website for the Open Study Room online go/baduk/weiqi community.
https://openstudyroom.org
GNU General Public License v3.0
67 stars 33 forks source link

Calendar improvements #219

Open pholthuizen opened 7 years ago

pholthuizen commented 7 years ago

On discord Climu and I have been brain storming a bit about improvements in the OSR calendar. Probably this issue must get more structure to be practical. For transparency I paste the findings here (it is a compressed version of the actual conversation):

climu For instance, I could have a categori "OSR" at all those events.

mcpudding well currently the calendar function is pretty good, i think a category is not needed because i see the osr calendar separate anyway

mcpudding it would be cool if it gets more user friendly to add the osr calendar to other calendars, currently a user needs to copy paste the url

climu it's still beta. todo about that is:

mcpudding the nocache parameter is unclear to me too now, i used it to get it working but i read on the net that if you ommit it that the events are added anyway but later when google decides to synchronize i dont know which is accurate

climu then game request are a question

mcpudding well i am not sure about requests i certainly do not want requests on the calendar, or maybe tentative if that is supported in a normal situation i would receive an invite which i can accept or not and very maybe osr could switch to a full blown calendar service from a well known provider like google but i remember you mentioned something that you need support some none standard things

climu yea, right. was thinking that too well yea. I mean it's not just rendering events we do. User can set their availability by draging/moving. USer can send/accept/cancel game requests

climu Yea. I saw something to use Gcal as a backend cal storage. but it's way more easy for us to use our db here

mcpudding Then do we want games requests? my opinion is that i would like to be notified of a game request through my regular communication channels and when i accept one it is added to my regular calendar

climu regular communication being email?

mcpudding but it's way more easy for us to use our db here, yes i know it would also require google accounts for all users, if you go that way you might also prefer complete google authentication for osr otherwise it will be cumbersome regular communication being email? for me that we be good but maybe i am old fashioned

climu Email for me too. Thing is we should have a setting in profile asking if users want a notification.

mcpudding yes would be nice

climu that's something I am setting up. Plan will be user can choose where to receive notifications (email,kgs,ogs) and for what :

mcpudding that would be very cool so i get a notification for a game request when i accept i get a calendar entry with a preset notification

climu commented 7 years ago

Thanks for formating that talk !

That's done on production already.

Next steps are:

Then the real big thing is to schedule notifications. That require us to use something like celery.

Working on that in this branch but such design is quite hard for me at the moment.

zybex86 commented 4 years ago

We are using celery at work. My friend set up a notifications app last month for a project. I can ask him for info. EDIT: I also wrote some celery at work and gonna do more in the near future