Commit Graph

1146 Commits (424d9cd142b7248e46b2b53be7fd526668970926)

Author SHA1 Message Date
cpfeiffer dda6cb34e1 Fix logfile rotation (bug in logback-android) 2016-03-07 01:09:43 +01:00
Andreas Shimokawa 2902e60d51 prepare 0.8.2 2016-03-07 00:55:17 +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
Andreas Shimokawa fa6b572172 Merge branch 'feature-configuration' of https://github.com/Freeyourgadget/Gadgetbridge into feature-configuration 2016-03-05 21:26:03 +01:00
cpfeiffer 97faf61c5a Log db upgrade/downgrade requests 2016-03-04 23:37:42 +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
cpfeiffer 3b3458e196 Show the heart rate measurement tooltip a little longer 2016-03-04 23:08:13 +01:00
Daniele Gobbetti 6d4b98719a Implement some further JS methods to make additional watchapps happy 2016-03-04 17:44:42 +01:00
Daniele Gobbetti 3920b3f977 Do not override the configured settings with our old stored values (but keep them around) 2016-03-04 17:43:43 +01:00
Andreas Shimokawa f616e4f571 Pebble: skip .js file if too large instead of breaking installation
(Hotfix)
2016-03-03 17:46:58 +01:00
Andreas Shimokawa aba21d3ab7 switch to gradle plugin 1.5.0 in an attempt to fix travis 2016-03-03 17:19:29 +01:00
Andreas Shimokawa a96d042dce try to make mister travis happy 2016-03-03 16:07:59 +01:00
Andreas Shimokawa 3786e0b7f2 fix typo 2016-03-03 16:04:17 +01:00
Andreas Shimokawa 1e44bb03fb Pebble: convert Boolean to String for app configuration 2016-03-03 16:02:30 +01:00
Andreas Shimokawa bd7b34985b reformat code and optimize imports 2016-03-03 15:47:00 +01:00
Andreas Shimokawa 864e0953d9 only allow starting AppManager after device is initalized (else platform cant be determined) 2016-03-03 14:29:46 +01:00
Andreas Shimokawa 902ff39c0b start app when about to be configured 2016-03-03 14:25:44 +01:00
Andreas Shimokawa 2a7f9226a0 Pebble: send configuration to watch
TODO: handle booleans
2016-03-03 14:23:17 +01:00
Andreas Shimokawa fa924ff9d8 Pebble: fix crash when navigating back from configuration activity 2016-03-03 13:05:51 +01:00
Andreas Shimokawa 860ded1022 refromat code 2016-03-03 11:54:07 +01:00
Andreas Shimokawa 63d938559e pass GBDevice down to ExternalPebbleJSActivity to determine the platform version (aplite,basalt,chalk) 2016-03-03 11:52:30 +01:00
Daniele Gobbetti 089a59168e Initial support for using an external browser for configuring pebble apps. This allows existing configuration pages to work without having internet access ourselves.
This is a better approach as initially thought in #191.

What is missing is outlined in the (several) TODOs.
2016-03-02 21:07:27 +01:00
Andreas Shimokawa 652c5575b3 user ckChangeLog to display the Changelog
There were other fancier libraries, but this one was so simple to integrate, that I could not resist ;)
2016-03-02 00:37:43 +01:00
Andreas Shimokawa 5eb525ee44 Merge pull request #239 from 0nse/sleepAlarmWidget
Add widget to quickly set an alarm according to the user's preferred sleep length (in hours)
2016-03-02 00:36:13 +01:00
0nse ba35679690 / Pad the alarm time with zeroes when toasting. 2016-03-02 00:15:31 +01:00
0nse 7651c080c2 / Only execute setAlarmViaAlarmManager when we are running Lollipop+. 2016-03-02 00:05:58 +01:00
0nse 6e7abecb17 / Use GB.toast instead of Android Toast. 2016-03-02 00:01:41 +01:00
Andreas Shimokawa 7756968a8f add a note about supported devices 2016-03-01 12:26:56 +01:00
cpfeiffer 2cdeecb39c 0.8.1 2016-02-29 23:24:35 +01:00
Andreas Shimokawa fc464d112d change some more short and byte to int regarding Morpheuz 2016-02-29 23:13:07 +01:00
Andreas Shimokawa 9adae3b538 bump version, update CHANGELOG.md 2016-02-29 23:06:30 +01:00
cpfeiffer 9dd0a8bf2b Small rewording 2016-02-29 22:13:31 +01:00
cpfeiffer cbe73f71a1 Fix some typos (thanks!) #178 2016-02-29 22:08:34 +01:00
cpfeiffer 1b9f297ebe Updated for Mi1S 2016-02-29 22:04:40 +01:00
0nse 3babedf936 + Add Widget which allows quickly creating an alarm depending on the user's preferred sleep length (in hours). 2016-02-29 21:36:39 +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 c4dc972804 Fix pmd rules after update gradle to 2.11 (and accordingly, pmd) 2016-02-28 15:14:43 +01:00
cpfeiffer badf384619 Update to latest gradle 2.11 2016-02-28 14:58:17 +01:00
cpfeiffer 1c9be79c67 Add onHeartRateTest() method 2016-02-28 14:52:17 +01:00
cpfeiffer ddde25e5df Initial firmware update support for Mi1S #234 2016-02-28 02:46:48 +01:00
cpfeiffer d7822d07a6 Show the measured heart rate as a Toast, for now #178 2016-02-27 23:27:15 +01:00
cpfeiffer 540e008548 Rename to Heart Rate Test 2016-02-27 23:24:45 +01:00
cpfeiffer 4898dab652 Move "Reboot" button to the very bottom to prevent accidents 2016-02-27 23:24:03 +01:00
cpfeiffer 3ff31cd73b Disable heartrate in charts fow now, fix notification for manual hr 2016-02-27 23:18:44 +01:00
cpfeiffer d6dfc3b6ec Fix some ClassCastExceptions in charts since switching to CombinedChart 2016-02-27 15:30:46 +01:00
Andreas Shimokawa c449181083 Pebble: store appKeys in .json also.
Rumour says someone needs it soon...
2016-02-27 11:40:37 +01:00
cpfeiffer ac8d7bee5f Only do heart rate stuff when supported #178 2016-02-27 11:23:55 +01:00
cpfeiffer de6f898fef Some more fixes regarding heart rate measurement #178 2016-02-27 11:18:16 +01:00
Kasha 9e636d66f6 Initial heart rate support by KashaMalaga #178
(removed unrelated Android M fixes and squashed commits)
2016-02-27 00:05:06 +01:00