mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-04 20:35:52 +08:00
per https://meta.discourse.org/t/imap-support-for-group-inboxes/160588/39?u=martin we have been planning to remove IMAP support for a while, because of its low usage and adoption, high complexity, and maintenance burden. This commit removes all IMAP-related code, including models, jobs, services, and frontend components. --------- Co-authored-by: Régis Hanol <regis@hanol.fr>
17 lines
434 B
Ruby
17 lines
434 B
Ruby
# frozen_string_literal: true
|
|
|
|
Fabricator(:group) { name { sequence(:name) { |n| "my_group_#{n}" } } }
|
|
|
|
Fabricator(:public_group, from: :group) do
|
|
public_admission true
|
|
public_exit true
|
|
end
|
|
|
|
Fabricator(:smtp_group, from: :group) do
|
|
smtp_server "smtp.ponyexpress.com"
|
|
smtp_port 587
|
|
smtp_ssl_mode Group.smtp_ssl_modes[:starttls]
|
|
smtp_enabled true
|
|
email_username "discourseteam@ponyexpress.com"
|
|
email_password "test"
|
|
end
|