Anton
29cfd17778
Create lint exemptions
2024-03-04 21:34:17 +01:00
Rob Pilling
07adead2ca
sanitycheck: avoid error after emitting changelog error
2024-02-27 22:12:09 +00:00
Rob Pilling
646b24e090
Improve boolean formatter check for showMenu() calls
...
See also #3149
2024-01-31 17:49:46 +00:00
Gordon Williams
168a018b00
update firmwaremaker to use new pretokenisation
2024-01-30 15:15:36 +00:00
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
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
Gordon Williams
752f8f6b29
oops - remove debug code
2022-01-19 16:48:38 +00:00
Gordon Williams
2a813e221a
Updated docs!
2022-01-19 16:21:07 +00:00
Gordon Williams
020e575ec7
Tweaks after 5e5d23c921
2022-01-19 15:56:33 +00:00
Adam Schmalhofer
d3af80efc9
Merge branch 'master' into jekyll-apps.json
2022-01-19 15:21:50 +01:00
Gordon Williams
bb8c291755
making language scan pop up more useful info
2022-01-19 11:30:18 +00:00
Gordon Williams
1b266f7279
Better support for translation, added some more common translations to German translation
2022-01-19 11:09:12 +00:00
Gordon Williams
85be6af02e
Add menu option for language translations ( fix #136 )
2022-01-18 16:21:30 +00:00
Adam Schmalhofer
3de7692e2c
Merge branch 'master' into jekyll-apps.json
2022-01-13 21:41:39 +01:00
Gordon Williams
fc8e089fbe
improve sanity checking - no false warnings for apps files with `supports` field
2022-01-12 11:05:27 +00:00
Adam Schmalhofer
6f9cd73425
Port sanitychess.js to metadata.json
2022-01-07 01:14:18 +01:00
Gordon Williams
36a8623810
check for duplicate apps
2022-01-04 09:37:59 +00:00
Gordon Williams
a8ccc840b7
allow slightly lower than 48px icons before erroring
2021-12-17 14:16:35 +00:00
Ben Whittaker
0944f73281
sanitycheck: error for newly added mis-sized icons
2021-12-16 22:16:29 -05:00
Ben Whittaker
a588280af7
sanitycheck: Warn about incorrectly sized js icons
2021-12-16 21:52:48 -05:00
Gordon Williams
e408345249
Scan text strings for #136
2021-12-14 10:57:48 +00:00
Gordon Williams
a45f7506ff
more app.json fixes, remove warning about settings as it seems nobody cares
2021-12-09 17:16:55 +00:00
Richard de Boer
efd12d627a
Settings library: use `appid.json`, update README.md and sanitycheck.js
2021-11-20 17:52:44 +01:00
Gordon Williams
ffc290cd6a
welcome as a default app
2021-11-09 20:13:55 +00:00
Gordon Williams
4a3ef4829c
alarm 0.14: Order of 'back' menu item
2021-11-08 10:03:33 +00:00
Gordon Williams
0a527c08c6
fix sanity check
2021-11-04 19:38:24 +00:00
Gordon Williams
ed9daa139a
ensure non-ascii is converted properly
2021-11-01 11:38:58 +00:00
Gordon Williams
011b4bc975
Change default apps
2021-10-29 08:33:13 +01:00
Gordon Williams
577bcd39b1
Merge bangle 1 and 2 welcome screens
2021-10-28 14:28:30 +01:00
Gordon Williams
eefa209af4
support for 'supports:["DEVICEID"]` for files in apps, merge launchb2 and launch
2021-10-28 12:14:02 +01:00
Gordon Williams
0161b1a8d2
Added screenshot display in app list (automatic screenshots should follow soonish)
2021-10-26 13:15:21 +01:00
Gordon Williams
8b9d43dece
automatic thumbnailing
2021-10-26 12:40:08 +01:00