Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Enable email-comments #521

Open
wants to merge 24 commits into
base: develop
Choose a base branch
from
Open

Enable email-comments #521

wants to merge 24 commits into from

Conversation

Dekue
Copy link

@Dekue Dekue commented Aug 10, 2013

This program enables comment-replies via email in adhocracy.
Features:

  • external service
  • watch functions: IMAP, Maildir, mbox
  • detection of comment duplicates (multiple parsing commands for same email in a fixed time period)
  • secure authentication / authorization of user via email address
  • parsing of multipart messages (plaintext and html emails)
  • parsing of attached images (can only be rendered if markdown's safe_mode is off currently due to usage of data-URIs)
  • deletion of (pgp) signatures
  • voting
  • base frame for sending HTML-emails
  • self-explaining and pre-formulated notifications (about new comments) for user; these are in plain text
  • test module for parsing; enhanced test-tools: make_comment

@nidico
Copy link
Collaborator

nidico commented Aug 12, 2013

Very interesting, thanks for submitting! (There won't be a review from my side in the next 2 weeks due to holidays)


sec_token = result.group("sectoken")

secrets = config.get("adhocracy.crypto.secret")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part should use the new adhocracy.crypto functions instead of reimplementing them

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't use the adhocracy.crypto functions to assure that the local part of the email-address is short enough (sinks.py). Will look deeper into that new functions - maybe there is a way to assure that with usage of external functions which could be changed to a safer (and longer) hash.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants