pax_global_header00006660000000000000000000000064140500071700014504gustar00rootroot0000000000000052 comment=c9516d345770266c21f95d6eea4339a0894326fd rss2email-3.13.1/000077500000000000000000000000001405000717000134725ustar00rootroot00000000000000rss2email-3.13.1/.github/000077500000000000000000000000001405000717000150325ustar00rootroot00000000000000rss2email-3.13.1/.github/workflows/000077500000000000000000000000001405000717000170675ustar00rootroot00000000000000rss2email-3.13.1/.github/workflows/python-package.yml000066400000000000000000000014531405000717000225270ustar00rootroot00000000000000# This workflow will install Python dependencies and run tests. # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions name: Python package on: push: branches: [ master ] pull_request: jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest] python-version: [3.6, 3.7, 3.8] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install poetry poetry install - name: Test run: | poetry run ./test/test.py -v rss2email-3.13.1/.gitignore000066400000000000000000000000401405000717000154540ustar00rootroot00000000000000__pycache__ build dist MANIFEST rss2email-3.13.1/.mailmap000066400000000000000000000002051405000717000151100ustar00rootroot00000000000000Lindsey Smith Lindsey Smith rss2email-3.13.1/.travis.yml000066400000000000000000000016621405000717000156100ustar00rootroot00000000000000language: "nix" nix: "2.2.1" os: "linux" script: | set -e # build rss2email against every python version we support nix-build -A pythonVersions ./nix/release.nix # build the list of the transitive closure of dependencies nix-store --query --requisites --include-outputs \ $(nix-instantiate -A pythonVersions ./nix/release.nix) \ > nix-dependencies # using the snippets from https://nixos.wiki/wiki/Nix_on_Travis before_cache: - mkdir -p $HOME/nix.store # this copies the closure of all dependencies to the cache - nix copy --to file://$HOME/nix.store $(cat ./nix-dependencies) cache: directories: - $HOME/nix.store before_install: - sudo mkdir -p /etc/nix - echo "substituters = https://cache.nixos.org/ file://$HOME/nix.store" | sudo tee -a /etc/nix/nix.conf > /dev/null - echo 'require-sigs = false' | sudo tee -a /etc/nix/nix.conf > /dev/null - echo 'sandbox = true' | sudo tee -a /etc/nix/nix.conf > /dev/null rss2email-3.13.1/.update-copyright.conf000066400000000000000000000035171405000717000177150ustar00rootroot00000000000000[project] name: rss2email vcs: Git [files] authors: yes files: yes ignored: AUTHORS | COPYING | README | README.rst | .update-copyright.conf | .git* | *.atom | *.rss | __pycache__ [aliases] Aaron Swartz: Aaron Swartz Jeff Backus : Jeff Backus Yannik Sembritzki : Yannik [author-hacks] rss2email/config.py: Aaron Swartz | Brian Lalor | Dean Jackson | Erik Hetzner | Joey Hess | Lindsey Smith | Marcel Ackermann | Martin 'Joey' Schulze | Matej Cepl rss2email/feed.py: Aaron Swartz | Brian Lalor | Dean Jackson | Erik Hetzner | Joey Hess | Lindsey Smith | Marcel Ackermann | Martin 'Joey' Schulze | Matej Cepl rss2email/feeds.py: Aaron Swartz | Brian Lalor | Dean Jackson | Erik Hetzner | Joey Hess | Lindsey Smith | Marcel Ackermann | Martin 'Joey' Schulze | Matej Cepl [year-hacks] rss2email/config.py: 2004 rss2email/feed.py: 2004 rss2email/feeds.py: 2004 [copyright] short: {project} comes with ABSOLUTELY NO WARRANTY and is licensed under the GNU General Public License. long: This file is part of {project}. {project} is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) version 3 of the License. {project} is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with {project}. If not, see . rss2email-3.13.1/AUTHORS000066400000000000000000000043161405000717000145460ustar00rootroot00000000000000rss2email was written by: Aaron Swartz Adam Mokhtari <2553423+uutari@users.noreply.github.com> Alyssa Ross Amir Yalon <105565+amiryal@users.noreply.github.com> Amir Yalon Anders Damsgaard Andrey Zelenchuk Andrey Zelenchuk Arun Persaud BoySka Brian (bex) Exelbierd Brian Lalor Daniel M. Capella Dean Jackson Dennis Keitzel Dmitry Bogatov Doron Behar Eelis van der Weegen Emil Oppeln-Bronikowski Erik Hetzner Etienne Millon François Boulogne George Saunders Gregory Soutade Hiltjo Posthuma J. Lewis Muir Jakub Wilk Jan Palus Jeff Backus Joey Hess Jonathan Kamens Kaashif Hymabaccus Kaashif Hymabaccus Karthikeyan Singaravelan Kh4l3tH Leonard Lausen Lindsey Smith Lucas Léo Gaspard Léo Gaspard Marcel Ackermann Markus Unterwaditzer Martin 'Joey' Schulze Martin Monperrus Martin Vietz Matej Cepl Mátyás Jani Nicolas KAROLAK Notkea Profpatsch Puneeth Chaganti Raphaël Droz Simon Rozet Steven Siloti Thiago Coutinho Thibaut Girka W. Trevor King Yannik Sembritzki auouymous <5005204+auouymous@users.noreply.github.com> auouymous boyska ryneeverett shan3141 rss2email-3.13.1/CHANGELOG000066400000000000000000000330421405000717000147060ustar00rootroot00000000000000UNRELEASED v3.13.1 (2021-05-15) * Fix crash on html-mail entries with no URL v3.13 (2021-04-03) * Switch to feedparser 6 * Switch to poetry instead of requirements.txt * Make the `verbose` flag in the config file actually have an impact, and have it default to `info * Improve log messages * Remove documentation of `smtp-ssl-protocol` as this option was dropped in 2016 * Stop forging SMTP and sendmail envelope sender (#134) * Add sendmail_config option * Upgraded to feedparser v6.0 (https://github.com/kurtmckee/feedparser/) * Drop support for Python 3.5, add support for Python 3.9 * Log sendmail output * Support multipart/alternative emails with both HTML and plain text parts with option `multipart-html` * Add inline-links option, allowing links to be sent to the bottom of the paragraph * Add wrap-links option, preventing links from be wrapped over multiple lines * Stop looking in $XDG_DATA_DIRS for the database, and only look in $XDG_DATA_HOME * Warnings about HTTP content-type being unexpected now properly display * Make the proxy parameter also affect https connections * Add a --clean argument on the run command to reduce the database size * Set body element attribute dir=auto in HTML mail * Store the lock file in XDG_RUNTIME_DIR instead of /tmp v3.12.3 (2021-03-19) * Make dependency on feedparser have an upper bound so that `pip install` works again v3.12.2 (2020-08-31) * Fix bug `AttributeError: 'NoneType' object has no attribute 'close'` (#126) v3.12.1 (2020-08-02) * Fix calling opmlexport without arguments v3.12 (2020-08-02) * Drop support for EOL Python 3.4, add support for Python 3.8 * Add List_ID and List_Post headers to the generated emails * Add a new `reply-changes` setting * Improve configurability of text wrapping for the emails * Use `platform.node()` instead of "dev.null.invalid" in "Message-ID" header * Improve locking support for when multiple rss2email instances are run in parallel * Fix handling of __VERSION__ and __URL__ in user-agent strings * Fix opmlexport v3.11 (2019-10-26) * Add new `user-agent` attribute for configuring email User-Agent v3.10 (2019-09-01) * Catch and warn for invalid Content-Types * Add a manually extracted list of config options to r2e.1 * Add a redirect post-process module * Follow symlinks of datafiles * Add zsh completion * Add support for maildir * Fix `r2e new` overwriting an existing config * Add new `feed-name` and `feed-url` attributes for the `name-format` setting * Change logging format * Allow multiple SMTP recipients * Fix SMTP security issues * Fix test suite * Drop support for Python 3.2 and 3.3 * Remove `__contributors__` from the `rss2email` module * Stop using deprecated `html2text.unescape` * Fix locking issues when data file is on NFS * Add `same-server-fetch-interval` setting for rate-limiting fetches to a server * Update setup.py to setuptools v3.9 (2014-09-01) * Catch and error out if a user adds a feed with a duplicate name * Split sender into both sendmail's -F and -f * Fix an error with SMTPConnectionError inheritance order ("does not take keyword arguments") * Add a new `smtp-ssl-protocol` setting, to select acceptable protocols for SMTP connections * Fix non-compliant User-Agent header for HTTP/1.1 * Fix an error in the NoToEmailAddress invocation * Add a new `trust-link` setting, to prefer the `link` attribute over the `id` attribute for identifying entries v3.8 (2014-01-18) * Sluggify feed names on opmlimport * Allow Unicode letters and digits in feed names, instead of just ASCII letters and digits v3.7 (2013-10-11) * Fix fallback for titles that contain malformed HTML * Fix atomic saves to avoid garbling config and data files if the disk is full * Convert the `friendly-name` boolean to the new `name-format` setting. This allow users to customize how the friendly name is constructed * Demote guessed encodings logs from 'error' to 'warning' v3.6 (2013-09-09) * Fix missing port argument for IMAPAuthenticationError * Fix `