Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .Jules/palette.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 2024-05-24 - Add keyboard focus indicators to SSO Web Interface
**Learning:** Adding focus indicators to standard web elements, especially in raw HTML output from a backend router, improves basic accessibility by assisting keyboard users in determining which element is focused.
**Action:** Always add :focus-visible rules with high contrast (outline or box-shadow) when adding custom interactive components (buttons, links, text inputs).
3,843 changes: 1,930 additions & 1,913 deletions src/core/auth/sso/web_interface.py

Large diffs are not rendered by default.

50 changes: 25 additions & 25 deletions src/core/domain/traffic_leg.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
"""Traffic leg enumeration for usage tracking.
This module defines the TrafficLeg enum which represents the four directional
segments of traffic flow through the proxy system.
"""
from enum import Enum
class TrafficLeg(str, Enum):
"""Directional segment of traffic flow through the proxy.
The proxy tracks traffic at four measurement points to provide full
observability of both verbatim (original) and mutated (modified) traffic:
- CLIENT_TO_PROXY (CTP): Request received from client (verbatim ingress)
- PROXY_TO_BACKEND (PTB): Request sent to backend (mutated egress)
- BACKEND_TO_PROXY (BTP): Response received from backend (verbatim ingress)
- PROXY_TO_CLIENT (PTC): Response sent to client (mutated egress)
"""
CLIENT_TO_PROXY = "CTP"
PROXY_TO_BACKEND = "PTB"
BACKEND_TO_PROXY = "BTP"
PROXY_TO_CLIENT = "PTC"
"""Traffic leg enumeration for usage tracking.

This module defines the TrafficLeg enum which represents the four directional
segments of traffic flow through the proxy system.
"""

from enum import Enum


class TrafficLeg(str, Enum):
"""Directional segment of traffic flow through the proxy.

The proxy tracks traffic at four measurement points to provide full
observability of both verbatim (original) and mutated (modified) traffic:

- CLIENT_TO_PROXY (CTP): Request received from client (verbatim ingress)
- PROXY_TO_BACKEND (PTB): Request sent to backend (mutated egress)
- BACKEND_TO_PROXY (BTP): Response received from backend (verbatim ingress)
- PROXY_TO_CLIENT (PTC): Response sent to client (mutated egress)
"""

CLIENT_TO_PROXY = "CTP"
PROXY_TO_BACKEND = "PTB"
BACKEND_TO_PROXY = "BTP"
PROXY_TO_CLIENT = "PTC"
Loading
Loading