Fixed bug where unchecked automatic mail import checkbox was not processed by the backend, preventing users from disabling the automatic import after enabling it. Root cause: HTML forms do not send unchecked checkbox values. The existing check `if "auto_import_enabled" in request.form` would skip updating the setting when the checkbox was unchecked. Solution: Added import_form_touched flag to detect when the import settings form is submitted, then update the checkbox value based on presence (checked) or absence (unchecked) in form data. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Dockerfile | ||
| requirements.txt | ||