Commit graph

33 commits

Author SHA1 Message Date
Max
b96a400869 Add OpenAPI support and enhance configuration handling
- Integrated OpenAPI loading functionality into the engine's Load and Reload processes, allowing for better API management.
- Updated the OpenAPI configuration to set a default BaseURL and ensure it does not have a trailing slash.
- Implemented the Attach method to connect the OpenAPI server to the Gin router, facilitating API endpoint management.
- Removed the obsolete hello package to streamline the OpenAPI module.
2025-07-20 18:52:30 +08:00
Max
f55fc7b374 ⚠️ BREAKING: Rename XGen to CUI and update license terms
1. Major Changes:
   - Migrate all XGen references to CUI
   - Update project naming conventions across codebase

2. License Updates:
   - Revise open source license terms
   - Update copyright and usage conditions

This is a breaking change that requires updates in dependent projects.
2025-05-18 12:16:45 +08:00
Max
2c5b323d7d Add option to disable Gzip compression for static files and update headers 2024-11-30 18:23:21 +08:00
Max
e4c8eeb180 optimize the SUI compiler & add http server gzip support 2024-07-07 15:29:50 +08:00
Max
6dcd704ea4 [add] Configuring SUI page caching to optimize static page loading speed 2024-06-27 20:02:03 +08:00
Max
a48c4cbe7d Refactor middleware and request handling code 2024-03-19 13:58:43 +08:00
Max
2effd3c360 Update authorization error messages 2024-02-20 20:07:26 +08:00
Max
76d9811048 Add guard functionality and export page config 2024-01-03 18:03:27 +08:00
Max
06c73e5f1c [add] Integrate page builder ui 2023-12-10 13:59:04 +08:00
Max
07dfc90d2e Refactor middleware to handle Sui files and fix potential errors 2023-12-10 12:38:55 +08:00
Max
9304558a4e [add] debug logs 2023-12-06 15:34:02 +08:00
Max
dc91443217 [add] sui page route parser 2023-11-23 13:00:07 +08:00
Max
e8db2a7d8e [add] sui file server (dev) 2023-11-22 21:02:48 +08:00
Max
01d4b49c33 [add] server rewrite support and fix api reload 2023-11-22 18:10:17 +08:00
Max
5517b4ac60 [fix] SPA static file server 2023-10-11 22:13:57 +08:00
Max
955920e868 [fix] the spa router length bug 2023-09-07 22:40:11 +08:00
Max
68ebf1e6cc [add] multiple single page applications support 2023-09-06 22:13:45 +08:00
Max
95ff65d625 [change] optimizing static http server. 2023-04-21 17:06:06 +08:00
Max
75ee709c23 [change] refactor the yao service 2023-03-26 17:12:02 +08:00
Max
a807899f95 [*] migrate to gou v0.10.3 (50%) 2023-02-01 17:25:11 +08:00
Max
93ba063cb4 [add] setup 2022-10-28 11:58:05 +08:00
Max
f5fbef9e39 [add] widgets config 2022-10-20 05:00:20 +08:00
Max
040dda1722
[add] admin root route cache (#179) 2022-09-29 21:11:50 +08:00
Max
800ae72e8b
[add] app custom admin route support (#176)
* [add] app custom admin route support

* [fix] bindata fmt

* [fix] adminRoot replace bug

* [fix] admin root replace bug

* [fix] bindata fmt
2022-09-29 13:31:28 +08:00
Max
a57b312560 [add] XGen v1.0 packing 2022-09-27 23:54:06 +08:00
Max
deb6ba9135 [add] WebSocket support 2022-03-04 21:43:19 +08:00
Max
34f4382c19 更新命名空间 2022-02-09 09:17:23 +08:00
Max
ea72f26d5e 调整环境变量 2022-02-09 00:49:57 +08:00
Max
668b33ffb7 [add] WorkFlow 定义 2021-11-26 14:22:36 +08:00
Max
d053596a9b fix router bug -> v0.8.14 2021-10-21 09:25:01 +08:00
Max
6a2442984a 优化引擎 2021-10-20 22:50:57 +08:00
Max
2253a98903 v0.8.11 支持前台静态文件服务器 2021-10-20 17:51:30 +08:00
Max
d03e1fc2e3 优化代码结构 v0.8.8 2021-10-18 21:38:39 +08:00
Renamed from global/middleware.go (Browse further)