Commit Graph

239 Commits

Author SHA1 Message Date
Thomas Basler
14f9d751d5 webapp: Update dependencies 2022-12-14 20:50:42 +01:00
Thomas Basler
7527d74189 webapp: Update dependencies 2022-12-13 18:40:18 +01:00
Thomas Basler
d84fd206ad Merge branch 'pr430' into dev 2022-12-13 18:30:04 +01:00
Andreas Dieckmann
bdfc1cbef4 Change link in Header navbar to "/" 2022-12-12 15:45:34 +00:00
Thomas Basler
9ef4d39976 webapp: remove console logs from production builds 2022-12-08 23:18:42 +01:00
Thomas Basler
39ce056c81 webapp: Update dependencies 2022-12-08 23:15:20 +01:00
Thomas Basler
0a349b75a4 webapp: ESLint fixes 2022-12-08 22:20:40 +01:00
Thomas Basler
977130ac03 webapp: Update hint text in NtpAdminView 2022-11-29 18:57:50 +01:00
Thomas Basler
c5daff53d7 webapp: Correct unit of max string power 2022-11-29 18:52:31 +01:00
Thomas Basler
06ae722b0b webapp: upgrade dependencies 2022-11-28 18:29:31 +01:00
Thomas Basler
aa8ec6775d Added additional documentation for webapp development 2022-11-25 18:14:33 +01:00
Thomas Basler
2a19b46d52 Add authentication to websocket 2022-11-23 21:00:54 +01:00
Thomas Basler
cc342673df webapp: Upgrade dependencies 2022-11-22 23:43:20 +01:00
Thomas Basler
e4ba104fd9 webapp. Fix error in Live View when no inverter is loaded 2022-11-22 23:41:49 +01:00
Thomas Basler
1530dc6629 webapp: Enforce login for config, firmware and reboot view 2022-11-22 23:41:00 +01:00
Thomas Basler
4bdbcbccc5 Introduce configuration option to decide wether the web ui is accessable without password or not 2022-11-22 23:32:52 +01:00
Thomas Basler
a06a8fec3d webapp: Removed hardcoded info about views which require authentication
If the return value of a API request equals 401 then the user will be redirected to the login page.
Using this method it's possible to decided within the API if a authentication is needed or not.
2022-11-22 20:37:01 +01:00
Thomas Basler
e60619b867 Added device reboot functionality 2022-11-21 23:29:57 +01:00
Thomas Basler
8f2c95e684 webapp: upgrade dependencies 2022-11-21 17:47:22 +01:00
Thomas Basler
f8b601f871 Show several hints and tips at Live View
This contains the following information:
* No connection to the NRF module possible
* No time set
* Default password used
2022-11-20 15:08:36 +01:00
Thomas Basler
fe22c95221 webapp: Show Data Age also as timestamp if age > 300 sec 2022-11-18 23:16:52 +01:00
Thomas Basler
f198429bd3 webapp: Nicer alignment of inverter settings 2022-11-15 23:39:21 +01:00
Thomas Basler
fec84fd048 Show custom string name in Live View 2022-11-15 22:31:04 +01:00
Thomas Basler
d0d8be9c05 webapp: Added input fields to InverterAdminView to enter channel names 2022-11-15 22:31:04 +01:00
Thomas Basler
d28fadbdac Extended configuration to allow string names
* Current config will be migrated to new format
* Already extended web API to get/post new format
2022-11-15 22:31:04 +01:00
Thomas Basler
0c46ecf121 Fix #302: Allow longer MQTT usernames and passwords
Changed max length from 32 to 64 characters
2022-11-15 22:31:04 +01:00
Thomas Basler
e5cbeb8990 webapp: coding style changes 2022-11-14 20:50:29 +01:00
Thomas Basler
a4bfd82824 Merge branch 'pr346' into dev 2022-11-14 20:32:36 +01:00
Michael Wilk
8a4c3cf423 coding style changes 2022-11-14 20:25:51 +01:00
Thomas Basler
2937809def Merge branch 'pr346' into dev 2022-11-14 18:37:34 +01:00
Thomas Basler
ab1c4e458c webapp: Upgraded dependencies 2022-11-14 18:32:16 +01:00
Michael Wilk
34218cdc4a changed formatting/qoutes to better match the master (less changes) 2022-11-14 14:52:41 +01:00
Michael Wilk
7d203b50a3 reworked the InverterAdminView.vue view for easier maintainability.
this also fixed the bug of changed max_power values after closing the edit modal without saving
2022-11-14 14:43:42 +01:00
Thomas Basler
7d1cdb0536 Fix #322: German umlauts create mistakes when using them in passwords
See https://stackoverflow.com/questions/3626183/javascript-base64-encoding-utf8-string-fails-in-webkit-safari
2022-11-09 19:42:47 +01:00
Thomas Basler
e0b069ff3d Password protection for limit/power settings API 2022-11-08 18:34:00 +01:00
Thomas Basler
0a6965c015 webapp: Implemented logged-out event 2022-11-07 23:34:54 +01:00
Thomas Basler
107330c70c webapp: Fix location of Logout button 2022-11-07 20:51:09 +01:00
Thomas Basler
233efe3a50 Password protection for firmware update API 2022-11-07 19:02:07 +01:00
Thomas Basler
d63476c70e webapp: Update dependencies 2022-11-07 18:52:22 +01:00
Thomas Basler
c2de7dbdb8 webapp: Send X-Requested-With header for all requests
This prevents browser password dialogs in all cases
2022-11-07 18:49:36 +01:00
Thomas Basler
fe8b68d2be Password protection for config settings API 2022-11-07 18:48:02 +01:00
Thomas Basler
7798854b2b webapp: Change authHeader to return Headers object instead of Record<string, string> 2022-11-04 00:01:34 +01:00
Thomas Basler
a646eae51a Password protection for inverter settings API 2022-11-03 21:44:01 +01:00
Thomas Basler
902e632f51 Password protection for mqtt settings API 2022-11-03 21:31:50 +01:00
Thomas Basler
3a2f73a2b3 Password protection for ntp settings API 2022-11-03 21:20:12 +01:00
Thomas Basler
e605e42c3e Password protection for network settings API 2022-11-03 21:13:42 +01:00
Thomas Basler
b9d2978bf9 Password protection for dtu settings 2022-11-03 21:05:51 +01:00
Thomas Basler
8d14dbd367 Password protection for security settings API
Also implemented the base functionallity to protect further API endpoints.
2022-11-03 21:00:13 +01:00
Thomas Basler
af4b47beeb webapp: Use scss instead of css
Enables easier theming in future
2022-11-02 20:39:18 +01:00
Thomas Basler
c85d71abfd webapp: Added icon to navbar 2022-11-01 17:37:19 +01:00