Commit Graph

21 Commits

Author SHA1 Message Date
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
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
2d9c0b9d53 Add ability to rename http functions 2024-01-03 16:37:36 +11:00
Peter Stockings
c03c650da0 Logout when clicking on profile icon 2023-12-21 21:23:12 +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
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
30e16277df Add in authentication via Flask-Login, still need to modify http functions so they are linked to a user 2023-12-20 22:26:11 +11:00
Peter Stockings
7e2181c7a6 Only show invocation logs for http function selected 2023-12-18 21:23:49 +11:00
Peter Stockings
6f46198693 Add ability to see history of http functions invocations 2023-12-18 20:33:58 +11:00
Peter Stockings
678e978b4b Fix error thrown when logging http function invocation 2023-12-18 19:39:13 +11:00
Peter Stockings
ca9bf33edf Record request, response, status, & logs for http function invocations 2023-12-18 19:19:38 +11:00
Peter Stockings
8ffdf4c28c Display http function invoked count in list 2023-12-18 15:36:44 +11:00
Peter Stockings
efda151cd5 Update environment info for http_function after execution using the data returned from isolator 2023-12-18 15:28:32 +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
204000a668 Add ability to delete http functions 2023-12-16 22:35:28 +11:00
Peter Stockings
2365fa3987 Add edit form for http functions 2023-12-16 21:56:35 +11:00
Peter Stockings
d8b441374e Add ability to add new http functions (Needs refactor, bad stuff) 2023-12-16 21:27:49 +11:00
Peter Stockings
b0785d282f Remove numpy as dependency 2023-12-16 19:05:10 +11:00
Peter Stockings
e88661dfd2 Fetch http_functions from database 2023-12-16 19:02:04 +11:00