feat: Enhance hook management and session handling
- Update hook model to include last_triggered_at field. - Modify API endpoints to support updating hooks with new fields. - Implement session management UI improvements with toggle functionality. - Add new JavaScript functions for better session detail visibility. - Refactor hook storage logic to handle last triggered timestamps. - Introduce new favicon and logo for branding. - Update styles for improved layout and user experience. - Enhance tests to cover new functionality and ensure reliability.
This commit is contained in:
@@ -3,12 +3,21 @@
|
||||
"hook_id": "anmich",
|
||||
"chat_id": "@troogs",
|
||||
"message": "Test an mich",
|
||||
"created_at": "2025-10-07T09:47:50+00:00"
|
||||
"created_at": "2025-10-07T09:47:50+00:00",
|
||||
"last_triggered_at": "2025-10-07T11:31:26+00:00"
|
||||
},
|
||||
{
|
||||
"hook_id": "yszramzb",
|
||||
"chat_id": "@Veleda_B",
|
||||
"message": ":*",
|
||||
"created_at": "2025-10-07T09:48:11+00:00"
|
||||
"chat_id": "@TroogS",
|
||||
"message": ":*\n*FETT!* nichtfett **Kursiiiieeev**",
|
||||
"created_at": "2025-10-07T09:48:11+00:00",
|
||||
"last_triggered_at": "2025-10-07T11:34:41+00:00"
|
||||
},
|
||||
{
|
||||
"hook_id": "i10ofwya",
|
||||
"chat_id": "asd",
|
||||
"message": "asd",
|
||||
"created_at": "2025-10-07T11:17:18+00:00",
|
||||
"last_triggered_at": null
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user