Max
b4ed405e4e
optimize sui page injection script
2024-07-07 22:34:10 +08:00
Max
265188bed1
refactor: Remove unused slotNode function and tidy up code
2024-07-07 16:00:28 +08:00
Max
e4c8eeb180
optimize the SUI compiler & add http server gzip support
2024-07-07 15:29:50 +08:00
Max
536621d72e
refactor: Update parsing logic for JIT components
2024-07-07 02:33:12 +08:00
Max
a2d1ee8ca9
refactor: Add conditional hiding of elements in forStatementNode
2024-07-07 02:09:21 +08:00
Max
3f95dd7d75
[add] sui recursive build detected
2024-07-07 01:19:15 +08:00
Max
57e72a698d
refactor: Copy slots in BuildAsComponent method
2024-07-07 00:51:07 +08:00
Max
6542c6e46b
refactor: optimize the SUI page compiler
2024-07-06 21:24:36 +08:00
Max
a4f28368d4
refactor: Update build process to include SUI CompileAsComponent support (dev)
2024-07-05 19:54:26 +08:00
Max
4f3f83523a
chore: Update local build test to remove files before building
2024-07-05 17:05:15 +08:00
Max
cf45040a1c
feat: Add and optimize SUI CompileAsComponent support
2024-07-05 16:19:57 +08:00
Max
a435b1ad6e
[chore] Update sui test cases
2024-07-04 17:06:42 +08:00
Max
671a6b409e
refactor: Update go.mod dependencies to latest versions
2024-07-04 03:12:30 +08:00
Max
35e23f29ae
refactor: Create context if not exists in SUI page build
2024-07-02 20:51:57 +08:00
Max
28537e2163
[add] Support for JIT mode in SUI component imports ( dev )
2024-07-02 20:40:35 +08:00
Max
6fa9eb51ab
refactor: Update SUI page build process to execute before and after build scripts
2024-06-29 21:38:40 +08:00
Max
c01b4ccb97
refactor: Improve SUI page build performance by adding script execution time measurement
2024-06-29 20:44:48 +08:00
Max
481a9589ac
refactor: Add option to minify style code during SUI page build
2024-06-28 20:31:30 +08:00
Max
80d28ab8c5
refactor: Minify script and style code during SUI page build
2024-06-28 20:17:06 +08:00
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