From 1eab4d59454fa5999675d51b99e77ac6580aba95 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Thu, 5 Feb 2026 10:43:19 -1000 Subject: Improve session handling, shopping UI, and cleanup Session improvements: - Extend session lifetime to 7 days for mobile convenience - Add idle timeout to extend session on activity - Use standard cookie name for better compatibility Shopping model: - Add FlattenItemsForStore helper for extracting store items - Add StoreNames helper for store list - Improve shopping-tab.html with inline add forms Frontend: - Add WebSocket reconnection and agent approval UI to app.js - Simplify timeline calendar JS (move event positioning to CSS) - Update login page styling Deployment: - Remove unused git checkout step from deploy.sh - Update apache.conf WebSocket proxy settings Documentation: - Add Agent Context API feature spec to issues/ Co-Authored-By: Claude Opus 4.5 --- deployment/apache.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'deployment') diff --git a/deployment/apache.conf b/deployment/apache.conf index 3942bf6..a54991f 100644 --- a/deployment/apache.conf +++ b/deployment/apache.conf @@ -33,6 +33,11 @@ # Static files served by Apache Alias /static /site/${FQDN}/public + # WebSocket support (Requires mod_proxy_wstunnel) + # Must be placed BEFORE the generic ProxyPass / + ProxyPass /ws/ ws://127.0.0.1:8080/ws/ + ProxyPassReverse /ws/ ws://127.0.0.1:8080/ws/ + # Proxy all other requests to Go application ProxyPreserveHost On ProxyPass /static ! @@ -42,4 +47,4 @@ # Logging ErrorLog ${APACHE_LOG_DIR}/${FQDN}-error.log CustomLog ${APACHE_LOG_DIR}/${FQDN}-access.log combined - + \ No newline at end of file -- cgit v1.2.3