Commit Graph

137 Commits (d35b71afce8397221a105b8d18a01eae3c7840e8)

Author SHA1 Message Date
Rob Pilling fa88a3edc0 sanitycheck: improve boolean formatter regex
check for "on", and make case-insensitive
2024-01-18 18:43:14 +00:00
Rob Pilling 6e3066d444 sanitycheck: warn on boolean-formatters 2024-01-08 21:53:11 +00:00
Rob Pilling 7852bf2f88 sanitycheck.js: detect apps that may mistakenly have an app.js file 2023-11-18 10:35:31 +00:00
Gordon Williams dc3a49424e fix duplicate JS files in output 2023-08-07 11:31:29 +01:00
Gordon Williams 9de21e461c Moved apploader from BangleApps to make it common to AppLoaderCore 2023-07-07 15:22:47 +01:00
Gordon Williams 2e6574f6ed Making appinfo language scan work under node.js moving language_scan and other libs into AppLoader core from BangleApps 2023-07-07 15:19:32 +01:00
Gordon Williams 456d2c7293 misc tweaks to built-in tools 2023-07-07 14:32:11 +01:00
Rob Pilling 3defe2f04e sanitycheck: record known non-json storage files 2023-06-20 22:08:29 +01:00
Rob Pilling 1551e2bdf4 sanitycheck: regex test for settings, instead of endsWith() 2023-06-20 07:49:58 +01:00
Rob Pilling f1d0bf4d62 sanitycheck: look for untracked setting files 2023-06-20 07:49:58 +01:00
Rob Pilling 6122eeb9ca sanitycheck: whitespace 2023-06-20 07:49:52 +01:00
Gordon Williams 4b2061e899 Update app metadata to make clockinfo apps easier to find 2023-04-28 09:59:11 +01:00
Gordon Williams 94be5d4627 Add check for unlinked READMEs 2023-03-09 09:54:26 +00:00
Gordon Williams 781d7b96fd fix device ID setting so tools for Bangle.js 1 use the right ID 2023-03-07 14:58:07 +00:00
Gordon Williams 124c3578a9 Better font for rendering japanese characters 2023-02-20 15:46:11 +00:00
Gordon Williams d7bba0042f Added Japanese auto-translations as per https://github.com/espruino/BangleApps/issues/1311#issuecomment-1433484209 2023-02-20 14:12:33 +00:00
Gordon Williams 3318c73ad9 help 2023-02-20 13:24:28 +00:00
Gordon Williams 537ece3f89 fix language scanner 2023-02-20 13:23:14 +00:00
Gordon Williams d2154bbfec more useful app tests 2023-01-12 11:50:06 +00:00
Gordon Williams 8bfbffffe5 apploader.js now installs dependencies 2023-01-12 11:49:52 +00:00
Gordon Williams 009d93bdca fix screenshot dir 2022-12-16 10:05:19 +00:00
Gordon Williams b89a368bd9 Removed duplication in node.js apps with 2 new libraries, added an 'app test' program - not finished yet 2022-12-16 10:04:27 +00:00
Richard de Boer bc3ab8ef76
messagelist: new app 2022-12-14 20:45:27 +01:00
Gordon Williams aabcb62a28 fix overzealous sanity check 2022-12-12 11:37:19 +00:00
Gordon Williams cd785f34aa
Merge branch 'master' into unlibrify-message-widgets 2022-12-09 10:34:38 +00:00
Gordon Williams 7a2af0e61d Fixing warnings 2022-12-09 09:52:34 +00:00
Richard de Boer ec410fdac7
Message widgets: we don't need a library 2022-12-08 22:33:04 +01:00
Gordon Williams 3e5c0538a9 Support for provides_widgets entry in metadata, and try and tag existing widgets
Support for 'default' tag and add it to apps that we expect would be used by default with the Bangle
split widalarm out of alarm

