LightRAG/lightrag/api/routers
clssck b6074b9a81 chore(lightrag, lightrag_webui): improve code quality and security
- Extract PostgreSQL storage check into named variable for clarity
- Move APIRouter initialization into create_table_routes function scope
- Add robust type handling for database query results
- Add input validation for table names and pagination parameters
- Add regex-based SQL injection prevention for table name sanitization
- Improve clipboard copy fallback logic and error handling
- Add memoization for JSON serialization to prevent unnecessary recalculations
- Hide meta column from table explorer UI display
- Sort table columns alphabetically for consistent ordering
- Add keyboard accessibility to status filter buttons
- Add preprocessed status filter to document manager
- Update @tanstack/react-query from 5.60.0 to 5.87.1
- Extract dev storage config into constant to reduce duplication
- Update documentation comments for clarity
2025-11-27 21:39:42 +01:00
..
__init__.py split lightrag_servery.py to smaller files 2025-02-20 03:26:39 +08:00
document_routes.py feat: add automatic entity resolution with 3-layer matching 2025-11-27 15:35:02 +01:00
graph_routes.py feat: Improve entity merge and edit UX 2025-10-27 23:42:08 +08:00
ollama_api.py Add comprehensive error logging across API routes 2025-11-19 22:50:06 +08:00
query_routes.py Add comprehensive error logging across API routes 2025-11-19 22:50:06 +08:00
table_routes.py chore(lightrag, lightrag_webui): improve code quality and security 2025-11-27 21:39:42 +01:00