20 Commits

Author SHA1 Message Date
Peter Stockings
717a18fa3c Improve look of auth pages 2025-12-17 23:36:13 +11:00
Peter Stockings
fc494a9355 Improve look of http/timer header component 2025-11-21 11:43:28 +11:00
Peter Stockings
00c0d19e3e Update http functions overview page to show functions in searchable nested directory 2025-11-19 17:28:35 +11:00
Peter Stockings
99723b4b6b Add support for python function runtime 2025-09-28 13:32:42 +10:00
Peter Stockings
d65495541f Move LLM logic to seperate route 2025-07-22 20:25:42 +10:00
Peter Stockings
f55f50d0dc Further refactor, still need to cleanup db.py 2025-07-21 23:25:25 +10:00
Peter Stockings
2ec44252bb Move http endpoints into seperate route 2025-07-21 22:05:58 +10:00
Peter Stockings
aeb880ed0a Update cancel URL handling in HTTP and timer function templates
- Modify header template to use explicit `cancel_url` parameter
- Add `cancel_url` to new timer and HTTP function templates
- Remove default URL fallback in header template
2025-02-16 20:22:03 +11:00
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
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
48b013c1f4 Minor styling update for functions overview & edit/new pages to make it more usable after landing page changes, also started to work on making pages refreshable through htmx hx-push-url 2024-03-27 13:08:29 +11:00
Peter Stockings
19cebc0f45 Add option to toggle logging of request/response for http functions, this has been added to due storage capacity concerns 2023-12-21 14:45:25 +11:00
Peter Stockings
7c7dbae05a Add option to make http functions private (Require authentication, currently just redirects to login page; Should look into cookie + JWT + api key) 2023-12-21 14:03:25 +11:00
Peter Stockings
223afec05d Refactor all function editor front end html + js into a single jinja template (also slight improvement to look of response/logs) 2023-12-19 21:20:11 +11:00
Peter Stockings
17f98195a2 Update maxLines to 100 for all ace editors, this auto sizes the editors 2023-12-18 22:39:21 +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
5cc29309d5 Add json object for environment info for each function, this is mutable from custom code 2023-12-18 15:15:14 +11:00
Peter Stockings
538d5083e4 Remove trailing newlines introduced from new/edit page for http functions 2023-12-17 11:06:42 +11:00
Peter Stockings
204000a668 Add ability to delete http functions 2023-12-16 22:35:28 +11:00
Peter Stockings
d8b441374e Add ability to add new http functions (Needs refactor, bad stuff) 2023-12-16 21:27:49 +11:00