Tags: sks/logchef
Tags
Merge pull request mr-karan#54 from mr-karan/ql feat: improve query UX
Merge pull request mr-karan#40 from mr-karan/ai feat(server): MCP Server integration and docs
feat: Implement API token authentication This commit introduces API token authentication and management features. - Enable users to create, list, and delete API tokens via the UI. - Allow API access using the "Authorization: Bearer <token>" header. - Enhance security by hashing API tokens with a secret key. - Introduce middleware for API token validation. - Improve separation of concerns for session and token based user authentication. - Fix an issue where the session variable would become nil after being populated in middleware. - Add "auth_method" parameter to the user response to reflect the method used for authenticating.
Fix: Enhance query editor, URL sync and saved query loading for bette… …r user experience.
fix: prevent table reference errors when switching sources Fixes a race condition where queries with old table names would execute against new sources, causing "invalid table reference" errors. This commit: - Clears generated SQL when changing sources - Validates source details before executing queries - Ensures table name compatibility during execution - Adds robust error handling for source switching
Refactor: Streamline query execution by unifying time and filter logi… …c in SQL, improve timezone handling, and enhance histogram queries.
PreviousNext