1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-29 11:10:35 +02:00

19 Commits

Author SHA1 Message Date
oliexdev
8965e2876c - added user option to enable/disable goal
- use material button style (app:background are ignored)
2023-02-12 09:30:02 +01:00
oliexdev
fd552c41e8 additional support for people with amputations, which automatically adds a correction factor to the added weight 2020-06-18 12:06:38 +02:00
oliexdev
44580f04bf added support for assisted weighing (e.g. baby or pets) were the weight is subtracted by a reference user weight, see issue #578 2020-06-17 16:14:11 +02:00
oliexdev
7120927d4a - updated Trisa body analyze junit test
- updated deprecated instrumentation import
2019-01-11 16:46:30 +01:00
oliexdev
ed60b2478d added TDEE and calories measurement and change BMR to Harris-Benedict equation 2019-01-06 18:00:54 +01:00
OliE
31b5083e85 - added option to set a measurement unit
- removed converted methods
2018-05-19 11:56:13 +02:00
Erik Johansson
fcc7eb29ed Add database support for height unit and activity level
Only add the fields to the database for now, when we're bumping the
version number. For the actual work to add them so that they can be
used, see #265 and #266.
2018-05-14 23:43:58 +02:00
Erik Johansson
d76b5dd086 Rename lbw to lbm in database version 3 2018-05-14 23:43:58 +02:00
OliE
69a652ef51 added visceral fat measurement and revert AppDatabase version 2 json file 2018-05-13 19:37:33 +02:00
OliE
d20a824f51 added fat caliper measurement 2018-05-13 14:56:22 +02:00
OliE
a9f79637e0 renamed arm to biceps 2018-05-13 13:07:58 +02:00
OliE
dbf33d839b added measurements for chest, neck, thigh and arm circumference 2018-05-13 12:51:03 +02:00
Erik Johansson
8ad10370c8 Rename LBW (lean body weight) to LBM (... mass)
As suggested in #243.

Except for the database column and some strings that are stored
persistent in preferences.
2018-04-16 23:10:53 +02:00
Erik Johansson
763559e3a1 Change order of columns in index
By putting userId first we avoid a compiler warnings an most likely
make better use of the index.
2018-01-27 20:56:12 +01:00
Erik Johansson
bdeefc2d69 Readd NonNull annotation on ScaleUser gender and scaleUnit
Removing the annotations requires adding a database migration as the scheme changes.
2018-01-27 12:41:32 +01:00
OliE
5c85834eda removed notnull annotations. 2018-01-27 08:07:49 +01:00
Erik Johansson
212b32f632 Introduce new database version (2)
- Change the unique constraint for measurements to include userId in
  addition to datetime. This way two users can now have measurements
  with the same date and time (hour and minute).
- Enforce that the userId references an existing user.
2018-01-24 21:39:22 +01:00
OliE
b5fcb9525f added JUnit database test
set index and unique to datetime
2018-01-01 13:47:36 +01:00
OliE
bd187962d4 renamed ScaleData class to ScaleMeasurement class for consistent naming
saved generated Room database shema
2018-01-01 11:18:06 +01:00