Commit Graph

440 Commits (cc2b22cfc7ebd8d0829f31a70181c87d60d9505c)

Author SHA1 Message Date
Carsten Pfeiffer 1ed0dc59b2 Merge pull request #321 from pragmaware/mi-band-device-time-offset
Add support for shifting the device time by N hours
2016-06-05 22:29:44 +02:00
Andreas Shimokawa 0fb664c141 allow to switch languages at runtime 2016-06-05 14:33:09 +02:00
Szymon Tomasz Stefanek 60fc29cc4d Add support for shifting the device time by N hours to allow for sleep data gathering of shift workers 2016-06-03 04:43:12 +02:00
Andreas Shimokawa df4ae49b72 update Japanese translation from transifex (thanks!) 2016-06-01 00:01:08 +02:00
Andreas Shimokawa a9d74b52f8 update German übersetzung 2016-05-31 13:34:29 +02:00
Andreas Shimokawa 1dd0965ae1 update Italian traduzione from transifex 2016-05-31 13:07:11 +02:00
Andreas Shimokawa 9da050c51d update changelog 2016-05-31 13:05:55 +02:00
Andreas Shimokawa f2cbee39f1 update changelog again
actually the last commit is responsible for the fix (even though it is not mentioned in the commit log)
2016-05-29 23:02:00 +02:00
Andreas Shimokawa af14fb4f90 limit max charaters to longiute and latitude to 7 2016-05-29 21:40:56 +02:00
Andreas Shimokawa 2e8d96e995 add option to enable sunrise/sunset on the timeline
Also fix a small type Aquire -> Acquire
2016-05-29 21:29:27 +02:00
Andreas Shimokawa c9aad271da update translations from transifex (thanks!) 2016-05-29 20:53:25 +02:00
Andreas Shimokawa 2b88720f83 fix xml changelog and add missing entry 2016-05-29 20:50:05 +02:00
Andreas Shimokawa a13cd9d951 update changelog, bump version to 0.10.0
reasons for the bump are
- new permissing
- first contact with the timeline, although is is not very useful
2016-05-29 20:47:16 +02:00
Andreas Shimokawa 7ef005f6a3 Allow getting the network location within pebble settings for sunrise/sunset calculation
It is also possible to set the location manually
On Android >=6 the required permission will be requested when pressing the button in settings.
2016-05-26 14:39:54 +02:00
Andreas Shimokawa fa6100fcec Merge branch 'master' into feature-sunrise 2016-05-26 13:11:03 +02:00
Andreas Shimokawa 31c15bb8b8 update changelog 2016-05-24 23:55:03 +02:00
Andreas Shimokawa af3cfefec0 Merge branch 'master' into feature-sunrise 2016-05-23 23:52:39 +02:00
Andreas Shimokawa 884c4262cf update changelog, bump version
(also change one German string and remove two newlines :P)
2016-05-23 23:37:57 +02:00
Andreas Shimokawa f697906572 update Japanese and German tranlation from transifex (thanks!) 2016-05-23 22:03:21 +02:00
Andreas Shimokawa 437de7f660 fix duplicate entry in strings.xml 2016-05-22 23:38:51 +02:00
Andreas Shimokawa efe5e546fd Merge branch 'master' into feature-sunrise 2016-05-22 23:36:09 +02:00
Andreas Shimokawa 80cf9fa8fe Pebble: allow to delete apps from pbw cache
Also remove delete entries from all system apps' context menus (not only health)
2016-05-22 23:32:25 +02:00
Andreas Shimokawa 6370fdbebe Merge branch 'master' into feature-sunrise 2016-05-22 01:25:52 +02:00
Carsten Pfeiffer f933eb8fcd Merge pull request #306 from normano64/do-not-disturb
Detects if Do Not Disturb is in use
2016-05-20 21:21:08 +02:00
cpfeiffer 2e2030f67b Update translations from transifex, thanks! 2016-05-19 22:07:55 +02:00
Normano64 8a91628322 Detects if Do Not Disturb is in use.
Can handle sms and phone calls from priority senders when in Priority
only, but doesn't handle events and reminders.
2016-05-19 16:34:59 +02:00
Andreas Shimokawa 017f650b3f Pebble: send sunrine and sunset pins to timeline when setting time in debug menu
This is just a test and it will leak your timeline data, since we never delete it.
Also this adds some rough infrastructure for calendar events.
2016-05-16 17:30:11 +02:00
Andreas Shimokawa 8c88223f26 update changelog 2016-05-15 23:29:19 +02:00
cpfeiffer 3a1f91b5a8 Default to low latency mode #287
Tested with Mi1A and Mi1S -- works fine and faster than without
low-latency mode.
2016-05-15 00:22:53 +02:00
Andreas Shimokawa 5efe9a5eb8 update japanese and geraman translations form transifex (THANKS!)
I did not merge others because tx pull deletes stuff again
2016-05-14 12:23:01 +02:00
Andreas Shimokawa 65a95366f4 Mi Band: Allow setting low-latency FW update mode in Mi Band development settings 2016-05-04 13:24:32 +02:00
Andreas Shimokawa 619a17425f Mi Band: Display hint about starting Activity Activity instead of App Manager
TODO: Fix the string, I have no idea how to properly name the Activity Activity
2016-05-04 12:31:29 +02:00
cpfeiffer 6863fababe Update changelog and prepare for 0.9.6 2016-04-29 22:07:16 +02:00
cpfeiffer 5e02724c4c Make automatic reconnect after connection loss configurable #293
Mi Band: automatically reconnect when the device is back in range

