Commit Graph
41 Commits
Author SHA1 Message Date
zhongqin b4e382bdfd feat: complete integration oauth egress 2026-09-02 11:16:58 +08:00
zhongqin 8c4dd94823 feat: improve chat app 2026-09-01 23:07:36 +08:00
zhongqin 81fb530dfe feat: app bundle — .rafapp lifecycle platform 2026-08-30 07:24:52 +08:00
zhongqin 5b688b5bba feat(integration): declarative egress — api-clients, call_api, plugin callApi, cross-db fixes 2026-08-28 17:02:39 +08:00
zhongqin fea03d7bc4 feat: integration plane — inbound pipeline, retry/pull/replay, stream connectors, supervisor, telemetry batching, SSE & health 2026-08-28 13:25:41 +08:00
zhongqin 0329547e93 feat: integration plane P1 — inbound pipeline, retry, pull, replay, admin API, Integration Plane: unified third-party integration boundary 2026-08-28 10:42:17 +08:00
zhongqin be1738d29f refactor(types): type-driven SnowflakeId & Price across all layers
Both wire-format concerns are now enforced by the type system via serde,
eliminating manual conversions at every layer:

SnowflakeId (id encryption on the wire):
- All DTO id fields use SnowflakeId instead of String; serialization emits
  encode_id (cipher+base62 under ID_ENCODING), deserialization accepts both
  forms and rejects garbage with 400
- Services/models pass SnowflakeId through; parse_id only remains at
  untyped boundaries (Path<String>/Query/batch ids)
- utoipa PartialSchema/ToSchema impls added; reader ecommerce permissions
  seeded (cart/orders/product_comments/favorites) across all 3 schemas
- reserved_usernames site option (data-driven, 4-128 charset validation)

Price (money wire format is yuan):
- New Price type (sqlx-transparent over i64 cents) with yuan serde,
  arithmetic ops, checked helpers, DbBigint coercion for CRUD macros
- Models/commands/DTOs across product/variant/cart/order/payment/coupon/
  wallet/shipping/favorites all use Price; arithmetic stays integer cents
- Admin submits yuan, storefront formatPrice only adds the currency symbol
- Fix coupon Fixed-discount semantics (discount capped at order amount)

AGENTS.md documents both conventions.
2026-08-19 13:48:27 +08:00
zhongqin e70a4f8bed feat: modify json fields 2026-08-09 18:44:08 +08:00
zhongqin ba66f8b1c6 fix: resolve sql compbatibility 2026-08-07 08:04:57 +08:00
zhongqin 9bb56ce015 feat: add system script cron 2026-08-06 07:40:00 +08:00
zhongqin 93a12426c1 feat: refactoring cron system 2026-08-06 01:36:27 +08:00
zhongqin acc6da7630 feat: improve cron handler 2026-08-05 22:35:34 +08:00
zhongqin f6dee28714 feat: improve UserRole enum, improve rbac, update webhook 2026-08-05 19:55:51 +08:00
zhongqin 631e051b0a feat: resolve postgres compatibility issues 2026-08-05 01:08:52 +08:00
zhongqin 8d09aab265 feat: refactor permissions, support multiple roles 2026-08-01 00:04:49 +08:00
zhongqin 956e230d95 feat: update api tokens 2026-07-31 18:34:03 +08:00
zhongqin 71c5313d2d feat: refactor api tokens auth 2026-07-31 15:00:57 +08:00
zhongqin 35a23e42e4 feat: add tunnel, add device doe 2026-07-31 08:18:41 +08:00
zhongqin 22ba37db74 major update, product posts payment and detail improve 2026-06-10 05:38:45 +08:00
zhongqin 6bd7515620 document update 2026-06-02 13:05:46 +08:00
zhongqin 847f823289 feat: add user cli, improve ecommerce 2026-05-31 19:59:54 +08:00
zhongqin c652707719 feat: improve ecommerce system, add comments, coupon, shipping templates 2026-05-31 12:53:57 +08:00
zhongqin 1d73acdfbd add product_categories, refactor export typescript sdk 2026-05-29 20:43:15 +08:00
zhongqin 5f6910b506 refactor content types datetime fields 2026-05-21 04:00:35 +08:00
zhongqin ab9fdfe856 unified refactoring id, using snowflake algorithm id 2026-05-20 15:43:27 +08:00
zhongqin 493be8f7de improve the ecommerce system table 2026-05-18 22:54:04 +08:00
zhongqin 22fd2715ca optimize crud proc macro 2026-05-18 18:12:18 +08:00
zhongqin d04e5c6f80 add payment routing, support auto and manual provider assignment 2026-05-14 11:57:08 +08:00
zhongqin 724816f3d9 payment details upgrade 2026-05-14 00:24:13 +08:00
zhongqin f4c1a1feaf add unified payment framework 2026-05-13 18:31:24 +08:00
zhongqin b7d7a776c8 add currency database, wallet security reinforcement 2026-05-11 23:32:20 +08:00
zhongqin d31f06958a add wallet system 2026-05-11 18:47:33 +08:00
zhongqin 5c1483a2c5 add user table social_links and metadata fields 2026-05-11 15:27:09 +08:00
zhongqin 6f465924c8 user auth unified upgrade 2026-05-11 14:59:02 +08:00
zhongqin f6e1efc491 unified update of data table fields 2026-05-10 00:01:02 +08:00
zhongqin b16d113ae2 unified time field is process by the application layer 2026-05-09 23:22:07 +08:00
zhongqin 0c3ecebc2b optimization of database table field types 2026-05-09 16:53:03 +08:00
zhongqin 99657fee5c program structure and id optimization 2026-05-08 21:38:37 +08:00
zhongqin 5728d4eedc Unified refactoring of ID scheme, self increment int ID as primary key and uuid v7 as business ID 2026-05-08 14:21:56 +08:00
zhongqin 10dfa5b232 fix sql fields not using key keyword 2026-05-08 02:21:42 +08:00
zhongqin b6a7d6d47f multi database support enhancement 2026-05-07 23:35:45 +08:00