diff --git a/.gitignore b/.gitignore index b08aa4eceeb69b504a43cbb553d64f04adfe25bb..5f3d6f78f2475fe4f124223fe969969bf1a43214 100644 --- a/.gitignore +++ b/.gitignore @@ -24,4 +24,8 @@ testsite/backup_keyring/ .yamllint # Ignore test report artefacts -test_report* \ No newline at end of file +test_report* + +# Ignore test site CLI artefacts. +testsite/mutt/*/record +testsite/mutt/*/record \ No newline at end of file diff --git a/testsite/mcabber/jane.doe b/testsite/mcabber/jane.doe new file mode 100644 index 0000000000000000000000000000000000000000..1ed5b72adcd04d9319352c10fa5c8312c2114204 --- /dev/null +++ b/testsite/mcabber/jane.doe @@ -0,0 +1,25 @@ +set jid = jane.doe@example.com +set server = xmpp.example.com +set password = janedoe +set tls = 1 +set ssl_ignore_checks = 1 +set cmdhistory_lines = 250 +set max_history_blocks = 8 +set message_autoaway = Auto-away (idle) +set escdelay = 50 +alias me = say /me +alias online = status online +alias away = status away +alias dnd = status dnd +alias notavail = status notavail +# Ctrl-q (17) bound to /roster unread_next +bind 17 = roster unread_next +# Ctrl-x (24) bound to /roster alternate +bind 24 = roster alternate +# F5 (269) bound to /roster toggle_offline (centericq-like, IIRC) +bind 269 = roster toggle_offline +# F12 (276) bound to /roster toggle +bind 276 = roster toggle +# Ctrl-Up/Ctrl-Down bound to /buffer up/down (like Ctrl-p/Ctrl-n) +bind 521 = buffer up +bind 514 = buffer down diff --git a/testsite/mcabber/john.doe b/testsite/mcabber/john.doe new file mode 100644 index 0000000000000000000000000000000000000000..0ecc06a112db618a64668418e944ab4b6f4cf9a0 --- /dev/null +++ b/testsite/mcabber/john.doe @@ -0,0 +1,25 @@ +set jid = john.doe@example.com +set server = xmpp.example.com +set password = johndoe +set tls = 1 +set ssl_ignore_checks = 1 +set cmdhistory_lines = 250 +set max_history_blocks = 8 +set message_autoaway = Auto-away (idle) +set escdelay = 50 +alias me = say /me +alias online = status online +alias away = status away +alias dnd = status dnd +alias notavail = status notavail +# Ctrl-q (17) bound to /roster unread_next +bind 17 = roster unread_next +# Ctrl-x (24) bound to /roster alternate +bind 24 = roster alternate +# F5 (269) bound to /roster toggle_offline (centericq-like, IIRC) +bind 269 = roster toggle_offline +# F12 (276) bound to /roster toggle +bind 276 = roster toggle +# Ctrl-Up/Ctrl-Down bound to /buffer up/down (like Ctrl-p/Ctrl-n) +bind 521 = buffer up +bind 514 = buffer down diff --git a/testsite/mutt/jane.doe/config b/testsite/mutt/jane.doe/config new file mode 100644 index 0000000000000000000000000000000000000000..4dfc01a81eb422e59779f09f3a27721d77c79f63 --- /dev/null +++ b/testsite/mutt/jane.doe/config @@ -0,0 +1,37 @@ +# Set some general user information. +set realname = "Jane Doe" +set from = "jane.doe@example.com" +set envelope_from = yes + +# Configure IMAP. +set imap_user = "jane.doe@example.com" +set imap_pass = "janedoe" +set folder = imap://mail.example.com/ + +# Default mailboxes. +set spoolfile = "=INBOX" +set record = "=Sent Items" +set postponed = "=Drafts" + +# Configure SMTP. +set smtp_url = smtp://jane.doe@example.com@mail.example.com:587/ +set smtp_pass = $imap_pass + +# Configure TLS. +set ssl_ca_certificates_file = tls/ca.pem + +# Configure convenient shortcut for fetching new mail. +bind index G imap-fetch-mail + +# Configure various paths explicitly to prevent them from clashing +# with user's system-wide files. +set alias_file = mutt/jane.doe/config +set certificate_file = mutt/jane.doe/certificates +set folder = mutt/jane.doe/mail +set history_file = mutt/jane.doe/history +set mbox = mutt/jane.doe/mbox +set news_cache_dir = mutt/jane.doe/news_cache +set newsrc = mutt/jane.doe/newsrc +set postponed = mutt/jane.doe/postponed +set record = mutt/jane.doe/record +set signature = mutt/jane.doe/signature diff --git a/testsite/mutt/john.doe/config b/testsite/mutt/john.doe/config new file mode 100644 index 0000000000000000000000000000000000000000..9c6215866e4ec7ed480c083990c22f72a4e6ec01 --- /dev/null +++ b/testsite/mutt/john.doe/config @@ -0,0 +1,37 @@ +# Set some general user information. +set realname = "John Doe" +set from = "john.doe@example.com" +set envelope_from = yes + +# Configure IMAP. +set imap_user = "john.doe@example.com" +set imap_pass = "johndoe" +set folder = imap://mail.example.com/ + +# Default mailboxes. +set spoolfile = "=INBOX" +set record = "=Sent Items" +set postponed = "=Drafts" + +# Configure SMTP. +set smtp_url = smtp://john.doe@example.com@mail.example.com:587/ +set smtp_pass = $imap_pass + +# Configure TLS. +set ssl_ca_certificates_file = tls/ca.pem + +# Configure convenient shortcut for fetching new mail. +bind index G imap-fetch-mail + +# Configure various paths explicitly to prevent them from clashing +# with user's system-wide files. +set alias_file = mutt/john.doe/config +set certificate_file = mutt/john.doe/certificates +set folder = mutt/john.doe/mail +set history_file = mutt/john.doe/history +set mbox = mutt/john.doe/mbox +set news_cache_dir = mutt/john.doe/news_cache +set newsrc = mutt/john.doe/newsrc +set postponed = mutt/john.doe/postponed +set record = mutt/john.doe/record +set signature = mutt/john.doe/signature