Skip to content

Releases: fabiosangregorio/telereddit

Lots of tests

02 Sep 07:25
Compare
Choose a tag to compare

NEW

BUGFIXES

  • Fixed vreddit service bug
  • Fixed bug where urls outside of reddit containing a r/ would be treated as subreddits.
  • Fix bug where the exception sent as a message was not the one originally thrown

IMPROVEMENTS

  • Refactored services for better exception handling in linker
  • Refactored file structure
  • Added lots of tests
  • Added Design by Contract
  • Added static type checking with mypy
  • Added linting
  • Added docstrings and docstrings linting

Code refactoring

11 Apr 09:42
Compare
Choose a tag to compare

NEW

  • Complete code refactoring using classes and exceptions. This eliminates the need of multiple return values and decreases logical complexity.
  • Made project a python module in order to be run with the python -m telereddit command
  • Add services-oriented paradigm to manage API providers for media retrieval, using authentication through API when needed.
  • Add git-crypt for secrets management, adding secret into the repository and introducing per-environment secrets variables. Set the TELEREDDIT_MACHINE environment variable to enable this feature. (Note: dev, github and prod secrets are crypted in the repository and accessible only through a private GPG key. Use the generic secret to run the project)
  • Migrate CI/CD from Travis CI to Gtihub Workflow.

BUGFIXES

  • Fix bug where r/imadeamistake would send the post twice
  • Fix bug where some r/Eyebleach posts would fail to send
  • Fix bug where some posts would be sent as a photo instead of gif

python-telegram-bot v12.2.0

25 Feb 21:56
Compare
Choose a tag to compare

NEW

IMPROVEMENTS

  • Improved distinction between the post title and body

BUGFIXES

  • Fix bug where edit keyboard would change subreddit if post was a crosspost

Choose result

24 Jun 20:49
b0b59ef
Compare
Choose a tag to compare

NEW

  • Thanks to the new inline keyboard, when submitting a subreddit you can now choose which post will be sent to the chat, send another post or delete it
  • Added support for reddit.app.link deep links

IMPROVEMENTS

  • Improved imgur gifs quality

BUGFIXES

  • Fixed regression bug where /r/subreddit links would not work
  • Fixed bug where texts with underscores would break the markdown of the post
  • Fixed bug where crosspost links would not work

python-telegram-bot

24 May 14:13
b0b59ef
Compare
Choose a tag to compare

NEW

  • Switch Telegram API from telepot to python-telegram-bot

redd.it URLs

21 May 18:52
e2afd9f
Compare
Choose a tag to compare

NEW

  • Bot will now retrieve posts from redd.it URLs

BUGFIXES

  • Fixed bug where a post from a link would not get sent if there was text before the url

OTHER

  • Introduced code testing
  • Removed Chatbase integration

v.redd.it media now supported

02 Apr 22:14
Compare
Choose a tag to compare

NEW

  • Added support for v.redd.it medias

BUGFIXES

  • Fixed bug where some unknown subreddit would cause an exception

Auto retry

01 Apr 23:14
Compare
Choose a tag to compare

IMPROVEMENTS

  • If sending a random post fails, now telereddit retries automatically to send another random post from that subreddit

BUGFIXES

  • Fixed bug where some external urls would be seen as subreddits
  • Fixed some bugs here and there

Bugfixes

27 Mar 20:51
Compare
Choose a tag to compare

BUGFIXES

  • Fixed bug where "Link to post" would have the URL of the media instead of the post
  • Fixed bug where som imgur images would have a URL that would cause an exception
  • Fixed bug where .gifv gifs would be sent as images instead of videos
  • Fixed bug where some subreddits would return always the same post from random.json

Sentry integration

24 Mar 16:09
Compare
Choose a tag to compare

NEW

  • Added Sentry integration for error tracking