rsanchez-wsu / RaiderPlanner

The best study planner since the Gantt Diagram
GNU General Public License v3.0
5 stars 83 forks source link

Schedule Sharing #42

Open Skaterskunk opened 7 years ago

Skaterskunk commented 7 years ago

Implement the ability to share schedule information over the Peer to Peer function. This would follow Issue #22 and possibly Issue #17. We would have to be able to select parts of the database file so no unwanted personal information would get shared with the schedule.

The way I see this working in a very loose fashion follows:

  1. A user's schedule items are stored within the database system using JDBC and Apache Derby. Therefore each item has a reference call.

  2. Two user's connect using the P2P model outlined in Issue #22.

  3. We would add a new MessageType to the enum list. Call it SchedRef. This will reference a particular item in the database.

  4. The authentication aspect of the P2P would have to be functional in order to ensure that the selected item is coming from the right user.

  5. Once received, the recipient's client would assign a new SchedRef to the item and insert it into the appropriate spot in the database.

rsanchez-wsu commented 7 years ago

@Skaterskunk This is an excellent idea, but this issue summary will require more detail describing the proposed functionality. I understand that the networking components have not been full fleshed out, but feel free to make some assumptions and use them as a basis to detail what you are proposing. We can always make adjustments later.