*/*: 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.
lib,test: replace connection query() method with sync_exec{,_params}. The old generic name was deprecated in favor of the explicit synchronous with/without-params methods.
lib: replace two PG::Connection.connect with PG::Connection.new.
Wrap all close() calls in "ensure" blocks and simplify DB connection-making.
Document everything with YARD and fix some bugs along the way.
Stop pretending that we'll ever work with another DBMS.
Clean up user/domain describing in the plugins.
Overhaul everything to get consistent error reports.
Make list_users() methods public in several plugins. Add a list_aliases() method to the PostfixAdminPlugin module. Rename the existing test file. Add a README.fixtures giving an overview of what's in the test databases. Check the database for expected contents after removing a user and domain.
Replace 'account' with 'user' everywhere.
Pass a Configuration object to each plugin's initialize().
Rename PostfixadminDb, RoundcubeDb without the Db suffix. Make PostfixadminDb a regular plugin.