-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Telemetry updates added Telemetry popup + configuration renamed SmsSender class to SmsDaemon * resolved conflict * OP-153 Fix lots quantities on multiple discharges * sync + little changes * - added headers * added freegeoip remote service configuration + changed package name fro data collector module * corrections based on Alessandro's suggestions * corrections based on Alessandro's suggestions * restored old variable name (reason: in the future we will do a refactoring) * new db single connection config + ipinfo config * fixed some bugs - now telemetry is based on the following rules: if active = null => show telemetry popup, if active = true => start telemetry daemon, if active = false => do nothing (we should add a menu item in order to allow user to access to the popup?) - if TELEMETRYENABLED is yes then start telemetry daemon always (with SINGLEUSER equals to yes or no) * implementation telemetry module completed + added also simulated message sending (when DEBUG=yes) * added property to enable/disable telemetry module * Added Telemetry menu item in the Settings menu + managed the case when telemetry module is disabled from settings.properties (could be used for other OH modules): we will not show the menu item in the Settings menu * OP-149 Set default duration (30min) and date check on visits. (#877) * Set default duration (30min) and date check on visits. Also clean and improve code * Fix for multiple visit save * Fix as per comments review * Fix therapy changes and also refactor constants * Fix spacing * Fix edit therapy (not insert) Fix also duration calculation * Fix window position after re-pack * Add remove visit button in worksheet * Enable visits management for admitted patients * Fixes by comments review * Avoid automatic saving and have changes all buffered before save * Fix visit automatic save in worksheet * Fix layout * Fix deletion on second day list * reload data from DB upon new visits * Fix MessageDialog calls * Organize imports * Fix bundle * Small workaround to avoid cursor jumps among new items in the same day TODO: - better arrays management (to highlight also unsaved) - improve events handling (to avoid selection flickering) * Add validation for visits buffered to save * Avoid Worksheet operativity when there are visit changes pending * Fixes by comments review * Sync Swing quantity controllers * Avoid Worksheet operativity when there are therapies changes pending * Avoid therapies in the past and improved bundles * Chore: remove duplicate semi-colon (#878) * Chore: remove duplicate code in both branches of if (#879) * Chore: remove what looks like an octal value for int array (#880) * run always telemetry daemon + confirmation dialog with summary - run always telemetry daemon - (except if settings.properties disables it) - added dialog with the content of the tlemetry message that will be sent to https://www.informaticisenzafrontiere.org/ - corrected what Alessandro asked to change Co-authored-by: Alessandro Domanico <[email protected]> Co-authored-by: David B Malkovsky <[email protected]>
- Loading branch information
1 parent
d4b69fd
commit a256aa4
Showing
13 changed files
with
611 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
freegeoip-remote-service.ribbon.base-url=https://freegeoip.app:443 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# enables/disables daemon - valid values: true | false | ||
telemetry.daemon.enabled=true | ||
# number of second to check if it should send a message | ||
telemetry.daemon.thread.loop.seconds=10 | ||
# remote data collector server base url | ||
telemetry-gateway-service.base-url=http://localhost:8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/* | ||
* Open Hospital (www.open-hospital.org) | ||
* Copyright © 2006-2021 Informatici Senza Frontiere ([email protected]) | ||
* | ||
* Open Hospital is a free and open source software for healthcare data management. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* https://www.gnu.org/licenses/gpl-3.0-standalone.html | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
package org.isf.telemetry.gui; | ||
|
||
import javax.swing.JCheckBox; | ||
|
||
public class CheckBoxWrapper { | ||
|
||
private String id; | ||
private Integer order; | ||
private JCheckBox checkbox; | ||
|
||
public String getId() { | ||
return id; | ||
} | ||
|
||
public void setId(String id) { | ||
this.id = id; | ||
} | ||
|
||
public Integer getOrder() { | ||
return order; | ||
} | ||
|
||
public void setOrder(Integer order) { | ||
this.order = order; | ||
} | ||
|
||
public JCheckBox getCheckbox() { | ||
return checkbox; | ||
} | ||
|
||
public void setCheckbox(JCheckBox checkbox) { | ||
this.checkbox = checkbox; | ||
} | ||
|
||
} |
Oops, something went wrong.