pengyuthon
|
f78f37d677
|
fix(game_base): rebuild db-aware routing patch to fix game.pengyuthon.cn login 404
- rebuild models/ir_http.py: monkeypatch Request._get_session_and_dbname
bind DB by URL prefix (/game/->game, /yt_world/->yt_game), guarded by db_filter
- __init__.py import ir_http to load the patch
- root cause: dbfilter=^(pengyuthon|school|test|yun|game)$, nginx proxies
/game/ with Host:game.pengyuthon.cn; host cannot resolve db -> nodb route
table -> /game/api/* 404, login fails
- after fix /game/api/codex and /game/api/login return 200
|
2026-07-25 23:20:56 +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 |
|
李鹏宇
|
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 |
|
李鹏宇
|
f5c7ea4ddf
|
1.世界等级五个阶段,自己想办法命名和设计
2.势力等级分为6个
3.人物角色等级分为14个
4.货币也分为6档
一个背景的菜单栏。
写特色,介绍,背景,说明,致玩家等等
|
2026-07-23 18:53:54 +08:00 |
|
pengyuthon
|
037261e228
|
feat: consolidate game_base module into addons/ + frontend assets
|
2026-07-23 14:14:25 +08:00 |
|