Commit Graph

148 Commits

Author SHA1 Message Date
LoudSnorer
d18826266b [New Feature] Add Import(restore) Journal 2024-03-25 15:48:41 -04:00
LoudSnorer
e9ae1198d6 removed URLs to sleepyhead or it's author 2024-01-31 19:14:19 -05:00
LoudSnorer
d5d77647d3 Copyright date updated on OSCAR's *.h and *.cpp files 2024-01-13 15:27:48 -05:00
LoudSnorer
9e87179c2a New Feature:Enable Changing User's profile Name from GUI Menu 2023-12-01 19:56:31 -05:00
LoudSnorer
cc0bc97355 don't reset report mode. report mode changed only bu user command. 2023-10-06 06:12:50 -04:00
LoudSnorer
000caca665 profiles.xml and user/chanels.xml are never used. commented out respective code 2023-09-08 05:22:12 -04:00
LoudSnorer
7c1489a409 fix Statistics report date after import 2023-07-08 11:13:35 -04:00
LoudSnorer
dab3d76e3d Fix compilation issues 2023-06-20 09:58:13 -04:00
LoudSnorer
e16f6fd4d3 Bug Fix: in statistics: allow user to select report date. Invalid statistics after creating new profile. 2023-06-20 08:37:00 -04:00
LoudSnorer
150a157fba statistics: add tooltips 2023-06-13 19:25:55 -04:00
LoudSnorer
b678b137e5 statistics: allow user to select report date. 2023-06-13 12:32:51 -04:00
LoudSnorer
1cd449cd9e clinical Mode: change from Appsetting to p_profile. Implemented default value for New profiles. 2023-06-09 12:47:10 -04:00
LoudSnorer
759221f1f0 renames complianceMode to clinicalMode 2023-05-27 20:09:15 -04:00
LoudSnorer
f4b7093e76 Renamed to ComplianceMode and enforced Compliance Mode has not knowledge of disable sessions 2023-05-27 09:07:04 -04:00
LoudSnorer
d511d1b8d4 Finish basic functionality 2023-05-27 07:52:10 -04:00
LoudSnorer
c82ace546f Implement clinican mode 2023-05-26 17:29:56 -04:00
LoudSnorer
1546706ff2 Set Records as the default tab to right sidebar (toolbox) 2023-05-22 19:20:15 -04:00
LoudSnorer
74960d6472 Add message for import error when no loaders are found 2023-02-23 18:36:26 -05:00
Phil Olynyk
c61d1508cb Add QT_VERSION_CHECK for QRandomGenerator 2023-02-18 20:18:32 -05:00
LoudSnorer
651c612eda enforce Errors For Warnings deprecated-copy deprecated-declarations stringop-overread 2023-02-18 18:42:41 -05:00
LoudSnorer
e7c690925e obsolete Methods - complete 2023-02-18 09:22:34 -05:00
LoudSnorer
e0ea4e0972 Added new search for bookark notes 2023-02-13 21:54:23 -05:00
LoudSnorer
99a3c009f7 Obsoleesence QTime.start/elpased move QElapseTime.start/elapsed. also fixed sprintf. and using QdateTime(date) to get startOfDay. 2023-02-11 20:50:02 -05:00
LoudSnorer
9543cbd9c2 receiving Ui Signal Before Ui Was First Displayed caused dialog message to appear 2023-01-23 17:54:27 -05:00
Phil Olynyk
7ca4f42ccb Test p_profile before changing View Personal Data 2022-08-10 19:01:04 -04:00
Phil Olynyk
10282d698e Update more languages and add developes to credits. 2022-05-29 16:36:38 -04:00
ArieKlerk
1be14922c0 First series in my translation-cleanup. More to come... 2022-02-27 15:18:39 +01:00
Guy Scharf
cda41274d5 Add date range option to Statistics page.
Implement existing (but hidden) UI for data range and modify reporting as needed.
  This is not the ideal solution to this feature. It would be better to have a pop-up
  dialog that asked for beginning and ending dates of range and size of interval for
  interval reporting.
