Commit Graph

301 Commits

Author SHA1 Message Date
Thomas Basler
ac6c10759d webapi: Config: Show language independent webapi messages 2022-12-24 00:01:54 +01:00
Thomas Basler
68d8c13b8e webapi: DTU: Show language independent webapi messages 2022-12-24 00:01:54 +01:00
Thomas Basler
ab25914c48 Added i18n support for the web interface 2022-12-24 00:01:54 +01:00
Thomas Basler
de61ab3694 webapp: Added helpfull tooltips to the web interface 2022-12-20 20:39:59 +01:00
Thomas Basler
0a38103d54 webapp: use modern component format 2022-12-20 19:26:28 +01:00
Thomas Basler
6bf8edd416 webapp: Console: increase size 2022-12-20 19:12:41 +01:00
Thomas Basler
eac640fb14 webapp: Update dependencies 2022-12-20 18:22:49 +01:00
Thomas Basler
1964ecff2c webapp: Console: Added function to copy contents to clipboard 2022-12-19 23:33:19 +01:00
Thomas Basler
a6f4403417 webapp: Console: better scrolling implementation 2022-12-19 23:12:16 +01:00
Thomas Basler
f63b7f6ee7 webapp: Added virtual console view 2022-12-19 21:38:39 +01:00
Thomas Basler
8f5d394f3a Added websocket for debug output 2022-12-19 21:38:39 +01:00
Thomas Basler
13bae3a96d webapp: Replaced fixed hyperlink to Home view by a router-link
This prevents the complete reload of the page
2022-12-14 20:54:05 +01:00
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
Thomas Basler
ed6e9dd9cd webapp: Use correct Complimentary colours 2022-11-01 16:54:13 +01:00
Thomas Basler
438ce36bab Added sum values of all inverters to web UI 2022-11-01 16:33:20 +01:00
Thomas Basler
69b675bc64 BREAKING CHANGE: Structure WebAPI /api/livedata/status changed
The different inverter data are now in a subobject called "inverters".
This is required to extend the API by other data then the inverter values
2022-11-01 15:04:05 +01:00
Thomas Basler
9ee75ed7ce Fixed missing yarn.lock 2022-10-31 15:37:34 +01:00
Thomas Basler
860710c47a Changed minimal limit from 10% to 2% 2022-10-31 15:23:09 +01:00
Thomas Basler
3612dd3d52 Apply correct unit of measure format
See https://en.wikipedia.org/wiki/Space_(punctuation)#Unit_symbols_and_numbers
2022-10-31 15:12:32 +01:00
Thomas Basler
20e856ecfc Use correct locale for number formatting
Also moved numberFormat method so separate file
2022-10-31 15:08:56 +01:00
Thomas Basler
68423179cc webapp: Update dependencies 2022-10-31 14:41:20 +01:00
Thomas Basler
dfd553090e webapp: Round to relevant digits in live status 2022-10-31 11:51:15 +01:00
Thomas Basler
57a63f690e webapp: Added additional reboot message after OTA firmware upgrade 2022-10-31 00:45:01 +01:00
Thomas Basler
9c7dc681b1 Fix #268: Allow12 digit dtu serial numbers
They will also be generated by OpenDTU itself
2022-10-25 22:53:46 +02:00
Thomas Basler
39b7687295 webapp: upgraded dependencies 2022-10-24 18:34:30 +02:00
Thomas Basler
c2c57e33c3 webapp: Only allow max_power in input field if available 2022-10-19 22:16:35 +02:00
Thomas Basler
f9221606c6 webapp: create interface for LimitConfig 2022-10-19 22:16:33 +02:00
Thomas Basler
03f73796d2 webapp: create interface for LimitStatus 2022-10-19 22:16:32 +02:00
Thomas Basler
f32b561627 Show detected max power in dev info dialogue 2022-10-19 22:16:30 +02:00
Thomas Basler
31849ec159 webapp: Use BasePage for HomeView 2022-10-18 18:44:35 +02:00
Thomas Basler
4fee366926 webapp: Fixed line break on ipads 2022-10-18 18:30:05 +02:00
Thomas Basler
03066af1c4 webapp: Implement BasePage component for default views 2022-10-18 18:29:58 +02:00
Thomas Basler
93512e2e0c webapp: create interface for LiveDataStatus 2022-10-17 23:31:20 +02:00
Thomas Basler
b95d6ff897 webapp: Update dependencies 2022-10-17 22:53:53 +02:00
Thomas Basler
e3d732770f webapp: created interface for EventlogStatus 2022-10-17 21:26:44 +02:00
Thomas Basler
cae6ddccb7 webapp: add utils method timestampToString 2022-10-17 21:13:18 +02:00
Thomas Basler
4775f34f5b webapp: create interface for DevInfoStatus 2022-10-17 20:56:52 +02:00
Thomas Basler
2682ca8dec webapp: create interface for MqttStatus 2022-10-17 20:46:35 +02:00
Thomas Basler
2aad0cbe70 webapp: create interface for NetworkStatus 2022-10-17 20:43:27 +02:00
Thomas Basler
19ee117a53 webapp: create interface for NtpStatus 2022-10-17 20:36:02 +02:00
Thomas Basler
386b6b73bd webapp: ceate interface for SystemStatus 2022-10-17 20:32:14 +02:00
Thomas Basler
61924a2768 webapp: create interface for SecurityConfig 2022-10-17 20:07:48 +02:00
Thomas Basler
05eb741833 webapp: create interface for NtpConfig 2022-10-17 20:04:20 +02:00
Thomas Basler
c52f1eeaa2 webapp: create interface for NetworkConfig 2022-10-17 20:02:05 +02:00
Thomas Basler
a9a6a40eb8 webapp: create interface for MqttConfig 2022-10-17 19:59:11 +02:00
Thomas Basler
c735fb8c3c webapp: create interface for DtuConfig 2022-10-17 19:53:43 +02:00
Thomas Basler
d798963df5 webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
Thomas Basler
f1e30a743a webapp: Migrate BootstrapAlert to Typescript 2022-10-17 19:26:04 +02:00
Thomas Basler
8ed48db193 webapp: Fix some lint errors 2022-10-17 19:26:04 +02:00
Thomas Basler
d86983b8d0 webapp: Split createApp into multiple lines
Better readability
2022-10-17 19:26:04 +02:00
Thomas Basler
9bc833e904 webapp: Implement App.vue as Typescript 2022-10-17 19:26:04 +02:00