feat: v1.1.4 — 移除 jQuery + 头像组件重构 + 编辑器按钮 hook 化 + 帖子页 N+1 优化 + 草稿自动保存
[破坏性] 完全移除 jQuery:删除 jquery-3.7.1.min.js / bootstrap-plugin.js;后台及前台全部 htm/js 改造为原生 JS + fetch;api_debug.htm 内置 xpost/ajax shim 兼容旧调用
[重构] 头像组件 lib/avatar_component.php:三层嵌套结构(avatar-wrap/position-relative/avatar-group-icon)+ 形状配置(rounded/circle/square)+ 新增 avatar_component_frame / avatar_component_badges 两个 hook 注入点 + 新增 xs/xxl 尺寸档位
[重构] EditorService 自定义按钮 hook 化:核心不再硬编码 xnx_hidden 插件名,新增 editor_custom_btns_end hook;禁用 AIEditor 内置 contentRetentionKey 避免与草稿系统冲突;tippy/aie-container z-index 降到 1020 不再覆盖 Bootstrap Modal
[新增] 草稿自动保存系统 view/js/auto-save.js:post.htm 通过 data-autosave 属性集成(thread_create/post_create/post_update 三种上下文)
[新增] 后台头像设置页 admin/view/htm/setting_avatar.htm + admin/route/setting.php 配置项
[优化] 帖子详情页 N+1 查询:批量预加载用户/点赞状态/隐藏内容/勋章;首帖作者与勋章预加载;移除 post_format 重复调用;thread_read 改 thread_read_cache、user_read 改 user_read_cache 命中静态缓存
[健壮性] post.htm 表单提交:htmx 未加载时阻止提交避免跳转到错误页 + 30s 超时恢复按钮 + toast/alert 双兜底
[文档] 新增插件开发文档:09-model-loading-refactor.md / 10-jquery-removal-guide.md / 11-editor-toolbar-integration.md / 12-avatar-component.md / plugin-mutex-guide.md;同步更新 docs/xiunox-plugin-dev/* references









