Commit Graph

1252 Commits

Author SHA1 Message Date
Sergey Krashevich a50c99b8e5 feat(log): introduce toggle for reversing log order
Added a button to the log page allowing users to toggle the order in which logs are displayed (normal or reversed). This feature enhances user experience by providing flexibility in viewing logs. The implementation involves a boolean flag `reverseOrder` to track the current state of log order and dynamically updates the button text to reflect the current mode. Additionally, the log fetching function now conditionally reverses the log array based on this flag, ensuring that the display order matches the user's preference. This change could significantly improve usability for users needing to analyze recent events without scrolling through the entire log history.
2024-03-22 18:10:45 +03:00
pabst2k 63de86a409 Update README.md
fix: Typo in url
2024-03-22 13:52:27 +01:00
Sergey Krashevich 9fc3d91a17 fix(streams): handle non-string elements in slice source for NewStream 2024-03-19 09:46:56 +03:00
f1d094 2ff7a20eba Modified func Close in pkg/isapi/client.go to call '/ISAPI/System/TwoWayAudio/channels/<channel id>/close' instead of '/ISAPI/System/TwoWayAudio/channels/<channel id/close/open'
Modified pkg/isapi/client.go to call 'close' before 'open' to prevent channel left open from prior connection blocking with 401 or 403 errors.
2024-02-24 18:26:43 -08:00
f1d094 3fa481bdfc Modified func Close in pkg/isapi/client.go to call '/ISAPI/System/TwoWayAudio/channels/<channel id>/close' instead of '/ISAPI/System/TwoWayAudio/channels/<channel id/close/open'
Modified pkg/isapi/client.go to call 'close' before 'open' to prevent channel left open from prior connection blocking with 401 or 403 errors.
2024-02-24 15:45:43 -08:00
Sergey Krashevich 9f7448d255 ci: upgrade GitHub Actions to newer versions
Updated various GitHub Actions used in the CI workflows (build.yml, gh-pages.yml, test.yml) to their latest major versions. This includes actions for checking out code, setting up Go, uploading artifacts, configuring Docker, and deploying to GitHub Pages. The update is part of routine maintenance to ensure compatibility with the latest features and improvements provided by these actions.
2024-02-24 13:14:51 +03:00
Sergey Krashevich 3afe8d7c1d fix(daemon-mode): handle '-daemon' argument correctly for background execution
This commit fixes the issue where the '-daemon' argument was not being properly handled when re-executing the program in daemon mode. The loop removes the '-daemon' flag from the arguments slice before the program is re-run in the background, ensuring that subsequent executions do not attempt to enter daemon mode again.

