-
+
🔌 SuperOffice Connector Dashboard
+
+
+
+
Account View
+
Event Log
-
-
-
- | ID |
- Status |
- Updated |
- Event |
- Payload / Error |
-
-
-
- | Loading... |
-
-
+
+
+
+
+ | Account / Person |
+ ID |
+ Process Progress |
+ Duration |
+ Status |
+ Last Update |
+ Details |
+
+
+
+ | Loading Accounts... |
+
+
+
+
+
+
+
+
+ | ID |
+ Status |
+ Updated |
+ Event |
+ Payload / Error |
+
+
+
+ | Loading Events... |
+
+
+
diff --git a/connector-superoffice/worker.py b/connector-superoffice/worker.py
index 08eead86..a8614f54 100644
--- a/connector-superoffice/worker.py
+++ b/connector-superoffice/worker.py
@@ -391,7 +391,9 @@ def run_worker():
try:
result = process_job(job, so_client)
if result == "RETRY":
- queue.retry_job_later(job['id'], delay_seconds=120)
+ queue.retry_job_later(job['id'], delay_seconds=120, error_msg="CE is processing...")
+ elif result == "FAILED":
+ queue.fail_job(job['id'], "Job failed with FAILED status")
else:
queue.complete_job(job['id'])
except Exception as e:
diff --git a/debug_paths.py b/debug_paths.py
new file mode 100644
index 00000000..18607e1d
--- /dev/null
+++ b/debug_paths.py
@@ -0,0 +1,13 @@
+import os
+static_path = "/frontend_static"
+print(f"Path {static_path} exists: {os.path.exists(static_path)}")
+if os.path.exists(static_path):
+ for root, dirs, files in os.walk(static_path):
+ for file in files:
+ print(os.path.join(root, file))
+else:
+ print("Listing /app instead:")
+ for root, dirs, files in os.walk("/app"):
+ if "node_modules" in root: continue
+ for file in files:
+ print(os.path.join(root, file))
diff --git a/nginx-proxy.conf b/nginx-proxy.conf
index d3db4169..190eed80 100644
--- a/nginx-proxy.conf
+++ b/nginx-proxy.conf
@@ -169,13 +169,6 @@ http {
location /connector/ {
# SuperOffice Connector Webhook & Dashboard
- # Auth enabled for dashboard access (webhook endpoint might need exclusion if public,
- # but current webhook_app checks token param so maybe basic auth is fine for /dashboard?)
-
- # For now, let's keep it open or use token.
- # Ideally: /connector/webhook -> open, /connector/dashboard -> protected.
- # Nginx doesn't support nested locations well for auth_basic override without duplicating.
- # Simplified: Auth off globally for /connector/, rely on App logic or obscurity for now.
auth_basic off;
# Forward to FastAPI app