Skip to content

Commit

Permalink
[LOGVIEW-40][feat]: support of auto-update mechanism + UI (no cancela…
Browse files Browse the repository at this point in the history
…tion at the moment).
  • Loading branch information
dmitry.astafyev committed Nov 17, 2017
1 parent f920bf0 commit cfaacef
Show file tree
Hide file tree
Showing 25 changed files with 1,358 additions and 938 deletions.
2 changes: 2 additions & 0 deletions app/client/src/app/app.module.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/client/src/app/app.module.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions app/client/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ import { Components as ComponentsCommmon } from './core/components/common/com

import { WebSocketConnector } from './core/ws/ws.connector';
import { APIProcessor } from './core/api/api.processor';

import { SerialPorts } from './core/services/service.serialports';
import { controllerThemes } from './core/modules/controller.themes';

import { ShortcutController } from './core/modules/controller.shortcut';
import { Updater } from './core/modules/controller.updater';

@NgModule({
imports: [ BrowserModule, ComponentsCommmon, TopBarModule, HolderModule ],
Expand All @@ -22,9 +24,10 @@ import { ShortcutController } from './core/modules/controller.sh
})

export class AppModule {
private wsConnector : WebSocketConnector = null;
private shortcutController : ShortcutController = new ShortcutController();
private serialPorts : SerialPorts = new SerialPorts();
private wsConnector : WebSocketConnector = null;
private shortcutController : ShortcutController = new ShortcutController();
private serialPorts : SerialPorts = new SerialPorts();
private updater : Updater = new Updater();

constructor(){
APIProcessor.init();
Expand Down
5 changes: 4 additions & 1 deletion app/client/src/app/config/events.system.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
"REQUESTS_HISTORY_GET_ALL" : "REQUESTS_HISTORY_GET_ALL",
"REQUESTS_HISTORY_UPDATED" : "REQUESTS_HISTORY_UPDATED",
"REQUESTS_HISTORY_UPDATED_OUTSIDE": "REQUESTS_HISTORY_UPDATED_OUTSIDE",
"REQUESTS_APPLIED" : "REQUESTS_APPLIED"
"REQUESTS_APPLIED" : "REQUESTS_APPLIED",

"UPDATE_IS_AVAILABLE" : "UPDATE_IS_AVAILABLE",
"UPDATE_DOWNLOAD_PROGRESS" : "UPDATE_DOWNLOAD_PROGRESS"

}
60 changes: 31 additions & 29 deletions app/client/src/app/core/components/common/components.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cfaacef

Please sign in to comment.