Also: #89
2016-04-28 23:17:13 +02:00
cpfeiffer b89eb14be7 allow two digits for number of call notifications (e.g. 60) 2016-04-25 00:13:09 +02:00
Andreas Shimokawa 36a34bd17c fix remaining strings saying "App Mananger". Closes #290
(I fixed on transifex where possible, unfortunately some strings vanish there from time to time, I guess it is the case when the english string changes)
2016-04-24 11:37:18 +02:00
Andreas Shimokawa abe1c9070f update German and Korean from transifex, thanks! 2016-04-24 11:32:09 +02:00
Andreas Shimokawa 18fe09bb7c make add icon on FAB white 2016-04-23 23:31:19 +02:00
cpfeiffer d5639a0520 Updated translations from transifex (thanks!) 2016-04-21 23:32:49 +02:00
cpfeiffer c573f989d0 Prepare for 0.9.5 2016-04-21 23:13:06 +02:00
cpfeiffer 0427294227 Dynamically enable/disable logging #288 2016-04-18 00:20:40 +02:00
cpfeiffer 98d7237ec3 Display a different notification icon, when disconnected
Better icons welcome :-)
2016-04-15 22:57:13 +02:00
Andreas Shimokawa faa6a9d906 use android:summary="%s" for ListPreferences 2016-04-14 16:44:44 +02:00
Andreas Shimokawa f76a1ba16f allow to switch to dark theme im settings 2016-04-14 16:15:58 +02:00
Andreas Shimokawa 4bcebca744 Work towards dark theme, remove -v21 specific theme definition 2016-04-14 15:21:25 +02:00
Andreas Shimokawa 24cc3725d2 equalize size of connected and disconnected device icons 2016-04-14 11:07:44 +02:00
cpfeiffer f15a97d994 Initial live heartrate measurement in the live activity tab #178 2016-04-12 23:12:50 +02:00
Andreas Shimokawa 58d90c2a66 remove obsolete Holo theming 2016-04-12 13:04:28 +02:00
cpfeiffer 290d695fec Add margin for the shadow of the FAB
Also make the hint color grey, like in the discovery activity
2016-04-10 21:36:32 +02:00
Lem Dulfo 39cba84ab1 Apply gray images on non-connected devices in the list. 2016-04-10 21:11:52 +02:00
Lem Dulfo e5726075a4 Rework device item layout 2016-04-10 21:11:52 +02:00
Lem Dulfo eba1ee6dc6 Device disabled icons 2016-04-10 21:11:52 +02:00
Lem Dulfo 70ed14243f Remove all getActionBar occurences, temporary fix for overlap 2016-04-10 21:11:52 +02:00
Lem Dulfo 83e6e6b85f Add background image for empty ControlCenter 2016-04-10 21:11:41 +02:00
Lem Dulfo 80a21f2ec2 Move Discovery functionality to FAB 2016-04-10 21:11:41 +02:00
Lem Dulfo 5a3004cbce AppCompat and FAB, more Material Design 2016-04-10 21:11:41 +02:00
cpfeiffer 57ecba16f3 Update Changelog for 0.9.4 2016-04-09 10:05:27 +02:00
Andreas Shimokawa 6895c5b776 fix xml changelog 2016-04-06 23:29:59 +02:00
Andreas Shimokawa c7b64b6da7 update Japanese translation from transifex (thanks!) 2016-04-06 23:03:56 +02:00
danielegobbetti d2af3468f0 Add support for new datalog message added in pebble firmware 3.11
This adds support for storing deep sleep data.
2016-04-06 21:48:16 +02:00
cpfeiffer 403f74e59b Enable heart rate charts #232
(And fix some charting issues)
2016-04-04 23:05:20 +02:00
cpfeiffer b54fe53cd5 Merge branch 'heartrate-sleep-support' of https://github.com/computerlyrik/Gadgetbridge into computerlyrik-heartrate-sleep-support 2016-04-03 21:02:45 +02:00
cpfeiffer a4919789ca Add some progress to firmware updating #271 #234
Also: remove the low latency mode for firmware update,
because my Mi1S simply disconnects then.