fixes https://github.com/espruino/BangleApps/issues/2353
2022-12-06 10:25:32 +00:00
Richard de Boer 2a506e7421
messages: split library/gui/widget into separate apps 2022-11-26 16:52:17 +01:00
Gordon Williams c4e1fd01be Added clkinfosunrise to allow clocks to display sunrise and sunset if they use clock_info 2022-11-21 16:37:04 +00:00
Gordon Williams bf6e0ed5ca Use heatshrink/imageconverter from webtools - see https://github.com/espruino/BangleApps/pull/2299 2022-11-21 12:16:27 +00:00
Gordon Williams fb7b97f7d2 fix accidental commit 2022-11-16 15:36:14 +00:00
Gordon Williams 0fb45cb6fc Add module app type and provides_modules, 2022-11-16 15:17:28 +00:00
Gordon Williams 1ad66dd16e Misc tweaks - and linking to privacy policy for collected data 2022-11-07 09:22:36 +00:00
Gordon Williams 33f75cbe93 Fix #2174 2022-10-12 09:06:25 +01:00
Richard de Boer e072fe23a1
apploader.js: add -b1 param to upload to Bangle.js 1 2022-09-09 15:10:06 +02:00
Richard de Boer 0a7f3abb08
apploader.js: don't hide errors while loading 'noble'
Loading the module can also fail when e.g. compiled against a different
Node.js version, don't hide those errors.
2022-09-09 15:01:46 +02:00
Gordon Williams 23eb487024 quick update to make initial error easier to find if noble not installed 2022-09-09 09:41:00 +01:00
Gordon Williams faf879c59c Fix app loader after previous core changes 2022-09-09 09:38:52 +01:00
Gordon Williams 425930f2ec add line numbers for loadWidgets error message, and provide a way to ignore messages we know about 2022-09-05 13:38:34 +01:00
Gordon Williams 84819f5cae Add sanity check for clocks calling loadWidgets before setUI 2022-09-05 11:03:41 +01:00
ash 5a6b37f3cc Use /usr/bin/env as shebang everywhere
It's not guaranteed that bash will be available at /bin/bash; it's even
less likely that node will always be installed at /usr/bin/node{,js}.
Always indirecting through /usr/bin/env means that there is only one
such path that needs to be available.
2022-08-17 23:03:21 +01:00
Gordon Williams 91728c147f Big refactor to attempt to merge all the waypoints code into one place. At least 3 apps had basically identical interface.html files, and yet wpmoto had a great map-based editor. 2022-07-26 16:14:04 +01:00
Gordon Williams 66fa53b809 Add check for files expected in certain app types - remove warnings about `textinput` 2022-07-26 14:54:34 +01:00
BartS23 bf2613c440
Output app name, reset lcd and intervals
flow app sets LCDMode to 120x120 wich will break image export (TypeError: FUNCTION_TABLE[(HEAPU8[(($0 + 52) | 0)] | (HEAPU8[(($0 + 53) | 0)] << 8) | ((HEAPU8[(($0 + 54) | 0)] << 16) | (HEAPU8[(($0 + 55) | 0)] << 24)))] is not a function)

Some applications use a very short timeout, which also break the export.
2022-07-13 21:23:33 +02:00
BartS23 5f4db2e78c
Don't treat "Uncaught Storage Updated!" as error 2022-07-12 14:14:49 +02:00
BartS23 b580fa2f84
Require espruinotools as Espruino
To avoid the error below:

ReferenceError: Espruino is not defined
    at parseJS (eval at <anonymous> (/home/romek/Bangle/BangleApps/bin/thumbnailer.js:43:1), <anonymous>:95:5)
    at eval (eval at <anonymous> (/home/romek/Bangle/BangleApps/bin/thumbnailer.js:43:1), <anonymous>:166:37)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Promise.all (index 0)
2022-07-12 13:46:25 +02:00
Gordon Williams b6f501b6bf check for badly named changelogs, fix some more (ref #2024) 2022-07-06 09:30:44 +01:00
Gordon Williams 44905c795e include sched in installed apps - bin/firmwaremaker_c.js 2022-07-01 08:10:29 +01:00
Gordon Williams fe707c335e Add (hopefully!) github actions compatible error messages so we get files marked 2022-06-28 11:51:25 +01:00