[PR #224] [MERGED] Enhanced email processing #568

Closed
opened 2026-02-25 21:32:16 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ciur/papermerge/pull/224
Author: @francescocarzaniga
Created: 11/23/2020
Status: Merged
Merged: 11/23/2020
Merged by: @ciur

Base: masterHead: email_enhancement


📝 Commits (3)

📊 Changes

7 files changed (+136 additions, -30 deletions)

View changed files

📝 config/settings/base.py (+9 -0)
📝 docs/source/consumption.rst (+13 -13)
📝 docs/source/settings.rst (+19 -2)
📝 papermerge.conf.py.example (+6 -4)
📝 papermerge/core/importers/imap.py (+48 -11)
papermerge/core/migrations/0034_auto_20201121_0110.py (+28 -0)
📝 papermerge/core/models/__init__.py (+13 -0)

📄 Description

Description

What is working:

  • importer extracts sender and secret
  • importer sends document to correct user
  • global flags for address and secret
  • per-user flags added to model
  • per-user secret generation
  • possibility to delete after import
  • UI
  • migrations
  • documentation
  • general improvements
  • server only processes mail with attachments
    • multiple attachments support (docs say only one but more work too)

Fixes #159

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Send email from address configured for user
  • Send email with secret configured for user
  • Send email with none of the above

Test Configuration:

  • Python version: 3.8
  • OS version: Ubuntu 18

Checklist:

  • I have read the Contributing file available here
  • I have formatted this PR according to PEP8 rules
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ciur/papermerge/pull/224 **Author:** [@francescocarzaniga](https://github.com/francescocarzaniga) **Created:** 11/23/2020 **Status:** ✅ Merged **Merged:** 11/23/2020 **Merged by:** [@ciur](https://github.com/ciur) **Base:** `master` ← **Head:** `email_enhancement` --- ### 📝 Commits (3) - [`011295f`](https://github.com/ciur/papermerge/commit/011295f991cb0ba062784bc33a9e60402189255c) Initial commit for enhanced email processing - [`0a5b9c6`](https://github.com/ciur/papermerge/commit/0a5b9c607cc936eb6f64b11c0078afab7aa99f08) Added documentation - [`d4d07cf`](https://github.com/ciur/papermerge/commit/d4d07cfddea364717657ba870ff5ec33b1ff845a) Typos in docs ### 📊 Changes **7 files changed** (+136 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `config/settings/base.py` (+9 -0) 📝 `docs/source/consumption.rst` (+13 -13) 📝 `docs/source/settings.rst` (+19 -2) 📝 `papermerge.conf.py.example` (+6 -4) 📝 `papermerge/core/importers/imap.py` (+48 -11) ➕ `papermerge/core/migrations/0034_auto_20201121_0110.py` (+28 -0) 📝 `papermerge/core/models/__init__.py` (+13 -0) </details> ### 📄 Description # Description What is working: - [x] importer extracts sender and secret - [x] importer sends document to correct user - [x] global flags for address and secret - [x] per-user flags added to model - [ ] per-user secret generation - [x] possibility to delete after import - [ ] UI - [x] migrations - [x] documentation - [x] general improvements - [x] server only processes mail with attachments - [x] multiple attachments support (docs say only one but more work too) Fixes #159 ## Type of change Please delete options that are not relevant. - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [x] This change requires a documentation update # How Has This Been Tested? Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration - [x] Send email from address configured for user - [x] Send email with secret configured for user - [x] Send email with none of the above **Test Configuration**: * Python version: 3.8 * OS version: Ubuntu 18 # Checklist: - [x] I have read the [Contributing file available here](https://github.com/ciur/papermerge/blob/master/CONTRIBUTING.md) - [x] I have formatted this PR according to [PEP8 rules](https://www.python.org/dev/peps/pep-0008/) - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:32:16 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/papermerge#568
No description provided.