~aittner/charms/+source/scalebot-ircbot:safer-tcp-handling

Last commit made on 2020-05-08
Get this branch:
git clone -b safer-tcp-handling https://git.launchpad.net/~aittner/charms/+source/scalebot-ircbot
Only Alexandre Erwin Ittner can upload to this branch. If you are Alexandre Erwin Ittner please log in for upload directions.

Branch information

Name:
safer-tcp-handling
Repository:
lp:~aittner/charms/+source/scalebot-ircbot

Recent commits

9e64544... by Alexandre Erwin Ittner

Use a safer TCP receiving for ircsock

This shall prevent unrestricted infinite loops and log flooding if the
IRC server closes the connection without proper TLS termination. Also
handles IRC lines correctly if they arrive in multiple TCP recv()s.

b57c7f1... by Patricia Domingues

make ircbot to create a queue and bind it to RabbitMQ exchange

it adds an `exchange`: `scalebot`; it adds a `queue`: `scalebot`; then binds the queue
to the exchange with a `routing_key` also called `scalebot`.
Moved `python3-pika` to juju python_package because it will be installed before
the reactive handlers are invoked.

tested this patch on Juju version 2.7.4

ce34d7d... by Alexandre Erwin Ittner

Prevent ircbot 'manual ping' answers from triggering other instances of the bot

47a89db... by Patricia Domingues

add bionic support

1cd5003... by Patricia Domingues

replace icon

070a6bf... by Patricia Domingues

add readme file

41a42e5... by Patricia Domingues

change charm name to scalebot-ircbot

10500bc... by dann frazier

pep8 fix: "W391 blank line at end of file"

e50e7ab... by dann frazier

pep8 fix: "W291 trailing whitespace"

9e7cdec... by dann frazier

pep8 fix: "E712 comparison to True should be 'if cond is True:' or 'if cond:'"