* Fixed "Cursor Positions on Shared Whiteboards are Inconsistent".
The main fix is in the method cursor_point_to_space in
public/javascripts/spacedeck_whiteboard.js.
The calculation of the coordinates of the mouse pointer from absolute
window to the whiteboard space coordinates was incorrect.
There were a number of dependencies on this method which were updated
as a result.
One side-effect was that the div for the lasso tool needed to be
moved inside the div for the whiteboard.
* Fixed minor panning calculation problem. Works now!
* Fixed star and starburst objects so that they render properly withing the selection bounding box. Lots of math. Still to do is to handle situations when the bounding box is very small and the stroke width of the star[burst] makes the interior corners overlap. Currently causes weird rendering.
* Fixed some minor typos and formatting errors in the comments. No changes to executable code.
* Keep the colors between drawing multiple scribbles and arrows
The color is changed back to black on every new drawing. Now the color is kept. If there is no color is set, then there is a fallback to the black stroke as before.
* requested changes
Co-authored-by: togir <gitcatch@weiler.rocks>
* add subspaces to be listed with edit_hash/spaceAuth authorization
* remove dead code from api_helpers.js
* add edit_hash authorization for requested space thumbnails
* handle /s/:hash links in frontend router
* set space_auth via a function, allow passing it to load_space
* rename variable in /s/:hash router in backend
* hide search, profile, breadcrumb in folders if not logged in, construct links to subspaces differently for anonymous editors
* The MongoDB/Mongoose data storage is removed in favor of Sequelize. This abstracts over SQLite or RDBMs like PostgreSQL and MSSQL. The default is SQLite, which significantly simplifies deployments in end-user environments.
* As Spacedeck now has no more mandatory server dependencies, we can wrap it in Electron and ship it as a desktop application.
* Removes docker-compose.yml
* First version of import UI