]> gitweb.michael.orlitzky.com - mailshears.git/commit
*/*: drop tty parameters.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 9 Jun 2022 11:33:07 +0000 (07:33 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 9 Jun 2022 11:36:22 +0000 (07:36 -0400)
commit853aaef812f6e23f17d3e24db99dfbaadafdbddf
tree00f3c7ced22d58b995c90fa503fc698affbcbbbf
parentfa7782720ff15fce29b6f875678e9fd0c197485a
*/*: drop tty parameters.

The "tty" parameter for postgresql connections has been ignored for as
long as I can remember, but with postgresql-14, it has finally been
removed. Now, attempting to supply it causes an error:

  PG::ConnectionBad: invalid connection option "tty"

This commit removes all mention of the parameter, and updates two
instances where PG::Connection.new() was called with positional
arguments. Now it is called with a hash, sans the :tty key, which
should be backwards-compatible.
doc/mailshears.example.conf.yml
doc/man1/mailshears.1
lib/common/agendav_plugin.rb
lib/common/configuration.rb
lib/common/davical_plugin.rb
lib/common/postfixadmin_plugin.rb
lib/common/roundcube_plugin.rb
test/mailshears.test.conf.yml
test/mailshears_test.rb