diff --git a/apps/UI4swatch/Changelog b/apps/UI4swatch/ChangeLog similarity index 100% rename from apps/UI4swatch/Changelog rename to apps/UI4swatch/ChangeLog diff --git a/apps/color_catalog/Changelog b/apps/color_catalog/ChangeLog similarity index 100% rename from apps/color_catalog/Changelog rename to apps/color_catalog/ChangeLog diff --git a/apps/gpstouch/ChangeLog b/apps/gpstouch/ChangeLog index e0cd31e10..e4a0bdfe8 100644 --- a/apps/gpstouch/ChangeLog +++ b/apps/gpstouch/ChangeLog @@ -1,2 +1,2 @@ -0.01: New App!... -0.02: First update with ChangeLog Added +0.01: First version +0.02: Enchanced contrast of icon image diff --git a/apps/gpstouch/Changelog b/apps/gpstouch/Changelog deleted file mode 100644 index e4a0bdfe8..000000000 --- a/apps/gpstouch/Changelog +++ /dev/null @@ -1,2 +0,0 @@ -0.01: First version -0.02: Enchanced contrast of icon image diff --git a/apps/hidmsicswipe/changelog b/apps/hidmsicswipe/ChangeLog similarity index 100% rename from apps/hidmsicswipe/changelog rename to apps/hidmsicswipe/ChangeLog diff --git a/apps/messages/ChangeLog b/apps/messages/ChangeLog index 14f667ad7..27db248e7 100644 --- a/apps/messages/ChangeLog +++ b/apps/messages/ChangeLog @@ -53,4 +53,6 @@ 0.38: Add telegram foss handling 0.39: Set default color for message icons according to theme 0.40: Use default Bangle formatter for booleans -0.41: Add notification icons in the widget \ No newline at end of file +0.41: Add notification icons in the widget +0.42: Fix messages ignoring "Vibrate: Off" setting +0.43: Add new Icons (Airbnb, warnwetter) diff --git a/apps/messages/lib.js b/apps/messages/lib.js index 3c6fbc880..5febfa686 100644 --- a/apps/messages/lib.js +++ b/apps/messages/lib.js @@ -112,6 +112,7 @@ exports.getMessageImage = function(msg) { */ if (msg.img) return atob(msg.img); var s = (msg.src||"").toLowerCase(); + if (s=="airbnb") return atob("GBgBAAAAAAAAAAAAADwAAH4AAGYAAMMAAIEAAYGAAYGAAzzAA2bABmZgBmZgDGYwDDwwCDwQCBgQDDwwB+fgA8PAAAAAAAAAAAAA"); if (s=="alarm" || s =="alarmclockreceiver") return atob("GBjBAP////8AAAAAAAACAEAHAOAefng5/5wTgcgHAOAOGHAMGDAYGBgYGBgYGBgYGBgYDhgYBxgMATAOAHAHAOADgcAB/4AAfgAAAAAAAAA="); if (s=="bibel") return atob("GBgBAAAAA//wD//4D//4H//4H/f4H/f4H+P4H4D4H4D4H/f4H/f4H/f4H/f4H/f4H//4H//4H//4GAAAEAAAEAAACAAAB//4AAAA"); if (s=="calendar") return atob("GBiBAAAAAAAAAAAAAA//8B//+BgAGBgAGBgAGB//+B//+B//+B9m2B//+B//+Btm2B//+B//+Btm+B//+B//+A//8AAAAAAAAAAAAA=="); @@ -138,6 +139,7 @@ exports.getMessageImage = function(msg) { if (s=="to do") return atob("GBgBAAAAAAAAAAAwAAB4AAD8AAH+AAP/DAf/Hg//Px/+f7/8///4///wf//gP//AH/+AD/8AB/4AA/wAAfgAAPAAAGAAAAAAAAAA"); if (s=="twitch") return atob("GBgBH//+P//+P//+eAAGeAAGeAAGeDGGeDOGeDOGeDOGeDOGeDOGeDOGeAAOeAAOeAAcf4/4f5/wf7/gf//Af/+AA/AAA+AAAcAA"); if (s=="twitter") return atob("GhYBAABgAAB+JgA/8cAf/ngH/5+B/8P8f+D///h///4f//+D///g///wD//8B//+AP//gD//wAP/8AB/+AB/+AH//AAf/AAAYAAA"); + if (s=="warnapp") return atob("GBgBAAAAAAAAAAAAAH4AAP8AA//AA//AD//gP//gf//4f//+/+P+/8H//8n//4n/fxh/fzg+Pj88Dn44AA4AAAwAAAwAAAgAAAAA"); if (s=="whatsapp") return atob("GBiBAAB+AAP/wAf/4A//8B//+D///H9//n5//nw//vw///x///5///4///8e//+EP3/APn/wPn/+/j///H//+H//8H//4H//wMB+AA=="); if (s=="wordfeud") return atob("GBgCWqqqqqqlf//////9v//////+v/////++v/////++v8///Lu+v8///L++v8///P/+v8v//P/+v9v//P/+v+fx/P/+v+Pk+P/+v/PN+f/+v/POuv/+v/Ofdv/+v/NvM//+v/I/Y//+v/k/k//+v/i/w//+v/7/6//+v//////+v//////+f//////9Wqqqqqql"); if (s=="youtube") return atob("GBgBAAAAAAAAAAAAAAAAAf8AH//4P//4P//8P//8P5/8P4/8f4P8f4P8P4/8P5/8P//8P//8P//4H//4Af8AAAAAAAAAAAAAAAAA"); @@ -149,6 +151,7 @@ exports.getMessageImage = function(msg) { exports.getMessageImageCol = function(msg,def) { return { // generic colors, using B2-safe colors + "airbnb": "#f00", "alarm": "#fff", "mail": "#ff0", "music": "#f0f", diff --git a/apps/messages/metadata.json b/apps/messages/metadata.json index a423ecafb..0ff2603c2 100644 --- a/apps/messages/metadata.json +++ b/apps/messages/metadata.json @@ -1,7 +1,7 @@ { "id": "messages", "name": "Messages", - "version": "0.41", + "version": "0.43", "description": "App to display notifications from iOS and Gadgetbridge/Android", "icon": "app.png", "type": "app", diff --git a/apps/messages/widget.js b/apps/messages/widget.js index 13eb1c0ef..f7d581ad9 100644 --- a/apps/messages/widget.js +++ b/apps/messages/widget.js @@ -62,7 +62,9 @@ draw:function(recall) { Bangle.drawWidgets(); },buzz:function() { if ((require('Storage').readJSON('setting.json',1)||{}).quiet) return; // never buzz during Quiet Mode - require("buzz").pattern((require('Storage').readJSON("messages.settings.json", true) || {}).vibrate || ":"); + var pattern = (require('Storage').readJSON("messages.settings.json", true) || {}).vibrate; + if (pattern === undefined) { pattern = ":"; } // pattern may be "", so we can't use || ":" here + require("buzz").pattern(pattern); },touch:function(b,c) { var w=WIDGETS["messages"]; if (!w||!w.width||c.xw.x+w.width||c.yw.y+w.iconwidth) return; diff --git a/apps/messagesmusic/ChangeLog b/apps/messagesmusic/ChangeLog index 5560f00bc..9f4cafb0e 100644 --- a/apps/messagesmusic/ChangeLog +++ b/apps/messagesmusic/ChangeLog @@ -1 +1,2 @@ 0.01: New App! +0.02: Remove one line of code that didn't do anything other than in some instances hinder the function of the app. diff --git a/apps/messagesmusic/README.md b/apps/messagesmusic/README.md index 7aa9209df..85608118d 100644 --- a/apps/messagesmusic/README.md +++ b/apps/messagesmusic/README.md @@ -6,9 +6,9 @@ Making the music controls accessible this way lets one start a music stream on t It is suggested to use Messages Music along side the app Quick Launch. -Messages Music v0.01 has been verified to work with Messages v0.31 on Bangle.js 2 fw2v13. +Messages Music v0.02 has been verified to work with Messages v0.41 on Bangle.js 2 fw2v14. -Music Messages should work with forks of the original Messages app. At least as long as functions pushMessage() in the library and showMusicMessage() in app.js hasn't been changed too much. +Messages Music should work with forks of the original Messages app. At least as long as functions pushMessage() in the library and showMusicMessage() in app.js hasn't been changed too much. Messages app is created by Gordon Williams with contributions from [Jeroen Peters](https://github.com/jeroenpeters1986). diff --git a/apps/messagesmusic/app.js b/apps/messagesmusic/app.js index a6f7e075e..27f3f6e4d 100644 --- a/apps/messagesmusic/app.js +++ b/apps/messagesmusic/app.js @@ -1,7 +1,6 @@ let showMusic = () => { Bangle.CLOCK = 1; // To pass condition in messages library require('messages').pushMessage({"t":"add","artist":" ","album":" ","track":" ","dur":0,"c":-1,"n":-1,"id":"music","title":"Music","state":"play","new":true}); - Bangle.CLOCK = undefined; }; var settings = require('Storage').readJSON('messages.settings.json', true) || {}; //read settings if they exist else set to empty dict diff --git a/apps/messagesmusic/metadata.json b/apps/messagesmusic/metadata.json index edc6835ed..c29ffbc34 100644 --- a/apps/messagesmusic/metadata.json +++ b/apps/messagesmusic/metadata.json @@ -1,7 +1,7 @@ { "id": "messagesmusic", "name":"Messages Music", - "version":"0.01", + "version":"0.02", "description": "Uses Messages library to push a music message which in turn displays Messages app music controls", "icon":"app.png", "type": "app", diff --git a/apps/nato/changelog.txt b/apps/nato/ChangeLog similarity index 100% rename from apps/nato/changelog.txt rename to apps/nato/ChangeLog diff --git a/apps/owmweather/README.md b/apps/owmweather/README.md index 694724c4a..ba0427455 100644 --- a/apps/owmweather/README.md +++ b/apps/owmweather/README.md @@ -1,12 +1,12 @@ -# Open Weather Map weather provider +# OpenWeatherMap weather provider -This updates [Weather](https://banglejs.com/apps/#weather) with data from the Open Weather Map API +This updates [Weather](https://banglejs.com/apps/#weather) with data from the OpenWeatherMap API ## Usage Just install and configure the app. This needs an internet-enabled Gadgetbridge version. Install [My Location](https://banglejs.com/apps/#mylocation) to change the location for the weather requests. -Install one of the text input libraries to modify the API key in the settings +Install one of the text input libraries to set the API key in the app settings or use the web interface. ## Creator diff --git a/apps/owmweather/interface.html b/apps/owmweather/interface.html index f629a5be9..3f9467a83 100644 --- a/apps/owmweather/interface.html +++ b/apps/owmweather/interface.html @@ -2,14 +2,28 @@ - -

Set OWM API key

-

-

+ +

Set OpenWeatherMap (OWM) API key

+

+ +

Where to get your personal API key?

+

Go to https://home.openweathermap.org/users/sign_up and sign up for a free account.
+ After registration you can login and optain your personal API key.

+