The change will prevent potential errors or unexpected behavior due to the presence of the '-daemon' argument in recursive calls, making the daemon mode feature more robust and reliable.
2024-02-24 13:04:18 +03:00
Sergey Krashevich 15c27e16cc feat(app): support daemon mode on non-Windows platforms
Added a new command-line flag `-daemon` to run the application in the background as a daemon. This option is only available for non-Windows operating systems due to platform-specific process handling. When enabled, the application restarts itself with the same arguments except for the `-daemon` flag, prints the PID of the background process, and then exits the current process.
2024-02-24 10:33:02 +03:00
Josip Janzic 14a9763c73 Fix crash with tapo cameras not returning 201 2024-02-23 16:39:29 +00:00
civita 6fbd141576 pkg/hap/camera/accessory.go 2024-02-16 20:18:53 -08:00
Sergey Krashevich c0455a20aa fix grammar
Co-authored-by: Felipe Santos <felipecassiors@gmail.com>
2024-02-17 01:46:11 +03:00
Sergey Krashevich 6f9b8b732d Initial commit 2024-02-12 05:02:21 +00:00
Alex X 5fa31fe4d6 Fix reconnection issue 2024-02-10 08:49:47 +03:00
Alex X f237119b9a Update docker hardware image to Debian 13 for FFmpeg 6.1 2024-02-06 15:29:39 +03:00
Alex X b08b88357e Add mesa-va-drivers for docker hardware image 2024-01-31 11:30:16 +03:00
Rob van Oostenrijk f73ee41d93 Updated FreeBSD ffmpeg integrations 2024-01-30 19:10:53 +04:00
Rob van Oostenrijk 93dad05bde Added FreeBSD Binaries (#2)
Co-authored-by: Rob van Oostenrijk <robvanoostenrijk@noreply.users.github.com>
2024-01-29 21:14:47 +04:00
Rob van Oostenrijk b844722af1 Merge pull request #1 from robvanoostenrijk/freebsd-compile
Update build.yml
2024-01-29 14:21:11 +04:00
Rob van Oostenrijk a4b212d906 Update build.yml 2024-01-29 14:20:27 +04:00
dadav 152719441e feat: Add signal related params to exec 2024-01-21 19:34:15 +01:00
Alex X 4b62a6e34f Fix double rtsp in the control field #830 2024-01-18 17:29:22 +03:00
Sergey Krashevich 48fabec431 fix(clipboard): fix copy to clipboard functionality
Added a `copyTextToClipboard` function to handle text copying across different browsers and fallback scenarios. This function utilizes the Clipboard API when available, providing an asynchronous method to copy text securely. For browsers where the Clipboard API is not available or the page is not served over a secure context, a fallback method using a temporary textarea element and `document.execCommand` is employed. Replaced direct use of `navigator.clipboard.writeText` with this function in the 'shareget' click event listener to enhance cross-browser support and error handling.
2024-01-13 18:07:07 +03:00
Sergey Krashevich f8d9fccf74 fix(log-display): reverse log order to display newest first The
The applyLogStyling function in log.html has been updated to reverse the array of log lines. After parsing the JSON data, reversing the array ensures that the most recent logs appear at the top of the list. This change enhances the readability for users by displaying the logs in a descending chronological order.
2024-01-12 07:43:12 +03:00
Alex X 8793c36364 Add warning about secure access for API to docs 2024-01-11 14:26:51 +03:00
Alex X 59d25c10b3 Add unix socket example to docs 2024-01-11 14:26:04 +03:00
Alex X 3b3d5b033a Add sanitize from XSS to WebUI 2024-01-11 14:13:52 +03:00
Michael Reif 249ae49b43 execbc: Removed Buffered IO since it caused delay in the audio output 2024-01-07 10:14:23 +01:00
Michael Reif 33eafd5691 execbc: increased Buffer Size for IO Operation 2024-01-06 21:50:09 +01:00
Michael Reif 2b9247d630 execbc-source: Merged the dial function to the Client creation 2024-01-06 09:40:20 +01:00
Michael Reif cc6b8277c9 Code Cleanup, rename outputbc to execbc, using buffered Writer 2024-01-06 09:32:47 +01:00
Michael Reif f65b18842a Added support to stream backchannel to a command (outputbc) 2024-01-06 00:04:15 +01:00
René Simonsen db190e69ed Updated README with more accurate information regarding nest integration. 2024-01-03 15:16:59 +01:00
René Simonsen bc516bce7d Adds automatic extention of nest stream before it expires. 2024-01-03 15:08:21 +01:00
Alex X ccec41a10f Update version to 1.8.5 v1.8.5 2024-01-01 09:34:44 +03:00
Alex X 9feb98db3f Fix panic on reconnect #828 2024-01-01 09:30:40 +03:00
Alex X a724c5f3ce Fix support Aqara G2H #793 2024-01-01 09:24:43 +03:00
Alex X c60767c8b0 Add support H265 to FLV source #822 2023-12-31 21:06:41 +03:00
Alex X ae13a72fde Fix mdns log message #843 2023-12-30 20:44:50 +03:00
Alex X 458d5e7d0d Add error for wrong homekit source #805 2023-12-30 20:43:40 +03:00
Alex X 89e15d9b57 Add support subtype for Tapo source #792 2023-12-30 13:04:53 +03:00
Alex X 0d2292c311 Add test for issue #825 2023-12-28 16:49:23 +03:00
Alex X 62343af009 Update dependencies 2023-12-28 16:49:09 +03:00
Alex X c8c3b22d19 Fix memory allocation for HomeKit OPUS 2023-12-28 11:54:38 +03:00
Alex X 853e98879b Fix OPUS for HomeKit server #667 #843 2023-12-27 23:05:45 +03:00
Alex X bf5cb33385 Add OpenIPC to readme 2023-12-22 11:33:53 +03:00
Alex X 7ad4d350f8 Fix hardware profiles for H265 templates #809 2023-12-17 18:07:57 +03:00
Alex X c63fc6a2ad Fix exec source leaves zombie processes after fail #814 2023-12-17 17:59:41 +03:00
Alex X 7036d196be Fix H265 support from OpenIPC project 2023-12-15 12:42:07 +03:00
Alex X d3bc18c369 Logs refactoring after #780 2023-12-11 18:07:38 +03:00
Alex X 1f3a32023f Merge pull request #780 from 'skrashevich/log-viewer' 2023-12-11 18:07:25 +03:00