[PR #160] [CLOSED] Support for enhanced mail importing #560

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

📋 Pull Request Information

Original PR: https://github.com/ciur/papermerge/pull/160
Author: @francescocarzaniga
Created: 10/11/2020
Status: Closed

Base: masterHead: master


📝 Commits (2)

  • 07e435f Initial support for enhanced mail importing
  • 35af001 Merge remote-tracking branch 'upstream/master'

📊 Changes

6 files changed (+123 additions, -9 deletions)

View changed files

📝 config/settings/base.py (+9 -0)
📝 papermerge/core/checks.py (+1 -1)
📝 papermerge/core/document_importer.py (+5 -3)
📝 papermerge/core/importers/imap.py (+68 -5)
papermerge/core/migrations/0026_auto_20201011_1950.py (+28 -0)
📝 papermerge/core/models/__init__.py (+12 -0)

📄 Description

PR for #159.
What is working:

  • importer extracts sender and secret
  • importer sends document to correct user (added user object argument to DocumentImporter to avoid double lookup, can be changed to original behaviour)
  • 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
    • make sure file cannot be rogue (MIME type checking enough?)
    • multiple attachments support (docs say only one but more work too)

🔄 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/160 **Author:** [@francescocarzaniga](https://github.com/francescocarzaniga) **Created:** 10/11/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`07e435f`](https://github.com/ciur/papermerge/commit/07e435f3f38da13ef312f13fccf5ea5708c09b9e) Initial support for enhanced mail importing - [`35af001`](https://github.com/ciur/papermerge/commit/35af001e3265648e76c94b1f6d3455829c7faaf6) Merge remote-tracking branch 'upstream/master' ### 📊 Changes **6 files changed** (+123 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `config/settings/base.py` (+9 -0) 📝 `papermerge/core/checks.py` (+1 -1) 📝 `papermerge/core/document_importer.py` (+5 -3) 📝 `papermerge/core/importers/imap.py` (+68 -5) ➕ `papermerge/core/migrations/0026_auto_20201011_1950.py` (+28 -0) 📝 `papermerge/core/models/__init__.py` (+12 -0) </details> ### 📄 Description PR for #159. What is working: - [x] importer extracts sender and secret - [x] importer sends document to correct user (added user object argument to DocumentImporter to avoid double lookup, can be changed to original behaviour) - [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 - [ ] documentation - [ ] general improvements - [x] server only processes mail with attachments - [ ] make sure file cannot be rogue (MIME type checking enough?) - [x] multiple attachments support (docs say only one but more work too) --- <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:14 +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#560
No description provided.