Commit Graph

12 Commits

Author SHA1 Message Date
peji 60f56a2dea Simplify landing page: remove tagline, note, and kit contents section
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 19:34:27 -05:00
peji 099cc252fe Fix proxy path resolution for portable builds, simplify landing page
The proxy launch used __dirname to find aware-cam-proxy.exe, which
points to a temp extraction directory in portable builds. Added
getAppDirectory() helper that resolves the actual .exe location via
PORTABLE_EXECUTABLE_FILE. Rewrote landing page as a simple kit download
page. Added build-kit script to bundle app + proxy + extension into zip.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 19:23:48 -05:00
peji 3a6be50e31 Add GitHub Pages landing page and fix electron-builder config
- Create docs/ landing page with dark theme, download link, features,
  setup instructions, and requirements
- Fix build config: add signAndEditExecutable=false to avoid winCodeSign
  symlink errors, replace broken afterSign/afterAllArtifactBuild with
  forceCodeSigning=false
- Clean up removed dev dependencies (sharp, png-to-ico) from lockfile

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 22:33:38 -05:00
peji 7309d78344 Add self-update feature via GitHub Releases
Checks for updates on startup (silent, badge on button if available)
and on manual click. Downloads new portable .exe to temp dir, creates
a batch script to swap the running executable after quit, then relaunches.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
v1.0.0
2026-02-09 22:23:48 -05:00
peji cccb20bd31 Update app icon to Avigilon Alta logo, remove Test Connection button, rename proxy buttons
- Replace app icon (assets/icon.png) with Avigilon Alta "A" logo
- Add Windows .ico version of the icon
- Remove Test Connection button from API Connection section
- Rename Start/Stop Cookie Proxy buttons to Start/Stop Proxy
- Add .claude/ and nul to .gitignore

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 22:03:51 -05:00
peji 632d5c749a Update Chrome extension icons with Avigilon Alta logo
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 21:57:17 -05:00
peji c9b466b0d1 Fix proxy stop not killing aware-cam-proxy.exe processes
The stop handler was targeting the wrong executable name
(aware-cam-proxy-win.exe instead of aware-cam-proxy.exe), so taskkill
never found the running process. Also removed dangerous fallbacks that
killed all cmd.exe processes system-wide and deprecated wmic calls.
Simplified to a single targeted taskkill. Launch now uses a unique
window title and cmd /c so terminals close naturally after the proxy
exits.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 21:50:38 -05:00
peji f57183448f Update CLAUDE.md and README.md for cookie-only architecture
Rewrite both docs to reflect the current state: Chrome extension
cookie auth, no profiles/passwords, simplified IPC channels and
file structure, updated troubleshooting and security sections.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 21:30:11 -05:00
peji 0f12915b47 Remove dead code from profile and password proxy systems
Strip ~966 lines of unused code after transitioning to cookie-only
auth: profile CRUD handlers, encryption helpers, username/password
proxy launcher, proxy check/version handlers, dead preload methods,
orphaned CSS (modals, profiles, nav tabs, collapsible sections),
unused DOM elements and renderer functions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 21:27:11 -05:00
peji ec5989cf02 Remove profiles and password proxy UI, simplify to cookie-only auth
Strip out User Profiles section, username/password proxy method, and
related modals. Cookie proxy section is now always visible and renamed
to just "Camera Proxy". Cookie key input hidden (auto-populated by
Chrome extension).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 21:15:28 -05:00
peji 67437a0c46 Add Chrome extension cookie bridge for session import
Users logged into Alta in Chrome can now send their session cookie
to the running Electron app via a local HTTP server on port 18247,
eliminating the need for re-authentication.

- main.js: HTTP cookie server with CORS, token, domain validation
- preload.js: onExtensionCookie push-pattern IPC bridge
- renderer.js: handleExtensionCookie sets session, fetches devices
- chrome-extension/: Manifest V3 extension with popup UI
- CLAUDE.md: updated architecture docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 20:58:54 -05:00
peji e813607f63 Initial commit — Alta Proxy Tool (APT)
Electron desktop app for Avigilon Alta Video camera proxy management.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 20:28:32 -05:00