Commit Graph

22 Commits

Author SHA1 Message Date
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
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
4b64430022 Add refresh view button on edit page, found it useful for testing to see updates to environment info 2023-12-19 19:10:58 +11:00
Peter Stockings
c968ef583c Use url_for to generate url for http functions on overview page 2023-12-19 12:41:48 +11:00
Peter Stockings
c30c666caf Update remaining editor maxLines to 100 from 15 2023-12-18 23:06:13 +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
9aa551a083 Make http functions overview page more responsive 2023-12-18 21:24:40 +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
Peter Stockings
8ad1b6bb85 Add js function to show alerts when updating http functions 2023-12-18 18:39:55 +11:00
Peter Stockings
8ffdf4c28c Display http function invoked count in list 2023-12-18 15:36:44 +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
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
ab25d557f8 Add ability to test http functions with postman like interface 2023-12-16 19:55:51 +11:00
Peter Stockings
e88661dfd2 Fetch http_functions from database 2023-12-16 19:02:04 +11:00
Peter Stockings
4796b7d8d1 Add views (static for now) for http and timer functions on dashboard 2023-12-16 18:19:48 +11:00