Commit Graph

2773 Commits

Author SHA1 Message Date
cpfeiffer 1cadb692fe Wild guess at trying to fix spontaneous reboots during discovery #412 2016-10-28 23:48:13 +02:00
cpfeiffer a941a6cd5f Make some strings translatable 2016-10-28 23:47:39 +02:00
cpfeiffer e75f4f84e1 Hint: you need to enable location for device discovery. 2016-10-28 23:27:25 +02:00
cpfeiffer 3db9748136 Mi2: Attempt to support non-repetitive alarms #323 2016-10-28 23:18:10 +02:00
cpfeiffer e5ade5c0ef Add Alamr.isRepetitive() convenience method 2016-10-28 22:40:34 +02:00
cpfeiffer 1352403089 Mi2: Allow for disabling alarms #323 2016-10-28 22:26:07 +02:00
cpfeiffer 544ec4958b Allow multiple lines for name in "item_with_details" (fw upgrade log) 2016-10-28 22:18:08 +02:00
cpfeiffer afe5f17e5a bump gradle build tools to 2.2.2 2016-10-28 21:39:40 +02:00
Carsten Pfeiffer 247023a57f Merge pull request #423 from xzovy/patch-1
Fixed typo in README.md
2016-10-28 21:18:25 +02:00
xzovy d73b3137cb Fixed typo in README.md
Fixed typo on line 40.
2016-10-28 14:56:56 -04:00
Andreas Shimokawa 300d0466af Merge pull request #422 from roidelapluie/fcb
Mark 3rd party facebook apps notifications as Facebook
2016-10-28 10:45:40 +02:00
Andreas Shimokawa 55daaf247c Merge pull request #420 from atkyritsis/master
Removed duplicate if statement.
2016-10-28 10:45:09 +02:00
Julien Pivotto 67937dd6ee Mark 3rd party facebook apps notifications as Facebook
- Toffeed: https://f-droid.org/repository/browse/?fdid=me.jakelane.wrapperforfacebook
- Slimsocial: https://f-droid.org/repository/browse/?fdid=it.rignanese.leo.slimfacebook
- MaterialFBook: https://f-droid.org/repository/browse/?fdid=me.zeeroooo.materialfb

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2016-10-28 07:23:54 +02:00
Andreas Shimokawa 8603c3ffa0 Merge branch 'master' into new_GUI 2016-10-28 00:53:03 +02:00
Andreas Shimokawa 9a41d4d7a2 bump version, update changelog 2016-10-28 00:51:29 +02:00
Andreas Shimokawa d6b9e6d64b Pebble: Support sending byte arrays from app configuration data
Also add debug output if trying to encode unknown classes in PebbleProtocol