Still missing in the view: device disconnects
2016-04-03 00:50:45 +02:00
Christian Fischer 20aa7d9ad9 add preference to set hartrate sleep detection 2016-04-02 16:09:30 +02:00
cpfeiffer 776a743285 Move svg file to another place to fix build 2016-03-30 22:06:03 +02:00
cpfeiffer 5f72daa43a Add SVG launcher icon, closes #190 THANKS! 2016-03-29 22:59:22 +02:00
cpfeiffer f8c761068e Updated for 0.9.3 2016-03-29 22:45:46 +02:00
cpfeiffer 8815f0d134 Small cleanups and fixlets. 2016-03-28 23:02:22 +02:00
cpfeiffer bfcfe82f17 Improve pairing activity: #254
- add hint about rebooting phone
- request enabling bluetooth
2016-03-26 20:46:48 +01:00
Andreas Shimokawa 9d29e4db3f bump version, update xml changelog 2016-03-26 10:04:02 +01:00
cpfeiffer 8165751e57 Refactoring to test the double firmware update procedure #234
(while performing the same, known to be working firmware update for Mi1A)

Result: double firmware update procedure works on Mi1A.

Also updated FirmwareTest. Perform all tests not only in the test itself,
but also at runtime before doing the actual update.

Further:
- fix setting of firmwareInfoSent state variable, which prevented installation
  of the section firmware
