1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-29 19:20:36 +02:00
Commit Graph

2028 Commits

Author SHA1 Message Date
OliE
9f76724df8 Merge pull request #136 from cantruchd/master
Add support for Yunmai Mini 2/Yunmai balance
2018-01-12 15:14:21 +01:00
Erik Johansson
720bc08cb7 Use SpannableStringBuilder instead of Html.fromHtml
Constructing the spannable string directly is much faster than using
the Html conversion.
2018-01-11 22:32:00 +01:00
Erik Johansson
8bc625300c Improve date/time string in new entry added toast 2018-01-11 21:11:10 +01:00
Erik Johansson
06ebb4ac81 Refactor measurement views
Make all float measurements share a common base class and move all
float related code there from MeasurementView.

Also make DataEntryActivity only save a scale measurement when it has
been changed.
2018-01-11 21:10:41 +01:00
Erik Johansson
a90236f195 Add clone method to ScaleMeasurement 2018-01-10 23:48:28 +01:00
Erik Johansson
4259e4e351 Use initial weight as default weight for first measurement 2018-01-09 21:56:45 +01:00
Erik Johansson
a4e910c00c Avoid reversing list when it isn't needed 2018-01-09 21:56:45 +01:00
cantruchd
5a77931f44 Add files via upload 2018-01-10 00:01:33 +07:00
OliE
7d7351463d upgrade version number to 1.7 beta 2018-01-06 11:43:52 +01:00
OliE
32d870c781 add new device name checks for Beurer BF700/800 2018-01-06 11:03:43 +01:00
OliE
f1695d18dc don't allow to add a duplicated measurement with the exact same date and time. 2018-01-06 10:59:49 +01:00
OliE
a230a82537 showing an info message when no Bluetooth device was selected. 2018-01-05 20:37:35 +01:00
OliE
922a671478 updated backup method so that it will work with the Room library 2018-01-05 20:27:54 +01:00
OliE
5f43e271c9 Merge pull request #131 from comcamot/comcamot
SanitasSBF70 problem with time. Catalan/Valencian language added.
2018-01-05 18:57:54 +01:00
OliE
3432bbf21d Replaced CSV export/import function with SimpleCSV library source code 2018-01-05 18:35:14 +01:00
Arcadi Santamaria
87d7c60d77 1) SanitasSBF70 was saving the date-time at which data was recovered by the app and tnot the date-time of the measurement. Solved.
2) Catalan/Valencian translation included.
2018-01-05 17:28:48 +01:00
OliE
b23e4ee91d added Dutch translation 2018-01-04 18:55:35 +01:00
OliE
8d535d493c move Dutch xml translation file to the correct folder. 2018-01-04 18:54:07 +01:00
Erik Johansson
1666e1b422 Update swedish translation 2018-01-02 22:14:39 +01:00
OliE
c37ff71f0f update German translation and test Travis dev build. 2018-01-02 16:07:39 +01:00
OliE
0f7ae23da4 added drawer header 2018-01-01 15:20:56 +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
OliE
1ec1ae577b replaced completely old scale database with Room database
included migrating method
2018-01-01 10:51:15 +01:00
OliE
03534a12d3 replaced insert / update operation of SQL scale database with Room library operations 2017-12-31 14:21:54 +01:00
OliE
dbd67c741b replace SQL scale user database with user DAO by Room library 2017-12-31 13:33:46 +01:00
OliE
5f53e791ef made ScaleUser class variables private
initial define Room entities, DAO and database interface for ScaleUser and ScaleData
2017-12-31 12:48:16 +01:00
OliE
6cfdf72504 replaced deprecated ActionBarActivity with AppCompatAcitivity.
replaced tab navigation with navigation drawer
2017-12-30 20:40:27 +01:00
OliE
f3e5174fcc moved the junit test into an own package 2017-12-30 10:14:17 +01:00
OliE
c547cd5739 Merge branch 'days' of git://github.com/erijo/openScale into erijo-days 2017-12-30 09:31:32 +01:00
Erik Johansson
ef74c7acd6 Lower build verbosity on travis
while still showing failed tests.
2017-12-29 23:36:55 +01:00
Erik Johansson
37588de24b Move daysBetween to a separate class and add tests
Also change the behaviour to the previous one were the time is ignored
and only the date is used to calculate number of days between two dates.
2017-12-29 22:47:29 +01:00
Erik Johansson
90f4d9701b Add support for writing unit tests 2017-12-29 22:16:52 +01:00
OliE
d339eafd0f added Runtastic Libra name 2017-12-27 12:39:36 +01:00
OliE
f058b1fbe8 Merge pull request #117 from Dododappere/master
Added Runtastic Libra
2017-12-27 12:35:53 +01:00
OliE
b1f4b527ec corrected device check 2017-12-27 12:33:46 +01:00
Matus Horvath
48cd15a404 Add support for Silvercrest SBF75 scale (which seems to be a rebranded Sanitas SBF70). 2017-12-25 03:09:07 +01:00
Martijn van Welie
c3b9b02666 Added Runtastic Libra 2017-12-23 21:26:12 +01:00
OliE
7283bd1733 check if Beurer scales starts with Beurer BF700 or Beurer BF800 includes -B scales 2017-12-23 11:35:18 +01:00
Erik Johansson
658f60f5c9 Put more focus on normal span and add margin
Instead of having the low, normal and high span be equal, make the
normal span as big as low and high together.

Also add a small margin to avoid having the indicator at the far edge
of the low or high span.
2017-12-23 11:33:31 +01:00
Erik Johansson
2f53b72a76 Set date time header when adding first measurment as well 2017-12-23 11:33:16 +01:00
OliE
a4dde33de6 use isVisible method 2017-12-23 11:29:26 +01:00
Erik Johansson
e355ac845d Don't set measurement in edit mode for table fragment
Should be enough to have it in view mode (which is the default).
2017-12-23 11:25:38 +01:00
Erik Johansson
7ce5fd23a4 Show days since current date in overview
I find it more logical to see how long ago a measurement was done,
instead of how long ago since the last measurement was a measurement
done.

Fix a bug where the days since a measurement was calculated
incorrectly if the measurement was done in the previous year.

Convert the days label to plurals so that "day" is used when the
measurement was done yesterday.
2017-12-22 23:13:39 +01:00
OliE
214cd06498 set version name to 1.6.1 2017-12-17 18:04:56 +01:00
OliE
5cb4024aaa show build code in about page 2017-12-17 17:59:45 +01:00
OliE
f465e4e8d9 fixed Beurer BF700/800 device name comparison
update internal openScale version code to 21
2017-12-17 17:52:42 +01:00
OliE
d2a208e63d update openScale version to 1.6.1 2017-12-17 12:14:11 +01:00
OliE
4f7675e268 merge Beurer BF700 and BF800 to one file 2017-12-16 09:03:58 +01:00
OliE
209c04319f Merge branch 'master' of git://github.com/linuxlurak/openScale into linuxlurak-master 2017-12-16 08:56:15 +01:00