Gordon Williams
f1f1f11158
Added image background clock
2020-05-06 11:03:04 +01:00
Gordon Williams
620cdc1de1
tidying up beer & poi compass like in last qr code commit
2020-05-06 09:55:14 +01:00
Gordon Williams
8c9233d27f
Fix firmwaremaker.js regression under Node.js
2020-05-04 14:07:17 +01:00
Gordon Williams
0c08e16151
* Added code to handle Settings
...
* Added espruinotools.js for pretokenisation
2020-04-29 09:20:18 +01:00
Gordon Williams
c38f58fc9c
disable minify, keep pretokenise
2020-04-28 15:05:21 +01:00
Gordon Williams
44a58afd60
swap pretokenise to acorn lexer
2020-04-27 17:32:12 +01:00
Gordon Williams
44054aaf9e
update after fixing some pretokeniser issues
2020-04-27 17:00:54 +01:00
Gordon Williams
727d7a1452
Online minification test
2020-04-27 16:12:13 +01:00
Gordon Williams
1cdbe79bac
Tweak favourite apps code to remove the duplicated app uploader
2020-04-23 15:47:57 +01:00
Gordon Williams
5fe7f48477
Add 'update all' button ( fix #237 )
2020-04-20 10:07:55 +01:00
Gordon Williams
be0f3ef281
Merge pull request #329 from Fabio286/web-fix
...
Removed href="#" that scrolls pages on top
2020-04-20 09:09:11 +01:00
Fabio
c31394cb66
Removed href="#" that scrolls page on top
2020-04-20 09:27:57 +02:00
Richard de Boer
c7f2a18caa
Remove "settings" from appid.info
2020-04-17 21:08:07 +02:00
Richard de Boer
9f0adf1900
Data files: remove settings magic, some more sanitychecks
2020-04-16 20:42:23 +02:00
Richard de Boer
9e0fd91339
Data files: save all data files as a single string
...
Separate regular and storage files by a semicolon
2020-04-16 14:30:37 +02:00
Richard de Boer
217d198154
Add a "data" section to apps.json, with data files to clean on uninstall
...
These are added to `appid.info` as "dataFiles" or "storageFiles", and
can contain wildcards.
2020-04-16 14:30:37 +02:00
Gordon Williams
a56a9792f1
Rewrite 'getInstalledApps' to minimize RAM usage
2020-04-15 13:58:05 +01:00
Gordon Williams
9f8747a797
Version number now clickable even when you're at the latest version ( fix #291 )
2020-04-14 16:15:43 +01:00
Gordon Williams
1d371db916
Don't send double char code 16 when uploading
2020-04-14 16:11:43 +01:00
MaBecker
0fa4b44990
add favourite functionality
...
* library select/unselect apps/widgets
* as library section
* as upload
* deny unselect for boot and setting
2020-04-14 08:52:04 +02:00
Gordon Williams
d46e78808e
Fix issue removing an app that was just installed. Fix #253Fix issue removing an app that was just installed ( Fix #253 )
2020-04-08 16:23:51 +01:00
Gordon Williams
36a8957942
Remove 2v04 version warning, add links in About to official/developer versionsRemove
2020-04-08 08:53:40 +01:00
Gordon Williams
3b2558ddd8
Fix HTTPS warning positioning. Also doesn't matter for localhost
2020-04-07 10:53:02 +01:00
Gordon Williams
9f91b5559b
Merge pull request #242 from rigrig/updater
...
Improve update process
2020-04-07 09:08:51 +01:00
Gordon Williams
fc2060e7f0
tweaks and docs for readme file
2020-04-07 08:59:24 +01:00
Gordon Williams
416e749b03
Merge branch 'master' into master
2020-04-07 08:38:06 +01:00
Richard de Boer
d8da81ef68
Improve update process:
...
- Always fill appsInstalled before uploading
- Install: if app already on device, update instead
- Update: get files to remove from appid.info, only remove files which
won't be overwritten anyway
- Remove: get files to remove from appid.info
2020-04-06 21:37:27 +02:00
Paul Cockrell
085bacdf1a
Remove superflous function to check if readme key exists in apps.json for each app
2020-04-06 18:42:46 +01:00
Paul Cockrell
7df6bafdf9
Let user define README file in apps.json. Only show Read More link if one present
2020-04-06 18:29:34 +01:00
Paul Cockrell
3794dd542e
Move Readme link to below general description
2020-04-06 17:40:17 +01:00
Paul Cockrell
abca6359c2
Fix alignment
2020-04-06 17:36:38 +01:00
Paul Cockrell
e4431987d8
Correctly set shouldEscapeHtml variable default
2020-04-06 17:15:25 +01:00
Paul Cockrell
094d518180
Test
2020-04-06 17:01:41 +01:00
Paul Cockrell
65078cffef
Add argument to not escape html (in case of markdown->html for README
2020-04-06 16:49:42 +01:00
Paul Cockrell
44fff4a855
Add README to Mario Clock. Add README viewer to App installer
2020-04-06 16:36:18 +01:00
Gordon Williams
a96f32a015
Merge pull request #228 from OmegaRogue/master
...
Add PWA Support
2020-04-06 10:15:45 +01:00
OmegaRogue
68cd71344b
Scope for testing
...
Signed-off-by: OmegaRogue <thatomegarogue@gmail.com>
2020-04-04 12:57:10 +02:00
OmegaRogue
dfd98b2d3f
fixed paths
...
Signed-off-by: OmegaRogue <thatomegarogue@gmail.com>
2020-04-04 12:23:53 +02:00
OmegaRogue
65d3539383
added service-worker.js
...
Signed-off-by: OmegaRogue <thatomegarogue@gmail.com>
2020-04-04 12:12:11 +02:00
Richard de Boer
361d7b838f
Merge branch 'master' into app_settings
2020-04-03 19:31:56 +02:00
Gordon Williams
9b918055da
Fix progress bar - now goes smoothly up over the course of the app upload.
...
Also tidy it up significantly and reduce duplication
2020-04-03 14:27:45 +01: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
f14772f3a9
`Remove All Apps` now doesn't perform a reset before erase - fixes inability to update firmware if settings are wrong
2020-04-02 08:44:40 +01:00
Gordon Williams
f72bb986c9
Ensure upgrade of a custom app re-runs the customiser ( fix #160 )
2020-03-31 15:13:25 +01:00
Gordon Williams
dd0e3c89d1
Added showModal/hideModal utility functions
...
Added readStorageFile/eraseStorageFile to handle efficiently downloading large files (fix #119 )
2020-03-31 14:39:59 +01:00
Gordon Williams
04f8cbcd13
write code in chunks, in case it is too big to fit in RAM ( fix #157 )
2020-03-31 13:37:03 +01:00
Gordon Williams
b40c9031e1
refactor - move JS into its own directory
2020-03-31 13:18:31 +01:00