Skip to content

v0.237.003

Choose a tag to compare

@paullizer paullizer released this 26 Jan 20:54
· 491 commits to main since this release
dd0e5ab

(v0.237.003)

New Features

  • Extended Retention Policy Timeline Options
    • Added additional granular retention period options for conversations and documents across all workspace types.
    • New Options: 2 days, 3 days, 4 days, 6 days, 7 days (1 week), and 14 days (2 weeks).
    • Full Option Set: 1, 2, 3, 4, 5, 6, 7 (1 week), 10, 14 (2 weeks), 21 (3 weeks), 30, 60, 90 (3 months), 180 (6 months), 365 (1 year), 730 (2 years) days.
    • Scope: Available in Admin Settings (organization defaults), Profile page (personal settings), and Control Center (group/public workspace management).
    • Files Modified: admin_settings.html, profile.html, control_center.html.
    • (Ref: retention policy configuration, workspace retention settings, granular time periods)

Bug Fixes

  • Custom Logo Not Displaying Across App Fix
    • Fixed issue where custom logos uploaded via Admin Settings would only display on the admin page but not on other pages (chat, sidebar, landing page).
    • Root Cause: The sanitize_settings_for_user() function was stripping custom_logo_base64, custom_logo_dark_base64, and custom_favicon_base64 keys entirely because they contained "base64" (a sensitive term filter), preventing templates from detecting logo existence.
    • Solution: Modified sanitization to add boolean flags for logo/favicon existence after filtering, allowing templates to check if logos exist without exposing actual base64 data.
    • Security: Actual base64 data remains hidden from frontend; only True/False boolean values are exposed.
    • Files Modified: functions_settings.py (sanitize_settings_for_user() function).
    • (Ref: logo display, settings sanitization, template conditionals)