Commit Graph

1179 Commits

Author SHA1 Message Date
Alex X 8d6aabce7a Code refactoring after #1063 2024-04-27 11:40:59 +03:00
Sergey Krashevich 8516f825e1 feat(web-ui): add confirmation dialog before deleting streams 2024-04-26 16:05:56 +03:00
Alex X 12a75034c7 Merge pull request #1045 from skrashevich/sec-fix-slowloris
fix(api): potential Slow Loris Attacks in API Server
2024-04-22 20:19:25 +03:00
Alex X fffb22dd1f Merge pull request #961 from janza/master
Fix crash with tapo cameras not returning 401
2024-04-22 20:14:27 +03:00
Alex X 65b5ca2dec Merge pull request #941 from skrashevich/fix-readme-links
fix(doc): broken links in readme
2024-04-22 20:13:58 +03:00
Alex X ef74fb8497 Merge pull request #1012 from pabst2k/patch-1
Update README.md
2024-04-22 17:49:05 +03:00
Alex X 675476a8f6 Merge pull request #875 from skrashevich/logs-reverse-order
feat(webui): reverse log order to display newest first
2024-04-22 16:21:47 +03:00
Alex X 2d86ffd18c Merge pull request #1057 from jgould-godaddy/patch-1
Update README.md
2024-04-22 15:23:52 +03:00
Jono Gould a1be812052 Update README.md
Basic spelling fix in README
2024-04-22 10:59:53 +02:00
Alex X 9c534b1df5 Merge pull request #1049 from skrashevich/fix-doc-update-nightly-links
docs(readme): update link for latest binary download method
2024-04-21 08:01:57 +03:00
Alex X 261feb5858 Merge pull request #1056 from skrashevich/upd-ace-1-33-0
upd(editor): upgrade Ace editor version to 1.33.0
2024-04-21 07:58:53 +03:00
Alex X e4d970233e Protect Nest API from fail on stop 2024-04-21 07:57:54 +03:00
Alex X 7bd346c402 Merge pull request #855 from Inrego/nest-extend-stream
Nest extend stream
2024-04-21 07:51:51 +03:00
Alex X 439319141b Code refactoring after #855 2024-04-21 07:46:59 +03:00
Sergey Krashevich a404c2c86c feat(editor): upgrade Ace editor version to 1.33.0 2024-04-20 21:55:37 +03:00
Alex X 6cf3cd142a Merge pull request #949 from civita/hap
Fix "no response" error when viewing cameras via apple watch
2024-04-20 14:15:06 +03:00
Alex X 418cabb852 Merge pull request #964 from skrashevich/update-github-actions-vers
upd(ci): upgrade GitHub Actions to newer versions
2024-04-20 13:59:59 +03:00
Sergey Krashevich 2ce8cec12f Merge remote-tracking branch 'upstream/master' into update-github-actions-vers 2024-04-20 13:56:30 +03:00
Sergey Krashevich 905ef9b1ba Merge remote-tracking branch 'upstream/master' into sec-fix-slowloris 2024-04-20 13:56:02 +03:00
Sergey Krashevich 7dc9eaa543 Merge remote-tracking branch 'upstream/master' into logs-reverse-order 2024-04-20 13:55:32 +03:00
Alex X fcfef3080a Merge pull request #1014 from skrashevich/dark-mode
feat(dark-mode): implement dark mode and centralize CSS in WebUI
2024-04-20 13:39:25 +03:00
Alex X e610081634 Merge pull request #1035 from skrashevich/fix-docker-hardware-optimize
fix(docker): optimize docker hardware image size by cleaning up apt cache
2024-04-20 13:18:29 +03:00
Sergey Krashevich 484d401021 Merge remote-tracking branch 'upstream/master' into dark-mode 2024-04-20 13:14:48 +03:00
Sergey Krashevich 55d95691c8 Merge remote-tracking branch 'upstream/master' into fix-docker-hardware-optimize 2024-04-20 13:12:20 +03:00
Alex X 2d8ef99df2 Merge pull request #1043 from skrashevich/feat-more-usable-exec-log
feat(logging): more usable exec log
2024-04-20 12:09:55 +03:00
Alex X 01e2ed2306 Merge pull request #1048 from skrashevich/feat-auto-reload
feat(webui): streams auto-reload
2024-04-20 11:59:40 +03:00
Alex X 166287ce1b Rename constant back to old name 2024-04-20 11:57:48 +03:00
Alex X 8495c7350e Add Arch dist to readme 2024-04-20 11:47:03 +03:00
Sergey Krashevich d28ae5caea docs(readme): update link for latest binary download method 2024-04-18 03:28:23 +03:00
Sergey Krashevich 5cf343cb69 feat(autoreload): change interval from 5 seconds to 1 second 2024-04-18 02:56:32 +03:00
Sergey Krashevich de7326375d feat(index.html): optimize stream list update and preserve checkbox states 2024-04-18 02:55:31 +03:00
Sergey Krashevich 936e84f6e0 feat(index.html): implement auto-reload functionality every 5 seconds 2024-04-18 02:52:54 +03:00
Sergey Krashevich e1ebed4859 fix(api): fix potential Slowloris Attack 2024-04-16 17:22:06 +03:00
Alex X 0bda4d8308 Merge pull request #1039 from egmen/1031-fix-ivideon-source
fix ivideon source
2024-04-15 19:44:25 +03:00
Sergey Krashevich adf49b8475 feat(logging): more usable exec log 2024-04-14 21:56:07 +03:00
Евгений 8d825346ab fix ivideon source 2024-04-12 08:50:11 +03:00
Sergey Krashevich ef38468fa7 feat(dark-mode): enhance form elements and hr visibility
This commit improves the visibility and aesthetics of form elements (input, select, textarea) and horizontal rules (hr) in dark mode by adjusting their styles. Specifically, it sets a darker background color, lighter text color, and modifies border colors to ensure these elements are both visually appealing and easily distinguishable against the dark background. Additionally, placeholder text color has been adjusted to maintain readability without being overly prominent.

