Commit Graph

743 Commits (a59e9d887796e43d87b36a614f072374b6d3cc6a)

Author SHA1 Message Date
Daniele Gobbetti 018c2a971e Show the list of alarms as (material design) cards 2017-04-08 18:44:15 +02:00
Daniele Gobbetti 2e98b1396f Do not override the android:* text colors, define our own. This fixes a crash on API 19.
Also define them in the attrs xml file and do some grouping in the colors xml.
It might be we don't need them at all, but for the time being let's keep them around.
2017-04-08 15:49:00 +02:00
Daniele Gobbetti bd833a37d4 Get rid of the v21 special style
We don't need it anymore since we are extending AppCompat.
2017-04-08 15:45:32 +02:00
Alberto de6ce1a3d7 Show all the detailed information in the CardView's overflow
Do not limit the height of the overflow list to 50dp.

It is possible that we will need to limit the maximum allowed height in the future.
2017-04-08 09:03:45 +02:00
Daniele Gobbetti 3004177f44 Update Changelog 2017-04-08 09:00:01 +02:00
Alberto f3edf7559d HPlus: added low battery information (#638)
HPlus: Notification of low battery

I added the notification of low battery HPlus ... specifically, I used
the HPlusConstants.DATA_STATS event on hplusSupport

I also included the status of the device in the list of
gbdevice -> getDeviceInfos
2017-04-06 23:55:29 +02:00
cpfeiffer 5b8624de71 Make pairing optional after discovery
See #642 which might be fixed by not pairing.
2017-04-06 23:47:35 +02:00
Alberto 45eb14684b import export SharedPreferences (#600)
Import and export SharedPreferences

i add function for import and export SharedPreferences setting

when export or import db execute export or import SharedPreferences

for blacklist i preload HashSet
2017-04-05 00:16:17 +02:00
Daniele Gobbetti 8e780fa122 Add some space between the tabs and the chart legend. 2017-04-03 21:24:21 +02:00
Daniele Gobbetti 4ab39e2c00 Just applied automatic code formatting to all layout files. NO content change. 2017-04-03 21:09:35 +02:00
Daniele Gobbetti e556a65ff5 Change layout it to avoid duplicates.
It didn't cause any issue as this layout is not referenced anywhere.
2017-04-03 21:05:27 +02:00
Daniele Gobbetti 0573939c9e Lint: change marginRight to marginEnd 2017-04-03 21:03:31 +02:00
Daniele Gobbetti 96a49f0b7a Fix alignment of action icons and enable proper (vector) scaling. 2017-04-03 18:30:29 +02:00
Daniele Gobbetti e89ba529c3 Apply some Material design guidelines to the charts
- replace the PagerTabStrip with a TabLayout (moved to top and scrollable)
- move the date selection to the bottom
- do not update the activity title as the tab name is much more visible now
2017-04-01 17:47:54 +02:00
Daniele Gobbetti 9a0439c6e0 Apply some Material design guidelines to the app management
- replace the PagerTabStrip with a TabLayout (moved to top)
- change the row element to adhere to the guidelines wrt spacing
- move the FAB a bit and hide it when scrolling down, scroll up to reveal it again
2017-04-01 17:06:38 +02:00
Daniele Gobbetti db4e37d08b Make the drag handle less prominent (grey) 2017-04-01 15:45:30 +02:00
Daniele Gobbetti f80215b37a Use standard recyclerview for app reordering
- allow dragging by using a drag handler (as per best practice)
- remove the custom draglistview dependency
- update to the latest android support libraries
2017-03-31 18:17:53 +02:00
João Paulo Barraca ab3f6c0bbf Fixes #629 2017-03-30 14:45:02 +01:00
Andreas Shimokawa 07272e5a68 update changelog, bump version to 0.18.4 2017-03-27 22:15:03 +02:00
Daniele Gobbetti 46501be249 Enlarge the "hit box" of each icon (replace some margin pixels with padding).
Fixes #615
2017-03-27 13:56:03 +02:00
Daniele Gobbetti d550defcb3 Do not save an alarm as "smart" if the device does not support it (#612)
Opening the activity when a device that does not support smart alarms is connected hides the "smart alarm" toggle. This is now reflected also on the saved data.
This solution is not ideal in case of multiple devices but as long as #577 is not solved its the best we can do.
2017-03-26 17:57:03 +02:00
João Paulo Barraca 75089d7cb4 Add HPlus and LiveView icons to level list 2017-03-24 18:10:05 +00:00
Translation Bot ad82a75312 update translations from transifex (thanks!) 2017-03-19 21:34:57 +01:00
Andreas Shimokawa abd79ef5c9 0.18.3 2017-03-18 17:22:40 +01:00
cpfeiffer cc159cf80f 0.18.2 2017-03-18 11:46:08 +01:00
Andreas Shimokawa b2886b81c9 bump version, update changelog 2017-03-17 22:52:36 +01:00
cpfeiffer f4e955dbe0 Updated changelog for 0.18.0 2017-03-15 23:42:30 +01:00
Translation Bot c1af01a155 update translations from transifex (thanks!) 2017-03-15 21:26:05 +01:00
cpfeiffer d408be5ec8 Mi2: make text/icon notifications confiurable and version dependent 2017-03-15 00:26:39 +01:00
cpfeiffer 5d96df3508 Mi2: add hint about intermediate firmware 1.0.0.53 2017-03-14 23:45:30 +01:00
Alberto 6989ca9db3 Add privacy mode that hides the phone number (#588) 2017-03-14 21:45:36 +01:00
Daniele Gobbetti 5008f08272 Revert "Use constraintlayout for the cardview and few improvements."
This partially reverts commit ecd2c166c2 because the ConstraintLayout dependency it creates problems in travis and in f-droid build system. #thanksgoogle #wecanthavenicethings :(
2017-03-12 09:06:58 +01:00
Andreas Shimokawa 2c1923dd96 change icon for "find lost device" action, add small padding to app manager icon 2017-03-11 23:37:19 +01:00
Translation Bot 6020b591d7 update Italian from transifex 2017-03-11 21:57:38 +01:00
Daniele Gobbetti 0ac77fc0a4 Remove the legacy ControlCenter and its usages. Add New GUI to the changelog. 2017-03-11 19:49:57 +01:00
Daniele Gobbetti 183d89dc47 Show the full changelog when selecting the Changelog entry in the navigation drawer.
Show a line separator between groups of icons in the navigation drawer.
2017-03-11 17:10:51 +01:00
Daniele Gobbetti ecd2c166c2 Use constraintlayout for the cardview and few improvements.
Icons are now bigger.
"find device" is in the icon row
2017-03-11 16:50:12 +01:00
Daniele Gobbetti 2c152e8447 Override textColorPrimary and not textColor as it conflicts with support libraries (e.g. snackbar text).
Further, use textColorPrimary in the graphs instead of textColor.
2017-03-11 16:48:55 +01:00
Daniele Gobbetti 8117caf73c Merge branch 'master' into new_GUI 2017-03-11 16:44:16 +01:00
Andreas Shimokawa fe870ebc77 Move step goal generic, show proper sleep goal in weekly sleep goal
It is now also accessible via "About You" but still remains in the Mi Band Settings
(because it has to be setup initially by a "wizard")
2017-03-11 11:34:03 +01:00
Andreas Shimokawa e6928202c5 update changelog 2017-03-11 10:52:42 +01:00
Translation Bot aa60acbf07 update translations from transifex (THANKS) 2017-03-11 10:48:54 +01:00
Daniele Gobbetti c23b938a9a Update changelog 2017-03-11 10:32:04 +01:00
Translation Bot 05a28cc580 Pebble: Fix screenshots for Android N
This was a regression only in master since we switched to SDK 25

This commit also fixes all other warnings with AbstractDeviceSupport.java
2017-03-10 23:10:40 +01:00
Translation Bot 3abbe12b53 Merge branch 'master' into new_GUI 2017-03-08 21:42:52 +01:00
Andreas Shimokawa f070ce5ce7 fix copy and paste error in xml changelog 2017-03-08 13:49:28 +01:00
Andreas Shimokawa 410fc0e8dc update changelogs 2017-03-08 12:51:14 +01:00
cpfeiffer 94744677c9 Improve discovery hint re Privacy Guard crash 2017-03-05 16:30:31 +01:00
cpfeiffer 09967b2006 Mi2: follow 12h/24h system configuration
=> Remove custom preference option, #573
2017-03-03 22:32:54 +01:00
cpfeiffer 82ea5702c5 Mi2: configurable time format (12h/24h)
Fixes #573
2017-03-03 22:14:28 +01:00
cpfeiffer 72801af0e7 Added Hebrew translation, thanks! 2017-03-03 20:48:13 +01:00
cpfeiffer 4419200624 Mi2: Initial support for textual notifications #560 2017-03-03 20:12:43 +01:00
Andreas Shimokawa 9b2f47d10a Improvements to week sleep chart
Time to close #557
2017-03-03 14:21:59 +01:00
Andreas Shimokawa 55019579ef update translations from Transifex (thanks!) 2017-03-03 09:31:19 +01:00
Andreas Shimokawa 7a3b2899e7 trial and error 2017-03-03 08:58:11 +01:00
Andreas Shimokawa cbebd845cf rename pt_BR to pt_rBR, fixes #569 2017-03-01 17:29:32 +01:00
cpfeiffer c619f17637 Updated translation from transifex (thanks) 2017-02-28 20:38:48 +01:00
cpfeiffer 21f2fed7e8 Add Portuguese translations from Transifex (thanks!) 2017-02-28 20:32:37 +01:00
Daniele Gobbetti 176cf79cc1 Merge branch 'master' into new_GUI
# Conflicts:
#	app/build.gradle
2017-02-26 16:55:54 +01:00
Andreas Shimokawa 08080b02bb Drop support for legacy (pre 0.12.0) database 2017-02-23 22:44:44 +01:00
Andreas Shimokawa e9cb5fd374 WIP sleep in a week chart
Displays minutes which is confusing
Only displays deeps sleep (no idea why)
Is green (which is also confusing)
2017-02-21 16:20:42 +01:00
Andreas Shimokawa db58b32b6f Update two german strings 2017-02-20 22:23:44 +01:00
Andreas Shimokawa 24794c46b1 update translations from transifex (THANKS) 2017-02-20 22:20:22 +01:00
Andreas Shimokawa c23e496db6 bump version, update changelog 2017-02-20 22:19:16 +01:00
cpfeiffer e5d09b9fa2 Automatically start the service on boot (can be turned off)
Fixes #9
2017-02-17 23:24:44 +01:00
Andreas Shimokawa b31dd9b2fa translate some strings to German 2017-02-11 22:52:58 +01:00
Andreas Shimokawa c851f73265 update CHANGELOG 2017-02-11 22:42:39 +01:00
Andreas Shimokawa 3936a7d8a0 update all languages from transifex (THANKS)
French changes merged by a PR are overwritten though this. We didn't have a solution from that - so I will just rely on transifex - sorry.
2017-02-11 22:34:04 +01:00
Andreas Shimokawa ee28ccd4fe Pebble: add a dev option to always and immediately ACK PebbleKit messages to the watch
Might help #509
2017-02-10 23:07:36 +01:00
Andreas Shimokawa f35e3e460d remove K9 receiver as is works better with generic notifications 2017-02-09 17:35:46 +01:00
Andreas Shimokawa 083b8db1ec update Japanese and Spanish from Transifex (THANKS!) 2017-02-09 17:20:29 +01:00
Andreas Shimokawa 2b7162055d bump version, add changelog 2017-02-09 17:18:33 +01:00
cpfeiffer 4f0674d038 Support for alarm clock notifications for Mi1 + Mi2 #538
No support for Pebble and HPlus for now.

Atm relies on the CM deskclock alarm, which nicely broadcasts
events about the current alarm. See
https://github.com/CyanogenMod/android_packages_apps_DeskClock.git
2017-02-07 23:49:10 +01:00
Andreas Shimokawa e2b3394900 made caller privacy pebble setting generic 2017-02-07 10:15:23 +01:00
João Paulo Barraca 475426c0ed Merge branch 'master' into hplus-preferences 2017-02-06 01:39:45 +00:00
João Paulo Barraca a3cc84c01d HPlus: add device specific preferences and icon 2017-02-06 01:33:15 +00:00
Daniele Gobbetti b7bad268c2 Pebble: support weather for Obsidian
Ref: #482
2017-02-05 17:21:04 +01:00
Daniele Gobbetti dccd6c1b06 Pebble: implement privacy modes
The user can choose whether to completely hide the notification text or push it off-screen. This also effects the incoming call notification.
Fixes #370
2017-02-05 16:37:59 +01:00
Daniele Gobbetti 3fcf4938b9 Changelog for Music receiver refactoring 2017-02-01 23:10:23 +01:00
cpfeiffer f9779d9695 Improve some messages 2017-01-26 23:22:57 +01:00
Andreas Shimokawa f81ff8591b Pebble: add a FAB in App Manager which launches a file manager to chose a file
This is similar to #247 but simpler and using a FAB, also it explicitly targets our Activity instead of allowing to open a video in a video player which using this feature
Also suggested in #520
2017-01-26 17:23:28 +01:00
Andreas Shimokawa cfa08d4fc4 fix changelog 2017-01-26 14:38:38 +01:00
cpfeiffer 5d3028c123 Mi1+2: Updated changelog 2017-01-26 00:17:50 +01:00
cpfeiffer 4c26c2933b Mi Band 1+2: make BT pairing optional
(Attemts to fix #512, #514, #518)
2017-01-26 00:16:38 +01:00
Andreas Shimokawa 083cbdbfbe update Spanish and Japanese from transifex (THANKS) 2017-01-25 22:17:35 +01:00
Andreas Shimokawa 2b632d8b39 bump version, update changelog 2017-01-25 22:15:21 +01:00
Andreas Shimokawa 019da98dfa escape ' in strings.xml 2017-01-22 22:40:24 +01:00
Andreas Shimokawa c39318af05 CHANGELOG, bump version, improve strings about transliteration 2017-01-22 22:30:40 +01:00
Daniele Gobbetti a7a37fd9c8 Pebble: add a method to use the JSON keys instead of hardcoding the key ID.
This needs parsing the json but it is only done once. So far only Timestyle apphandler uses the new approach and this fi_xes the issue reported here https://github.com/Freeyourgadget/Gadgetbridge/issues/482#issuecomment-273757492
Fixes also a potential crash when the message for pebble contained a null key in one of the Pairs
2017-01-20 19:17:00 +01:00
Carsten Pfeiffer 31ccaf361b Merge pull request #500 from ivanovlev/master
Transliterate unsupported Russian characters into English
2017-01-19 23:42:56 +01:00
Andreas Shimokawa cf45c665a5 bump version update CHANGELOG 2017-01-18 22:17:59 +01:00
ivanovlev 0094805359 ChangeLog 2017-01-17 23:24:03 +03:00
Andreas Shimokawa f19541c654 update translations from transifex (minus French patient) 2017-01-15 21:43:06 +01:00
ivanovlev bfe24dd9f0 Refactoring 2017-01-15 22:46:30 +03:00
ivanovlev 2de9580dea Added diacritic convertation into Transliteration 2017-01-15 22:10:12 +03:00
ivanovlev d08972e82a StyleCop 2017-01-15 13:41:38 +03:00
ivanovlev 01d9a63e8b Merge branch 'master' into master 2017-01-15 12:27:25 +03:00
ivanovlev 074394cba4 Transliteration is moved to a separate class, added settings option 2017-01-15 12:24:36 +03:00
Andreas Shimokawa b0991d3869 fix typo 2017-01-15 00:33:54 +01:00
Andreas Shimokawa ce67bf2c52 Pebble: make the feature to automatically delete notifications from the pebble optional
(This is not pebble specific at all but as long as other devices do not use that it will stay in the Pebble specific preference screen)
2017-01-15 00:10:40 +01:00
Daniele Gobbetti 4dfef382a9 Pebble: change the overflow menu of the weather system app.
If the weather notification app is not installed, link to fdroid (app if installed, web page of the app if not).
If the weather notification app is installed, show the options to activate and deactivate it.
2017-01-14 18:19:41 +01:00
Daniele Gobbetti 0152e7ce02 Make the text in the Weather configuration mock activity a bit more clear. 2017-01-14 15:10:57 +01:00
Daniele Gobbetti cb3460912f Update changelog 2017-01-14 14:53:56 +01:00
Andreas Shimokawa 23a1663384 fix wording (style -> skin) 2017-01-14 11:16:01 +01:00
ivanovlev c873312831 Transliterate unsupported Russian characters into English 2017-01-14 02:39:36 +03:00
cpfeiffer 1e24fa7ad8 Dummy weather notifucation config activity 2017-01-14 00:26:47 +01:00
Andreas Shimokawa 5e74338efe Add HPLus stuff to changelog 2017-01-11 21:43:42 +01:00
Andreas Shimokawa bcc4fa8e9c update CHANGELOG 2017-01-10 23:28:55 +01:00
Andreas Shimokawa 8f988de49d update changelogs 2017-01-09 18:39:37 +01:00
Andreas Shimokawa f05b51fd83 Pebble: Add option to disable call display
Closes #494
2017-01-09 14:41:02 +01:00
Andreas Shimokawa a2c052090b update Japanese and Spanish from transifex (ignore French, sorry guys, but I dont know what is going on with CA/FR fights) 2017-01-09 14:22:54 +01:00
Andreas Shimokawa f56a4d878e fix xml for real (maybe) 2017-01-09 14:19:45 +01:00
Andreas Shimokawa 6619a16b63 fix xml 2017-01-09 14:18:58 +01:00
Andreas Shimokawa 98dc1e127e update changelogs 2017-01-09 14:11:13 +01:00
cpfeiffer 7b1ea68b62 Remove obsolete layout params
Closes #495 (thanks!)
2017-01-08 21:45:27 +01:00
Daniele Gobbetti c1abaaa4e0 Add support for hiding the icon in the status bar and the notification on the lockscreen.
This adds proper settings to toggle GB behavior and closes #460.
2017-01-08 15:51:56 +01:00
Daniele Gobbetti e477d22c88 Pebble: support the system weather app.
- enable/disable weather app from the watchapp list
- convert weather data to a format that can be displayed by the system app

TODO: send the weather data periodically
2016-12-30 20:14:13 +01:00
cpfeiffer b2d9c357e7 Update changelog for Subsonic #474 2016-12-29 23:46:18 +01:00
cpfeiffer cde3b36968 Updated translations from transifex (thanks!) 2016-12-29 23:30:18 +01:00
cpfeiffer bf777800d2 Update changelog for #478 2016-12-29 23:27:49 +01:00
Daniele Gobbetti 5f48b89dc5 Update changelog 2016-12-29 17:12:44 +01:00
cpfeiffer 9cea2fc3bd Update changelog for 0.16 2016-12-28 22:54:07 +01:00
Andreas Shimokawa 4925dec9f6 bump version, update CHANGELOG, not yet ready for release 2016-12-25 23:19:37 +01:00
Andreas Shimokawa 5fb05e8546 update xml changelog for 0.15.1 also 2016-12-24 23:19:22 +01:00
Andreas Shimokawa 0bdcdbae54 update CHANGELOG, bump version 2016-12-24 23:04:01 +01:00
Andreas Shimokawa 8c80146e16 translate some German strings 2016-12-21 22:41:26 +01:00
Andreas Shimokawa 119028827d update Japanese from transifex (thanks) 2016-12-21 21:51:20 +01:00
Andreas Shimokawa 2b777ecba9 update Spanish from transifex (THANKS) 2016-12-20 22:58:16 +01:00
Andreas Shimokawa 7cb2425ffd bump version, update changelogs 2016-12-19 23:40:12 +01:00
Andreas Shimokawa bd5dc6bfbc Pebble 2/LE: Add setting to limit the MTU (for debugging broken BLE stacks) 2016-12-19 23:28:06 +01:00
Daniele Gobbetti 771ca948a4 Add changelog regarding #456 2016-12-19 18:20:32 +01:00
cpfeiffer d12103e95d Merge branch 'master' into new_GUI 2016-12-15 20:31:04 +01:00
cpfeiffer 6e633e948a Updated translations from transifex (Thanks!) 2016-12-11 23:36:41 +01:00
cpfeiffer daf6d12c62 Updated changelog for Mi2 fw update 2016-12-11 02:26:45 +01:00
Daniele Gobbetti 388c47ea29 Add some changelog items 2016-12-09 20:25:00 +01:00
Andreas Shimokawa 6d713a9be5 update Japanese and Spanish from transifex (thanks) 2016-12-09 20:15:28 +01:00
Andreas Shimokawa f735739396 bump version, update changelog, add pebble time 2 to changelog as it should work 2016-12-08 19:27:25 +01:00
Daniele Gobbetti 13b761c073 Liveview: add notice to changelog 2016-12-08 09:17:45 +01:00
Andreas Shimokawa 9e8aae3b2c update Japanese from transifex (thanks!) 2016-12-05 22:51:48 +01:00
Andreas Shimokawa 17e9c7e331 fix strings accidentially swapped 2016-12-04 17:26:55 +01:00
Andreas Shimokawa a691cd0ff7 Pebble: add option to enable applogs (debug messags from pebble apps) 2016-12-04 16:55:27 +01:00
Andreas Shimokawa 4763731c4e update changelog, bump version 2016-12-02 23:48:58 +01:00
Uwe Hermann 6dd74d04ac code/docs: Consistently use the "Gadgetbridge" spelling.
"Gadgetbridge" appears to be the common spelling as per most docs,
code comments, wiki, and so on. Thus avoid using "GadgetBridge".
2016-12-01 17:28:51 +01:00
Uwe Hermann 1352575f12 changelog_master.xml: Random typo and consistency fixes. 2016-12-01 17:22:29 +01:00
cpfeiffer 092012ab31 Changelog for 0.14.3 2016-11-29 23:28:15 +01:00
Andreas Shimokawa 1862b59dad bump version and add changelog 2016-11-29 22:36:05 +01:00
Carsten Pfeiffer d9e20b161a Merge pull request #437 from Almtesh/master
French translation.
2016-11-27 21:02:07 +01:00
Andreas Shimokawa 34ad088b88 Pebble: Experimental support for BLE on all models via dev option in Pebble Settings
HOWTO:
1) Pair you normal Pebble (not necessary if already done), make sure it was connected once
2) Unpair your LE pebble if already paired
3) Switch on "Always prefer BLE" in Pebble Settings
4) Tap on the + in Control Center to add a new device
5) Pair your Pebble-LE XXXX or Pebble Time LE XXXX inside Gadgetbridge's Device Discovery actibity

Now Gadgetbridge will connect to your LE Pebble when tapping on Pebble XXXX if "Always Prefer BLE" option is enabled.
You can easily switch back to classic LE by turning that option off again
2016-11-27 09:49:28 +01:00
Gilles Émilien MOREL c84003c1c0 Allumer instead of Alumer 2016-11-25 19:37:21 +01:00
Andreas Shimokawa b2e86ca061 fix xml in changelog 2016-11-25 14:55:30 +01:00