Commit Graph

19 Commits

Author SHA1 Message Date
Alex X
ccec41a10f Update version to 1.8.5 2024-01-01 09:34:44 +03:00
Alex X
d3bc18c369 Logs refactoring after #780 2023-12-11 18:07:38 +03:00
Sergey Krashevich
0a8ab9bbd1 Update app.go to remove the unused variable LogFilePath 2023-12-05 17:50:51 +03:00
Sergey Krashevich
b60000ac34 Refactor log handling to use in-memory Logger 2023-12-05 17:44:32 +03:00
Sergey Krashevich
8d382afa0f Add log file handling and viewing capabilities
This commit introduces the ability to handle log files through the API and
provides a new log viewing page. The API now supports GET and DELETE methods
for log file operations, allowing retrieval and deletion of log contents.
A new log.html page has been added for viewing logs in the browser, with
automatic refresh every 5 seconds and styling based on log levels.

The app.go file has been updated to include a GetLogFilepath function that
retrieves or generates the log file path. The NewLogger function now accepts
a file parameter to enable file logging. The main.js file has been updated
to include a link to the new log.html page.

This enhancement improves the observability and management of the application
by providing real-time access to logs and the ability to clear them directly
from the web interface.
2023-11-26 23:21:57 +03:00
Alex X
a87dafbbec Update version to 1.8.4 2023-11-19 18:38:26 +03:00
Alex X
befa6bd356 Update version to 1.8.3 2023-11-15 12:20:47 +03:00
Alex X
50e2a626a6 Update version to 1.8.2 2023-11-04 18:49:56 +03:00
Alex X
20d45bff92 Update to version 1.8.1 2023-10-15 20:15:35 +03:00
Alex X
e367940bd9 Fix version in API 2023-10-15 09:37:24 +03:00
Alex X
6f2af78392 Update version to 1.8.0 2023-10-14 17:19:19 +03:00
Alexey Khit
c8ac6b2271 Update version to 1.7.1 2023-09-10 20:19:20 +03:00
Alexey Khit
fc1b6af436 Update version to 1.7.0 2023-09-02 16:05:09 +03:00
Alexey Khit
9f404d965f Rewrite HomeKit pairing API 2023-09-01 22:48:06 +03:00
Alexey Khit
f196d83a14 Update version to 1.6.2 2023-07-20 23:40:43 +03:00
Alexey Khit
a8526ae4eb Update version to 1.6.1 2023-07-20 08:12:10 +03:00
Alexey Khit
b5d40caffc Update version to 1.6.0 2023-07-11 07:48:51 +03:00
Alexey Khit
da92256910 Update version to 1.5.0 2023-05-04 15:04:06 +03:00
Alexey Khit
75f61b38ac Move cmd module to internal 2023-05-01 12:55:14 +03:00