452 Commits

Author SHA1 Message Date
Xose Pérez
426aafd5b3 Update custom.js 2018-10-07 12:34:18 +02:00
Marcos Pérez Ferro
f77dd5f860 Admin pass validation condition always failing. Adding hyphen to valid chars. 2018-10-06 15:34:18 +02:00
Max Prokhorov
d69c30aa61 Use specific function to check form 2018-09-29 06:55:49 +03:00
Max Prokhorov
9cdf59f1b2 Fix selector order 2018-09-29 04:49:15 +03:00
Max Prokhorov
7a8949fd24 Check if password is required before showing alert
Show alert if no input on #password page
Do not fail with empty password when on #layout
Fix password selector
2018-09-29 04:49:15 +03:00
Max Prokhorov
54ec4fa28a attr() is undefined when elem doesnt have it 2018-09-28 08:07:22 +03:00
Xose Pérez
5488bfaf7f API is not restful (issue a PUT to change a relay status). It can be disabled from web UI (#1192) 2018-09-26 01:06:04 +02:00
Xose Pérez
50b21dd0ca Merge pull request #1209 from mcspr/webui-form-enter
Avoid implicit type="submit" buttons
2018-09-25 22:40:04 +02: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
Max Prokhorov
bcddc44cbc Avoid implicit type="submit" 2018-09-18 09:21:56 +03:00
Max Prokhorov
399458d632 Submit password on Enter 2018-09-18 07:58:14 +03:00
Max Prokhorov
822837f7b2 Use separate form for each panel 2018-09-17 05:22:21 +03:00
Max Prokhorov
3c91389c20 Update password UI
* revise first-time-use screen
* generate password (policy applies)
* hide/reveal password text for sta/admin settings
* changed autocomplete='...' for some inputs to avoid completion
2018-09-17 05:22:21 +03:00
Xose Pérez
88e2ecccce Improve memory info 2018-09-11 23:40:52 +02:00
Xose Pérez
d476557329 Move string parts to progmem 2018-09-10 10:36:08 +02:00
Max Prokhorov
f59d747af1 do not reset original attr every ws message 2018-09-04 17:48:42 +03:00
Max Prokhorov
0caf7a4aac attr() returns text, do not compare to 0 / 1 2018-09-04 17:48:42 +03:00
Maxim Prokhorov
e326fbe09f hostname/password length requirements
* fix webui regexp and input length limits
* explain requirements in webui and headers
2018-09-03 06:47:36 +03:00
Xose Pérez
3c0a76a528 Merge branch 'dev' of github.com:xoseperez/espurna into dev 2018-09-02 10:58:56 +02:00
Xose Pérez
b84bcdc0f5 Fix eneUnits key in web UI (#1177) 2018-09-02 10:58:43 +02:00
zafrirron
a77f6d4c88 Fix typo in hint text 2018-08-31 23:21:37 +03:00
Xose Pérez
5f4bfe3782 Allow faster sensor reading intervals, down to 1 second (#848) 2018-08-30 00:28:28 +02:00
Xose Pérez
01802741f2 Tested encoder support 2018-08-29 08:26:15 +02:00
Xose Pérez
d546a069e2 Option to save total energy in EEPROM after X reports, disabled by default 2018-08-25 17:09:13 +02:00
Xose Pérez
412c5a672a Show literal for webUI image in info (#1142) 2018-08-25 09:44:28 +02:00
Xose Pérez
4f61d3aa7e Option to remove API_SUPPORT at build time 2018-08-16 12:09:51 +02:00
Rui Marinho
43abc6b9d4 Add support for NewPing
* Works with many different ultrasonic sensor models: HC-SR04, SRF05,
  SRF06, DYP-ME007, JSN-SR04T & Parallax PING)))™.
* Built-in digital filter method ping_median() for easy error correction
  (use SONAR_ITERATIONS build flag to configure).
* Allows setting of a maximum distance where pings beyond that distance
  are read as no ping or clear (use SONAR_MAX_DISTANCE build flag).
2018-08-09 02:22:56 +01:00
Xose Pérez
f9d7390b89 Merge branch 'dev' into sensors 2018-07-26 13:28:30 +02:00
Xose Pérez
e0f72bee0e Fixing look & feel 2018-07-23 11:09:50 +02:00
userName
959bb2a598 some socket debugging escaped... sorry) 2018-07-22 09:06:52 +03:00
userName
df9fecd16a removed blind copy/paste console.log....
improved CSS to comply with CODACY rules
2018-07-22 09:00:02 +03:00
userName
4094adbae6 changed the look and feel of the checkboxes to resolve Edge issue and bring disabled state
also minor html fixes
2018-07-21 23:45:48 +03:00
Xose Pérez
fba8a9f45f Handle events in EventSensor 2018-07-14 14:21:15 +02:00
Maxim Prokhorov
2879f58fb1 Show APP_REVISION value in terminal and web 2018-07-13 02:03:24 +03:00
Xose Pérez
35d1d4046e Merge pull request #1035 from mcspr/alert-haschanged
Don't show alert on already set hostname
2018-07-12 09:20:47 +02:00
Maxim Prokhorov
6cf55da375 Don't show alert on already set hostname 2018-07-06 13:19:54 +03:00
Max Prokhorov
712cbe4942 Safari needs -webkit- prefix for clip-path 2018-07-05 17:58:45 +03:00
Xose Pérez
af47959b85 Fix return value for doClearMessage callback 2018-06-28 19:38:34 +02:00
Xose Pérez
7b0d062190 Fix RFM69 message buttons in Web UI 2018-06-28 19:30:41 +02:00
Xose Pérez
0506f97f7b Update to latest RFM69 version 2018-06-28 16:34:26 +02:00
Xose Pérez
8411e7bfe6 Fix filter buttons color 2018-06-25 13:46:49 +02:00
Xose Pérez
a39c4689ec Merge branch 'dev' into rfm69 2018-06-25 13:45:18 +02:00
Xose Pérez
b4761323b0 Revert button font style 2018-06-25 13:40:30 +02:00
Xose Pérez
f58f625303 Recover auth code 2018-06-25 13:28:53 +02:00
Xose Pérez
0371a193d6 Check binary flash mode in web upgrade 2018-06-25 12:51:46 +02:00
Xose Pérez
39b7667c89 Add missing images 2018-06-24 23:46:04 +02:00
Xose Pérez
3cd58e7f7c Initial support for RFM69GW board 2018-06-24 22:39:06 +02:00
Maxim Prokhorov
857969b8ff Use relative protocol for deviceip href 2018-06-22 06:06:14 +03:00
Xose Pérez
ed42df275f Merge branch 'dev' into sensors 2018-06-21 10:07:54 +02:00
Xose Pérez
a6adeb2cd0 Fix relay switching from webui when multiple switches (#956) 2018-06-20 22:29:47 +02:00