Commit graph

11 commits

Author SHA1 Message Date
Max
097fb73416 Refactor SUI Command Arguments and Enhance Default Template Handling
- Updated the `build` and `watch` commands to accept a single argument for `<sui>` and made the `<template>` argument optional, improving usability.
- Introduced a default template assignment for the `agent` SUI, ensuring a more intuitive setup for users.
- Enhanced error messages for command usage to provide clearer guidance on expected input format.
- Added new OpenAPI file to the bindata, improving the framework's capabilities for API integration.
2026-01-01 10:28:45 +08:00
Max
80779bb0fc [feat] add SUI template.render process 2024-08-10 16:58:38 +08:00
Max
9977b62a09 [feat] SUI $backend function call supports custom Guard 2024-08-05 08:32:59 +08:00
yflau
1ac37b048f return 401 for invalid token 2024-08-04 12:54:05 +08:00
Max
2effd3c360 Update authorization error messages 2024-02-20 20:07:26 +08:00
Max
5104dab56b Add cookie-trace and cookie-jwt guards 2024-02-10 17:02:44 +08:00
Max
524a63d7af Refactor code to add context object and cookie function 2024-01-17 21:56:39 +08:00
Max
bf31ad4bf1 Add SetCookie function in guards.go 2024-01-17 21:39:04 +08:00
Max
a3862c1289 Add scriptGuardExec function to process script guards 2024-01-17 21:24:29 +08:00
Max
5ba6bfe749 Update Guards to accept Request object instead of gin.Context 2024-01-03 18:31:58 +08:00
Max
76d9811048 Add guard functionality and export page config 2024-01-03 18:03:27 +08:00