Commit graph

133 commits

Author SHA1 Message Date
Max
4a1a1b2dbc Optimize the SUI compiler to better support component code 2024-06-28 19:46:08 +08:00
Max
7db3940914 refactor: Update code to support translation attributes and nodes 2024-06-28 16:20:57 +08:00
Max
671bba4aa4 [add] SUI language pack support (dev) 2024-06-28 11:25:22 +08:00
Max
c3644380ba refactor: Update Request struct to include data caching functionality 2024-06-27 21:11:38 +08:00
Max
6dcd704ea4 [add] Configuring SUI page caching to optimize static page loading speed 2024-06-27 20:02:03 +08:00
Max
6ff2ad2ead [add] Generating language packs during SUI compilation 2024-06-27 17:15:36 +08:00
Max
e170f6017e fix misspelling 2024-06-26 19:35:21 +08:00
Max
a52f0ed1a4 refactor: Update Request struct to use NewData method for setting data 2024-06-26 18:19:51 +08:00
Max
0a5105b9d0 refactor: Update TemplateParser to support debug mode and DisableCache 2024-06-26 17:09:41 +08:00
Max
a1de910337 [add] support for retrieving cookies in sui Request struct 2024-06-25 19:37:55 +08:00
Max
93fb007280 refactor: Update Namespace function to handle special characters in name
The Namespace function in utils.go has been updated to handle special characters in the name parameter. This ensures that the generated namespace is valid and avoids any potential issues with naming conflicts. The function now replaces forward slashes, square brackets, and hyphens with underscores before generating the namespace. This change improves the reliability and robustness of the code.
2024-06-14 16:20:52 +08:00
Max
971246d090 chore: Update cssRe regular expression to include hyphen in selectors 2024-06-11 17:26:37 +08:00
Max
8583f1a0f0 chore: Deprecate $slot and $prop in favor of $slots and $props
Deprecate the usage of $slot and $prop in the code and introduce $slots and $props as their replacements. This change ensures consistency and improves clarity in the codebase.
2024-06-11 10:40:19 +08:00
Max
a48c4cbe7d Refactor middleware and request handling code 2024-03-19 13:58:43 +08:00
Max
72d88cddc4 Remove redundant code for syncing asset files 2024-03-13 20:16:13 +08:00
Max
76b78e2102 [add] sui.sync.assetfile process 2024-03-13 19:39:53 +08:00
Max
e510cb2649 Refactor caching of public root path in SUI core 2024-03-03 09:58:33 +08:00
Max
b82f6f6029 Refactor build process and add data parameter to BuildOption 2024-02-28 21:21:56 +08:00
Max
287731da82 Trigger the __sui_data_ready event when the data is loaded 2024-02-22 22:52:08 +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
6ca148d76c Add support for rendering request data in template parser 2024-01-21 00:04:58 +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
a87bc73753 Update regular expressions in data.go 2024-01-17 19:17:42 +08:00
Max
f2f3fa354f Update regular expressions in data.go and parser.go 2024-01-17 15:17:04 +08:00
Max
e358cbb79d Update dependencies in go.mod file 2024-01-16 14:34:40 +08:00
Max
2ba388ab16 Add parsed attribute to setStatementNode function 2024-01-10 16:23:21 +08:00
Max
cb2f6e8748 Refactor attribute handling in build and parser functions 2024-01-10 14:51:16 +08:00
Max
669ccfb1e1 Refactor document creation in build.go and parser.go 2024-01-10 13:20:22 +08:00
Max
cec9a2cbd0 Add support for s:set statement in parser.go 2024-01-10 11:33:58 +08:00
Max
8e5109d3fd Add TypesQueryParam function to handle get Template request 2024-01-07 18:24:00 +08:00
Max
2ef2f828d6 [fix] sui reqeust exec 2024-01-05 12:40:21 +08:00
Max
7f4b80d0c7 [fix] sui slot variables in data 2024-01-04 18:03:02 +08:00
Max
5054b8f6ec [fix] sui parser and request 2024-01-04 09:53:34 +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
Max
5031904964 Add asset path replacement in JavaScript and TypeScript code 2024-01-03 16:12:58 +08:00
Max
a4a639568d [add] Update V8Go repository in GitHub Actions workflows 2023-12-22 20:43:35 +08:00
Max
625cd2bad5
Merge pull request #534 from trheyi/main
[_]
2023-12-19 01:33:01 +08:00
Max
35cd3f7202 [_] 2023-12-19 01:32:25 +08:00
Max
14dc514446
Merge pull request #533 from trheyi/main
[add] sui editor render default path
2023-12-19 00:54:17 +08:00
Max
d9e9e239d4 [add] sui editor render default path 2023-12-19 00:47:46 +08:00
wwsheng009
b21271fa0f fix:fix the the spelling error 2023-12-18 16:26:37 +08:00
wwsheng009
006859ba83 feat: sui-page,add raw command 2023-12-18 13:35:12 +08:00
Max
6bfad371dc [fix] sui preview render 2023-12-17 17:18:21 +08:00
Max
5fba7cd41f [add]support for attributes in BuildForImport method 2023-12-17 15:17:21 +08:00
Max
243b0707a7 [add] refactor template parser to support printing data 2023-12-17 12:02:47 +08:00
Max
bd798b03cc [fix] Refactor URL handling in NewRequestContext and parseArgs functions 2023-12-16 14:01:46 +08:00