Commit Graph

25 Commits

Author SHA1 Message Date
Theo Arends af546d46d5 Fix GUI template config javascript regression 2022-04-08 10:23:10 +02:00
Theo Arends e9ec0934d3 Remove support for Internet Explorer
Remove support for Internet Explorer by allowing ECMAScript6 syntax using less JavaScript code bytes (#15280)
2022-04-03 15:01:47 +02:00
Bernhard Kirchen 34fb6dfe2a javascript: code large integers with scientific notation
99999999 and 1e8 are not the same number, but srollTop only needs to be
very large, not that particular number.

saves 18 Bytes of JavaScript code.
2022-04-03 12:38:19 +02:00
Bernhard Kirchen 09a4c62fee javascript: use arrow functions where possible
replacing anonymous functions by arrow functions saves 40 Bytes of
JavaScript code.
2022-04-03 12:38:19 +02:00
Bernhard Kirchen c9f428a4f6 console cursor: remove useless semicolons in JS code 2022-04-03 10:57:20 +02:00
Bernhard Kirchen 7ac91d4e34 console cursor: use lambda function 2022-04-03 10:50:58 +02:00
Bernhard Kirchen 5382579bff console cursor: use absolute cursor position
instead of moving the cursor to the end by using the input field value's
length, we move it to position 1e9, which will certainly be beyond the
end of the string.
2022-04-03 10:49:47 +02:00
Bernhard Kirchen 23495b967d console cursor: remove useless spaces in JS code 2022-04-03 10:48:51 +02:00
Bernhard Kirchen d2e8ca4a25 console: keep cursor at the end of command input
move the text cursor to the end of the command input when filling the
console command from history using JavsScript. this hopefully is more
convenient to most users and is similar to the behavior of a desktop
terminal.
2022-04-03 06:22:00 +02:00
Theo Arends 2dda90de72 Fix console log jumps
Fix console log jumps (#15070)
2022-03-09 10:32:47 +01:00
gemu2015 dbe91e5a1a add sivat timer update 2022-01-25 10:58:22 +01:00
Theo Arends be98882748 Add favicon for all 2022-01-08 14:18:16 +01:00
barbudor a27f398223 fix favicon 2022-01-08 13:53:03 +01:00
barbudor d419635be0 add #ifdef, works only uncompressed 2022-01-08 10:45:17 +01:00
barbudor 6bb60e4d95 reduce icon to 1 bit 2022-01-08 10:17:30 +01:00
barbudor b43c62f726 favicon unishox compression fixed 2022-01-07 23:35:06 +01:00
barbudor 9758587cdd favicon step 1 2022-01-07 20:23:33 +01:00
Barbudor 0e777193fc add 'show hidden files' checkbox in fileman 2021-10-03 20:11:14 +02:00
Theo Arends fd52bc4a39 GUI more compact relay state display 2021-04-03 16:17:48 +02:00
Barbudor f9ee78b501 keep timer loop when console is scrolled up 2021-02-23 19:07:56 +01:00
Theo Arends f58d779b2b Add optional SSE demo 2021-02-02 14:57:53 +01:00
Simon Hailes 0c38aca915 MAC compatible httm webtimout changes 2020-12-31 12:31:22 +00:00
Theo Arends 89e697fab6 Revert "Merge pull request #10318 from btsimonh/webtimeouts"
This reverts commit c7ff3f39db, reversing
changes made to 0703e5899b.
2020-12-31 11:47:37 +01:00
Simon Hailes 0ffa5ad75a Allow up to 20s for an XHR request to succeed - only cancel & retry after that. Move refresh timer inside successful response.
Applied to main menu and Console menu.
Fixes times when commands are issued from Web Console, but get the XHR gets cancelled after the default 2.345s webrefresh time.
2020-12-30 12:52:16 +00:00
Simon Hailes cb71466bd4 webserver - move all compressed scripts to subfolders /html_uncompressed and /htmlcompressed.
Add utility tools/unishox/compress-html-uncompressed.py to compress all files found in tasmota/html_uncompressed and write compressed version to tasmota/htmlcompressed
2020-12-29 09:53:15 +00:00