Commit Graph

11 Commits

Author SHA1 Message Date
Peter Stockings
5ec8bba9e8 Refactor HTTP function editor with Mithril components and new API endpoints
- Add new Mithril components for editor (editor.js), response view (responseView.js), and alerts (alert.js)
- Create new API endpoints for creating, updating, and deleting HTTP functions
- Update templates to use new Mithril editor component
- Improve header navigation with more consistent styling and active state indicators
- Remove old edit form route and template
- Add new dedicated editor route and template

cursor.ai
2025-02-14 00:40:45 +11:00
Peter Stockings
2b4ca571ca Add in version history for http functions
and also load .env in dev mode
2024-05-18 21:55:11 +10:00
Peter Stockings
b4c67d8346 Add versions for http_functions, whenever script is updated a new version is logged. 2024-04-06 19:49:46 +11:00
Peter Stockings
1a496d2441 Fix issue where on page refresh when on function edit/new sub pages you would be redirected back to dashboard 2024-03-27 14:03:52 +11:00
Peter Stockings
c6554cf399 Create http function header template and move all http function related templates into same directory 2023-12-22 14:36:00 +11:00
Peter Stockings
37b9e10914 Add link to logs from edit page and vice versa for http functions, QOL change 2023-12-21 19:11:24 +11:00
Peter Stockings
8d38c39604 Ensure you can only view/edit http functions created by the currently logged in user 2023-12-20 22:57:39 +11:00
Peter Stockings
4b0c356cda Add link to selected http function from edit/logs views. Also remove min number of lines from environment info ace editor 2023-12-18 22:18:31 +11:00
Peter Stockings
71ab2c3b6b Add refresh button on logs page 2023-12-18 20:57:57 +11:00
Peter Stockings
7bde81c89a Make logs table more responsive (Still needs alot of work - probably need to make accordion) 2023-12-18 20:44:24 +11:00
Peter Stockings
6f46198693 Add ability to see history of http functions invocations 2023-12-18 20:33:58 +11:00