From 7664036fa7677033bbd23da9f061b78c4cd445ab Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Mon, 13 May 2024 22:42:21 +0200 Subject: [PATCH 01/21] mysetup: set up watch to my preference --- apps/mysetup/ChangeLog | 2 + apps/mysetup/README.md | 29 ++++++++++++ apps/mysetup/app-icon.js | 1 + apps/mysetup/app.png | Bin 0 -> 1620 bytes apps/mysetup/autoreset.json | 1 + apps/mysetup/backswipe.json | 1 + apps/mysetup/dtlaunch.json | 1 + apps/mysetup/fastload.json | 1 + apps/mysetup/lightswitch.json | 1 + apps/mysetup/messages.settings.json | 1 + apps/mysetup/metadata.json | 68 ++++++++++++++++++++++++++++ apps/mysetup/quicklaunch.json | 1 + apps/mysetup/recorder.json | 1 + apps/mysetup/setting.json | 1 + apps/mysetup/widbt_notify.json | 1 + 15 files changed, 110 insertions(+) create mode 100644 apps/mysetup/ChangeLog create mode 100644 apps/mysetup/README.md create mode 100644 apps/mysetup/app-icon.js create mode 100644 apps/mysetup/app.png create mode 100644 apps/mysetup/autoreset.json create mode 100644 apps/mysetup/backswipe.json create mode 100644 apps/mysetup/dtlaunch.json create mode 100644 apps/mysetup/fastload.json create mode 100644 apps/mysetup/lightswitch.json create mode 100644 apps/mysetup/messages.settings.json create mode 100644 apps/mysetup/metadata.json create mode 100644 apps/mysetup/quicklaunch.json create mode 100644 apps/mysetup/recorder.json create mode 100644 apps/mysetup/setting.json create mode 100644 apps/mysetup/widbt_notify.json diff --git a/apps/mysetup/ChangeLog b/apps/mysetup/ChangeLog new file mode 100644 index 0000000000..b783a79175 --- /dev/null +++ b/apps/mysetup/ChangeLog @@ -0,0 +1,2 @@ +0.01: New App! +0.02: update to my current preferences. diff --git a/apps/mysetup/README.md b/apps/mysetup/README.md new file mode 100644 index 0000000000..278665743d --- /dev/null +++ b/apps/mysetup/README.md @@ -0,0 +1,29 @@ +# App Name + +Describe the app... + +Add screen shots (if possible) to the app folder and link then into this file with ![](.png) + +## Usage + +Before installing this do: + +1. Factory reset the watch. +2. Remove all apps via the "More..." tab in the App Loader. +3. Make sure minification is turned off on the App Loader. + +## Features + +Name the function + +## Controls + +Name the buttons and what they are used for + +## Requests + +Name who should be contacted for support/update requests + +## Creator + +thyttan diff --git a/apps/mysetup/app-icon.js b/apps/mysetup/app-icon.js new file mode 100644 index 0000000000..49232b8386 --- /dev/null +++ b/apps/mysetup/app-icon.js @@ -0,0 +1 @@ +require("heatshrink").decompress(atob("mEwwJC/AH4A/AH4AgA==")) diff --git a/apps/mysetup/app.png b/apps/mysetup/app.png new file mode 100644 index 0000000000000000000000000000000000000000..582cb2e0853a5a2899a3afbd7eb19cde2ee7f6a0 GIT binary patch literal 1620 zcmV-a2CMmrP)1gXjloC|3_d8m;N2OpV(|i0q4YwBna<2! zK9thw%-*|urnNbV{Gax^?eD+#{x0kLJ~)lj_;W+1>qV*k8akT^^dvctZccUyj4}H~#M%Wwee_v` zHMv7o%BM8@dBrLshn{wGD9BDl?^eV5vSM3T96;NnHvtc6La=(qzq)xrX1d8bK-TN- zrd_f$_O`9nEmS+_S7HTXK<&u;LDIW|qlN&KJvM}tt6TVVqL-AvNv`B*{NzNpBfSQwQP5~Sf(Dp@Vq1+3Q`N9wBQN2`J_?M^u0FIMlt?p^8 z%U3%80kIwg!T{E9<8J18S&$k1`eO)@HP+=TZKo(z3_A3VFYJB=sn`2^Q$mRE>02(+W)np;)L1!GUvU2{O{<&F_nE6Qe#D~Xf|dD z+?d3-D1(IUiL`C2;PPv4CKw8H)v7h8^obJ&Z6D0CjVUe8Xq_NAymxUyPAMU^CCrIu z%1M71EC`5o2if_~7E&h??0jeQ1Y3N6p?}G72FmS*)xQD)%wBE=2tW6@(+MTi!fk9H1pWKew2(jTXVu4%vk26QvSQCbGmk`Z)Y! zBIhh)6vG2)h6mF8wC^|l$M(Eo9D?JiW}=_T2jUA>LC80foTera{^p)Wi`>}Gf;(|ZwEZQ zS^k|*9wyt=f4ZOo!xty7{%}HKD9tBZ50g$=%v&&vMa!#@Nsf>EkEEDA*ST6fiC+An zsNK1#>!x0obq@j$QqYU-ad3ZvbjqUU+%iw(0WahgmHV6yeLWqoYkSl4pzFQ(_Vp&I ztO{WI-48rGLwQb?#vgVvduyd9_6W)rFRoQJq3I(J?{Xmin45#=3l9BmL6Bp<*MZej zrsWN7oRPUr7IvrHoIHOjS=gPTCw>d)^LQK+B|=f2qbGjrWaOd5D<<9Dv>MTW0X3z> zyPy}9`<>1~?NCx@m8G$_@rRTy5zH12YM&P)=tU+L^fgY z^0Z&_6^qdVuwgN3wt_Ze(10?J@%{C2grBk42hsu74qEo^nd&v`X`IHN9lrxzS~GeF S(*#!l0000 Date: Sat, 6 Jul 2024 13:39:22 +0200 Subject: [PATCH 02/21] mysetup: update app list --- apps/mysetup/ChangeLog | 1 + apps/mysetup/metadata.json | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/mysetup/ChangeLog b/apps/mysetup/ChangeLog index b783a79175..e2cf1d249e 100644 --- a/apps/mysetup/ChangeLog +++ b/apps/mysetup/ChangeLog @@ -1,2 +1,3 @@ 0.01: New App! 0.02: update to my current preferences. +0.03: update app list diff --git a/apps/mysetup/metadata.json b/apps/mysetup/metadata.json index 3a5af4b549..2d12581922 100644 --- a/apps/mysetup/metadata.json +++ b/apps/mysetup/metadata.json @@ -1,6 +1,6 @@ { "id": "mysetup", "name": "My Setup", - "version":"0.02", + "version":"0.03", "description": "Setup the Bangle.js watch as I want it.", "icon": "app.png", "type": "settings", @@ -34,15 +34,14 @@ "recorder":"app", "bthrm":"app", "fastload":"app", - "fastreset":"app", "agenda":"app", "edgeclk":"app", - "activityreminder":"app", "twenties":"app", "autoreset":"app", "chargent":"app", "setting":"app", - "boot":"app" + "boot":"app", + "setuichange":"app" }, "readme": "README.md", "storage": [ From 64abe11db913e1f3670cc36e946ea0e8eeebb6aa Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Sat, 6 Jul 2024 15:10:05 +0200 Subject: [PATCH 03/21] mysetup: add edgeclk settings --- apps/mysetup/edgeclk.settings.json | 1 + apps/mysetup/metadata.json | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 apps/mysetup/edgeclk.settings.json diff --git a/apps/mysetup/edgeclk.settings.json b/apps/mysetup/edgeclk.settings.json new file mode 100644 index 0000000000..6ff3cbe842 --- /dev/null +++ b/apps/mysetup/edgeclk.settings.json @@ -0,0 +1 @@ +{"buzzOnCharge":true,"monthFirst":true,"twentyFourH":true,"showAmPm":false,"showSeconds":false,"showWeather":false,"stepGoal":10000,"stepBar":true,"weekBar":true,"mondayFirst":true,"dayBar":true} diff --git a/apps/mysetup/metadata.json b/apps/mysetup/metadata.json index 2d12581922..fbe3ff8025 100644 --- a/apps/mysetup/metadata.json +++ b/apps/mysetup/metadata.json @@ -61,6 +61,8 @@ "url":"widbt_notify.json"}, {"name":"recorder.json", "url":"recorder.json"}, + {"name":"edgeclk.settings.json", + "url":"edgeclk.settings.json"}, {"name":"setting.json", "url":"setting.json"} ] From ad1efa2cbf1274117b8dd7e6888aac85718a75e3 Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Wed, 10 Jul 2024 23:44:01 +0200 Subject: [PATCH 04/21] mysetup: add delaylock app --- apps/mysetup/backswipe.json | 2 +- apps/mysetup/metadata.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/mysetup/backswipe.json b/apps/mysetup/backswipe.json index b43cb1cf40..aa66bd5344 100644 --- a/apps/mysetup/backswipe.json +++ b/apps/mysetup/backswipe.json @@ -1 +1 @@ -{"mode":0,"apps":[{"name":"Calculator","src":"calculator.app.js"},{"name":"SleepLog","src":"sleeplog.app.js"},{"name":"Messages","sortorder":-9,"src":"messagegui.app.js"},{"name":"Messages","sortorder":-9,"src":"messagegui.app.js","files":"messagegui.info,messagegui,messagegui.app.js,messagegui.new.js,messagegui.boot.js,messagegui.img"}],"standardNumSwipeHandlers":4,"standardNumDragHandlers":1} \ No newline at end of file +{"mode":0,"apps":[{"name":"Calculator","src":"calculator.app.js"},{"name":"SleepLog","src":"sleeplog.app.js"},{"name":"Messages","sortorder":-9,"src":"messagegui.app.js"},{"name":"Messages","sortorder":-9,"src":"messagegui.app.js","files":"messagegui.info,messagegui,messagegui.app.js,messagegui.new.js,messagegui.boot.js,messagegui.img"}],"standardNumSwipeHandlers":5,"standardNumDragHandlers":1} diff --git a/apps/mysetup/metadata.json b/apps/mysetup/metadata.json index fbe3ff8025..206aba80ed 100644 --- a/apps/mysetup/metadata.json +++ b/apps/mysetup/metadata.json @@ -6,6 +6,7 @@ "type": "settings", "tags": "system,clkinfo", "supports" : ["BANGLEJS2"], + "readme": "README.md", "dependencies" : { "sched":"app", "kbmulti":"app", @@ -33,17 +34,17 @@ "alarm":"app", "recorder":"app", "bthrm":"app", - "fastload":"app", "agenda":"app", "edgeclk":"app", "twenties":"app", "autoreset":"app", "chargent":"app", "setting":"app", + "fastload":"app", "boot":"app", + "delaylock":"app", "setuichange":"app" }, - "readme": "README.md", "storage": [ {"name":"backswipe.json", "url":"backswipe.json"}, From 112e90c7d7d7d148f516938c255c88bf2ea2230a Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Wed, 10 Jul 2024 23:45:50 +0200 Subject: [PATCH 05/21] =?UTF-8?q?mysetup:=20add=20app=20=C2=B4forge=C2=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/mysetup/metadata.json | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/mysetup/metadata.json b/apps/mysetup/metadata.json index 206aba80ed..82c01159d4 100644 --- a/apps/mysetup/metadata.json +++ b/apps/mysetup/metadata.json @@ -30,6 +30,7 @@ "runplus":"app", "dtlaunch":"app", "quicklaunch":"app", + "forge":"app", "kineticscroll":"app", "alarm":"app", "recorder":"app", From c3fc33b278550f8941658f7373a2078075861161 Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Sun, 10 Nov 2024 09:58:27 +0100 Subject: [PATCH 06/21] mysetup: remove traces of mysetup installation --- apps/mysetup/boot.js | 5 +++++ apps/mysetup/metadata.json | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 apps/mysetup/boot.js diff --git a/apps/mysetup/boot.js b/apps/mysetup/boot.js new file mode 100644 index 0000000000..85f2c4ff0c --- /dev/null +++ b/apps/mysetup/boot.js @@ -0,0 +1,5 @@ +{ +require("Storage").erase("mysetup.info"); +require("Storage").erase("mysetup.boot.js"); +load(); +} diff --git a/apps/mysetup/metadata.json b/apps/mysetup/metadata.json index 82c01159d4..a1ed941b99 100644 --- a/apps/mysetup/metadata.json +++ b/apps/mysetup/metadata.json @@ -66,6 +66,8 @@ {"name":"edgeclk.settings.json", "url":"edgeclk.settings.json"}, {"name":"setting.json", - "url":"setting.json"} + "url":"setting.json"}, + {"name":"mysetup.boot.js", + "url":"boot.js"} ] } From 08b730915a2b1547841d87457a4c7b268401390c Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Sun, 10 Nov 2024 10:09:07 +0100 Subject: [PATCH 07/21] mysetup: rm setuichange, use kbedgewrite --- apps/mysetup/metadata.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/mysetup/metadata.json b/apps/mysetup/metadata.json index a1ed941b99..4ed008b190 100644 --- a/apps/mysetup/metadata.json +++ b/apps/mysetup/metadata.json @@ -9,7 +9,7 @@ "readme": "README.md", "dependencies" : { "sched":"app", - "kbmulti":"app", + "kbedgewrite":"app", "messageicons":"app", "widmsggrid":"app", "msgwakefup":"app", @@ -43,8 +43,7 @@ "setting":"app", "fastload":"app", "boot":"app", - "delaylock":"app", - "setuichange":"app" + "delaylock":"app" }, "storage": [ {"name":"backswipe.json", From 8091e3c3b42517545806ededfd082dc95a339810 Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Wed, 22 Jan 2025 21:12:48 +0100 Subject: [PATCH 08/21] mysetup: add apps, tweak edgeclk settings json --- apps/mysetup/edgeclk.settings.json | 2 +- apps/mysetup/metadata.json | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/mysetup/edgeclk.settings.json b/apps/mysetup/edgeclk.settings.json index 6ff3cbe842..bdf875621c 100644 --- a/apps/mysetup/edgeclk.settings.json +++ b/apps/mysetup/edgeclk.settings.json @@ -1 +1 @@ -{"buzzOnCharge":true,"monthFirst":true,"twentyFourH":true,"showAmPm":false,"showSeconds":false,"showWeather":false,"stepGoal":10000,"stepBar":true,"weekBar":true,"mondayFirst":true,"dayBar":true} +{"buzzOnCharge":true,"monthFirst":true,"twentyFourH":true,"showAmPm":false,"showSeconds":true,"showWeather":false,"stepGoal":10000,"stepBar":true,"weekBar":true,"mondayFirst":true,"dayBar":true,"redrawOnStep":false} diff --git a/apps/mysetup/metadata.json b/apps/mysetup/metadata.json index 4ed008b190..3fdf934762 100644 --- a/apps/mysetup/metadata.json +++ b/apps/mysetup/metadata.json @@ -43,6 +43,8 @@ "setting":"app", "fastload":"app", "boot":"app", + "gbdiscon":"app", + "ateatimer":"app", "delaylock":"app" }, "storage": [ From 0f79a767ed10f75b6aa585866d800dd483ce8f92 Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Wed, 29 Jan 2025 21:09:46 +0100 Subject: [PATCH 09/21] mysetup: add msgtwscr app --- apps/mysetup/metadata.json | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/mysetup/metadata.json b/apps/mysetup/metadata.json index 3fdf934762..acf75cdd42 100644 --- a/apps/mysetup/metadata.json +++ b/apps/mysetup/metadata.json @@ -13,6 +13,7 @@ "messageicons":"app", "widmsggrid":"app", "msgwakefup":"app", + "msgtwscr":"app", "notify":"app", "health":"app", "widminbate":"app", From f0b1fb2c2311b5c98816e3e1da663b3b62f008f1 Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Wed, 29 Jan 2025 21:19:26 +0100 Subject: [PATCH 10/21] mysetup: add icon --- apps/mysetup/app-icon.js | 1 - apps/mysetup/app.png | Bin 1620 -> 1789 bytes 2 files changed, 1 deletion(-) delete mode 100644 apps/mysetup/app-icon.js diff --git a/apps/mysetup/app-icon.js b/apps/mysetup/app-icon.js deleted file mode 100644 index 49232b8386..0000000000 --- a/apps/mysetup/app-icon.js +++ /dev/null @@ -1 +0,0 @@ -require("heatshrink").decompress(atob("mEwwJC/AH4A/AH4AgA==")) diff --git a/apps/mysetup/app.png b/apps/mysetup/app.png index 582cb2e0853a5a2899a3afbd7eb19cde2ee7f6a0..24ff01b8a4a6588bbfde982ce24cdb50735e51f5 100644 GIT binary patch delta 1773 zcmV8Q}8HClU z^Y4B?*T3^S=h~7qfg#e`-6GAWP2@HIA8XQU8dmRL{i6cz#H0)EZY9&ny4G~-v1B^A zukDkz?~awHC<9cZj8_OgNG1y0_RmSWzkh zbrs#C0gOO!{O56ji0?jhNwGB$QWjOW%*c%eFzyg`f`7^~WIB0FmF4M@BwdVTxt4kG zm+@DYjA`C+J0TYeVyrzxslLUoFxJ``W0za&5m`ozlP~72iyGzCzHZ9Yfr=X6*DcSt zoYTA`2!h#Hv(~g5HFrKN?8-AE(vK9Sakv%$Kw%soYu@(XQR!6k3mvfp({GwzIUt-U z^y7Gs>VE<^m~|9I`M!DQOJP2FO3`(7d8XsHCj`LUs3^yMiJgg(m`|pYqH%MBVIDaq z1mIK))oE_rTMCF99&0uzQ@gP&>)#Hb((H`o_vB;G?6nOr?I*4Mgz(+a1*^}3cr{V9 zdDZ1|ONER)jA=Xf26|&p@3952aC@hibMIE6d4DT=F=oq#YpMX;QWXnjodRfXk|O}v zdlJQ`jyl5 zz{^8fb0M3xn1>v``K_BBw@~vVO@e#q%eDYi2$u(A@jfT!8(;W?`3>ZJQ>I+@?{C0M zJAWECH#i2UT~%|OVsw9Dt%LDo2w@Xtde4GwyKI|Z@OVm;*VgBV=G!t{69C}XbdqiQ z)k3j+*K*PLV1rQ=ySitzg>5d_X$ykc=50-4=^IPMwdHImF!bMRP|lxOIx!2VzTe)_veyp{gLtPHlGPlNn{W2bCdD!Db5uXxjdf z@XeYxgaI^E00eXU2Cv)vTG0SzAf(J^8qN_~;GA~?;He4^g)kl3UsEG8k-1`}*MD~s zL)B<_?sr844DUU3D!oD~MW|5C*FEr*7*^z`j|&w*;PnoHg&`ExM@kz~5hR00X~vi|Ey`w?cz2nd8yVz?0W_LEq=k zy2bwlfT{crk9cW4GujrB+*7yGq1^V<-xp^9EbGX4;vHQH+vd#;gDc>;6Mypu=gbvB zqz;V+P>4RZ03_c&IC;hHBetf}BtL{N29Vl&m%k!s*ZjtcfPn!pDj6JnubmeSU_0Eh zx^@wF_Z^vAXZz0Y4bK*)`QL2N92pm-00 zgg6}B`}6Tx#GzWuS%JhwOCgXkBCmUzhD5fg+4C=V3R|DkABHTl^1+)8h=2iwo#;ck4W=a z!2o^;e>)wMo-iiec0~ags?jRS zcuqW(NtNRNw+WAyU5BS8QknM?sZ2i6(Y5k?`*9S@UjOIi@s7-DJ0JQNYblu(N>Kj^ P00000NkvXXu0mjf)Z}v3 delta 1603 zcmV-J2E6(G4b%*fB!32COGiWi{{a60|De66lK=n)2}wjjRA_4iBBgQZ;76qOQH!eYQP$e z!AKAcJ}AB5-5IcA@d8w#^g@T3&dgpul+x+U-n)CIwK<9WpMUnc?eD+#{x0kLJ~)lj z_;W+1>qV*0;V;<>t_7g#4P@iwmk z1qmdsUbfUStd9Y|TVP;i68~i*#Z&Y~>jipZkI1cLC-XG&6_#ObWSo3TMb<VnloLT~EMt9))wb_t9z`$fds1weiDS%fvYLsiPBH2ZnQDk6uTc5^7mPDSrl!}_vf zTUQ)F+oLxD4{1WMdd9!Hc|m5n$vQyR>+YsqvNZO#t<^15JLgwo1!6$$$ooOkyMm*J z0F*s8gnyK)TljRMmz2LruK4O$zQL{wjY9)Z0kt|Lq(2FsQU|U{&Lnw&nv-iz0UQ(1 z_C;r*+zXKT!Vl?Dy;NHGm#6;#j+0`o?rE&cS33Uzu^t4%0M>8gZsvJekQx2@V+fHo z*5xa0rzlknI`ob)Spqpmmr>I{XwtT=f>`%xcYlkXpJLUDL8`0V*CWqymfo()hTHYJB=sn`2^Q$mRE>02( z+W)np;)L1!GUvU2{O{<&F_nE6Qe#D~Xf|dD+?d3-D1(IUiL`C2;PPv4CKw8H)v7h8 z^nZyH25leAvW+P%&S;$=IlOmqK~5megP0ekG0q%cjYX8Luf59F*IsobYlouaRHM0~ z(;q09t|si8%+WECi^loRmFYCwYI6mr1b@o&75=}a@Lib3Y|Ie4CxKK>Okic}5Rq_U zeN+~H!uVe{{lz}^`kQW`|!xuR17T{A$XG+1=zihuSA zi1p!&kSPh)j$Fxp5Gw{9(I0?wrrO+K-v|fy4|DX;36jHEtgI3$_c6CFMEwO7gd?t7 z-aKL)pd~&(x0thy7QxaE*@Ws7r4mmjvcx<3IQ(NG=PY9s!vkrC2h#ks?>HAOpF`dJ zh_{!DY|1~1bS#dwebHHv-OtHAL4Pqg_G^mIKKhN3WERtBFmGXm+WH8Q3O|NVINqP; zhpz`Xd?0}cEM8H=+`36mP?GrceEI9%2{WYQhDKVxISl-_Sn>l$M(Eo9D?J ziW}=_T2jUA>LC80foTera{^p)Wi`>}Gf;(|ZwEZQS^k|*9wyt=f4ZOo!+#eiul{gC zVkpfgTMv^?S+&Oz-^QfHN=vA6Mu zqQHxcUJp$bNst%thoZ%hhv~ZHvseduC&kuI$^k?+Ves;_U-A`;(L4gMVKHj9f;MB& zfHIHq{q=E#pRw2n(gD^ETK4Xl>NV?WoW`FWzXM%bGkOQp1Xln6002ovPDHLkV1m{L B8@m7i From 9ff0718aba339a5004442f16b59c66da3d5acba0 Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Wed, 29 Jan 2025 21:53:35 +0100 Subject: [PATCH 11/21] mysetup: becomes "anotherconf" --- apps/{mysetup => anotherconf}/ChangeLog | 1 + apps/anotherconf/README.md | 26 ++++++++++++++++ apps/{mysetup => anotherconf}/app.png | Bin apps/{mysetup => anotherconf}/autoreset.json | 0 apps/{mysetup => anotherconf}/backswipe.json | 0 apps/anotherconf/boot.js | 5 +++ apps/{mysetup => anotherconf}/dtlaunch.json | 0 .../edgeclk.settings.json | 0 apps/{mysetup => anotherconf}/fastload.json | 0 .../{mysetup => anotherconf}/lightswitch.json | 0 .../messages.settings.json | 0 apps/{mysetup => anotherconf}/metadata.json | 25 +++++++-------- .../{mysetup => anotherconf}/quicklaunch.json | 0 apps/{mysetup => anotherconf}/recorder.json | 0 apps/{mysetup => anotherconf}/setting.json | 0 .../widbt_notify.json | 0 apps/mysetup/README.md | 29 ------------------ apps/mysetup/boot.js | 5 --- 18 files changed, 45 insertions(+), 46 deletions(-) rename apps/{mysetup => anotherconf}/ChangeLog (61%) create mode 100644 apps/anotherconf/README.md rename apps/{mysetup => anotherconf}/app.png (100%) rename apps/{mysetup => anotherconf}/autoreset.json (100%) rename apps/{mysetup => anotherconf}/backswipe.json (100%) create mode 100644 apps/anotherconf/boot.js rename apps/{mysetup => anotherconf}/dtlaunch.json (100%) rename apps/{mysetup => anotherconf}/edgeclk.settings.json (100%) rename apps/{mysetup => anotherconf}/fastload.json (100%) rename apps/{mysetup => anotherconf}/lightswitch.json (100%) rename apps/{mysetup => anotherconf}/messages.settings.json (100%) rename apps/{mysetup => anotherconf}/metadata.json (78%) rename apps/{mysetup => anotherconf}/quicklaunch.json (100%) rename apps/{mysetup => anotherconf}/recorder.json (100%) rename apps/{mysetup => anotherconf}/setting.json (100%) rename apps/{mysetup => anotherconf}/widbt_notify.json (100%) delete mode 100644 apps/mysetup/README.md delete mode 100644 apps/mysetup/boot.js diff --git a/apps/mysetup/ChangeLog b/apps/anotherconf/ChangeLog similarity index 61% rename from apps/mysetup/ChangeLog rename to apps/anotherconf/ChangeLog index e2cf1d249e..6237f5b04e 100644 --- a/apps/mysetup/ChangeLog +++ b/apps/anotherconf/ChangeLog @@ -1,3 +1,4 @@ 0.01: New App! 0.02: update to my current preferences. 0.03: update app list +0.04: change app name "mysetup" -> "anotherconf" diff --git a/apps/anotherconf/README.md b/apps/anotherconf/README.md new file mode 100644 index 0000000000..4fac2feb4f --- /dev/null +++ b/apps/anotherconf/README.md @@ -0,0 +1,26 @@ +# Another Default Config + +A different default set of apps and configurations. Brings many quality of life improvements. Opinionated based on the creators taste. Read more below before installing. + +## Usage + +Before installing do this: + +1. Backup your current setup (via the "More..." tab of the App Loader) so you can restore it later if you want. +2. Factory reset the watch. +3. Remove all apps via the "More..." tab in the App Loader. +4. Make sure minification is turned off on the App Loader. +5. Then install. +6. Try it out, switch out apps to your favorites and tweak to your liking! + +## Features + +There will not be a trace of a "Another Default Config" app on your watch after installation. Only the apps it installed and the configurations. + +## Requests + +Add to the espruino/BangleApps issue tracker and mention @thyttan for bug reports and suggestions. Or do a pull request! + +## Creator + +thyttan diff --git a/apps/mysetup/app.png b/apps/anotherconf/app.png similarity index 100% rename from apps/mysetup/app.png rename to apps/anotherconf/app.png diff --git a/apps/mysetup/autoreset.json b/apps/anotherconf/autoreset.json similarity index 100% rename from apps/mysetup/autoreset.json rename to apps/anotherconf/autoreset.json diff --git a/apps/mysetup/backswipe.json b/apps/anotherconf/backswipe.json similarity index 100% rename from apps/mysetup/backswipe.json rename to apps/anotherconf/backswipe.json diff --git a/apps/anotherconf/boot.js b/apps/anotherconf/boot.js new file mode 100644 index 0000000000..a04465039a --- /dev/null +++ b/apps/anotherconf/boot.js @@ -0,0 +1,5 @@ +{ +require("Storage").erase("anotherconf.info"); +require("Storage").erase("anotherconf.boot.js"); +load(); +} diff --git a/apps/mysetup/dtlaunch.json b/apps/anotherconf/dtlaunch.json similarity index 100% rename from apps/mysetup/dtlaunch.json rename to apps/anotherconf/dtlaunch.json diff --git a/apps/mysetup/edgeclk.settings.json b/apps/anotherconf/edgeclk.settings.json similarity index 100% rename from apps/mysetup/edgeclk.settings.json rename to apps/anotherconf/edgeclk.settings.json diff --git a/apps/mysetup/fastload.json b/apps/anotherconf/fastload.json similarity index 100% rename from apps/mysetup/fastload.json rename to apps/anotherconf/fastload.json diff --git a/apps/mysetup/lightswitch.json b/apps/anotherconf/lightswitch.json similarity index 100% rename from apps/mysetup/lightswitch.json rename to apps/anotherconf/lightswitch.json diff --git a/apps/mysetup/messages.settings.json b/apps/anotherconf/messages.settings.json similarity index 100% rename from apps/mysetup/messages.settings.json rename to apps/anotherconf/messages.settings.json diff --git a/apps/mysetup/metadata.json b/apps/anotherconf/metadata.json similarity index 78% rename from apps/mysetup/metadata.json rename to apps/anotherconf/metadata.json index acf75cdd42..cbbf972786 100644 --- a/apps/mysetup/metadata.json +++ b/apps/anotherconf/metadata.json @@ -1,19 +1,20 @@ -{ "id": "mysetup", - "name": "My Setup", - "version":"0.03", - "description": "Setup the Bangle.js watch as I want it.", +{ "id": "anotherconf", + "name": "Another Default Config", + "version":"0.04", + "description": "A different default loadout of apps and configurations. Brings many quality of life improvements. Opinionated based on the creators taste. Read more below before installing.", "icon": "app.png", "type": "settings", - "tags": "system,clkinfo", + "tags": "system, configuration, config", "supports" : ["BANGLEJS2"], "readme": "README.md", "dependencies" : { "sched":"app", - "kbedgewrite":"app", + "kbmulti":"app", "messageicons":"app", "widmsggrid":"app", "msgwakefup":"app", "msgtwscr":"app", + "delaylock":"app", "notify":"app", "health":"app", "widminbate":"app", @@ -31,22 +32,22 @@ "runplus":"app", "dtlaunch":"app", "quicklaunch":"app", - "forge":"app", "kineticscroll":"app", "alarm":"app", "recorder":"app", - "bthrm":"app", "agenda":"app", "edgeclk":"app", - "twenties":"app", "autoreset":"app", "chargent":"app", "setting":"app", "fastload":"app", "boot":"app", - "gbdiscon":"app", "ateatimer":"app", - "delaylock":"app" + "drained":"app", + "forge":"app", + "bthrm":"app", + "twenties":"app", + "gbdiscon":"app" }, "storage": [ {"name":"backswipe.json", @@ -69,7 +70,7 @@ "url":"edgeclk.settings.json"}, {"name":"setting.json", "url":"setting.json"}, - {"name":"mysetup.boot.js", + {"name":"anotherconf.boot.js", "url":"boot.js"} ] } diff --git a/apps/mysetup/quicklaunch.json b/apps/anotherconf/quicklaunch.json similarity index 100% rename from apps/mysetup/quicklaunch.json rename to apps/anotherconf/quicklaunch.json diff --git a/apps/mysetup/recorder.json b/apps/anotherconf/recorder.json similarity index 100% rename from apps/mysetup/recorder.json rename to apps/anotherconf/recorder.json diff --git a/apps/mysetup/setting.json b/apps/anotherconf/setting.json similarity index 100% rename from apps/mysetup/setting.json rename to apps/anotherconf/setting.json diff --git a/apps/mysetup/widbt_notify.json b/apps/anotherconf/widbt_notify.json similarity index 100% rename from apps/mysetup/widbt_notify.json rename to apps/anotherconf/widbt_notify.json diff --git a/apps/mysetup/README.md b/apps/mysetup/README.md deleted file mode 100644 index 278665743d..0000000000 --- a/apps/mysetup/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# App Name - -Describe the app... - -Add screen shots (if possible) to the app folder and link then into this file with ![](.png) - -## Usage - -Before installing this do: - -1. Factory reset the watch. -2. Remove all apps via the "More..." tab in the App Loader. -3. Make sure minification is turned off on the App Loader. - -## Features - -Name the function - -## Controls - -Name the buttons and what they are used for - -## Requests - -Name who should be contacted for support/update requests - -## Creator - -thyttan diff --git a/apps/mysetup/boot.js b/apps/mysetup/boot.js deleted file mode 100644 index 85f2c4ff0c..0000000000 --- a/apps/mysetup/boot.js +++ /dev/null @@ -1,5 +0,0 @@ -{ -require("Storage").erase("mysetup.info"); -require("Storage").erase("mysetup.boot.js"); -load(); -} From feda047a417b4fbfd4e5119d45e7b5fa5e36570f Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Wed, 29 Jan 2025 22:07:26 +0100 Subject: [PATCH 12/21] anotherconf: remove some apps not as important as the others --- apps/anotherconf/ChangeLog | 1 + apps/anotherconf/metadata.json | 8 ++------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/apps/anotherconf/ChangeLog b/apps/anotherconf/ChangeLog index 6237f5b04e..6c717cad7b 100644 --- a/apps/anotherconf/ChangeLog +++ b/apps/anotherconf/ChangeLog @@ -2,3 +2,4 @@ 0.02: update to my current preferences. 0.03: update app list 0.04: change app name "mysetup" -> "anotherconf" +0.05: remove apps that are not "core" to the experience. diff --git a/apps/anotherconf/metadata.json b/apps/anotherconf/metadata.json index cbbf972786..2a65584db2 100644 --- a/apps/anotherconf/metadata.json +++ b/apps/anotherconf/metadata.json @@ -1,6 +1,6 @@ { "id": "anotherconf", "name": "Another Default Config", - "version":"0.04", + "version":"0.05", "description": "A different default loadout of apps and configurations. Brings many quality of life improvements. Opinionated based on the creators taste. Read more below before installing.", "icon": "app.png", "type": "settings", @@ -43,11 +43,7 @@ "fastload":"app", "boot":"app", "ateatimer":"app", - "drained":"app", - "forge":"app", - "bthrm":"app", - "twenties":"app", - "gbdiscon":"app" + "drained":"app" }, "storage": [ {"name":"backswipe.json", From 6af32d4c71ba920f129e49670fdc1563746aaed2 Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Wed, 29 Jan 2025 22:24:39 +0100 Subject: [PATCH 13/21] anotherconf: add to readme --- apps/anotherconf/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/anotherconf/README.md b/apps/anotherconf/README.md index 4fac2feb4f..c292bb0a67 100644 --- a/apps/anotherconf/README.md +++ b/apps/anotherconf/README.md @@ -17,6 +17,14 @@ Before installing do this: There will not be a trace of a "Another Default Config" app on your watch after installation. Only the apps it installed and the configurations. +On the clock face: +- Swipe right on the screen to open the launcher (Desktop Launcher) - or press the hardware button. +- Swipe left to open a flashlight app. +- Swipe up to open the messages. +- Swipe down for quick access to music and podcast controls. + - (Do a subsequent left or right swipe to enter the listed apps) +- (Check out the "Quick Launch" app readme for more info) + ## Requests Add to the espruino/BangleApps issue tracker and mention @thyttan for bug reports and suggestions. Or do a pull request! From 991492c04706b7b46a9492808a30aecd9be7601f Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Wed, 29 Jan 2025 22:32:00 +0100 Subject: [PATCH 14/21] anotherconf: left swipe on clock fires up the torch --- apps/anotherconf/quicklaunch.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/anotherconf/quicklaunch.json b/apps/anotherconf/quicklaunch.json index 56df7d3d23..4edbb083bf 100644 --- a/apps/anotherconf/quicklaunch.json +++ b/apps/anotherconf/quicklaunch.json @@ -1 +1 @@ -{lapp:{name:"Show Launcher",sortorder:-12,src:"no source"},rapp:{name:"Extension",type:"app",sortorder:-11,src:"quicklaunch.app.js"},uapp:{name:"Messages",sortorder:-9,src:"messagegui.app.js"},dapp:{name:"Extension",type:"app",sortorder:-11,src:"quicklaunch.app.js"},tapp:{name:""},dlapp:{name:"PA Remote",src:"podadrem.app.js"},drapp:{name:"Remote for Spotify",src:"spotrem.app.js"},duapp:{name:""},ddapp:{name:"Extension",type:"app",sortorder:-11,src:"quicklaunch.app.js"},dtapp:{name:""},ddlapp:{name:"Alarms",src:"alarm.app.js"},ddrapp:{name:"Run+",src:"runplus.app.js"},dduapp:{name:""},dddapp:{name:"Agenda",src:"agenda.app.js"},ddtapp:{name:""},rlapp:{name:""},rrapp:{name:""},ruapp:{name:""},rdapp:{name:""},rtapp:{name:""},trace:"dr"} \ No newline at end of file +{lapp:{name:"Show Launcher",sortorder:-12,src:"no source"},rapp:{name:"torch",type:"app",sortorder:-11,src:"torch.app.js"},uapp:{name:"Messages",sortorder:-9,src:"messagegui.app.js"},dapp:{name:"Extension",type:"app",sortorder:-11,src:"quicklaunch.app.js"},tapp:{name:""},dlapp:{name:"PA Remote",src:"podadrem.app.js"},drapp:{name:"Remote for Spotify",src:"spotrem.app.js"},duapp:{name:""},ddapp:{name:"Extension",type:"app",sortorder:-11,src:"quicklaunch.app.js"},dtapp:{name:""},ddlapp:{name:"Alarms",src:"alarm.app.js"},ddrapp:{name:"Run+",src:"runplus.app.js"},dduapp:{name:""},dddapp:{name:"Agenda",src:"agenda.app.js"},ddtapp:{name:""},rlapp:{name:""},rrapp:{name:""},ruapp:{name:""},rdapp:{name:""},rtapp:{name:""},trace:"dr"} From 4154e24bb3ed0beb366933ed318e5a240c320bfb Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Mon, 3 Feb 2025 09:59:02 +0100 Subject: [PATCH 15/21] anotherconf: becomes "confthyttan" + some suggested changes --- apps/anotherconf/boot.js | 5 ----- apps/{anotherconf => confthyttan}/ChangeLog | 1 + apps/{anotherconf => confthyttan}/README.md | 6 +++--- apps/{anotherconf => confthyttan}/app.png | Bin .../autoreset.json | 0 .../backswipe.json | 0 .../{anotherconf => confthyttan}/dtlaunch.json | 0 .../edgeclk.settings.json | 0 .../{anotherconf => confthyttan}/fastload.json | 0 .../lightswitch.json | 0 .../messages.settings.json | 0 .../{anotherconf => confthyttan}/metadata.json | 17 +++++++---------- .../quicklaunch.json | 0 .../{anotherconf => confthyttan}/recorder.json | 0 apps/{anotherconf => confthyttan}/setting.json | 0 .../widbt_notify.json | 0 16 files changed, 11 insertions(+), 18 deletions(-) delete mode 100644 apps/anotherconf/boot.js rename apps/{anotherconf => confthyttan}/ChangeLog (78%) rename apps/{anotherconf => confthyttan}/README.md (82%) rename apps/{anotherconf => confthyttan}/app.png (100%) rename apps/{anotherconf => confthyttan}/autoreset.json (100%) rename apps/{anotherconf => confthyttan}/backswipe.json (100%) rename apps/{anotherconf => confthyttan}/dtlaunch.json (100%) rename apps/{anotherconf => confthyttan}/edgeclk.settings.json (100%) rename apps/{anotherconf => confthyttan}/fastload.json (100%) rename apps/{anotherconf => confthyttan}/lightswitch.json (100%) rename apps/{anotherconf => confthyttan}/messages.settings.json (100%) rename apps/{anotherconf => confthyttan}/metadata.json (77%) rename apps/{anotherconf => confthyttan}/quicklaunch.json (100%) rename apps/{anotherconf => confthyttan}/recorder.json (100%) rename apps/{anotherconf => confthyttan}/setting.json (100%) rename apps/{anotherconf => confthyttan}/widbt_notify.json (100%) diff --git a/apps/anotherconf/boot.js b/apps/anotherconf/boot.js deleted file mode 100644 index a04465039a..0000000000 --- a/apps/anotherconf/boot.js +++ /dev/null @@ -1,5 +0,0 @@ -{ -require("Storage").erase("anotherconf.info"); -require("Storage").erase("anotherconf.boot.js"); -load(); -} diff --git a/apps/anotherconf/ChangeLog b/apps/confthyttan/ChangeLog similarity index 78% rename from apps/anotherconf/ChangeLog rename to apps/confthyttan/ChangeLog index 6c717cad7b..77d527619d 100644 --- a/apps/anotherconf/ChangeLog +++ b/apps/confthyttan/ChangeLog @@ -3,3 +3,4 @@ 0.03: update app list 0.04: change app name "mysetup" -> "anotherconf" 0.05: remove apps that are not "core" to the experience. +0.06: change name "anotherconf" -> "confthyttan" diff --git a/apps/anotherconf/README.md b/apps/confthyttan/README.md similarity index 82% rename from apps/anotherconf/README.md rename to apps/confthyttan/README.md index c292bb0a67..5f78191717 100644 --- a/apps/anotherconf/README.md +++ b/apps/confthyttan/README.md @@ -1,4 +1,4 @@ -# Another Default Config +# Thyttan's Default Config A different default set of apps and configurations. Brings many quality of life improvements. Opinionated based on the creators taste. Read more below before installing. @@ -15,7 +15,7 @@ Before installing do this: ## Features -There will not be a trace of a "Another Default Config" app on your watch after installation. Only the apps it installed and the configurations. +There will not be a trace of a "Thyttan's Default Config" app on your watch after installation. Only the apps it installed and the configurations. On the clock face: - Swipe right on the screen to open the launcher (Desktop Launcher) - or press the hardware button. @@ -27,7 +27,7 @@ On the clock face: ## Requests -Add to the espruino/BangleApps issue tracker and mention @thyttan for bug reports and suggestions. Or do a pull request! +Add to the espruino/BangleApps issue tracker and mention @thyttan for bug reports and suggestions. ## Creator diff --git a/apps/anotherconf/app.png b/apps/confthyttan/app.png similarity index 100% rename from apps/anotherconf/app.png rename to apps/confthyttan/app.png diff --git a/apps/anotherconf/autoreset.json b/apps/confthyttan/autoreset.json similarity index 100% rename from apps/anotherconf/autoreset.json rename to apps/confthyttan/autoreset.json diff --git a/apps/anotherconf/backswipe.json b/apps/confthyttan/backswipe.json similarity index 100% rename from apps/anotherconf/backswipe.json rename to apps/confthyttan/backswipe.json diff --git a/apps/anotherconf/dtlaunch.json b/apps/confthyttan/dtlaunch.json similarity index 100% rename from apps/anotherconf/dtlaunch.json rename to apps/confthyttan/dtlaunch.json diff --git a/apps/anotherconf/edgeclk.settings.json b/apps/confthyttan/edgeclk.settings.json similarity index 100% rename from apps/anotherconf/edgeclk.settings.json rename to apps/confthyttan/edgeclk.settings.json diff --git a/apps/anotherconf/fastload.json b/apps/confthyttan/fastload.json similarity index 100% rename from apps/anotherconf/fastload.json rename to apps/confthyttan/fastload.json diff --git a/apps/anotherconf/lightswitch.json b/apps/confthyttan/lightswitch.json similarity index 100% rename from apps/anotherconf/lightswitch.json rename to apps/confthyttan/lightswitch.json diff --git a/apps/anotherconf/messages.settings.json b/apps/confthyttan/messages.settings.json similarity index 100% rename from apps/anotherconf/messages.settings.json rename to apps/confthyttan/messages.settings.json diff --git a/apps/anotherconf/metadata.json b/apps/confthyttan/metadata.json similarity index 77% rename from apps/anotherconf/metadata.json rename to apps/confthyttan/metadata.json index 2a65584db2..c706d45f57 100644 --- a/apps/anotherconf/metadata.json +++ b/apps/confthyttan/metadata.json @@ -1,10 +1,10 @@ -{ "id": "anotherconf", - "name": "Another Default Config", - "version":"0.05", - "description": "A different default loadout of apps and configurations. Brings many quality of life improvements. Opinionated based on the creators taste. Read more below before installing.", +{ "id": "confthyttan", + "name": "Thyttan's Default Config", + "version":"0.06", + "description": "A different default set of apps and configurations. Brings many quality of life improvements. Opinionated based on the creators taste. Read more below before installing.", "icon": "app.png", - "type": "settings", - "tags": "system, configuration, config", + "type": "RAM", + "tags": "system, configuration, config, anotherconfig, thyttan", "supports" : ["BANGLEJS2"], "readme": "README.md", "dependencies" : { @@ -26,7 +26,6 @@ "torch":"app", "calculator":"app", "widbt_notify":"app", - "clock_info":"app", "smpltmr":"app", "clkinfostopw":"app", "runplus":"app", @@ -65,8 +64,6 @@ {"name":"edgeclk.settings.json", "url":"edgeclk.settings.json"}, {"name":"setting.json", - "url":"setting.json"}, - {"name":"anotherconf.boot.js", - "url":"boot.js"} + "url":"setting.json"} ] } diff --git a/apps/anotherconf/quicklaunch.json b/apps/confthyttan/quicklaunch.json similarity index 100% rename from apps/anotherconf/quicklaunch.json rename to apps/confthyttan/quicklaunch.json diff --git a/apps/anotherconf/recorder.json b/apps/confthyttan/recorder.json similarity index 100% rename from apps/anotherconf/recorder.json rename to apps/confthyttan/recorder.json diff --git a/apps/anotherconf/setting.json b/apps/confthyttan/setting.json similarity index 100% rename from apps/anotherconf/setting.json rename to apps/confthyttan/setting.json diff --git a/apps/anotherconf/widbt_notify.json b/apps/confthyttan/widbt_notify.json similarity index 100% rename from apps/anotherconf/widbt_notify.json rename to apps/confthyttan/widbt_notify.json From 62d3f803dad8cbef7503d0664d69d083c1595b42 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Mon, 3 Feb 2025 12:17:23 +0000 Subject: [PATCH 16/21] 0.15: Fix error when displaying a category with only one clockinfo (fix #3728) --- apps/clock_info/ChangeLog | 3 ++- apps/clock_info/lib.js | 2 +- apps/clock_info/metadata.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/clock_info/ChangeLog b/apps/clock_info/ChangeLog index 7d20438996..cf7da2fa13 100644 --- a/apps/clock_info/ChangeLog +++ b/apps/clock_info/ChangeLog @@ -12,4 +12,5 @@ 0.11: Prepend swipe listener if possible 0.12: Add drawFilledImage to allow drawing icons with a separately coloured middle 0.13: Cache loaded ClockInfos so if we have clockInfoWidget and a clock, we don't load them twice (saves ~300ms) -0.14: Check for .clkinfocache and use that if exists (from boot 0.64) \ No newline at end of file +0.14: Check for .clkinfocache and use that if exists (from boot 0.64) +0.15: Fix error when displaying a category with only one clockinfo (fix #3728) diff --git a/apps/clock_info/lib.js b/apps/clock_info/lib.js index 0e20ab8555..cb6a19abb3 100644 --- a/apps/clock_info/lib.js +++ b/apps/clock_info/lib.js @@ -283,7 +283,7 @@ exports.addInteractive = function(menu, options) { //in the worst case we come back to 0 } while(menu[options.menuA].items.length==0); // When we change, ensure we don't display the same thing as another clockinfo if we can avoid it - while ((options.menuB < menu[options.menuA].items.length) && + while ((options.menuB < menu[options.menuA].items.length-1) && exports.clockInfos.some(m => (m!=options) && m.menuA==options.menuA && m.menuB==options.menuB)) options.menuB++; } diff --git a/apps/clock_info/metadata.json b/apps/clock_info/metadata.json index 1d9a73ce3a..9e9079c28b 100644 --- a/apps/clock_info/metadata.json +++ b/apps/clock_info/metadata.json @@ -1,7 +1,7 @@ { "id": "clock_info", "name": "Clock Info Module", "shortName": "Clock Info", - "version":"0.14", + "version":"0.15", "description": "A library used by clocks to provide extra information on the clock face (Altitude, BPM, etc)", "icon": "app.png", "type": "module", From b4f405f1c95887a3b17c77e1cd259fa3f5199592 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Mon, 3 Feb 2025 12:17:39 +0000 Subject: [PATCH 17/21] fix generator script --- apps/icons/gen/generate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/icons/gen/generate.js b/apps/icons/gen/generate.js index b91eedcdcd..fd97a1ce9d 100755 --- a/apps/icons/gen/generate.js +++ b/apps/icons/gen/generate.js @@ -7,7 +7,7 @@ /* eslint-env node */ -var imageconverter = require("../../../webtools/imageconverter.js").imageconverter; +var imageconverter = require("../../../webtools/imageconverter.js"); var icons = JSON.parse(require("fs").readFileSync(__dirname+"/icon_names.json")); const imgOptions = { mode : "1bit", From dbbc9886c9b918e8930f004c8ec95f99eb26a41b Mon Sep 17 00:00:00 2001 From: Randy Heydon Date: Tue, 28 Jan 2025 20:37:58 -0500 Subject: [PATCH 18/21] calendar: read events synchronized from Gadgetbridge This is a partial fix for feature request #3707. This allows synchronized events (stored in android.calendar.json) to be shown in the app, alongside the manually entered events and alarm events that are already shown. Note only date/time and event title are currently used; other information available in the synchronized events (e.g. duration, description) are ignored. --- apps/calendar/ChangeLog | 1 + apps/calendar/calendar.js | 6 ++++++ apps/calendar/metadata.json | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/calendar/ChangeLog b/apps/calendar/ChangeLog index 9a4f814911..d737ec6d4f 100644 --- a/apps/calendar/ChangeLog +++ b/apps/calendar/ChangeLog @@ -19,3 +19,4 @@ Display Widgets in menus 0.17: Load holidays before events so the latter is not overpainted 0.18: Minor code improvements +0.19: Read events synchronized from Gadgetbridge diff --git a/apps/calendar/calendar.js b/apps/calendar/calendar.js index e140ff5766..da5a00a6ec 100644 --- a/apps/calendar/calendar.js +++ b/apps/calendar/calendar.js @@ -60,6 +60,12 @@ const loadEvents = () => { date.setSeconds(time.s); return {date: date, msg: a.msg, type: "e"}; })); + // all events synchronized from Gadgetbridge + events = events.concat((require("Storage").readJSON("android.calendar.json",1) || []).map(a => { + // timestamp is in seconds, Date requires milliseconds + const date = new Date(a.timestamp * 1000); + return {date: date, msg: a.title, type: "e"}; + })); }; const loadSettings = () => { diff --git a/apps/calendar/metadata.json b/apps/calendar/metadata.json index 468bceabb8..5f5f21b27a 100644 --- a/apps/calendar/metadata.json +++ b/apps/calendar/metadata.json @@ -1,7 +1,7 @@ { "id": "calendar", "name": "Calendar", - "version": "0.18", + "version": "0.19", "description": "Monthly calendar, displays holidays uploaded from the web interface and scheduled events.", "icon": "calendar.png", "screenshots": [{"url":"screenshot_calendar.png"}], From 77cebe31780a6a03467e95847c220dd46632755d Mon Sep 17 00:00:00 2001 From: Randy Heydon Date: Wed, 29 Jan 2025 19:30:43 -0500 Subject: [PATCH 19/21] Fix lint warnings. Loop variables had warnings for being undefinied. Added the "let" keyword where they are initialized. --- apps/calendar/calendar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/calendar/calendar.js b/apps/calendar/calendar.js index da5a00a6ec..ea06b70e85 100644 --- a/apps/calendar/calendar.js +++ b/apps/calendar/calendar.js @@ -227,8 +227,8 @@ const drawCalendar = function(date) { }, []); let i = 0; g.setFont("8x12", fontSize); - for (y = 0; y < rowN - 1; y++) { - for (x = 0; x < colN; x++) { + for (let y = 0; y < rowN - 1; y++) { + for (let x = 0; x < colN; x++) { i++; const day = days[i]; const curMonth = day < 15 ? month+1 : day < 50 ? month-1 : month; From c307f1f76044bfb8ef8b798836172b83e6228510 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Tue, 4 Feb 2025 11:44:41 +0000 Subject: [PATCH 20/21] fix broken messagesoverlay metadata file --- apps/messagesoverlay/metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/messagesoverlay/metadata.json b/apps/messagesoverlay/metadata.json index 26095eb33a..ba5f005c3c 100644 --- a/apps/messagesoverlay/metadata.json +++ b/apps/messagesoverlay/metadata.json @@ -15,6 +15,6 @@ {"name":"messagesoverlay.settings.js","url":"settings.js"}, {"name":"messagesoverlay.default.json","url":"default.json"} ], - "data": [{"name":"bthrm.json"}], + "data":[{"name":"messagesoverlay.json"}], "screenshots": [{"url":"screen_call.png"} ,{"url":"screen_message.png"} ] } From 0c0498886cc8c23d025faef4cecd409f7fbea493 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Tue, 4 Feb 2025 12:23:03 +0000 Subject: [PATCH 21/21] handle 'defaultconfig' app type for default configurations --- README.md | 1 + apps/confthyttan/README.md | 7 ++----- apps/confthyttan/metadata.json | 5 ++--- bin/sanitycheck.js | 11 ++++++++--- core | 2 +- typescript/types/info.d.ts | 2 +- 6 files changed, 15 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index ddcf23f259..13da10b0ae 100644 --- a/README.md +++ b/README.md @@ -270,6 +270,7 @@ and which gives information about the app for the Launcher. // 'notify' - provides 'notify' library for showing notifications // 'locale' - provides 'locale' library for language-specific date/distance/etc // (a version of 'locale' is included in the firmware) + // 'defaultconfig' - a set of apps that will can be installed and will wipe out all previously installed apps "tags": "", // comma separated tag list for searching // common types are: // 'clock' - it's a clock diff --git a/apps/confthyttan/README.md b/apps/confthyttan/README.md index 5f78191717..e9b952c822 100644 --- a/apps/confthyttan/README.md +++ b/apps/confthyttan/README.md @@ -7,11 +7,8 @@ A different default set of apps and configurations. Brings many quality of life Before installing do this: 1. Backup your current setup (via the "More..." tab of the App Loader) so you can restore it later if you want. -2. Factory reset the watch. -3. Remove all apps via the "More..." tab in the App Loader. -4. Make sure minification is turned off on the App Loader. -5. Then install. -6. Try it out, switch out apps to your favorites and tweak to your liking! +2. Install this app (you'll be prompted about all data being removed from your Bangle) +3. Try it out, switch out apps to your favorites and tweak to your liking! ## Features diff --git a/apps/confthyttan/metadata.json b/apps/confthyttan/metadata.json index c706d45f57..5fd18c7e90 100644 --- a/apps/confthyttan/metadata.json +++ b/apps/confthyttan/metadata.json @@ -3,8 +3,8 @@ "version":"0.06", "description": "A different default set of apps and configurations. Brings many quality of life improvements. Opinionated based on the creators taste. Read more below before installing.", "icon": "app.png", - "type": "RAM", - "tags": "system, configuration, config, anotherconfig, thyttan", + "type": "defaultconfig", + "tags": "system,configuration,config,anotherconfig,thyttan", "supports" : ["BANGLEJS2"], "readme": "README.md", "dependencies" : { @@ -13,7 +13,6 @@ "messageicons":"app", "widmsggrid":"app", "msgwakefup":"app", - "msgtwscr":"app", "delaylock":"app", "notify":"app", "health":"app", diff --git a/bin/sanitycheck.js b/bin/sanitycheck.js index 086c2e551d..80f8abe24d 100755 --- a/bin/sanitycheck.js +++ b/bin/sanitycheck.js @@ -169,7 +169,7 @@ const APP_KEYS = [ const STORAGE_KEYS = ['name', 'url', 'content', 'evaluate', 'noOverwite', 'supports', 'noOverwrite']; const DATA_KEYS = ['name', 'wildcard', 'storageFile', 'url', 'content', 'evaluate']; const SUPPORTS_DEVICES = ["BANGLEJS","BANGLEJS2"]; // device IDs allowed for 'supports' -const METADATA_TYPES = ["app","clock","widget","bootloader","RAM","launch","scheduler","notify","locale","settings","textinput","module","clkinfo"]; // values allowed for "type" field +const METADATA_TYPES = ["app","clock","widget","bootloader","RAM","launch","scheduler","notify","locale","settings","textinput","module","clkinfo","defaultconfig"]; // values allowed for "type" field - listed in README.md const FORBIDDEN_FILE_NAME_CHARS = /[,;]/; // used as separators in appid.info const VALID_DUPLICATES = [ '.tfmodel', '.tfnames' ]; const GRANDFATHERED_ICONS = ["s7clk", "snek", "astral", "alpinenav", "slomoclock", "arrow", "pebble", "rebble"]; @@ -207,6 +207,10 @@ apps.forEach((app,appIdx) => { if (!app.name) ERROR(`App ${app.id} has no name`, {file:metadataFile}); var isApp = !app.type || app.type=="app"; var appTags = app.tags ? app.tags.split(",") : []; + /*if (appTags.some(tag => tag!=tag.trim())) + WARN(`App ${app.id} 'tag' list contains whitespace ("${app.tags}")`, {file:metadataFile}); + if (appTags.some(tag => tag!=tag.toLowerCase())) + WARN(`App ${app.id} 'tag' list contains uppercase ("${app.tags}")`, {file:metadataFile});*/ if (app.name.length>20 && !app.shortName && isApp) ERROR(`App ${app.id} has a long name, but no shortName`, {file:metadataFile}); if (app.type && !METADATA_TYPES.includes(app.type)) ERROR(`App ${app.id} 'type' is one one of `+METADATA_TYPES, {file:metadataFile}); @@ -296,7 +300,8 @@ apps.forEach((app,appIdx) => { if (INTERNAL_FILES_IN_APP_TYPE[app.type].includes(file.name)) fileInternal = true; } - allFiles.push({app: app.id, file: file.name, internal:fileInternal}); + if (!app.type=="defaultconfig") + allFiles.push({app: app.id, file: file.name, internal:fileInternal}); if (file.url) if (!fs.existsSync(appDir+file.url)) ERROR(`App ${app.id} file ${file.url} doesn't exist`, {file:metadataFile}); if (!file.url && !file.content && !app.custom) ERROR(`App ${app.id} file ${file.name} has no contents`, {file:metadataFile}); var fileContents = ""; @@ -494,7 +499,7 @@ while(fileA=allFiles.pop()) { if (isGlob(nameA)||isGlob(nameB)) ERROR(`App ${fileB.app} ${typeB} file ${nameB} matches app ${fileA.app} ${typeB} file ${nameA}`); else if (fileA.app != fileB.app && (!fileA.internal) && (!fileB.internal)) - WARN(`App ${fileB.app} ${typeB} file ${nameB} is also listed as ${typeA} file for app ${fileA.app}`); + WARN(`App ${fileB.app} ${typeB} file ${nameB} is also listed as ${typeA} file for app ${fileA.app}`, {file:APPSDIR_RELATIVE+fileB.app+"/metadata.json"}); } }) } diff --git a/core b/core index bf08b48483..3ec8e289a2 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit bf08b484830ef4e811faf67ec663ebf839b5d09b +Subproject commit 3ec8e289a26a545d0d0c50f6945978584fb3d7f8 diff --git a/typescript/types/info.d.ts b/typescript/types/info.d.ts index c305b02612..21014ff8fc 100644 --- a/typescript/types/info.d.ts +++ b/typescript/types/info.d.ts @@ -14,4 +14,4 @@ type AppInfo = { type AppType = "app" | "clock" | "widget" | "module" | "bootloader" | "settings" | "clkinfo" | "RAM" | "launch" | "textinput" | "scheduler" | - "notify" | "locale"; + "notify" | "locale" | "defaultconfig";