Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use IMAP uid to retrieve new mails instead of "NOT SEEN" flag #36

Closed
wants to merge 16 commits into from
Closed

Use IMAP uid to retrieve new mails instead of "NOT SEEN" flag #36

wants to merge 16 commits into from

Commits on Mar 10, 2019

  1. Remove whitepsaces at the end of line

    (cherry picked from commit bdadb46)
    prehor committed Mar 10, 2019
    Configuration menu
    Copy the full SHA
    8852eb3 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2019

  1. Use IMAP uid to retrieve new mails instead of "NOT SEEN" flag

    This commit introduces new configuration options:
    * `uid_tracking` - set to `true` to use IMAP uid instead of "NOT SEEN" flag
    * `sincedb_path` - path to file with last processed IMAP uid. Defaults to
      `#{path.data}/plugins/input/imap/.sincedb_#{Digest::MD5.hexdigest("#{@user}_#{@host}_#{@PORT}_#{@folder}")}`
    
    IMAP uid is always stored in the file `sincedb_path` regardles of the
    `uid_tracking` setting, so we can switch between "NOT SEEN" and "UID"
    tracking. In transition from the previous plugin version, we first need
    to process at least one mail with `uid_tracking` set to `false` to save
    the last processed IMAP uid and then switch `uid_tracking` to `true`.
    prehor committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    60a7272 View commit details
    Browse the repository at this point in the history
  2. Add docs

    prehor committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    d3002d1 View commit details
    Browse the repository at this point in the history
  3. Update doc

    prehor committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    6ab5e0f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    09579f0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fa6a71a View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2019

  1. Configuration menu
    Copy the full SHA
    312b48a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b3339bf View commit details
    Browse the repository at this point in the history
  3. Undo the last empty line

    prehor committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    4248975 View commit details
    Browse the repository at this point in the history
  4. Improve uid_tracking docs

    prehor committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    e0a12bb View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2019

  1. Move expunge inside the loop of id_set

    Fixies #24
    Closes #26
    prehor committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    d8263bb View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2019

  1. Configuration menu
    Copy the full SHA
    0d981a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    02a4008 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    576c7f4 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2019

  1. Configuration menu
    Copy the full SHA
    2b6e470 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2019

  1. Configuration menu
    Copy the full SHA
    696b23e View commit details
    Browse the repository at this point in the history