Extend network stack: session/auth, WebSocket, cookie/multipart primitives
Add the network-extension wave to lib/net and the web ABI plugin:
- lib/net cookie_parse / multipart_parse host primitives (EN/ZH)
- plugins/web session store + /admin login gate + WebSocket client/server
- ext/web author surface (EN/ZH) for session, auth, ws
- form update flow and page-level validation echo tests
- fix string escapes: \xHH, \u{...}, unknown escapes kept verbatim
- map Chinese component slots (导航/侧栏/页脚) so sidebar renders
- resolve relative static/db paths against the entry script dir (entry_dir)
- new tutorial chapter 14, EN/ZH example sites, and gold tests
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
7dfa161422
commit
7645dd4c1f
47 files changed
+3380
-75
No files matched your search
@@ -0,0 +1,10 @@
|
||||
## 页脚
|
||||
|
||||
`页脚` =
|
||||
|
||||
| 属性 | 值 | 样式 |
|
||||
|------|-----|------|
|
||||
| Marqdo 网络扩展示例 | https://github.com | |
|
||||
| 文档 | /tools | |
|
||||
|
||||
**`页脚`**
|
||||
@@ -0,0 +1,15 @@
|
||||
## 导航
|
||||
|
||||
站点顶部导航。`后台` 指向需要登录的 `/admin`。
|
||||
|
||||
`导航` =
|
||||
|
||||
| 属性 | 值 | 样式 |
|
||||
|------|-----|------|
|
||||
| 首页 | / | |
|
||||
| 关于 | /about | |
|
||||
| 发布 | /new | |
|
||||
| 工具 | /tools | |
|
||||
| 后台 | /admin | |
|
||||
|
||||
**`导航`**
|
||||
@@ -0,0 +1,15 @@
|
||||
## 侧栏
|
||||
|
||||
本示例展示了哪些特性。
|
||||
|
||||
`侧栏` =
|
||||
|
||||
| 属性 | 值 | 样式 |
|
||||
|------|-----|------|
|
||||
| 文章 | / | |
|
||||
| WebSocket | /#live | |
|
||||
| 登录鉴权 | /admin | |
|
||||
| 表单 | /new | |
|
||||
| lib/net | /tools | |
|
||||
|
||||
**`侧栏`**
|
||||
Reference in new issue
Block a user