- make one string translatable
2016-03-25 23:45:27 +01:00
Andreas Shimokawa a208907ba7 update Japanese from transifex (thanks!) 2016-03-25 23:09:25 +01:00
Andreas Shimokawa 98949f3b54 bump version update xml changelog 2016-03-25 11:29:50 +01:00
cpfeiffer 3714ec82da Extracted String "HR: ", (= Heart Rate Firmware Version) 2016-03-24 22:23:16 +01:00
cpfeiffer 71461642f7 Fix enabling "Write Log File" option (closes #261) 2016-03-22 23:07:11 +01:00
Andreas Shimokawa 1aadcb958b update changelog 2016-03-21 20:20:08 +01:00
Andreas Shimokawa f046e66bf1 update Italian translation (thanks @danielegobbetti) 2016-03-20 18:45:04 +01:00
danielegobbetti 4a3547228e Update changelog md file and bring xml file on par with it. 2016-03-20 18:15:45 +01:00
Andreas Shimokawa c5a7ca4b5b properly re-sync all translation files with transifex
(this only reorders stuff since I had to repush broken tranlations to transifex again)
2016-03-20 15:38:05 +01:00
Andreas Shimokawa 4fe9489909 update German translation 2016-03-20 15:34:07 +01:00
Andreas Shimokawa c2ae9ec530 Update French translation from transifex (thanks) 2016-03-18 22:33:36 +01:00
Andreas Shimokawa 1603d60144 right align info icon in control center 2016-03-17 15:28:43 +01:00
Andreas Shimokawa 89591fd5fe update ukrankian translation from transifex (thanks) 2016-03-16 22:54:46 +01:00
Andreas Shimokawa 61e3cf4348 update japanese translation from transifex (thanks!) 2016-03-16 22:53:36 +01:00
Andreas Shimokawa 238e394d21 update french translation from transifex (thanks) 2016-03-16 22:38:27 +01:00
Andreas Shimokawa c224a40d0e update spanish translation from transifex (thanks!) 2016-03-16 22:37:14 +01:00
cpfeiffer e26e6d7b24 Display HR firmware version
Hide fw,hw,hr versions by default and show them on demand with an info
button.
2016-03-16 00:27:32 +01:00
cpfeiffer 91f02ae920 WIP: Lots of work towards double firmware update for Mi 1S #234 2016-03-16 00:27:08 +01:00
Andreas Shimokawa 88982a6174 Merge pull request #235 from Freeyourgadget/feature-configuration
Use external browser for configuring pebble apps
2016-03-08 10:41:46 +01:00
Andreas Shimokawa f1ba50b62a update xml changelog 2016-03-07 01:15:23 +01:00
Andreas Shimokawa 2902e60d51 prepare 0.8.2 2016-03-07 00:55:17 +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
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
0nse ba35679690 / Pad the alarm time with zeroes when toasting. 2016-03-02 00:15:31 +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
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
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
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
danielegobbetti b5a726b777 Change layout of the alarms activity, fixes #216. 2016-02-21 17:21:04 +01:00
danielegobbetti b858e50804 Use strings to store activity shared preferences.
System has trouble with accessing integer in the preferences, so let's not use them.
2016-02-21 13:04:32 +01:00
Andreas Shimokawa 7626667a0a try to blindly fix user preferences screen 2016-02-19 23:48:08 +01:00
Andreas Shimokawa 70ae5a2a3a Pebble: Allow to select the preferred activity tracker via settings activity (Health, Misfit, Morpheuz) 2016-02-18 20:41:22 +01:00
cpfeiffer c86365ee2e Some more Mi Band pairing improvements #180
- listen to notifications early -- the band then actually tells us that
  authentication is required
- check for this after sending user info
- add authentication states to GBDevice
- workaround for event problems in pairing activity (delivered although
  already unregistered)
- BtLEQueue now deals with gatt events coming *before* connectGatt()
  actually returned (namely the connection event)
2016-02-13 00:15:16 +01:00
danielegobbetti ba9e00d2e4 Add strings for activate and deactivate pebble Health 2016-02-06 21:23:21 +01:00
Daniele Gobbetti baf5eee72f Refactored the User Activity-tracking related preferences.
Created a new device-independent class ActivityUser to hold the data
Moved the constants from the miband constant class to the ActivityUser class
Removed the miband-specific in favor of common-prefixed preferences (with upgrade support for legacy values)
Changed the way the gender is stored to an integer value
Removed the hardcoded default values for user data in favor of static fields of the ActivityUser class
2016-02-02 17:33:24 +01:00
Daniele Gobbetti 94c8633bad Move the generic user info outside the miband preferences activity. They still have to be renamed. 2016-02-02 14:32:19 +01:00
Andreas Shimokawa cc64bcf03c updated Korean and French from transifex (thanks!) 2016-01-31 00:57:16 +01:00
Andreas Shimokawa a6ce10d306 translate some string to German, no idea about the rest. 2016-01-21 21:46:14 +01:00
Andreas Shimokawa 2b78b0a67f Merge pull request #213 from schlamar/patch-1
fix spelling
2016-01-21 21:30:45 +01:00
Andreas Shimokawa 31724b3ef2 Update Spanish, French, Japanese and Russian from transifex (thanks!!!) 2016-01-21 21:27:31 +01:00
Marc Schlaich 887b478ec6 fix spelling 2016-01-21 19:09:10 +01:00
Andreas Shimokawa de4ffe8fb0 allow to setup a common suffix for canned replies (defaults to " (canned reply)") 2016-01-11 15:29:12 +01:00
cpfeiffer 824382b385 New translation from transifex, thanks! 2016-01-06 21:26:59 +01:00
Andreas Shimokawa e41a9c208b update spanish translation from transifex (thanks!) 2016-01-02 12:26:15 +01:00
Andreas Shimokawa d7f74851e2 Pebble: allow reinstallation of apps in pbw-cache from App Manager (long press menu)
See #93
Also bump version, update CHANGELOG.md
2016-01-02 12:24:23 +01:00
Andreas Shimokawa 3655c833a9 Add new languages from transifex (Polish and Vietnamese). Thanks!! 2015-12-31 00:57:45 +01:00
Andreas Shimokawa ba446b7b17 update spanish translation from transifex (thanks) 2015-12-31 00:41:22 +01:00
Andreas Shimokawa 11e02fbf5f Pebble: add experimental reconnect support for standby-mode on firmware 3.x
- You should also set reconnect attempts to 0 in preferences when using this.
- It also works when you set flight mode on the pebble, then wait for about 5 minutes and turn BT back on
- Pebble FW 2.x support ist completely untested.
2015-12-27 19:11:40 +01:00
Andreas Shimokawa cf5a0f19ed update launcher icon (thanks @halcyonest) 2015-12-23 21:40:49 +01:00
Daniele Gobbetti 0dda5c214b Add preference for reserved alarm slots (for calendar event notification)
Just this, no logic to support the choice yet.
2015-12-17 16:11:35 +01:00
Andreas Shimokawa f387f7c96b increase canned replies from 8 to 16
NOTE:

Total allowed bytes for all replies = 512 - (reply count - 1)

TODO:
- check with Firmware 2.9.1
- remove last reply that exceeds the 512 bytes limit completly (else it will be partly truncated)
2015-12-17 00:05:42 +01:00
Andreas Shimokawa 87674db5f9 update translation from transifex 2015-12-16 23:21:53 +01:00
Andreas Shimokawa c6e67a9059 update icons again (thanks xphnx) 2015-12-16 23:08:27 +01:00
Ⲇⲁⲛⲓ Φi 53f8221f98 Updated Spanish translation
Added a line translating "Canned replies".
2015-12-15 13:43:16 +01:00
Andreas Shimokawa 3961e32c2b update korean translation from transifex (thanks!) 2015-12-14 23:47:50 +01:00
Andreas Shimokawa 53fb63781e WIP: Work towards SMS replies / canned replies
- Implement the PebbleProtocol side (2.x and 3.x)
- Add Preferences for canned replies

This can be tested by enabling untested features in Pebble Settings
It lets you see and select the replies set up in "Canned Repies" on the Pebble
You will get a "NOT IMPLENTED" message on your Pebble.

THIS DOES NOT ACTUALLY DO ANYTHING USEFUL YET.
2015-12-13 12:03:57 +01:00
Andreas Shimokawa 7cf1e0e004 Add system app icon and make use of it (thanks xphnx!) 2015-12-12 11:59:52 +01:00
Andreas Shimokawa c9d1b9dd4a add new icons (thanks xphnx!) 2015-12-11 21:24:00 +01:00
cpfeiffer 66ed672ad6 Updated translations from transifex (thanks!) 2015-12-08 23:50:36 +01:00
cpfeiffer e642971b4c Support for deleting/emptying the activity database 2015-12-08 23:42:58 +01:00
cpfeiffer 265dcd25eb Release 0.6.28, update translations from transifex (thanks!) 2015-12-07 01:32:39 +01:00
cpfeiffer 365ce61cb6 Support for firmware upgrade/downgrade on Mi 1A.
I hope I didn't break firmware upgrades on some Mi 1 models
other than mine (my hardware revision is 2).

Upgrades for Mi 1S are currently disabled, we need some brave
souls who can help us test this.

Closes #173
Also see: #169
2015-12-07 01:14:06 +01:00
cpfeiffer 5a479c9175 fix typo 2015-12-07 01:13:47 +01:00
Andreas Shimokawa 729555b045 update translations from transifex (thanks) 2015-12-01 09:47:13 +01:00
Nicolò Balzarotti 99c97ccda7 Fixed italian typo 2015-11-20 23:43:24 +01:00
cpfeiffer 753286a341 Update translations from transifex (thanks!) 2015-11-03 20:44:57 +01:00
Alexey Afanasev dde32f5a3f ru locale updated 2015-10-25 14:28:08 +03:00
cpfeiffer 0cd9b0419c Updated translations from transifex (thanks!) 2015-10-23 00:31:19 +02:00
cpfeiffer 52f3ca5253 Always name things positively. Negating things is bad for comprehension :-) 2015-10-19 23:36:10 +02:00
cpfeiffer 4e0fed8857 Improvements to how and when alarms are sent to the device
They are now sent whenever the Alarms activity is finished.
Display "All alarms disabled" when no alarm is enabled.

Unrelated: pass exceptions to GB.toast() where applicable.
2015-10-18 23:52:59 +02:00
Andreas Shimokawa f0a1d5f8a0 update CHANGELOG.md, bump version, pull translation from transifex (thanks!) 2015-10-18 09:22:11 +09:00
cpfeiffer b43e96318a Also support pulldown to sync in ControlCenter #138
Should factor out some common code between ChartsActivity
and ControlCenter, though.
2015-10-18 01:39:25 +02:00
cpfeiffer 45fc2c181c Add pulldown to sync and tabs in the charts activity #138 2015-10-17 17:10:14 +02:00
cpfeiffer 7dce1d62b0 Updated translations from transifex (thanks!) 2015-10-04 19:49:41 +02:00
cpfeiffer 0d27245dd1 Some more translations + reoder live activity layout 2015-10-04 00:17:24 +02:00
cpfeiffer 27aa660ca4 Use proper ellipsis 2015-10-04 00:05:26 +02:00
cpfeiffer 0a7366e458 Updated translations from transifex. Welcome Ukrainian! Thanks! 2015-10-03 21:45:40 +02:00
cpfeiffer baa2d0b27a Displaying live activity data works well enough 2015-10-02 23:38:07 +02:00