2021-12-10 00:54:14 -07:00
sawinglogz
4ebde70550 Remove unused signal replaced by deviceIsUnsupported in 08f4e2a. 2021-11-05 14:29:12 -04:00
sawinglogz
838e5a8044 Preserve all oximeter channels except for the ones to be recalculated.
Previously only specific channels were preserved, leaving out channels
provided by newer oximeters.
2021-10-28 14:17:27 -04:00
sawinglogz
66d311afca Remove broken and misguided "compression" during oximetry cleanup.
You can't simply drop identical samples in a waveform with a fixed sample rate.
2021-10-28 14:17:27 -04:00
sawinglogz
947a27b78a Move database writing from PRS1Loader into ImportContext. 2021-10-26 10:28:30 -04:00
sawinglogz
4bfe062ae9 Initialize ImportContext for non-CPAP devices.
Now the loaders imported via the Data menu have access to the
unsupported/untested/brick signals and CHECK_VALUE and UNEXPECTED_VALUE
macros.

Now only devices imported via the oximetry wizard are left out,
since we need to revisit that entire workflow.

Also removed the unused Profile::Import() method.
2021-10-26 10:28:29 -04:00
sawinglogz
08f4e2a5b7 Move ImportContext and ImportUI creation into main application.
Now all CPAP loaders have access to the unsupported/untested/brick signals
and CHECK_VALUE and UNEXPECTED_VALUE macros.

Also remove superfluous unsupported flag in MachineLoader.
2021-10-26 10:28:29 -04:00
Guy Scharf
e53b66882e Update copyright notices in code -- no other changes 2021-10-23 20:19:53 -07:00
Guy Scharf
bdce731495 Update Overview page when zombie or weight values are changed in Daily Notes tab. 2021-09-20 08:03:34 -07:00
sawinglogz
0037eca57b Allow zipping to continue when errors are encountered.
Add the debug log to SD card zips if there were unexpected errors.

Also display the progress dialog while scanning SD cards for zipping.
2021-09-15 14:54:08 -04:00
sawinglogz
4abef160ff Always present the SD card selection dialog box when creating a zip.
The "Import without asking for confirmation" preference should only
apply to actual importing.
2021-09-02 15:49:34 -04:00
Guy Scharf
7f6128fe24 Improve dialog title when asking for CPAP data directory
Previously, window title just said "Find Directory" and users
    could be confused about what directory they were supposed to be
    looking for.
    Now, window title says "Find your CPAP data card".
2021-06-06 18:00:33 -07:00
kappa44
e633a82de4 Consistent multi-file import for non-CPAP loaders (Viatom, Somnopose, Zeo, Dreem) 2021-04-24 17:44:27 +10:00
kappa44
94faff5297 Allow purge current day for all machine types 2021-04-05 12:05:05 +10:00
kappa44
a1e011da4d Support multi-file imports for Somnopose 2021-02-22 09:30:24 +11:00
Phil Olynyk
1aa88fb19a Merge branch 'master' into local_SDcopy 2020-11-21 20:02:32 -05:00
Guy Scharf
77b64c87e8 Fix loss of notes and bookmarks when importing or purging data
OSCAR now calls Unload() for the current day when importing new data
or purging oximetry data.  This will cause any recently changes Notes
to be saved instead of silently discarded.

When purging the current day, OSCAR will now purge only session data
and not any other machine data it finds, which caused Bookmarks (and
probably Oximetry data) to be deleted as well.

Release Notes updated.
2020-11-21 11:45:43 -07:00
Phil Olynyk
a637bea0fe Check for existing lastpath file before Crostini warning 2020-11-15 23:38:12 -05:00
Guy Scharf
fac7803880 Improve error message when null pointer found in journal file 2020-11-04 10:23:14 -07:00
Guy Scharf
5e75fe8836 Fix OSCAR crash when session not found in Journal file
While preparing bookmark HTML for right sidebar, OSCAR was trying to obtain
the first MT_JOURNAL session, but was finding a null pointer and then not checking
that the pointer was null. However, I don't know under what conditions this
situation could happen in the database.  At least now it won't crash OSCAR.
2020-11-03 14:50:04 -07:00
Guy Scharf
f423ef4967 Fix reversion in fea497ac causing fatal 'variable not used' message 2020-09-09 18:27:58 -07:00
Phil Olynyk
fea497aca6 Test for Crostini 9p filesystem before looking for /mnt/chromeos/removable 2020-09-09 20:55:42 -04:00
Phil Olynyk
74dd8d7f51 Fix spelling typo 2020-08-28 14:55:33 -04:00