1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-17 02:44:04 +02:00
Commit Graph

19 Commits

Author SHA1 Message Date
License Bot
e392fbfd80 Add license header to all java files. 2017-03-10 14:53:19 +01:00
Andreas Shimokawa
08080b02bb Drop support for legacy (pre 0.12.0) database 2017-02-23 22:44:44 +01:00
Andreas Shimokawa
17b581022b optimize imports 2016-12-09 20:14:17 +01:00
Andreas Shimokawa
fa8df9f552 add missing migration script 2016-11-27 10:52:43 +01:00
Andreas Shimokawa
d41848014b fix database schema migration from 13 to 14 2016-11-16 11:37:36 +01:00
Andreas Shimokawa
163a7bdf15 Pebble 2: save heart rate values to database (hopefully) 2016-11-15 23:21:13 +01:00
cpfeiffer
493444a2a0 Remove unused stuff 2016-07-28 22:28:29 +02:00
cpfeiffer
687beee501 Migration work 2016-06-16 21:54:53 +02:00
cpfeiffer
b363d08efb WIP: a little work towards greendao
need to think of how to integrate MiBandActivitySample and PebbleActivitySample
into the app. There's GBActivitySample, MiBandSampleProvider, PebbleSampleProvider,
etc.
2016-04-29 23:12:30 +02:00
Andreas Shimokawa
4be1926459 reformat code though Android Studio 2016-03-20 15:00:05 +01:00
cpfeiffer
619ea04a63 Fix database creation and updates #246
The creation script *must* always do the full creation so that fresh installs
get the correct database (no upgrade scripts will run for them)
2016-03-07 00:39:47 +01:00
danielegobbetti
459f6baf08 Fix missing column in the creation script (upgrades were fine, but new installation weren't).
Reindent changelog file.
2016-03-06 17:28:21 +01:00
cpfeiffer
dc162a9ac8 Only add column if it doesn't exist yet
Column can exist if there down- and upgrades
2016-03-04 23:25:11 +01:00
Andreas Shimokawa
ed85fd5011 convert byte and short values related to activity tracking to int
This avoids a lot of problems because java
- does not know unsigned values
- jvm and dalvic do not internally support byte and short
- sqlite does not know them either
2016-02-29 20:54:39 +01:00
cpfeiffer
0ef738067d Some work in progress for heart rate graphs #178
Currently we get the heart rate when synchronizing activity data
(i.e. not live) and we write it to the activity database so that we
can show a nice graph. The value is currently always 0 though,
because we can't enable recording hr, yet.
2016-02-26 23:45:17 +01:00
cpfeiffer
da5df5621e Use MEDIUMINT for steps per day (no effect, not used, and ignored by sqlite) 2015-09-01 23:11:22 +02:00
Andreas Shimokawa
dbbcf20bbc reformat code 2015-07-25 21:52:52 +02:00
cpfeiffer
7c61bbb2be Logging to find the cause for seldom device state/notification mismatch 2015-07-10 21:35:28 +02:00
cpfeiffer
8b54c6e5c4 New incremental, cumulative database upgrades and downgrades 2015-07-10 00:31:45 +02:00