49 Commits

Author SHA1 Message Date
8cc7ea45f9 fix: login.dspy use injected vars, avoid import errors 2026-08-11 17:56:14 +08:00
79d91d4ffd feat: inline login modal on homepage, no external file needed 2026-08-11 17:53:30 +08:00
56ff1353bb fix: restore PYTHONPATH, rebuild wwwroot with direct copies 2026-08-11 17:52:23 +08:00
62662f0477 fix: pip install all modules (no -e), remove PYTHONPATH from start.sh 2026-08-11 17:50:09 +08:00
dd8a1c3d3e fix: add static route for / → wwwroot/ to serve .html files 2026-08-11 17:38:19 +08:00
44b8ceca3d feat: standalone login.html page + fix login button link 2026-08-11 17:36:34 +08:00
830cdd33e9 feat: custom login endpoint + html modal login form 2026-08-11 17:34:04 +08:00
9e9f1f5284 fix: revert session config (breaks .ui routing), commit final homepage + theme 2026-08-11 17:30:36 +08:00
858a957a60 fix: login button navigates to /rbac/user/login.ui (bricks PopupWindow) 2026-08-11 17:30:07 +08:00
7fc08a7afa fix: use /rbac/user/up_login.dspy (works), userpassword_login.ui returns 404 2026-08-11 17:28:15 +08:00
6b46aed680 fix: remove password_encode monkey-patch, let globalEnv handle hashing 2026-08-11 17:26:57 +08:00
02358139c2 feat: login popup + theme toggle + superuser admin/admin123 + session config 2026-08-11 17:25:53 +08:00
0a03a873ee feat: homepage with sidebar nav + header bar (user/lang/theme controls) 2026-08-11 17:17:24 +08:00
c09324c9ac feat: production-ready pccs deployment — homepage working, RBAC active, all modules online 2026-08-11 17:04:38 +08:00
c8f73b9e23 feat: simple HTML homepage with module links 2026-08-11 17:03:51 +08:00
ca64cc9ea9 fix: restore dashboard index.ui + add index.html redirect 2026-08-11 17:03:30 +08:00
8c60e30c47 fix: add root index.ui redirecting to /pccs/index.ui 2026-08-11 17:02:37 +08:00
8c378f0ef0 fix: add @asynccontextmanager to patched get_sor_context 2026-08-11 17:02:05 +08:00
186ed11d55 fix: set_serverenv for get_module_dbname (get_serverenv uses dict.get not __getattr__) 2026-08-11 17:01:34 +08:00
8dcc84b1a3 fix: also patch userperm.get_sor_context reference 2026-08-11 17:00:48 +08:00
2c50d358ef fix: also patch globalEnv cached get_sor_context 2026-08-11 17:00:21 +08:00
cc7ab76377 fix: patch sqlor.dbpools BEFORE any other imports to prevent stale references 2026-08-11 16:59:43 +08:00
c34abef54a debug: trace get_sor_context call 2026-08-11 16:58:51 +08:00
2bc0ae3b29 debug: verify monkey-patch applied 2026-08-11 16:58:15 +08:00
3ecd2d1266 fix: use explicit workdir for getConfig at module level 2026-08-11 16:57:41 +08:00
9d3c65a056 fix: apply monkey-patches at module level before any imports 2026-08-11 16:57:13 +08:00
dd028e2203 fix: monkey-patch get_sor_context to reuse global DBPools 2026-08-11 16:56:21 +08:00
b51eb9f626 debug: verify monkey-patch in init 2026-08-11 16:32:59 +08:00
ac330eb097 fix: initialize DBPools with databases in init() for get_sor_context 2026-08-11 16:32:16 +08:00
8f6027905f fix: remove session config (causes aiohttp_session error) 2026-08-11 16:31:12 +08:00
358fca700c fix: monkey-patch DictObject.__getattr__ for get_module_dbname on all instances 2026-08-11 16:30:09 +08:00
9a0fe11ed2 fix: monkey-patch ServerEnv class so get_module_dbname works for all instances 2026-08-11 16:28:40 +08:00
dd11ce3a30 pccs deployed on pccs.opencomputing.cn:9180 — config.json with resolved paths 2026-08-11 15:22:39 +08:00
531da1a4da fix: add website.paths to config.json 2026-08-11 15:21:53 +08:00
2c265d0f3e fix: webapp() takes no workdir kwarg 2026-08-11 15:20:49 +08:00
bfe8397fe0 fix: remove bricks_for_python (repo 404), simplify pccs.py 2026-08-11 15:20:11 +08:00
b06ea9d8df fix: move minsize/maxsize out of kwargs to dbconfig level 2026-08-11 15:18:47 +08:00
2d8b98bcda fix: encrypt db password in config.json 2026-08-11 15:17:50 +08:00
6bca07f4a6 refactor: build.sh matches deployment spec (pkgs/py3, WORKDIR fix) 2026-08-11 15:16:42 +08:00
23e11cdadb fix: use Aliyun pip mirror, add timeout for xls2ddl install 2026-08-11 15:14:05 +08:00
b7036f4c36 fix: remove mysql-client from apt deps (conflicts with MariaDB) 2026-08-11 14:53:36 +08:00
abf66e3435 feat: add header bar with user/lang/theme controls + sidebar menu endpoint 2026-08-11 14:53:04 +08:00
b600f42bc7 feat: add dashboard index.ui with sidebar layout + design tokens 2026-08-11 14:48:02 +08:00
43695b238d feat: complete pccs application scaffold per web-application-spec
- add app/pccs.py (webapp entry with ServerEnv/load_rbac/load_pybricks)
- add conf/config.json (password_key, logger, databases, website processors)
- add .env (environment variables for deployment)
- add .gitignore
- rewrite build.sh per spec (xls2ddl, json2ddl, xls2ui, symlinks, systemd)
2026-08-11 14:41:55 +08:00
b5b5784df5 feat: add build.sh for one-click deployment on pccs.opencomputing.cn 2026-08-11 14:40:31 +08:00
63ff2959e7 pccs v0.2: add storage_mgr + image_mgr to deps, update menu 2026-08-11 14:37:30 +08:00
451920d17f merge remote 2026-08-07 11:25:10 +08:00
a86dab8c58 init: pccs module skeleton — models, CRUD, API, load_path 2026-08-07 11:23:20 +08:00
0eba1f130a Initial commit 2026-08-07 11:10:22 +08:00