Commit Graph

36 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
802c75bad9 V3: Standardize Primary AE Objects and Synchronize Search Whitelists.
- Synchronized searchable_fields (V3 whitelists) across all Primary and Active AE objects (Identity, People, Events, Journals, Posts, Archives, Business).
- Standardized Pydantic models for core objects to include the 10 common fields (id, id_random, enable, hide, priority, sort, group, notes, created_on, updated_on).
- Fixed field aliases and uncommented valid database columns in User_Base and Organization_Base.
- Pruned non-existent fields from searchable lists in legacy or config-specific definitions (account_cfg, user_role, log_client_viewing).
- Added system discovery and validation tools:
    - ae_object_info.py: AE object status and metadata browser.
    - export_all_interfaces.py: E2E TypeScript interface generator.
    - Verification scripts for searchable field consistency.
- Updated Jan 8 milestone progress and platform roadmap in GEMINI.md.
2026-01-08 12:24:34 -05:00
Scott Idem
882c740880 Finally getting rid of the old display_name fields. Trying to use full_name and full_name_override everywhere. 2025-06-16 19:22:02 -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
6691f2a701 Updating the models to include a standard passcode field. 2024-06-10 19:40:35 -04:00
Scott Idem
5b4af4bb34 More work on abstract submissions and related grants 2023-06-26 14:52:31 -04:00
Scott Idem
224aaed969 General clean up. Work on abstracts and websockets 2023-03-23 19:12:13 -04:00
Scott Idem
df26128ce4 General clean up. Workon event abstracts. 2023-03-20 19:39:41 -04: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
0eaaaa4d7e Changes related to Docker, bug fixes, and event badges. 2023-01-12 18:21:00 -05:00
Scott Idem
5066cd099d More again again again. Moving ID random generation to the SQL db instead. General clean up. 2022-06-30 17:00:17 -04:00
Scott Idem
a2e5f804d6 Work on ISHLT Impexium importing 2022-04-15 18:25:06 -04:00
Scott Idem
8433f07e57 Unknown 2022-04-11 05:08:12 -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
57e3298dc6 Unknown 2022-03-09 17:42:24 -05:00
Scott Idem
18d8b73eb3 Work on Impexium, exhibit, and badge related 2022-02-23 18:34:21 -05:00
Scott Idem
003ffb4adf General code clean up. Work on event tracking related 2022-02-15 13:25:19 -05:00
Scott Idem
e231090168 Code clean up. Work on event session and file counts for event models 2021-09-28 18:06:35 -04:00
Scott Idem
831ff8d4a0 Work on event person tracking and related 2021-09-27 19:14:41 -04:00
Scott Idem
0f87f69077 Work on things related to event_person, tracking, badges, sessions, etc 2021-09-21 17:30:20 -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
84aecddc7c Work on session proposals and related event person profile. 2021-09-07 18:49:21 -04:00
Scott Idem
ad9417911a Working on event registration and related. 2021-08-17 20:53:01 -04:00
Scott Idem
d933395a9f A lot of code clean up! Also adding in Response everywhere... 2021-08-10 18:09:34 -04:00
Scott Idem
9d1b520718 A lot of changes related to person and membership and event 2021-07-12 17:47:16 -04:00
Scott Idem
d85ab35812 Working on membership stuff 2021-06-24 17:50:11 -04:00
Scott Idem
4e6fedcffd Work on better way to update objects. A lot of work! Also a lot of clean up. 2021-06-10 17:42:31 -04:00
Scott Idem
627bc8c4df A lot of work on event related modules 2021-06-04 16:01:23 -04:00
Scott Idem
b1effc128a Working on event related models and methods. Also, a lot of general clean up of everything. 2021-05-28 16:03:17 -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
Scott Idem
e46032a00b General clean up of models and methods. 2021-05-28 01:30:56 -04:00
Scott Idem
29692ac78e Working on event_person and session proposals. Also general clean up of models and methods. 2021-05-28 00:14:02 -04:00
Scott Idem
486236f0a8 Working on event_person and session proposals. Also general clean up of models and methods. 2021-05-27 23:10:53 -04:00
Scott Idem
65fd3ebe28 Working on event_person and session proposals. Also general clean up of models and methods. 2021-05-27 16:29:27 -04:00