The removal of a fixed width on the navigation bar (`nav`) style is aimed at enhancing responsiveness and flexibility in various screen sizes, promoting a better user experience across devices.

These changes contribute to a more cohesive and accessible dark mode theme, aligning with modern web design practices that prioritize user comfort and interface adaptability.
2024-04-09 10:00:41 +03:00
Sergey Krashevich ef54b04ffc feat(docker): optimize hardware.Dockerfile by cleaning up apt cache
This commit optimizes the Docker image size for the hardware setup by including commands to clean up the APT cache after package installation. This change reduces the overall image size by removing unnecessary files and directories that are not needed in the final image, leading to faster download and deployment times.
2024-04-09 09:35:53 +03:00
Sergey Krashevich 51e20497ac fix(styles): implement flex layout for body element 2024-04-09 09:32:59 +03:00
Sergey Krashevich 4ddadc08cb feat(editor-theme): dynamically set editor theme based on dark mode preference 2024-04-09 09:18:43 +03:00
Sergey Krashevich 20dd16badf feat(dark-mode): improve contrast and visited link styles 2024-03-23 07:03:53 +03:00
Sergey Krashevich 31398a7e6b feat(dark-mode): implement dark mode and centralize CSS
Implemented a dark mode feature for the website, including a toggle button in the navigation bar that allows users to switch between light and dark themes. To support this feature, centralized common CSS styles (such as body, table, and button stylings) into main.js to ensure consistent application across all HTML pages. This change improves user experience by providing a visually comfortable alternative for low-light environments and centralizes styling rules for easier maintenance.

- Added dark mode styles for body, table, buttons, and navigation elements in main.js.
- Introduced a toggle mechanism in the navigation bar to switch between light and dark modes.
- Utilized JavaScript to detect system theme preference (`prefers-color-scheme`) and persist user's theme choice using localStorage.
- Removed duplicate and scattered CSS rules from individual HTML files (add.html, index.html, links.html, log.html) and centralized them in main.js to reduce redundancy and facilitate easier updates in the future.

This update enhances accessibility and user preference compliance by allowing users to select their desired theme while simplifying CSS management across the website.
2024-03-22 18:15:52 +03:00
Sergey Krashevich de70b0a861 some fixes 2024-03-22 18:13:20 +03:00
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 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
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