Commit Graph

356 Commits

Author SHA1 Message Date
Scott Idem
9dd941eb36 docs: overhaul Data Store cascading guide for frontend agents
- Replaced Section 8 with 'The Hierarchy of Truth' examples.
- Added explicit rules for Vision IDs and automatic JSON parsing.
- Clarified dynamic return behavior based on the 'limit' parameter.
- Cleaned up formatting and synced to agents_sync documentation path.
2026-01-28 17:36:33 -05:00
Scott Idem
fdcc859017 feat(data_store): implement V3 cascading lookup and ID Vision standardization
- Added GET /v3/data_store/code/{code} with hierarchical context-aware fallback.
- Implemented ID Vision standard in Data_Store_Base (string IDs, internal int exclusion).
- Enhanced Data_Store_Base robustness to handle stringified 'NULL' values from the database.
- Fixed legacy router bugs by removing undefined parameters (inc_event_cfg, inc_event_location).
- Corrected type hints and resolved UnboundLocalError in data_store methods.
- Updated Frontend Integration Guide with Section 8: Data Store V3.
- Added unified E2E test script: tests/e2e/test_e2e_v3_data_store_lookup.py.
2026-01-28 16:51:48 -05:00
Scott Idem
45ca81a3e3 Removing debugging. Changing it to INFO in many locations. 2026-01-20 19:23:30 -05:00
Scott Idem
d321b94395 chore(tests): organize test scripts and beautify account creation email
- Moved scattered Python test scripts from root and 'admin/development/' to 'tests/'.
- Beautified the HTML email body for account creation links in 'app/methods/person_methods.py' with a modern responsive design.
2026-01-15 14:38:00 -05:00
Scott Idem
f0711f27b4 fix(email): resolve SMTP authentication failure and improve configuration resilience
- Fixed a bug where missing 'id=0' in the 'cfg' table caused SMTP authentication to fail by defaulting to placeholder credentials.
- Updated 'app/lib_email.py' to explicitly validate SMTP server and port settings before connecting, preventing crashes with 'please run connect() first'.
- Added email fallback logic in 'app/methods/person_methods.py' to use 'user_email' or 'primary_email' if the primary contact email is missing.
- Aligned 'app/config.py.default' with the production structure, explicitly re-adding 'SMTP' and 'FILES_PATH' dictionaries.
- Added comprehensive unit tests in 'tests/test_email_configuration.py' to verify configuration handling.
2026-01-15 13:19:58 -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
8bd5fd2106 Updated the user auth and user auth key email endpoints and functions. 2025-04-08 15:34:58 -04:00
Scott Idem
a96a6ebf5d Minor improvement to the saving of a hosted file. Guessing the content type based on the extension. 2025-01-07 18:09:25 -05:00
Scott Idem
e6e7275de0 Less debug and info messages to log 2024-10-08 13:47:43 -04:00
Scott Idem
dd527378bb Update for AAPOR 2024 2024-04-22 19:32:32 -04:00
Scott Idem
8c3786947e Better debug info 2024-03-29 13:14:35 -04:00
Scott Idem
eff1da6644 Minor changes... I guess 2024-03-08 00:24:26 -05:00
Scott Idem
45d14cc7b2 Bug fix for null results SQL SELECT 2024-03-06 19:51:38 -05:00
Scott Idem
f5ef362242 Changing to full_name_override from display_name 2024-02-29 15:16:07 -05:00
Scott Idem
5cafd35bda Bug fix for old directory_path that is no longer used. 2024-02-28 18:25:56 -05:00
Scott Idem
9faf63fcea Less debug 2023-09-28 16:43:24 -04:00
Scott Idem
0ac9510546 Bug fixes, clean up, stuff 2023-09-21 12:12:31 -04:00
Scott Idem
5f7225e3ab Improving the CRUD functions and other clean up. 2023-08-18 17:10:44 -04:00
Scott Idem
7d51376cb5 General clean up. Less debug. 2023-07-12 15:20:13 -04:00
Scott Idem
236ef204eb Logging clean up 2023-07-12 13:13:35 -04:00
Scott Idem
6ebdd80030 Bug fixes related to event person, event person profile, and abstracts 2023-07-06 17:26:20 -04:00
Scott Idem
815e9a45b4 Updates related to abstracts 2023-06-28 12:22:08 -04:00
Scott Idem
e91e639112 Ready for sort of abstracts demo and screenshots 2023-06-26 16:08:33 -04:00
Scott Idem
702357910a Work on abstract submissions and related grants 2023-06-23 17:48:31 -04:00
Scott Idem
cec7ecc88f Work on abstracts 2023-05-22 18:18:46 -04:00
Scott Idem
0375bd8c05 Improve data store record retrieval. 2023-05-22 13:41:30 -04:00
Scott Idem
2698f06c57 Minor 2023-05-05 11:14:11 -04:00
Scott Idem
d75e9fd8c8 Work on hosted files and converting files 2023-05-03 14:11:41 -04:00
Scott Idem
c1f68522aa Prep for AAPOR with Confex and NCSD STD. General clean up. 2023-05-02 09:50:24 -04:00
Scott Idem
c687ade3fa Prep for AAPOR with Confex. General clean up. 2023-04-30 19:21:19 -04:00
0ad9a0f56f Fix for Impexium API import adjustments 2023-04-19 17:07:01 -04:00
Scott Idem
43a9fe7fe5 Moving away sql_insert function creating IDs automatically. Only if asked. 2023-04-13 18:27:56 -04:00
Scott Idem
c4fad68192 Work on Confex API and Impexium API 2023-04-12 15:30:46 -04:00
Scott Idem
f24382fb10 Adding Confex API functions. Bug fixes. Clean up. 2023-04-11 19:48:05 -04:00
Scott Idem
350a2cc4b8 Minor correction 2023-04-11 12:07:27 -04:00
Scott Idem
4c18d50c3b Prep for ISHLT 2023-04-10 18:54:42 -04:00
Scott Idem
6172626254 Work on websockets. Finally 97.25% working? 2023-04-07 17:09:51 -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
2fa27cafbb Clean up of Impexium import of specific page. 2023-03-15 17:51:33 -04:00
Scott Idem
b9be0a70af Clean up of Impexium import of specific page. 2023-03-15 16:46:32 -04:00
Scott Idem
ecbcdc9dae Work on websockets! 2023-03-14 20:14:58 -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
d3c7ddbd55 Work on ISHLT Impexium importing 2023-02-16 16:07:19 -05:00
Scott Idem
41470c277f Work on ISHLT Impexium importing 2023-02-16 16:04:38 -05:00
Scott Idem
8e550617ea Improved SQL INSERT and UPDATE with JSON or dict values. 2023-02-10 17:04:16 -05:00
Scott Idem
b66a7f4707 Improved SQL INSERT and UPDATE with JSON or dict values. 2023-02-08 19:28:45 -05:00
Scott Idem
d1c373f7fb Exhibitor tracking, badges, and ISHLT Impexium import related. 2023-02-08 18:51:49 -05:00
Scott Idem
cbb5bea8c6 Exhibitor tracking, badges, and ISHLT Impexium import related. 2023-02-08 18:32:13 -05:00
Scott Idem
0e482a3ccd Modified the authenticate function for Impexium. It should be smarter now... It should only try to re-auth if something went wrong on another request. 2023-02-02 14:54:29 -05:00