Scott Idem
153c2ce6dd
models: add default_qry_str to event, session, presenter models
2026-03-31 16:24:25 -04:00
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
a02abbbe4f
feat(models): implement Vision ID pattern for event_device and event_session
...
- Migrated event_device and event_session models to the V3 Vision ID pattern (string-based public IDs).
- Added root_validator for automatic id_random mapping and integer stripping.
- Implemented fields_to_exclude_from_db to protect database updates from convenience/view fields.
- Fixed description_json type in Journal_Base for correct JSON parsing.
- Added E2E verification tests for event_device and event_session V3 endpoints.
2026-01-30 12:38:16 -05:00
Scott Idem
40c2c34678
Adding in a new poc_agree field or sessions. Seems reasonable.
2024-09-12 20:21:34 -04:00
Scott Idem
7a8648cd99
Updated external_id field naming to be more consistent.
2024-09-03 12:30:31 -04:00
Scott Idem
93c5a188f0
Added new ux_mode field. Always one more... Removed some others and replaced with future JSON though.
2024-08-16 14:54:01 -04:00
Scott Idem
97f0a59fcf
Updating the models and less log info
2024-08-09 17:47:33 -04:00
Scott Idem
394c2d1d94
Update models to include file id list.
2024-08-09 15:28:18 -04:00
Scott Idem
c08cffecd4
One more field...
2024-06-21 16:43:27 -04:00
Scott Idem
b91f9f1f04
Updates to the models to include passcode and related.
2024-06-18 18:28:42 -04:00
Scott Idem
8ed0ab8413
Minor updates for model
2024-06-17 16:54:15 -04:00
Scott Idem
7b0af5e7c5
Changing li (list)t to kv (key value)
2024-06-17 15:54:48 -04:00
Scott Idem
7b92f7760d
Added new POC fields
2024-06-17 15:51:33 -04:00
Scott Idem
6691f2a701
Updating the models to include a standard passcode field.
2024-06-10 19:40:35 -04:00
Scott Idem
e7a26268ce
Work on fancy API CRUD
2023-05-02 17:36:30 -04:00
Scott Idem
430a155b75
General clean up. Updated event models
2023-03-21 17:55:45 -04:00
Scott Idem
f3a84a9609
Badge and launcher related changes
2023-01-27 16:32:30 -05:00
Scott Idem
ba36093b0e
Minor changes
2022-10-06 00:18:55 -04:00
Scott Idem
38b32ef5b1
Minor changes
2022-09-29 18:08:57 -04:00
Scott Idem
a18388e841
Minor changes
2022-09-27 20:53:12 -04:00
Scott Idem
a56a4b9647
Updated event location related. General code clean up and updates.
2022-09-23 18:31:17 -04:00
Scott Idem
7fe007a098
Minor changes. Added even_location_list to event_session.
2022-09-20 18:32:42 -04:00
Scott Idem
84b33bb21f
Work on event sessions and related files. Internal use is a new thing.
2022-09-15 17:47:07 -04:00
Scott Idem
1f28f76006
Work on event files and related
2022-08-23 12:47:51 -04:00
Scott Idem
e1a584de0c
Work on event files and related
2022-08-22 19:07:33 -04:00
Scott Idem
f067aefdca
General clean up
2022-08-12 14:06:43 -04: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
14b03ff340
Work on event management related and created generic SQL select endpoint
2022-05-23 18:55:21 -04:00
Scott Idem
16fca4b2f0
General clean up. Work on importing AAPOR. Work on sessions, presentations, and presenters.
2022-04-12 04:08:52 -04:00
Scott Idem
53c6c6b51c
Work on event importing and related
2021-10-19 21:21:11 -04:00
Scott Idem
f98c57157b
Code clean up. Better debugging
2021-09-29 17:44:51 -04:00
Scott Idem
c77e066f9e
Code clean up. Better debugging
2021-09-29 16:16:04 -04:00
Scott Idem
be788fc5e6
Code clean up. Better debugging. Work on event session, presentation, and presenter.
2021-09-29 14:18:34 -04: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
0f87f69077
Work on things related to event_person, tracking, badges, sessions, etc
2021-09-21 17:30:20 -04:00
Scott Idem
112f6d4da4
Working on stuff related to session proposals.
2021-08-26 13:27:01 -04:00
Scott Idem
6508461ae6
Working on stuff related to session proposals. Again... I think it all works now.
2021-08-26 01:23:14 -04:00
Scott Idem
13c2375727
Working on event session, presentation, and presenter create and update.
2021-08-23 16:06:49 -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
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
b8da9d99eb
Work on better way to update objects.
2021-06-10 15:23:57 -04:00
Scott Idem
45ef0d2fe9
A lot of work on event related modules. Also a lot of clean up.
2021-06-08 18:20:59 -04:00
Scott Idem
d37234d7d8
A lot of work on event related modules. Also a lot of clean up.
2021-06-08 15:56:00 -04:00
Scott Idem
627bc8c4df
A lot of work on event related modules
2021-06-04 16:01:23 -04:00
Scott Idem
1f525f4c80
Not much work done. Holly and Michael :-(
2021-06-01 21:45:19 -04:00
Scott Idem
734734c9dc
Working on event related models and methods. Also, a lot of general clean up of everything. Need to pick back up and work on event_presentation_methods.py.
2021-05-28 17:44: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