Commit Graph

117 Commits (26fd1302c1e67e07a590feb229c4a7f80d98cea6)

Author SHA1 Message Date
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
Martin Boonk 834b606f63 apploader - Ignore empty folder instead of creating invalid json 2022-06-19 19:29:40 +02:00
Gordon Williams e1cc59ec4f bootloader CRC 2022-06-09 17:06:52 +01:00
Gordon Williams 3a3a01136b mylocation 0.07: Move mylocation app into 'Settings -> Apps' 2022-05-26 12:50:44 +01:00
Gordon Williams 9d758075da Add extra checks for app type and dependencies, document available types, and fix invalid app types 2022-04-29 09:29:02 +01:00
Gordon Williams 1e09140515 check icons is a bit more resilient 2022-04-19 10:03:46 +01:00
Eskild Hustvedt c10bd83c9f Autogenerate apps.json if needed 2022-04-10 16:04:31 +02:00
Eskild Hustvedt aaefe390b0 Added basic command-line parameter handling 2022-04-10 12:17:14 +02:00
Eskild Hustvedt adb053ef1c Let language_scan optionally add stubbed translations
This lets it refresh existing languages with the latest strings, without using
the auto-translate feature. The strings will all simply be the English
equivalent.
2022-04-08 16:50:41 +02:00
copoer 187821bf49 Removed auto /*LANG*/, Added more languages 2022-02-10 09:30:00 -04:00
copoer d54fdaa9e8 Fixed settings files 2022-02-09 21:12:55 -04:00
copoer 4ce761dab9 Updated script to add more accurate string finding and auto translation 2022-02-09 19:52:49 -04:00
Alessandro Cocco 6676b32f9a Improve language_scan tool 2022-02-07 22:28:02 +01:00
Alessandro Cocco 2190926242 use the correct key to check for translations 2022-01-30 22:27:49 +01:00
Gordon Williams 1a92cc2557 fix broken scripts after metadata.json update 2022-01-27 16:36:45 +00:00
Gordon Williams a0e631a9dd fix script 2022-01-27 14:34:39 +00:00
Richard de Boer 46fbccf711
tell git to ignore modified `apps.json` when running create_apps.json.sh
Only if no arguments given: `create_apps_json.sh apps.json` will leave
it alone if someone really wants to overwrite+commit apps.json.
2022-01-20 20:41:30 +01:00
Richard de Boer e75a828fce
always use shell script to generate apps.json, remove js version
Gets rid of duplicated functionality, but allows passing a filename
argument to write to a different file instead of `apps.json`.
2022-01-20 20:41:30 +01:00
Richard de Boer a3b49a0d82
Support for localhost appstore
- Adds a script to generate `apps.local.json` from all metadata
- Makes the loader use `apps.local.json` when serving from localhost
- Adds npm `local` script to watch for changed metadata, while serving
  from localhost
2022-01-20 20:41:29 +01:00
Gordon Williams e997ad59ed more compatible app loader 2022-01-20 17:08:31 +00:00
Adam Schmalhofer 38170905ca Port firmwaremake*.js to metadata.json 2022-01-19 18:24:49 +01:00