move dragged and dropped events to the end of overlapping ones

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
this should be a private variable

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
move check for event overlap to it's own method

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
use checkOverlap in event creation

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
clamp to beginning or end depending on relative position

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
all this isn't needed

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
rename variables

Signed-off-by: Tomas Neme <lacrymology@gmail.com>
wip
Add schedule conflict message to calendar template and corresponding css
Signed-off-by: Diego Gaustein <diego@gaustein.com.ar>
Overlapping events detection at drop should not match itself
Signed-off-by: Diego Gaustein <diego@gaustein.com.ar>
Do not save occurrences if they are overlapping.
Show message allowing for pushing down events or reverting to saved state

Signed-off-by: Diego Gaustein <diego@gaustein.com.ar>
Fix unsaved overlapping events not being saved at deletion of other events

Signed-off-by: Diego Gaustein <diego@gaustein.com.ar>
Always push down. If last snapped to the top of other event, first push myself down.
Call pushdown on all conflicting events, and catch if they have already been solved by another action.

Signed-off-by: Diego Gaustein <diego@gaustein.com.ar>