Commit Graph

343 Commits

Author SHA1 Message Date
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
Thomas Basler
bcdd7b7f86 webapp: Update dependencies 2022-10-03 22:54:48 +02:00
Thomas Basler
bd17ca5199 webapp: Add "Not Producing" indicator 2022-10-01 12:20:31 +02:00
Thomas Basler
00b1ff84be Rename age_critical to rechable in web api
Also use new method to determine whether the inverter is reachable
2022-10-01 10:48:17 +02:00
Thomas Basler
557a301c09 webapp: Show status of last limit set command 2022-10-01 00:43:11 +02:00
Thomas Basler
5964b91d49 webapp: Implemented first dialogue to set the inverter limit 2022-09-30 18:34:30 +02:00
Thomas Basler
8d3e431d47 webapp: upgrade dependencies 2022-09-26 18:48:34 +02:00
Thomas Basler
e5f73771d3 webapp: Extended NTP admin to sync time manually 2022-09-20 19:52:16 +02:00
Thomas Basler
8a91a77171 webapp: Upgrade dependencies 2022-09-19 20:49:34 +02:00
Thomas Basler
b0b8a2c088 webapp: implemented config management frontend 2022-09-17 11:37:25 +02:00
Thomas Basler
f5f38af25f webapp: added link to github discussions 2022-09-12 23:07:24 +02:00
Thomas Basler
c5eb449f21 webapp: Extended AboutView with additional links and information 2022-09-12 22:59:00 +02:00
Thomas Basler
5dfeb30413 webapp: upgrade dependencies 2022-09-12 19:12:10 +02:00
Thomas Basler
624da5a88c Merge branch 'issue131' 2022-09-12 18:54:16 +02:00
Thomas Basler
971519ead6 webapp: Upgrade dependencies 2022-09-12 18:51:27 +02:00
Thomas Basler
9674e32c0c Return only the eventlog of one inverter
- Fix #131
- Prevent large responses in case of many inverters + many log entries
2022-09-12 18:48:18 +02:00
Thomas Basler
72b77a22db webapp: Show current inverter limit 2022-09-09 20:18:00 +02:00
Thomas Basler
27bb924f4a webapp: add hint regarding hostname 2022-09-06 19:05:24 +02:00
Thomas Basler
86f01e5cc4 webapp: Show complete generated hostname in network info view 2022-09-06 18:45:32 +02:00
Thomas Basler
83ca402306 Merge branch 'pr114' 2022-09-05 20:10:08 +02:00
Thomas Basler
a0bb4c0bd2 webapp: Upgrade dependencies 2022-09-05 18:47:27 +02:00
battifreund
b4137d4da9 Option for expire_after 2022-08-31 23:35:28 +02:00
Thomas Basler
ab8759557a webapp: Bump eslint-plugin-vue from 9.3.0 to 9.4.0 2022-08-29 23:04:07 +02:00
Thomas Basler
505f25b044 webapp: upgrade dependencies 2022-08-29 22:49:13 +02:00
Thomas Basler
f23a83eb79 webapp: Remove unused variable 2022-08-29 22:47:08 +02:00
Thomas Basler
58edd5acbc webapp: upgraded dependencies 2022-08-27 11:50:59 +02:00
Ingo Theiss
8b89acd039 Make MQTT input a password field 2022-08-27 11:42:22 +02:00
Thomas Basler
6d9d5a0747 webapp: upgraded dependencies 2022-08-15 17:07:38 +02:00
Thomas Basler
217fddf405 Added small dialog to show inverter info (firmware version etc.) 2022-08-11 16:42:50 +02:00
Thomas Basler
35a72acf34 Fix #71: Extend mqtt hostname from 31 characters to 128 characters 2022-08-10 18:59:30 +02:00
Thomas Basler
c5b29567e1 webapp: show dialogue before deleting inverter 2022-08-09 21:32:25 +02:00
Thomas Basler
7e9a06d89e webapp: Mark delete inverter icon in red 2022-08-09 21:04:54 +02:00
Thomas Basler
285ead1186 Upgraded Bootstrap from 5.1 to 5.2 2022-08-09 20:57:51 +02:00
tbnobody
778cce2245
Merge pull request #62 from tbnobody/dependabot/npm_and_yarn/webapp/core-js-3.24.1
Bump core-js from 3.23.2 to 3.24.1 in /webapp
2022-08-06 04:28:50 +02:00