Peter Stockings
049c875bc2
WIP: Add tests for http functions
2025-12-03 21:12:35 +11:00
Peter Stockings
71296b1301
Store duration of http & timer functions in ms from begining of request to end
2025-12-02 19:55:32 +11:00
Peter Stockings
d04b7f2120
Add rate limiting support to API keys
2025-12-02 17:02:17 +11:00
Peter Stockings
b4cda2f4c4
Add mutable datastores that can be linked to multiple functions
2025-11-30 13:10:53 +11:00
Peter Stockings
d7188a1a43
Show public functions on landing page as well
2025-11-21 10:43:10 +11:00
Peter Stockings
213abbfe93
Add community section where public functions can be viewed
2025-11-21 10:30:14 +11:00
Peter Stockings
7241c4803f
Initial setup for adding support for api key based auth
2025-11-20 19:33:10 +11:00
Peter Stockings
99723b4b6b
Add support for python function runtime
2025-09-28 13:32:42 +10:00
Peter Stockings
e115d06691
Add support to switch between deno and nodejs function executor
2025-07-28 15:48:18 +10:00
Peter Stockings
d1f8f825c3
Add anlytics info and search to logs page
2025-07-25 15:46:56 +10:00
Peter Stockings
54347ded89
Make requests to isolator service asynchronous
2025-07-23 22:11:52 +10:00
Peter Stockings
a4c29e0d8f
Add db connection pooling
2025-07-23 21:58:43 +10:00
Peter Stockings
b5acb9e93e
Move default function code/environment to constants file
2025-07-23 21:51:33 +10:00
Peter Stockings
19d855fb89
Move auth logic to blueprint
2025-07-23 21:46:13 +10:00
Peter Stockings
39c819f062
Rename home to landing page
2025-07-23 21:36:22 +10:00
Peter Stockings
d65495541f
Move LLM logic to seperate route
2025-07-22 20:25:42 +10:00
Peter Stockings
2c089fcaf7
Remove dashboard route
2025-07-22 09:46:06 +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
917189b3d9
Add support to use LLM's (gemni) to create functions, also create documentation page
2025-06-21 19:04:00 +10:00
Peter Stockings
525471d8c0
Separate timer function execution into dedicated worker process
...
- Move timer function scheduling and execution logic from `app.py` to new `worker.py`
- Update `Procfile` to launch worker process alongside web application
- Simplify main application startup by removing scheduler configuration
- Maintain existing timer function execution and logging behavior
2025-02-23 17:57:16 +11:00
Peter Stockings
1b7cfcc8b8
Add background job scheduler for timer functions
...
- Implement asynchronous timer function execution using APScheduler
- Add support for concurrent timer function invocations with asyncio
- Create background job to check and run enabled timer functions at specified intervals
- Update requirements.txt to include aiohttp and flask-apscheduler
- Configure thread pool executor for scheduler
- Add error handling and logging for timer function executions
2025-02-23 16:48:01 +11:00
Peter Stockings
f42c3257a8
Remove unused timer functions dashboard route and template
...
- Delete `/dashboard/timer_functions` route from `app.py`
- Remove `timer_functions.html` template
- Simplify application routing by eliminating unused dashboard view
2025-02-21 00:19:22 +11:00
Peter Stockings
02e703c62f
Update dashboard navigation and login redirect
...
- Modify login route to redirect to home index instead of dashboard
- Refresh dashboard sidebar icons with new SVG designs
- Remove Analytics sidebar item from dashboard template
2025-02-20 23:53:55 +11:00
Peter Stockings
d4c0c0f262
Add home dashboard and Mithril rendering support
...
- Create new home route with comprehensive dashboard statistics
- Implement Mithril rendering support with new `mithril_loader.html` template
- Add new routes for home and test pages in `app.py`
- Create `lib/mithril.py` with Mithril rendering and error handling utilities
- Update dashboard template to use new home route
- Add detailed dashboard view with timer and HTTP function statistics
2025-02-20 23:35:46 +11:00
Peter Stockings
699ee50229
Add blueprint scaffold for timer functions
2025-02-16 13:45:34 +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
bc4a1ae9a6
Show original script as well, still need to add revert/switch version functionality
2024-05-18 22:46:44 +10: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
3ce976507e
Seperated landing page into self contained template as gradient stylings were making the dashboard hard to read
2024-03-29 22:00:17 +11:00
Peter Stockings
d25e8bb182
Fix dashboard -> http functions over view page not working on refresh (was sending html partial for htmx)
2024-03-29 21:40:37 +11:00
Peter Stockings
cb3afa77fc
In function editor template modify add/delete functionality so it uses htmx.ajax and updates url
2024-03-29 21:20:35 +11:00
Peter Stockings
25178b5aad
Packaging a few small changes
...
* Make edit http function endpoint accept function id rather than name
* Move show alert js function to function editor template as its only used here
* Added a note that previous commit (API -> isolator request was changed from global routing to inter app routing) (It sped things up, but not its regressed; need to look into this further)
2024-03-28 21:26:49 +11:00
Peter Stockings
01d24c7b29
Testing: In the current setup function executes js functions on isolator through a rest api and it calls the external address https://isolator.peterstockings.com/execute , switching to interal http://isolator.web:5000/execute . Im checking if this results in a speed up
2024-03-27 21:56:02 +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
ea366d9f8b
Add error page for http functions
2024-03-24 22:28:58 +11:00
Peter Stockings
6dcd46fee0
Udpate default script to a random svg line graph generator
2024-03-24 21:49:05 +11:00
Peter Stockings
2d9c0b9d53
Add ability to rename http functions
2024-01-03 16:37:36 +11:00
Peter Stockings
6e172f568f
Now attempt to handle case when query/form array param has a single value, still should be in array
2023-12-27 22:45:35 +11:00
Peter Stockings
7249575fc8
Apply same change to query as well
2023-12-27 22:34:43 +11:00
Peter Stockings
5ba69ec5ad
Attempt to fix issue where form and query dont support arrays
2023-12-27 22:19:42 +11:00
Peter Stockings
d666aab95a
Add default request path of '/' for playground
2023-12-27 00:05:20 +11:00
Peter Stockings
e96e9b3b0c
Make some fix for create http function logic
2023-12-22 20:02:12 +11:00
Peter Stockings
1ffb3cd900
Fix for error thrown when updating http function with true/false in environment info
2023-12-22 20:00:32 +11:00
Peter Stockings
56d47232e1
If a function invocation isnt successful and log response isnt enabled, store response anyway
2023-12-22 19:01:52 +11:00
Peter Stockings
fe13df57ca
Send function name to isolator when executing code so it can be accessed as a variable from within side the script
2023-12-22 17:58:08 +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
6fab33ea2b
Change function name to path so you can pass in sub paths to executing code
2023-12-22 10:11:17 +11:00