Commit graph

75 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
fabced291c fix: Enhance loading functions to handle non-existent directories
- Added checks in various loading functions to ignore processing if the respective directories do not exist, improving error handling and preventing unnecessary operations.
- Updated the Load function signature to return warnings alongside errors, allowing for better feedback on loading issues across different components.
2025-05-13 09:10:10 +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
5f5af44018 Optimize libsui js-sdk loading logic 2024-08-03 08:37:54 +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
9faf8f802f chore: Update engine.Load calls with additional options 2024-05-05 17:54:32 +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
5104dab56b Add cookie-trace and cookie-jwt guards 2024-02-10 17:02:44 +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
c19d4b0534 [add] moapi process and api 2023-11-10 01:37:09 +08:00
Max
5517b4ac60 [fix] SPA static file server 2023-10-11 22:13:57 +08:00
Max
198fd88449 [add] SUI & Page Builder API (10%) 2023-09-24 17:27:03 +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
7ee7de96c9 [add] Neo (70%) 2023-04-30 14:21:45 +08:00
Max
95ff65d625 [change] optimizing static http server. 2023-04-21 17:06:06 +08:00
Max
d8d14f1994 [add] public dir PWA support 2023-04-11 21:24:16 +08:00
Max
d2c1f034a6 [tidy] remove unused code 2023-04-01 11:52:12 +08:00
Max
5f2b8fbf63 [add] migrate watch 2023-04-01 11:19:09 +08:00
Max
2bd41ed135 [change] start command 2023-03-26 18:21:55 +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
63f9e6574d [optimize] watchReload close the DB connections 2023-01-16 16:13:11 +08:00
Max
9a54e15ae9 [optimize] close the DB connections when reloading 2023-01-16 15:15:44 +08:00
Max
517eae1270 [add] dashboard widget guard 2022-12-19 19:26:26 +08:00
Max
0a26776065 [add] Widget List 2022-12-02 06:14:50 +08:00
Max
93ba063cb4 [add] setup 2022-10-28 11:58:05 +08:00
Max
2b745dd7af [add] widget chart guard & compute 2022-10-25 00:44:18 +08:00
Max
6bbcfec0cd [change] optimize forms 2022-10-22 17:32:37 +08:00
Max
f5fbef9e39 [add] widgets config 2022-10-20 05:00:20 +08:00
Max
b485fd3955 [add] Widget table guard 2022-10-03 17:54:24 +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
9d19d32fef [fix] watch the script file changes 2022-08-20 22:10:49 +08:00
Max
c0402149ce [fix] spelling 2022-08-20 21:29:00 +08:00
Max
7517e4652a [change] Refactoring Watch 2022-08-20 21:25:32 +08:00
Max
3509956bce [add] Task & Schedule 2022-07-30 21:18:05 +08:00
Max
94a2a6d3c4 [add] Buntdb for session store 2022-05-27 14:18:59 +08:00
Max
6e9bc9b7be [add] redis session store 2022-05-25 23:38:53 +08:00
Max
a21995c357 [debug] cross domain 2022-04-02 14:38:56 +08:00