mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2025-12-16 01:47:30 +01:00
Port Backend to SQLite/Sequelize (removes MongoDB), Support Electron (#14)
* 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
This commit is contained in:
@@ -283,9 +283,9 @@ var SpacedeckSpaces = {
|
||||
|
||||
this.discover_zones();
|
||||
|
||||
window.setTimeout(function() {
|
||||
this.zoom_to_fit();
|
||||
}.bind(this),10);
|
||||
//window.setTimeout(function() {
|
||||
// this.zoom_to_fit();
|
||||
//}.bind(this),10);
|
||||
|
||||
if (on_success) {
|
||||
on_success();
|
||||
@@ -636,17 +636,14 @@ var SpacedeckSpaces = {
|
||||
|
||||
download_space: function() {
|
||||
smoke.quiz(__("download_space"), function(e, test) {
|
||||
if (e == "PDF"){
|
||||
if (e == "PDF") {
|
||||
this.download_space_as_pdf(this.active_space);
|
||||
}else if (e == "ZIP"){
|
||||
} else if (e == "ZIP") {
|
||||
this.download_space_as_zip(this.active_space);
|
||||
}else if (e == "TXT"){
|
||||
this.download_space_as_list(this.active_space);
|
||||
}
|
||||
}.bind(this), {
|
||||
button_1: "PDF",
|
||||
button_2: "ZIP",
|
||||
button_3: "TXT",
|
||||
button_cancel:__("cancel")
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user