Commit Graph

51 Commits

Author SHA1 Message Date
Scott Idem
0f4b4d2f51 feat: Implement V3 ID Vision and fields_to_exclude_from_db across core models
This commit refactors numerous Pydantic models to align with the V3 ID Vision standard, ensuring that primary and foreign key fields are represented as clean string IDs in the API. It also introduces and populates the  ClassVar in each model to prevent view-only fields and linked objects from being inadvertently written to the database during PATCH/POST operations.

Specifically, this includes:
- Adding  to exclude view-derived or joined fields such as , , nested objects (e.g., , ), and convenience fields (e.g., ).
- Adjusting root validators to correctly map string IDs and strip internal integer IDs for API responses.
- Resolving a KeyError by adding  to .

These changes are crucial for maintaining data integrity and consistency with the V3 API architecture.
2026-02-24 16:21:27 -05:00
Scott Idem
2266f149f7 security(v3): harden multi-tenant isolation and enhance failure feedback 2026-02-13 18:45:20 -05:00
Scott Idem
8270f7ff7a fix(v3-actions): implement from_hosted_file and harden vision IDs
1. Implemented specialized 'from_hosted_file' action for Event Files.\n2. Fixed ValueError in Pydantic models by removing default/default_factory conflict.\n3. Hardened integer stripping to strictly enforce Vision Standards.\n4. Updated documentation for the new action route.
2026-02-06 16:23:18 -05:00
Scott Idem
d5e685dee8 fix(v3-vision): strict integer stripping and demo parity verification
1. Hardened all demo models to set non-string ID fields to None, ensuring full Vision Standard compliance.\n2. Added status_id_random to common field schema.\n3. Verified account_id availability in exhibit tracking.\n4. Added comprehensive E2E parity test suite for demo objects.\n5. Fixed NameError by importing root_validator.
2026-02-06 16:16:08 -05:00
Scott Idem
f3662f9462 fix(v3-vision): final hardening of demo models
Standardized Badge, Exhibit, and Tracking models to ID Vision standards. Included account_id support for exhibit tracking and removed legacy validators to ensure stable CRUD operations for the Tuesday demo.
2026-02-06 15:46:05 -05:00
Scott Idem
9c0aae9a6d docs: formalize Aether V4 Architecture Standards
- Create ARCH__V4_CORE_STANDARDS.md to document V4 identity, lifecycle, and search patterns.
- Standardize default_qry_str in Event_Badge_Base.
- Clean up obsolete .snapshot files.
- Update README baseline to v3.0.99.
2026-01-28 14:36:41 -05:00
Scott Idem
45f6303219 feat(v3): robust search wildcards, smart status filtering, and fixed ID population 2026-01-06 15:54:31 -05:00
Scott Idem
3790983b5e Quick update to include some more fields. 2026-01-05 19:24:17 -05:00
Scott Idem
17a64a719b Updates related to badges demo. 2025-10-07 03:27:19 -04:00
Scott Idem
19082a7a10 Adding cfg_json and data_json fields to more models 2024-06-11 13:35:00 -04:00
Scott Idem
0af9c4a76e New data fields for badge model 2024-03-26 11:43:31 -04:00
Scott Idem
4c18d50c3b Prep for ISHLT 2023-04-10 18:54:42 -04:00
Scott Idem
461d547c09 Work on exhibit tracking export and API badge ID lookup 2023-03-07 19:01:45 -05:00
Scott Idem
41470c277f Work on ISHLT Impexium importing 2023-02-16 16:04:38 -05:00
Scott Idem
a176248104 Lots of work for ISHLT badge printing. 2023-02-01 17:57:22 -05:00
Scott Idem
a7915cbb5f Badge related changes 2023-01-25 18:36:54 -05:00
Scott Idem
0eaaaa4d7e Changes related to Docker, bug fixes, and event badges. 2023-01-12 18:21:00 -05:00
Scott Idem
f067aefdca General clean up 2022-08-12 14:06:43 -04:00
Scott Idem
462acd3c7f Added VCard format support 2022-07-06 17:53:49 -04:00
Scott Idem
0a41699f5b Minor badge clean up 2022-07-06 12:06:07 -04:00
Scott Idem
493f4a7365 Moving ID random generation to the SQL db instead. General clean up. 2022-06-30 15:04:19 -04:00
2debf80598 Impexium updates for address fields. Hidding 2022-04-25 10:27:08 -04:00
40a735a451 Added address lines to the database for badges. Improved 2022-04-24 23:56:14 -04:00
8fbde8c069 Added address lines to the database for badges. 2022-04-24 23:41:46 -04:00
Scott Idem
beea92f5d7 Added postal code to badges and tracking data 2022-04-24 10:38:04 -04:00
Scott Idem
2c4a58ff59 Unknown 2022-04-23 18:00:34 -04:00
Scott Idem
aa8e6f8b00 Work on event badge model and event exhibit tracking model. 2022-04-21 22:14:39 -04:00
c924337761 Work on badge model. Hide... 2022-04-19 23:58:07 -04:00
efff92c549 Work on badge and tracking models 2022-04-19 18:06:16 -04:00
Scott Idem
1f66eb0abc Work on ISHLT Impexium importing 2022-04-16 12:03:32 -04:00
Scott Idem
a2e5f804d6 Work on ISHLT Impexium importing 2022-04-15 18:25:06 -04:00
Scott Idem
bf4e3827e0 General clean up. 2022-04-13 15:49:37 -04:00
Scott Idem
c625cda845 More improvement to Impexium API calls. Should be faster and more robust now. 2022-03-23 15:38:53 -04:00
Scott Idem
e1eeb8990c Work on badge importing 2022-03-21 17:59:05 -04:00
Scott Idem
88e5daebfa Work on badges for ISHLT 2022-03-21 16:01:43 -04:00
Scott Idem
84fa00fa16 Work on badge template and related 2022-03-14 15:55:40 -04:00
Scott Idem
bfd7451c0f Update badge model 2022-03-04 12:26:50 -05:00
Scott Idem
d4da7535f9 Work on Impexium and badges for ISHLT 2022-02-24 18:11:14 -05:00
Scott Idem
18d8b73eb3 Work on Impexium, exhibit, and badge related 2022-02-23 18:34:21 -05:00
Scott Idem
831ff8d4a0 Work on event person tracking and related 2021-09-27 19:14:41 -04:00
Scott Idem
adb90fd214 Minor updates 2021-09-17 17:31:41 -04:00
Scott Idem
6536257042 Minor updates to badge related 2021-09-14 19:36:36 -04:00
Scott Idem
15fd32b252 Work on a lot of things. Mainly cleaning up person and profile related fields in multiple tables. 2021-09-10 18:12:24 -04:00
Scott Idem
54a43cc124 Work on person methods and related and event badge everything 2021-09-08 15:58:35 -04:00
Scott Idem
824bdd29a2 Work on event, event_session, event_presentation, event_presenter, user, and person routes, methods, and models 2021-08-21 16:04:17 -04:00
Scott Idem
5bed9aadb4 Added page routes and related methods and updated model. Also general clean up. 2021-08-20 12:53:21 -04:00
Scott Idem
ad9417911a Working on event registration and related. 2021-08-17 20:53:01 -04:00
Scott Idem
d85ab35812 Working on membership stuff 2021-06-24 17:50:11 -04:00
Scott Idem
443d2bab77 A lot of general clean up of everything. 2021-05-28 03:52:31 -04:00
Scott Idem
2167c7e897 General clean up of everything. 2021-05-28 03:23:52 -04:00