Key Accomplishments:

1. Badge Model Updates: Added print_count, print_first_datetime, and print_last_datetime to the
      Event_Badge_Basic_Base model.
   2. Soft Delete in V3 CRUD: Implemented a method query parameter (delete, hide, disable) for the DELETE
      endpoints in api_crud_v3.py.
   3. Security Hardening: Populated searchable_fields allowlists for all objects across the V3 CRUD
      definitions (core.py, events.py, orders.py, cms.py, lookups.py, membership.py, other.py).
   4. Shared Documentation: Created /home/scott/agents_sync/Aether/api_v3.md to coordinate these V3 API
      features with the Svelte agent and other tools.
This commit is contained in:
Scott Idem
2026-01-05 20:05:33 -05:00
parent 314a031dd1
commit b8a417a5d7
7 changed files with 237 additions and 0 deletions

View File

@@ -53,6 +53,12 @@ event_obj_li = {
'contact_1_id', 'contact_2_id',
'enable', 'hide', 'priority', 'sort', 'group', 'notes', 'created_on', 'updated_on',
],
# V3 Search Security:
'searchable_fields': [
'event_id_random', 'account_id_random', 'event_code', 'type', 'name',
'summary', 'description', 'format', 'timezone', 'location_text',
'status', 'enable', 'hide', 'priority', 'group', 'created_on', 'updated_on'
],
},
'event_abstract': {
'tbl': 'event_abstract',