threefoldtecharchive / jumpscaleX_threebot

Apache License 2.0
0 stars 3 forks source link

Create a calendar package for the threebot #37

Open zgorizzo69 opened 5 years ago

zgorizzo69 commented 5 years ago

Create a calendar package based on iCal/vCard under /threebotpackages/threebot/calendar

storie

As a 3bot owner I want to display and manage(add,modify,delete) a web calendar through the 3botApp so that my calendar data will be stored on my 3bot but still accessible from my 3bot app As a 3bot owner I want to display and manage(add,modify,delete) my contacts through the 3botApp so that my contacts data will be stored on my 3bot but still accessible from my 3bot app

There already is in JSX a radical server implementation in jumpscaleS_libs_extra repository there is a radical server the command to launch it is : kosmos 'j.servers.webdav.start()' But it is not working.... we should use it to serve caldav and carddav as it would fit the requirement

We need to modify the radical implementation so that the storage part does not write to the filesystem but to bcdb instead. We could use the BCDBFS which is a is a file system where everything is stored in bcdb. We also did exactly that for webdav

As it is stored in bcdb we would also need models to be stored

Part Layer Protocol or Format
Server Calendar Storage iCal/vCard
Server Calendar Server CalDAV/CardDAV Server

Here we ONLY focus on the server side as the front side will be done by the jimber guys as they are developing the 3bot app

zgorizzo69 commented 5 years ago

image

I am wondering if we need to implement actors as the package will be launched when the 3bot starts and then we would access the radical server directly through CalDAV/CardDAV (HTTP + TLS)

ashraffouda commented 5 years ago

now we have radicalserver on this branch https://github.com/threefoldtech/jumpscaleX_threebot/tree/radicalserver/ThreeBotPackages/radicaleserver the part that make the backend works with bcdbfs, also now u can add/delete calendars but it is not fully done yet will comment here again when it is done

ashraffouda commented 5 years ago

code is done https://github.com/threefoldtech/jumpscaleX_threebot/pull/49/files

0xIslamTaha commented 4 years ago

Here is the related test suite https://github.com/threefoldtech/jumpscaleX_threebot/tree/development/ThreeBotPackages/threebot/calendar/tests

list of bugs: https://github.com/threefoldtech/jumpscaleX_threebot/issues/198 https://github.com/threefoldtech/jumpscaleX_threebot/issues/197 https://github.com/threefoldtech/jumpscaleX_threebot/issues/193