(Fixes #421)
2016-10-28 00:32:45 +02:00
Andreas Shimokawa bdf403210e Pebble: Fix configuration of certain pebble apps
for appkeys with index 0 it was assumed they were not found becaus JSONObject.getOpt() returns 0 if not found.
Use the getOpt() method variant with a fallback parameter instead and set that to -1 fixes the problem.

(Also fixes a missing debug output)

Fixes #419
2016-10-28 00:03:50 +02:00
atkyritsis 45cf4e5396 Removed duplicate if statement. 2016-10-27 18:44:27 +02:00
Andreas Shimokawa 4edfc44d64 Merge branch 'master' into new_GUI 2016-10-26 00:08:05 +02:00
Andreas Shimokawa d3571d53b2 Mi Band: allow to remove mac address from preferences
(this allows to clear an extra mi band from the control center)

Evil hack...
2016-10-26 00:03:54 +02:00
Daniele Gobbetti ee1cf74a7b ControlCenterv2: hotfix for referenced textview hidden by previous commit 2016-10-25 18:03:45 +02:00
Daniele Gobbetti d467b37493 ControlCenterv2: further steps:
Close drawer before launching activities (feels sloow).
Implement device deletion (untested).
Add app-management icon, remove tap-connected-device-for-primary-activity, hidden (not removed) text hint.
Use level-list for device icon.
Use the new control center when tapping GB notifications.
Added icons to the legacy control center context menu, perhaps it can be embedded in the card?
2016-10-25 17:49:21 +02:00
Daniele Gobbetti d93a5be57a Merge branch 'master' into new_GUI 2016-10-25 17:43:00 +02:00
Daniele Gobbetti 1f77e3e84f Coordinator: add explicit methods to determine if the device supports app management and which class is responsible for it. 2016-10-25 17:39:11 +02:00
cpfeiffer 59212b54c8 CCv2: Less contrast by using grey icons.
Delete and Find Device icons are even lighter
2016-10-24 21:09:39 +02:00
cpfeiffer d302a0a5c3 Merge branch 'master' into new_GUI 2016-10-24 20:03:24 +02:00
cpfeiffer a39e3a035c Move device deletion logic to DeviceCoordinator and subclasses 2016-10-24 20:02:44 +02:00
Daniele Gobbetti cde09d71bc Fixed KitKat crashes and changed to RelativeLayout. Using CCv2 as default launcher activity.
Added lost-device icon and action, added background to buttons.
Overflow reveal is now animated inside the card.
Bind connect and disconnect actions to device-icon (short press to connect/launch default activity; long press to disconnect).
2016-10-24 17:41:56 +02:00
cpfeiffer 84f36b528a Merge remote-tracking branch 'origin/master' into new_GUI 2016-10-24 11:32:39 +02:00
cpfeiffer de46555e37 Mi2: display heart rate result from Debug screen as a toast #323 2016-10-24 00:23:59 +02:00
cpfeiffer b20a9c9ccc Some initial hacky support for hr readings (Debug activity only)
My Mi2 stopped reporting hr values a while ago though, even on-device.
2016-10-23 23:53:48 +02:00
cpfeiffer 069abe17b7 Release 0.13.6 2016-10-23 23:14:05 +02:00
cpfeiffer 17b70a1b82 Support for more than one alarm #323
Smart alarms not supported yet.
2016-10-23 23:05:54 +02:00
cpfeiffer 3a12ffd42d Mi2: Fix for alarm enablement. Was too late, apparently. 2016-10-23 22:38:57 +02:00
Daniele Gobbetti c6ce516f6a Upgrade support libraries, hopefully fix crashes on KitKat. 2016-10-23 21:00:51 +02:00
Daniele Gobbetti c20747226f Add dark theme 2016-10-21 23:01:10 +02:00
Daniele Gobbetti 00938baf7d Further refinements:
- disconnect by long-pressing device icon (temporary)
- use level-list to show battery level + charging
- remove padding around cards list
- use style colors for action icons (supports dark theme)
- add secondary text to the themes, even though the color is the same
- replace the info icon with three vertical dots
2016-10-21 17:44:36 +02:00
Andreas Shimokawa 68f83d3f33 Merge branch 'master' into new_GUI 2016-10-21 13:21:32 +02:00
Andreas Shimokawa 192b8e52ed update hungarian from transifex
(that is just transifex having reformatted the translation I tx pushed)
2016-10-21 13:14:09 +02:00
Andreas Shimokawa d08012709f bump version, add changelog 2016-10-21 13:13:08 +02:00
Daniele Gobbetti 503bcee7b4 Support record version 13 (firmware 4.2) 2016-10-21 13:07:07 +02:00
Daniele Gobbetti 371f0ecdd0 Use a new GUI for the controlcenter.
The existing logic was mostly ported to the new activity, with the exception of device deletion (and all TODOs).
2016-10-21 13:01:30 +02:00
cpfeiffer ee24443b6a Make it really clear, that only the first alarm works #323 2016-10-21 01:01:30 +02:00
cpfeiffer 15954d4561 Initial support for alarms (one, atm) #323
(repetitinos not tested yet)
2016-10-21 00:50:41 +02:00
cpfeiffer 839da4f06a Shuffle some logging things around 2016-10-21 00:50:41 +02:00
cpfeiffer c87d08bf4b Small refactoring for initial support for Mi2 Alarms #323 2016-10-21 00:50:41 +02:00
Andreas Shimokawa 04673923b6 Merge pull request #414 from geripgeri/hungarian-translation
Hungarian translation updated.
2016-10-19 20:39:37 +02:00
Andreas Shimokawa 858714d73d update Spanish, Japanese and Italian from transifex (thanks!) 2016-10-19 20:16:27 +02:00
Andreas Shimokawa cc2b22cfc7 prefer BIG_TEXT extra from notification only for email
(Some messengers accumulate messages in BIG_TEXT)
2016-10-19 18:38:26 +02:00
Gergely Peidl bca408f366 Hungarian translation updated. 2016-10-19 13:38:45 +02:00