OliE
8070f5b003
Travis license fix bug workaround
2018-01-20 06:49:42 +01:00
OliE
ed0df6e5e4
Merge pull request #152 from erijo/unit
...
Introduce enum for weight unit and gender
2018-01-20 06:30:31 +01:00
Erik Johansson
1a33bd35f5
Round goal weight to one decimal on statistics fragment
...
This way it matches the other numbers. Also some minor refactoring.
2018-01-19 20:47:39 +01:00
Erik Johansson
29ef63a830
Move isMale to gender enum
2018-01-19 20:47:39 +01:00
Erik Johansson
613d24db65
Move to/from int converters to enum
2018-01-19 20:47:39 +01:00
Erik Johansson
b45f01d3eb
Introduce an enum for gender
2018-01-19 20:47:39 +01:00
Erik Johansson
4b05f27a6e
Introduce an enum for weight unit
2018-01-19 20:47:39 +01:00
Erik Johansson
81ff03802a
Don't calculate week or month average without measurements
2018-01-19 20:29:13 +01:00
Erik Johansson
8e917cc6c2
Move age calculation to DateTimeHelpers
...
Also add unit test and make sure that leap years are handled correctly.
2018-01-19 20:29:13 +01:00
OliE
6da946ac0f
update German translation
2018-01-19 17:30:03 +01:00
OliE
74d954dc38
removed setConvertedWeight (..) in MainActivity
2018-01-19 16:09:14 +01:00
OliE
e3dca4cb55
Merge pull request #149 from Dododappere/master
...
Added possibility to switch unit on Sanitas/SilverCrest/Beurer scales
2018-01-19 15:43:14 +01:00
OliE
1a8d2f55bb
Merge pull request #148 from erijo/tests
...
Move test to the location where gradle expects to find them
2018-01-19 15:28:52 +01:00
OliE
6f2db39f32
removed async user add
2018-01-16 17:12:20 +01:00
Martijn van Welie
ee04c5dfef
Added possibility to switch unit on Sanitas/SilverCrest/Beurer scales
2018-01-15 23:11:37 +01:00
Erik Johansson
eae1f5d3b0
Move test to the location where gradle expects to find them
...
Before moving the tests it seemed as if running ./gradlew test didn't
actually execute any unit tests. And without moving the DatabaseTest
to androidTest I couldn't get Android studio to actuallly execute the
test. Now it works both in Android studio and also from the command
line (./gradlew connectedCheck).
Also set testApplicationId to the normal app id + .test suffix.
2018-01-15 23:07:12 +01:00
OliE
c1f247cb27
bug fix workaround with android 27
2018-01-15 18:11:29 +01:00
OliE
f83b9d6890
upgraded travis build tools to version 27
2018-01-15 18:04:42 +01:00
OliE
08213a4a41
upgraded support lib version to 27.0.2
2018-01-15 17:58:39 +01:00
OliE
7296a45a8a
upgraded compile SDK version to 27
2018-01-15 17:57:03 +01:00
OliE
9e440b01fc
Merge branch 'erijo-stacktrace'
2018-01-15 17:33:47 +01:00
OliE
5d0d3a0643
changed the wording and enabled crash reports on debug build types.
2018-01-15 17:31:47 +01:00
Erik Johansson
ea97ebc36e
Add CustomActivityOnCrash to CREDITS file
2018-01-14 22:10:51 +01:00
Erik Johansson
98426fb554
Integrate cat.ereza:customactivityoncrash
...
When the application crashes, this display a custom activity pointing
the user to github and making it possible to copy the error details to
the clipboard to include it in the issue report.
2018-01-14 21:40:18 +01:00
Erik Johansson
d4ba3f66f4
Remove unused imports
2018-01-14 21:24:06 +01:00
Erik Johansson
3213dbaa85
Minor code cleanups
2018-01-14 21:23:12 +01:00
OliE
6247e19a3d
allow only user names with at least three characters
2018-01-14 17:45:52 +01:00
OliE
c0917601e1
Merge pull request #142 from erijo/csv
...
Support importing old CSV exports
2018-01-14 14:10:57 +01:00
Erik Johansson
0761e02699
Set user id before inserting import measurements
2018-01-14 13:52:58 +01:00
Erik Johansson
ea9c86e120
Add support for import old CSV exports (back to version 1.0)
2018-01-14 13:52:58 +01:00
OliE
f8c43f0fac
trim values and allow partial lines in CSV files
2018-01-14 13:18:43 +01:00
OliE
2f66dc0e65
add a horizontal scroll view to the graph for small devices.
2018-01-14 11:22:24 +01:00
OliE
ea83911be8
remove testing code.
2018-01-13 14:52:09 +01:00
OliE
bdd4fc1575
move AlertDialog variable to the right place.
2018-01-13 12:02:53 +01:00
OliE
45fe7b5fc2
ask the user once for feedback on the 30th app launch
2018-01-13 11:53:06 +01:00
OliE
44f34be8b9
give a little bit top padding for the title
2018-01-13 10:40:50 +01:00
OliE
4a6fc1b230
only add measurement view to statistic page if it visible
2018-01-13 10:20:33 +01:00
OliE
dbeafa6306
Merge pull request #139 from erijo/swedish
...
Update swedish translation
2018-01-12 21:30:25 +01:00
OliE
55f0709383
refactored satistics page
2018-01-12 21:30:05 +01:00
Erik Johansson
31260d83ea
Update swedish translation
2018-01-12 20:27:55 +01:00
OliE
3b563a07ae
Merge branch 'master' of https://github.com/oliexdev/openScale
2018-01-12 17:14:40 +01:00
OliE
7fce43e8ea
added options to select if body fat, body water or muscle are displayed as absolute or relative values.
2018-01-12 17:12:45 +01:00
OliE
4ac9f1e967
don't export the user id to a CSV file
2018-01-12 15:29:53 +01:00
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
OliE
817589437c
Merge pull request #137 from erijo/views
...
Refactor measurement views
2018-01-12 15:10:47 +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