yuthonyun
|
c4c95926d7
|
style(frontend): yt 静态站移动端响应式适配(顶栏折叠/安全区/画布触摸平移缩放)
|
2026-07-24 19:02:40 +08:00 |
|
李鹏宇
|
760cd517c2
|
feat: 规则货币合并+规则类别配置菜单 + 世界数据大报表 + 背景/论坛同步
后端 game_base:
- 货币并入 game.rule(rate/note 字段),新增可配置规则类别 game.rule.category(world/faction/character/currency)
- 新增「配置」菜单与规则类别配置子项
- /game/api/rules 按类别分组返回,/game/api/currencies 保持兼容
- 列表分组取消等级累计(aggregator=False,适配 Odoo18)
- 1.2 pre-migrate 清理旧 game.currency 记录,避免外部ID冲突
前端/官网:
- 世界数据大报表(index.html + .wd-* 样式)
- 背景 5 板块同步、论坛汉化、过渡资源与 views 拆分(announcement/codex/forum/page/rule/story)
|
2026-07-24 17:58:17 +08:00 |
|
李鹏宇
|
d9269e0f56
|
feat: 论坛/公告/剧情打通 Odoo —— 新增小说模型与阅读器
- 新增 game.story.volume / game.story.chapter 模型 + 后台菜单视图
- 新增 /game/api/story(目录) 与 /game/api/story/chapter/<id>(正文) 接口
- 三块补充 Odoo 默认种子数据(剧情 2 卷 5 章、论坛 5 帖、公告 4 条)
- 前端:剧情改造为左目录 + 右正文的小说阅读器;论坛改为登录后可见(auth-only);论坛/公告调整为竖排阅读布局
|
2026-07-24 15:56:42 +08:00 |
|
李鹏宇
|
467e260d80
|
feat: 后端 export_state 暴露世界名称, 前端顶栏渲染
|
2026-07-24 14:59:00 +08:00 |
|
李鹏宇
|
98a204b309
|
feat: 官网导航重构 + 主世界交互优化
- 官网(index.html/site-app.js): 特色/致玩家并入背景页(平铺非子菜单), 新增剧情tab, 新增登录后可见的"世界数据"tab
- 主世界(world.html): 顶栏账号下拉常驻去重排, 坐标布局修正, 默认缩放下调, 微观滑动阴影修复, 时钟四色扇形+边框, 方向键/WASD平移+边界限位
- 官网百科页(website/intro.html): 背景页整合内容
|
2026-07-24 10:55:38 +08:00 |
|
李鹏宇
|
c6ccc1d50b
|
deploy: 后端模块+前端网站更新,统一线上库名为 game
- game_base: 新增 game.page/page.item 模型(page.py),密码策略加严(>=8位且含字母+数字)
- yt_world: create 改 create_multi;权限扩至 public/portal/user;新增微观世界/资源视图与菜单
- 前端: website/auth/index 等 ?db=yt_game 统一改为 ?db=game(线上库名)
- 新增 deploy_server.sh 一键部署脚本
|
2026-07-24 10:00:51 +08:00 |
|
李鹏宇
|
9e01534de9
|
fix: 去掉拖动改用8方向按钮+滚轮缩放, 背景固定/阴影常驻/性能优化
|
2026-07-24 09:52:27 +08:00 |
|
李鹏宇
|
a24bdbcff7
|
world.html: 接入 yt_world 后端地表记忆(增量持久化)
- 登录闸门拉取后端世界存档 applyWorldState,叠加到确定性底图
- 保存按钮改为增量 flushSave(防抖 800ms),不再写 localStorage
- 相机位/缩放经 scheduleSettingsSave 落库(API.saveSettings)
- handleBuildClick/swapTiles/applyHeight/onHeightSlide/flatten/wheel/mouseup 标脏
- game-api.js 对齐 yt_world 接口 world()/saveTiles()/saveSettings()
|
2026-07-23 21:49:28 +08:00 |
|
李鹏宇
|
a00ea237eb
|
Merge remote-tracking branch 'origin/main'
|
2026-07-23 18:57:05 +08:00 |
|
李鹏宇
|
f5c7ea4ddf
|
1.世界等级五个阶段,自己想办法命名和设计
2.势力等级分为6个
3.人物角色等级分为14个
4.货币也分为6档
一个背景的菜单栏。
写特色,介绍,背景,说明,致玩家等等
|
2026-07-23 18:53:54 +08:00 |
|
李鹏宇
|
221eb42c3b
|
login.html: 密码框增加显示/隐藏切换(眼睛按钮)
|
2026-07-23 18:02:04 +08:00 |
|
李鹏宇
|
f3d252e146
|
world.html: 登录信息条移至右上角、提升 z-index,避免被 topBar 压住
|
2026-07-23 17:51:56 +08:00 |
|
李鹏宇
|
35b8c1f8a1
|
官网首页加载优化:Google Fonts 异步加载、视频预加载降级、移除 404 的 codex-data.js
|
2026-07-23 17:43:09 +08:00 |
|
李鹏宇
|
3d34fbc7cc
|
官网首页:去掉 YUSEN 小标、右上角登录/注册、进入游戏走登录闸、补 favicon;补充 game_base 菜单图标与 yt_world 沙盘记忆模块
|
2026-07-23 17:24:21 +08:00 |
|
李鹏宇
|
63449893ca
|
fix(game_base): 修复登录注册与 Odoo 18 鉴权对齐 + world.html 登录闸门
- game_api.py: request.session.authenticate 改为 Odoo 18 签名
authenticate(db, {'type':'password','login':...,'password':...}),
修复此前多传参数导致的 500 / Access Denied
- game_api.py: 注册成功后先 commit 再自动登录(避免新用户事务未提交导致 Access Denied)
- game_api.py: 登录 authenticate 包 try/except,错误密码返回干净报错而非 500
- world.html: 新增登录闸门——未登录跳转 login.html?next=world.html,
已登录显示左上角昵称+退出;进入游戏即需登录(与 Odoo 打通)
|
2026-07-23 16:44:15 +08:00 |
|
李鹏宇
|
c1af173f85
|
feat(game_base): 添加模块 logo 与 icon
- 新增 static/description/icon.png (128x128),用于 Odoo Apps 列表
- 新增 static/description/logo.png (512x512),用于模块详情页展示
- 新增 static/description/index.html,聚合展示 logo、模块说明与 API 列表
- 素材源自主项目 assets/ui/logo_planet*.png
|
2026-07-23 16:19:40 +08:00 |
|
李鹏宇
|
1bb178c4af
|
refactor(assets): 整理背景素材到 assets/bg 目录,同步 world.html 引用路径;移除冗余 keyart 素材
|
2026-07-23 15:38:42 +08:00 |
|
pengyuthon
|
3892948d8d
|
merge: integrate game_base module into addons/
|
2026-07-23 14:21:53 +08:00 |
|
pengyuthon
|
037261e228
|
feat: consolidate game_base module into addons/ + frontend assets
|
2026-07-23 14:14:25 +08:00 |
|
pengyuthon
|
954cbc6823
|
feat: 沙盘游戏核心运行时文件上线 + 微观世界加载页UI优化
- 提交 world.html 及 assets/(地形贴图/背景/视频/js)、index/login/terrain_preview
- world.html: 微观世界入场加载页重构为左下角提示药丸 + 全宽进度条
- 排除 .bak/__bak 备份文件(.gitignore)
|
2026-07-23 12:58:22 +08:00 |
|
pengyuthon
|
7f641b7647
|
fix: add base tag for domain routing
|
2026-07-07 17:37:53 +08:00 |
|
pengyuthon
|
439fc7440f
|
fix: separate domains - game=Odoo, YT=website
|
2026-07-07 17:27:45 +08:00 |
|
root
|
d01703dd3f
|
feat: Odoo login integration for all pages
|
2026-07-07 17:05:36 +08:00 |
|
root
|
424923c81e
|
add: website frontend files
|
2026-07-07 17:02:07 +08:00 |
|
root
|
6e6bb5cfc7
|
init: game addons structure
|
2026-07-07 16:58:57 +08:00 |
|
李鹏宇
|
a67f87d778
|
first commit
|
2026-07-07 16:50:30 +08:00 |
|