Commit Graph

142 Commits (master)

Author SHA1 Message Date
Martin Boonk 1a8f8d9cdf Improve localization for de_DE 2022-06-04 14:30:28 +02:00
Martin Boonk 67992dc4bb Allow reading custom themes from files 2022-06-04 14:00:38 +02:00
Alessandro Cocco f01dd23bab [Settings] Improve "Turn Off" user experience
- User must confirm
- Show a goodbye message
- Clear the screen
2022-05-29 22:29:26 +02:00
Gordon Williams 6b8cf13f6c 0.46: Fix regression after making 'calibrate battery' only for Bangle.js 2 2022-05-26 10:07:04 +01:00
Gordon Williams 4cbc80ddbb oops - disable battery calibration for Bangle.js 1 2022-05-25 14:12:55 +01:00
Gordon Williams 1b290a6982 settings 0.45: Add calibrate battery option 2022-05-23 11:16:40 +01:00
Alessandro Cocco fdcb965b5e [Settings] Improve the "Date & Time" menu
- Use month name instead of month number
- Move the "time" options after the "date" options
2022-05-03 23:22:50 +02:00
Alessandro Cocco ec4ba0d0a7 [Settings] Fix the time zone format
A positive value is shown as '+X' instead of 'X'
2022-05-03 23:22:50 +02:00
Alessandro Cocco 74db2585d7 [Settings] Add new option for selecting the first day of the week 2022-05-03 23:22:50 +02:00
Richard de Boer ff0dac7e33
settings: Add some Bangle 1 colours to theme customizer
orange, purple and grey seemed distinct enough to be nice additions
2022-04-26 18:46:50 +02:00
Gordon Williams 75694c9be1 change default background for dark theme to something a bit less extreme 2022-02-23 16:29:06 +00:00
Gordon Williams c1db203205 settings 0.42: Fix theme customizer on new Bangle 2 firmware 2022-02-15 15:07:11 +00:00
Gordon Williams 02feba3f45 quick tweak - fix HID joystick selection 2022-02-11 11:32:53 +00:00
Gordon Williams e56d75eb88 minor extra language translations 2022-01-19 11:49:59 +00:00
Gordon Williams 5ea2cf8b56 settings 0.41: Stop users disabling all wake-up methods and locking themselves out (fix #1272) 2022-01-12 13:37:39 +00:00
Gordon Williams 569c5f9e2b Add LANG tags to settings for translations 2022-01-12 10:59:02 +00:00
7kasper 47da82a547
Add HID option to settings. 2022-01-07 16:48:15 +01:00
hughbarney 8fd1eb5d24 merge with upstream, resolve conflicts 2022-01-04 18:42:45 +00:00
hughbarney 6c4e59d595 Settings, moved Turn Off into Utils 2022-01-02 16:40:49 +00:00
t0m1o1 3873acd7bb
Update settings.js 2021-12-24 03:17:11 +00:00
t0m1o1 144bb88400
Update settings.js 2021-12-24 03:03:45 +00:00
hughbarney aa365bc1de Setting: restructed menus as per forum discussion 2021-12-16 21:11:51 +00:00
Gordon Williams bb10a5a3dd boot 0.39: Fix passkey support (fix https://github.com/espruino/Espruino/issues/2035 2021-12-15 11:48:03 +00:00
Gordon Williams c7a9fc751d Start of app translation support (no menu to enable it yet) - https://github.com/espruino/BangleApps/issues/136 2021-12-14 16:21:05 +00:00
Gordon Williams 59b06d5aef boot 0.38: Option to log to file if settings.log==2
settings 0.36: Added 'Utils' menu with helpful utilities for restoring Bangle.js
2021-12-09 16:49:28 +00:00
Gordon Williams ff8b08911d 0.35: Change App/Widget settings to 'App Settings' so it fits on Bangle screen 2021-12-06 16:17:55 +00:00
Richard de Boer c24f67b06b settings: remove Quiet Mode LCD options
Updating these will be handled by the Quiet Mode Schedule app (qmsched)
2021-12-02 22:54:16 +01:00
Gordon Williams 816635eaf7 0.33: Really fix 'beep' menu on Bangle.js 2 this timeproper fix for beep switching 2021-11-18 14:08:12 +00:00
Gordon Williams 6bd548d409 setting 0.32: Fix 'beep' menu on Bangle.js 2 2021-11-18 10:27:26 +00:00
Gordon Williams 102b1b2ddb update default BG2 theme colour 2021-11-02 15:36:19 +00:00
Gordon Williams d771a6a732 boot 0.35: Add Bangle.appRect polyfill
Don't set beep vibration up on Bangle.js 2 (built in)
settings 0.31: Remove Bangle 1 settings when running on Bangle 2
2021-10-27 16:49:53 +01:00
Gordon Williams 45b5332c3c oops, and update versions after merge 2021-10-06 20:17:34 +01:00
Gordon Williams 05145da819 tweaks to last commit 2021-10-06 20:14:22 +01:00
Gordon Williams 2b5f1228b8
Merge branch 'master' into custom_theme 2021-10-06 19:55:00 +01:00
Gordon Williams f78c9b7c22 settings 0.29: Move '< Back' to the top of menus 2021-10-06 09:45:12 +01:00
Richard de Boer dead112871 settings: customize theme 2021-10-03 21:03:07 +02:00
Richard de Boer 1aeed274c3 settings: update Quiet Mode widget (if present) 2021-08-11 01:30:11 +02:00
Gordon Williams 2b53e6f84d correct default light theme 2021-06-30 13:52:52 +01:00
Gordon Williams ede6318ac6 add settings theme menu 2021-06-24 16:09:40 +01:00
Gordon Williams d570261e47 Revert "Revert softOff as it seems broken on Bangle.js" - fixed! https://github.com/espruino/Espruino/issues/2011
This reverts commit d92855a4c6.
2021-05-28 19:41:33 +01:00
Gordon Williams d92855a4c6 Revert softOff as it seems broken on Bangle.js 2021-05-28 14:50:52 +01:00
Gordon Williams 96afb54d0a setting 0.26: Use Bangle.softOff if available as this keeps the time 2021-05-28 12:02:59 +01:00
Richard de Boer ed548dd6e9 settings: add Quiet Mode options
Override LCD options during quiet time:
- Brightness
- Timeout
- Wake on Touch
- Wake on Twist
- Wake on Face Up
2021-03-25 23:53:51 +01:00
Richard de Boer 2ce6adcb55 settings: add Quiet Mode setting
options: Off/Alarms/Silent
2021-03-25 23:53:51 +01:00
nujw ab6b6c5fe4
NZ summer time is UTC+13
Increased maximum locale time offset from 12 to 13.
2021-01-28 17:43:52 +13:00
Gordon Williams f352281482 settings: Move HID to BLE menu 2020-09-28 09:05:28 +01:00
Gordon Williams cb0b228f0e Settings 0.21: Add passkey pairing option (BETA), Add whitelist option (fix #78) 2020-07-30 09:59:20 +01:00
Gordon Williams 529c2403b3 Merge branch 'passkey_pairing' 2020-07-30 09:08:31 +01:00
Frans Meulenbroeks b4f5549c54 Allow 31 as day number 2020-06-08 16:45:16 +02:00
Gordon Williams de58659257 settings: Fix set time menu, allow dates to roll over 2020-06-08 09:52:27 +01:00
Gordon Williams 297188624e Move BLE into its own menu, add passkey pairing setup. Doesn't seem great when working via web bluetooth 2020-05-15 16:14:17 +01:00
Gordon Williams 53d9982a5a tweak to aid with settings development - fix #366 2020-04-30 10:23:43 +01:00
Gordon Williams 2651508dfc oops - fix to limit HID choices 2020-04-28 17:03:52 +01:00
Gordon Williams 517c35a37d Added BLE HID option for Joystick and bare Keyboard, update HID apps to send correct info 2020-04-28 15:23:02 +01:00
Richard de Boer c7f2a18caa Remove "settings" from appid.info 2020-04-17 21:08:07 +02:00
Gordon Williams eb4ac302cc Reduce memory usage further when running app settings page 2020-04-16 11:33:36 +01:00
Gordon Williams 78214a267e 0.15: Reduce memory usage when running default clock chooser (#294) 2020-04-15 10:35:29 +01:00
Gordon Williams d54c0c7dea 0.14: Reduce memory usage when running app settings page 2020-04-14 16:11:29 +01:00
Gordon Williams 1a69b2a3ac
Merge branch 'master' into setting 2020-04-14 10:13:09 +01:00
Richard de Boer f5246a4212 Some minor settings fixes 2020-04-12 01:29:57 +02:00
Marco Heiming d9a9bae5ee Move LCD Brightness menu into more general LCD menu & unify writings 2020-04-10 17:42:14 +02:00
Gordon Williams f0cd452622 0.12: Fix memory leak (#206)
Bring App settings nearer the top
      Move LCD Timeout to wakeup menu
2020-04-09 21:51:19 +01:00
Gordon Williams 50e61015ec Settings: Make LCD brightness work after leaving settings (fix #186) 2020-04-08 10:16:32 +01:00
Gordon Williams 2dfbbfd64e
Merge branch 'master' into lcd-brightness-setting 2020-04-06 10:03:28 +01:00
Simon Weis da0aa84705 Adds LCD brightness setting 2020-04-05 16:30:55 +02:00
Simon Weis d325be9b57 Merge branch 'master' into auto-on-settings 2020-04-04 17:56:49 +02:00
Simon Weis dd2b820587 Changed wording a bit 2020-04-04 17:50:23 +02:00
Simon Weis 90e49c215a Remove left over code 2020-04-04 17:40:18 +02:00
Simon Weis a5a05baa56 Add lcd auto-on settings 2020-04-04 17:37:33 +02:00
Richard de Boer 7b669cd028 Move Welcome config into App/widget settings 2020-04-04 01:30:33 +02:00
Richard de Boer 048a042ffa Revert "Settings: load app settings in their own scope"
> Actually eval('('+appSettings+')') is significantly worse I'm afraid.
>
> Basically, if you do Storage.read you get a pointer to external memory
> Any functions have their code kept in that memory so it saves loads of
> RAM. The second you append to the string it has to copy everything to
> RAM - so now every function ends up in RAM, not Flash :(

This reverts commit c135c70f
2020-04-03 21:32:05 +02:00
Richard de Boer fc7e61e2ca Settings: minor reformat 2020-04-03 19:59:15 +02:00
Richard de Boer c135c70f7e Settings: load app settings in their own scope 2020-04-03 19:56:30 +02:00
Richard de Boer 39621bfae0 Settings: Add support for app/widget settings
Apps and widgets can add a `<appid>.settings.js` file which can be
opened from the "App/widget settings" submenu.
This file should define a single function to configure the app/widget.
The function is passed a `back` argument, which can be used to return to
the settings menu by calling `back()`.

Example `<appid>.settings.js`:
```
function settings(back) {
  const mySettingsMenu = {
    '': { 'title': 'My Widget' },
    '< Back': back, // go back to settings menu
    'Sound': {
      value: false,
      format: s => s ? 'on' : 'off',
      onchange: s => {if(s) Bangle.beep()} // TODO: save new value
    },
  };
  E.showMenu(mySettingsMenu)
}
```
2020-04-03 01:46:43 +02:00
Gordon Williams a874d5838c Added vibrate as beep workaround 2020-03-25 11:05:33 +00:00
Gordon Williams af686919a1 Remove distance setting as there's a separate app for Locale now 2020-03-10 12:35:45 +00:00
Gordon Williams 6cfe9c340b Take advantage of recent nonbreaking change that stops readJSON from causing errors 2020-02-28 17:02:26 +00:00
Gordon Williams 50e3c852fb MASSIVE REFACTOR
New Bangle.js firmwares remove 8 char name restriction so we're ditching the first char -> file type and using normal file extensions
Took the opportunity to remove code for older Bangle.js (since the new stuff won't work anyway)
Also removed the need for an 'app.json' - it's now renamed 'app.info' on the watch, and we just auto-generate it
Renamed a few apps so widgets all start with 'wid'
2020-02-28 11:44:25 +00:00
Gordon Williams 9a76d6d800 Disable GPS time log messages, add (default=1) setting to hide log messages 2020-02-25 13:34:06 +00:00
Gordon Williams 860da909bf Added welcome app (fix #96)
When installing default apps, update time
2020-02-13 08:18:46 +00:00
Gordon Williams 47205bfe61 Add alarms app (fix #83) 2020-02-12 10:48:14 +00:00
Gordon Williams 184f173e44 no need to set screen on all the time 2020-02-10 16:58:34 +00:00
Gordon Williams 3eb5d15267 Fix https://github.com/espruino/BangleApps/issues/93 2020-02-10 13:49:57 +00:00
Gordon Williams 527ff57e99 Simplify settings and add locale submenu, add 12/24 hour option (fix #76), add distance format option, and ensure settings all apply at boot by moving them to the bootloader 'app' (fix #89) 2020-02-04 16:17:23 +00:00
Gordon Williams 6d15ec14f0 Fix issue passing extra arguments to load() now we've allowed load to take an extra argument 2020-01-17 11:53:54 +00:00
Gordon Williams b4b882d523 replace deprecated Bangle.menu 2020-01-17 11:32:32 +00:00
Ujjwal Sharma 08c8ef70d1
fixup! feature: all thirty-minute timezones 2019-12-19 19:53:53 +05:30
Ujjwal Sharma d483eb9064
feature: all thirty-minute timezones 2019-12-19 03:12:55 +05:30
Gordon Williams cc06038619 enable BLE/programmable by default for now or it's a support nightmare 2019-12-05 11:48:41 +00:00
Gordon Williams f04f6f62aa just quickly fix #15 2019-11-20 08:19:56 +00:00
Gordon Williams bc9e1e566f Merge branch 'clock-select' of https://github.com/knolleary/BangleApps into knolleary-clock-select 2019-11-18 10:09:48 +00:00
ra100 da1d4d768c
🚚 Move apps to subfolders #46 2019-11-17 23:43:58 +01:00