Max Prokhorov
8e7854b04e
WebUI fix change detection of input elements ( #1986 )
...
- use setOriginalsFromValues function right after elements had changed and
**only** with those elements
- add checkbox handling to setOriginalsFromValues to match hasChanged
- apply hasChanged after value is set to refresh originals after saving
- change parts that already set 'original' attribute manually
This was sort-of broken, because original attr never worked as intended.
Also fix possible OOM for large WebUI images, since sending full config each time means that we need more memory to buffer and parse it.
2019-12-18 17:45:51 +03:00
Xose Pérez
b00b159e42
Do not check line-end-style in web UI builder ( #1657 )
2019-03-25 13:46:25 +01:00
Dmitry Blinov
376205c9bb
Merge branch 'dev' into thermostat
...
# Conflicts:
# code/espurna/config/webui.h
# code/espurna/data/index.all.html.gz
# code/espurna/data/index.light.html.gz
# code/espurna/data/index.rfbridge.html.gz
# code/espurna/data/index.rfm69.html.gz
# code/espurna/data/index.sensor.html.gz
# code/espurna/data/index.small.html.gz
# code/espurna/espurna.ino
# code/espurna/static/index.all.html.gz.h
# code/espurna/static/index.light.html.gz.h
# code/espurna/static/index.rfbridge.html.gz.h
# code/espurna/static/index.rfm69.html.gz.h
# code/espurna/static/index.sensor.html.gz.h
# code/espurna/static/index.small.html.gz.h
# code/espurna/web.ino
# code/gulpfile.js
# code/html/index.html
2019-03-08 01:35:36 +02:00
Dmitry Blinov
ec39ac5c88
Fix conflicts:
...
1. Add thermostat to the espurna_modules in progmem.h
2. Add thermostat to webui, gulp, html, js.
3. in general.h MQTT_USE_JSON returned to 0 by default and 1 if thermostat enabled.
2019-03-08 01:02:11 +02:00
Andrey F. Kupreychik
609e047f95
Merge remote-tracking branch 'xoseperez/dev' into lightfox-dual
2019-03-05 22:44:29 +07:00
Malachi Soord
c8231860ac
[copyright-update] Update for 2019
2019-02-23 22:35:49 +01:00
Andrey F. Kupreychik
bcb36c1859
Merge remote-tracking branch 'xoseperez/dev' into lightfox-dual
2019-01-04 19:10:04 +07:00
Andrey F. Kupreychik
8b4713dee1
UI for LightFox
2019-01-04 18:57:07 +07:00
Max Prokhorov
65d5a50b0b
Update to gulp@4
2018-12-09 00:03:55 +03:00
Max Prokhorov
1383b4441e
Update npm packages
...
Bump npm version installed by travis
Update package-lock for latest npm version
Bump packages versions and clean-up unused
Missing datatables.js images to avoid warnings
2018-09-22 05:04:20 +03:00
Xose Pérez
592ee1b593
Fix codacy issues
2018-08-27 11:50:23 +02:00
Xose Pérez
d4e5302a81
Fix codacy issues
2018-08-27 11:39:53 +02:00
Xose Pérez
3bad3428bb
Add RFBRIDGE code to full webUI image ( #1157 )
2018-08-27 10:49:00 +02:00
Xose Pérez
88d0ad7d67
Fix codacy issues in build.js
2018-07-23 15:39:34 +02:00
Indu Prakash
380eee72cb
Using correct separator
2018-07-11 17:29:26 -05:00
Xose Pérez
008abd619a
Merge branch 'dev' into rfm69
2018-06-28 14:14:59 +02:00
gn0st1c
26e25650b2
Update gulpfile.js
...
tabs to spaces for consistency
2018-06-25 22:15:59 +03:00
Xose Pérez
3cd58e7f7c
Initial support for RFM69GW board
2018-06-24 22:39:06 +02:00
Xose Pérez
cfbd071a71
Use full web UI image if device has more than one webui module ( #981 )
2018-06-23 19:35:20 +02:00
Xose Pérez
1c755cfb89
Pre-build the different available WebUI images
2018-06-22 20:19:39 +02:00
Xose Pérez
2dd60912cc
Silent webui build on commit
2018-06-21 18:09:34 +02:00
Xose Pérez
52ca64eded
Clean up builder files
2018-06-21 00:38:13 +02:00
Xose Pérez
b56e986e69
Support for webui_module configuration in the OTA manager
2018-06-20 12:02:57 +02:00
Xose Pérez
894e19124d
Build correctly when no modules
2018-06-20 10:14:04 +02:00
Xose Pérez
1583a5810f
Configure what HTML modules has each image
2018-06-18 14:44:42 +02:00
Xose Pérez
79cb59b06c
Adding filtering code to HTML and JS files
2018-06-16 23:00:15 +02:00
Xose Pérez
86d9ee8009
CSS optimization ( #870 , #871 )
2018-05-21 12:48:04 +02:00
Xose Pérez
6f62758244
Using crass for CSS minification
2018-03-30 23:31:51 +02:00
Xose Pérez
c69d47acd3
Fix codacy issues
2018-03-13 08:40:46 +01:00
Xose Pérez
191e805b78
Remove dependency from gulp-util ( #493 )
2018-03-02 14:01:25 +01:00
Xose Pérez
536211f030
Still refactoring custom.js
2018-02-08 23:01:14 +01:00
Xose Pérez
21fb8d8b59
Small fixes to custom and gulpfile js
2018-02-08 13:00:33 +01:00
Xose Pérez
939a1e184a
Added CSS lint to gulp file
2018-01-26 23:54:38 +01:00
Xose Pérez
a843698b9f
More js fixes
2018-01-15 20:30:22 +01:00
Lazar Obradovic
902180db12
try 2
2018-01-12 16:08:44 +01:00
Lazar Obradovic
023f70d203
lintfixes, try1
2018-01-12 15:00:46 +01:00
Xose Pérez
af805ab045
Update copyright notices
2018-01-07 01:21:23 +01:00
Xose Pérez
8b87f70696
Add HTML linter to gulp builder, fix issues with HTML
2017-12-08 09:59:06 +01:00
Xose Pérez
a7c2a6b197
HTTPS disabled by default
2017-08-14 12:05:02 +02:00
Xose Pérez
e850c68c85
Testing web interface over SSL
2017-08-14 09:54:08 +02:00
Xose Pérez
a67c80de69
Small changes
2017-07-23 16:39:04 +02:00
Xose Pérez
47e2847e79
Cleanup gulp files
2017-07-21 13:32:20 +02:00
Xose Pérez
295c0518cb
Cleanup gulp dependencies
2017-07-14 23:00:04 +02:00
Xose Pérez
9bf4a2b725
Enable embedded web by default
2017-03-12 22:17:33 +01:00
Xose Pérez
13c53c7c6d
Split data.h content in 1k chunks since Arduino IDE chokes at long lines
2017-02-26 00:20:47 +01:00
Xose Pérez
0c1da2c7a8
Fix gulp task dependencies
2017-02-22 19:05:07 +01:00
Xose Pérez
758d166ccd
Cleaner web embedding process
2017-02-20 23:34:40 +01:00
Xose Pérez
be1fac2f44
Using gulp to generate the embedded web contents, added Last-Modifier support to embedded home
2017-02-19 19:29:51 +01:00
Xose Pérez
9d9f0e9a02
Embed images and favicon into HTML file
2017-02-17 23:38:29 +01:00
Xose Pérez
eed5acc346
Unified web file to improve reliability
2017-02-15 17:23:06 +01:00