65 Commits

Author SHA1 Message Date
Hermes Agent
6b8bc8bee3 feat: auto-generate InlineForm for data_filter fields
- When data_filter.fields exists, generate InlineForm with search inputs
- Bind submit event to refresh Tabular
- Each field uses uitype from data_filter definition
2026-06-18 17:40:07 +08:00
Hermes Agent
3c5552db14 fix: add data_filter field definition guard to CRUD template
- Check if filterjson is CRUD field definition ({'fields': [...]})
- Set filterjson to None to avoid DBFilter AssertionError
- Fixes issue where data_filter parameter causes 500 error
2026-06-18 17:24:11 +08:00
Hermes Agent
3f8a0ce876 feat: CRUD auto-generates validation code from alters.rules
- extract_validation_rules() extracts rules from browserfields.alters
- data_new_tmpl: adds runtime validation before DB insert
- data_update_tmpl: adds runtime validation before DB update
- Supports: required, minlength, maxlength, min, max, pattern, email, number
- Backend returns Error widget with validation messages on failure
2026-06-18 17:22:12 +08:00
ebd4b4a99e fix: get_data_tmpl 注入 logined 过滤条件到 data_filter
- 确保 logined_userorgid 和 logined_userid 始终作为过滤条件
- 统一 filterjson 为 AND 结构后追加
- 解决有 data_filter 时 ownerid/userid 隔离失效的问题
2026-06-02 17:27:05 +08:00
529025a5f4 fix: wrap Tabular in VBox with cheight for proper scrolling 2026-05-29 22:10:02 +08:00
9f9a60a732 fix: use data_url instead of get_data_url to match JSON key 2026-05-29 19:49:43 +08:00
3a865e89a2 fix: wrap desc in DictObject for attribute access in subtable2toolbar 2026-05-29 19:47:43 +08:00
057ca605c1 feat: pass data_filter/filter_labels to Tabular widget; fix json.loads for data_filter string 2026-05-29 19:44:32 +08:00
41f5b65f1f bugfix 2026-05-22 17:21:47 +08:00
931b2d7035 bugfix 2026-05-22 17:08:53 +08:00
d406fe5ce7 bugfix 2026-05-22 17:06:42 +08:00
5db8662cf1 Revert "bugfix"
This reverts commit 17b85b77e350c352ad4dcf42ab8c156d0b2b58d5.
2026-05-08 13:44:49 +08:00
17b85b77e3 bugfix 2026-05-08 13:12:41 +08:00
a2f7d12a5c bugfix 2026-05-07 14:56:26 +08:00
932e23aa3e bugfix 2026-05-07 14:22:32 +08:00
e2895aadec bugfix 2026-05-06 11:26:25 +08:00
b48a92b2aa bugfix 2026-05-06 11:22:39 +08:00
bb7292d484 bugfix 2026-05-06 11:18:52 +08:00
64583c56dc bugfix 2026-05-04 12:01:11 +08:00
bc62352d96 bugfix 2026-05-04 12:00:38 +08:00
f0eebd7c8a bugfix 2026-04-21 16:51:22 +08:00
yumoqing
78677f9fb2 bugfix 2026-03-12 22:01:57 +08:00
yumoqing
78d4d2a452 Merge branch 'main' of git.opencomputing.cn:yumoqing/xls2ddl 2026-03-12 21:54:37 +08:00
yumoqing
3314588773 bugfix 2026-03-12 21:54:28 +08:00
c6739a3a53 bugfix 2025-12-22 17:30:51 +08:00
25a50f79f4 bugfix 2025-12-22 17:30:14 +08:00
e384efe28e buggix 2025-12-22 17:21:50 +08:00
0a076f313c bugfix 2025-12-22 17:14:50 +08:00
0dcc00fbc2 bugfix 2025-12-11 15:53:06 +08:00
c3e4211cc1 bugfix 2025-12-11 15:45:23 +08:00
5629a79c48 bugfix 2025-12-05 17:51:50 +08:00
d6a2098f13 bugfix 2025-11-18 13:32:39 +08:00
c1b1467f42 bugfix 2025-11-12 12:30:08 +08:00
a682d9d5b5 bugfix 2025-11-07 17:34:17 +08:00
da8277b3b3 bugfix 2025-11-07 17:20:30 +08:00
yumoqing
01a56d4b56 bugfix 2025-10-26 22:40:23 +08:00
311a9055fe bugfic 2025-10-23 23:04:23 +08:00
b83c9e27d6 new version 2025-10-23 22:44:28 +08:00
193418efa3 bugfix 2025-10-23 22:43:52 +08:00
c0e1036f6d bugfic 2025-10-23 17:53:54 +08:00
aad40a3336 bugfix 2025-10-23 17:52:02 +08:00
d497c2e039 bugfix 2025-10-22 13:25:02 +08:00
b5ba4af518 bugfix 2025-10-22 13:19:09 +08:00
01dcaea0ab bugfix 2025-10-12 13:59:24 +08:00
76bc62493b bugfix 2025-10-12 13:57:44 +08:00
7c35a4a6b1 bugfix 2025-08-28 22:49:45 +08:00
b06eab1abe bugfix 2025-08-28 21:43:22 +08:00
2805361b40 bugfix 2025-08-08 19:00:52 +08:00
26fbca2a5f bugfix 2025-08-08 18:56:41 +08:00
d730874c01 Merge branch 'main' of git.opencomputing.cn:yumoqing/xls2ddl 2025-08-08 18:44:29 +08:00