Commit Graph

376 Commits

Author SHA1 Message Date
Thomas Basler
ca3349f801 webapp: Added France translation
Thanks to @beneva52
2022-12-31 11:47:51 +01:00
Thomas Basler
6e531b8b7c webapp: Fixed typo in translation key 2022-12-30 21:35:20 +01:00
Thomas Basler
729632dc23 webapp: Workaround for copying console output to clipboard
Hint:: clipboard.writeText is only available when using https mode or access from localhost
2022-12-30 21:33:27 +01:00
Thomas Basler
005e0972c6 webapp: Update dependencies 2022-12-26 12:38:51 +01:00
Thomas Basler
77268d7be2 webapp: Some better german translations
(thanks to @homeautomation22)
2022-12-26 12:37:00 +01:00
Thomas Basler
04ef9c6624 webapp: Added possibility to manually set the locale 2022-12-26 12:24:10 +01:00
Thomas Basler
7cc4ebb86c webapp: Update dependencies 2022-12-25 12:02:12 +01:00
Thomas Basler
409a737388 webapp: Organize imports 2022-12-25 12:02:11 +01:00
Thomas Basler
6eee2ce5f6 webapp: Organize components 2022-12-25 12:02:10 +01:00
Thomas Basler
c6ebea3e9e webapp: Organize imports 2022-12-25 12:02:10 +01:00
Thomas Basler
c027f19346 webapp: Removed unused component 2022-12-25 12:02:09 +01:00
Thomas Basler
1677f7dd03 webapp: introduced CardElement and replace cards with it 2022-12-25 12:02:03 +01:00
Thomas Basler
20083ecba5 webapp: introduced InputElement and replace inputs with it
Thanks to @noicet
2022-12-25 12:01:56 +01:00
Thomas Basler
cd823ea3bc webapp: Fixed translation of DC Power 2022-12-25 12:01:04 +01:00
Thomas Basler
f364aa7559 webapp: Fix lint error 2022-12-25 12:01:04 +01:00
Thomas Basler
4ca112ec1e webapp: Some Logo modifications 2022-12-24 00:01:55 +01:00
Thomas Basler
c59e3b686b webapp: Translate set status 2022-12-24 00:01:55 +01:00
Thomas Basler
793f0c5d99 webapi: Power: Show language independent webapi messages 2022-12-24 00:01:55 +01:00
Thomas Basler
534f200eb9 webapi: Security: Show language independent webapi messages 2022-12-24 00:01:55 +01:00
Thomas Basler
ea96051203 webapi: Ntp: Show language independent webapi messages 2022-12-24 00:01:55 +01:00
Thomas Basler
1e26cbd335 webapi: Network: Show language independent webapi messages 2022-12-24 00:01:55 +01:00
Thomas Basler
cacebf8a82 webapi: Mqtt: Show language independent webapi messages 2022-12-24 00:01:54 +01:00
Thomas Basler
7a5d8dd251 webapi: Maintenance: Show language independent webapi messages 2022-12-24 00:01:54 +01:00
Thomas Basler
fb35e95f3c webapi: Limit: Show language independent webapi messages 2022-12-24 00:01:54 +01:00
Thomas Basler
5594c5f987 webapi: Inverter: Show language independent webapi messages 2022-12-24 00:01:54 +01:00
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
Thomas Basler
2b28f69d15 webapp: Add missing field to mqtt info view 2022-10-17 19:26:04 +02:00
Thomas Basler
7e53160162 webapp: Implement Navbar as typescript 2022-10-17 19:26:04 +02:00
Thomas Basler
66d296a97b webapp: Reorganize .vue files 2022-10-17 19:26:04 +02:00
Thomas Basler
f193e0cafc Show inverter tabs only if >1 inverter is available 2022-10-17 19:26:04 +02:00
Thomas Basler
be807286cc Nicer view of invert live data headings 2022-10-15 14:06:54 +02:00
Thomas Basler
9f03d31e7c webapp: only show absolute limit if available 2022-10-15 01:43:10 +02:00
Thomas Basler
024e16ee85 webapp: Only include required icons to reduce file size 2022-10-15 01:22:53 +02:00
Thomas Basler
d37543fd95 Show current limit in header of live view 2022-10-14 19:16:37 +02:00
Thomas Basler
8d6cbc617b webapp: Added interface to set AP password 2022-10-13 19:54:27 +02:00
Thomas Basler
d2feac7a00 Migrate config from binary blob to json 2022-10-12 19:46:21 +02:00
Thomas Basler
07eb6472b5 webapp: Show limit only with 1 digit 2022-10-12 18:29:16 +02:00
Thomas Basler
e762abd18f Show RF chip type in SystemInfoView 2022-10-12 00:17:40 +02:00
Thomas Basler
9d1678c406 Remove days from eventlog display 2022-10-11 23:04:43 +02:00
Thomas Basler
5576e99a1d webapp: updated dependencies 2022-10-10 19:25:42 +02:00
Thomas Basler
283eae295b Show absolute limit in limit dialogue 2022-10-10 19:20:19 +02:00
Thomas Basler
88ad6495d1 Implemented inverter restart via web ui 2022-10-09 13:48:35 +02:00
Thomas Basler
8e54497c95 Take hours >23 into account
Count days in this case
2022-10-07 18:33:24 +02:00
Thomas Basler
20b799b630 webapp: Show NRF24 connection status 2022-10-06 23:29:17 +02:00
Thomas Basler
c33c73fe01 webapi: Rename limit to limit_relative 2022-10-06 23:29:14 +02:00
Thomas Basler
9b68eb6beb webapp: Show model name 2022-10-06 18:35:04 +02:00
Thomas Basler
b756912fd6 webapp: Added information about firmware updates 2022-10-05 22:01:32 +02:00
Thomas Basler
7ff0f111af Rename firmware_version to config_version 2022-10-05 18:23:04 +02:00
Thomas Basler
2eafd69276 Show only valid device info data in webapp 2022-10-04 22:15:50 +02:00
Thomas Basler
f6a416bf8f webapp: Added turnon/turnoff dialogue 2022-10-04 19:38:35 +02:00
Thomas Basler
7b2ad96475 webapp: Update dependencies 2022-10-04 18:12:22 +02:00