aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* [ci skip] Docs: fix spelling, routing setup call and formatting.Kasper Timm Hansen2018-12-191-8/+8
|
* Resurrect installer.Kasper Timm Hansen2018-12-182-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | Running `./bin/rails generate mailbox application --no-test-framework` generates: ``` class ApplicationMailbox < ApplicationMailbox def process end end ``` which is not correct for the application mailbox. It shouldn't respond to process but it should contain a routing hint. Generally generators aren't meant to be used like the previous commit. The mailbox generator can certainly add in the ApplicationMailbox if missing, but it shouldn't be called with "application" as an argument. Also adds back auto inserting an `ingress` config line in `config/environmnets/production.rb`. Fixes #13. [Kasper Timm Hansen, Andrew Babichev]
* Refit generator file structure to match Action Cable.Kasper Timm Hansen2018-12-186-0/+0
| | | | | | | | Fits with rails/generators/channel containing: - channel_generator.rb - templates/ - USAGE
* Remove actions argument from Mailbox generator.Kasper Timm Hansen2018-12-182-5/+1
| | | | | | | Generators only have the public `process` action, so there's nothing else to generate here. Skip the needless indirection.
* Fix Rails generatorsDino Maric2018-12-157-6/+22
| | | | | 1.Don't generate ApplicationMailboxTest when executing installer 2. Hookup test_unit, so console doesn't throw errors
* renames file namesDavid Gil2018-12-142-1/+1
|
* Uses the new generator to install ApplicationMailbox in ↵David Gil2018-12-143-13/+3
| | | | action_mailbox:install rake
* Add Mailbox and MailboxTest generatorsDavid Gil2018-12-145-0/+76
|
* Use the correct route methodDavid Heinemeier Hansson2018-12-141-1/+1
|
* Add frozen_string_literal: true to match Rails codebaseDino Maric2018-12-1417-0/+34
|
* Don't need to trip it up right awayDavid Heinemeier Hansson2018-12-131-1/+1
|
* Add installerDavid Heinemeier Hansson2018-12-133-9/+17
|
* Explain all test helpersDavid Heinemeier Hansson2018-12-121-1/+12
|
* Stating the obviousDavid Heinemeier Hansson2018-12-121-0/+1
|
* Routing documentationDavid Heinemeier Hansson2018-12-124-0/+60
|
* Consistent naming on all factory methodsDavid Heinemeier Hansson2018-12-121-3/+7
|
* Address objects are value objectsDavid Heinemeier Hansson2018-12-061-0/+5
|
* Add address wrappingDavid Heinemeier Hansson2018-12-061-0/+5
| | | | Makes it easier to deal with addresses that may already have been converted
* Add a :all catch-all routeDavid Heinemeier Hansson2018-12-061-2/+4
|
* Include the gem version in the user agent stringGeorge Claghorn2018-12-041-1/+2
|
* Match all valid error codesGeorge Claghorn2018-12-031-1/+1
|
* Kernel#exit accepts a booleanGeorge Claghorn2018-11-261-1/+1
|
* YAGNI user agent customizationGeorge Claghorn2018-11-252-12/+14
|
* Fix printingGeorge Claghorn2018-11-251-2/+2
|
* Correct requireGeorge Claghorn2018-11-251-1/+1
|
* Load OpenSSL only when it's usedGeorge Claghorn2018-11-251-3/+6
|
* Extract ActionMailbox::PostfixRelayerGeorge Claghorn2018-11-252-29/+68
|
* Wrap callbacks in status trackingGeorge Claghorn2018-11-161-2/+2
| | | | Mark the inbound email as processing prior to running before_processing callbacks. Catch failures in after_processing callbacks.
* Permit redirecting stderr to /dev/null to shush deprecation warningsGeorge Claghorn2018-11-151-6/+12
|
* Read STDIN to upload itGeorge Claghorn2018-11-141-1/+2
| | | | http.rb can't stream from pipes.
* Consider X-Original-ToGeorge Claghorn2018-11-132-2/+6
|
* Make job queues configurableGeorge Claghorn2018-11-112-0/+5
|
* Emit a transient error code for incorrect usageGeorge Claghorn2018-11-081-5/+3
|
* Use the address lists that have already been supplied to ensure we get the ↵David Heinemeier Hansson2018-11-071-10/+5
| | | | names as well
* TIL: The from field can technically have multiple people in it, but it is ↵David Heinemeier Hansson2018-11-071-1/+1
| | | | exceedingly rare.
* Recipient fields may be nilDavid Heinemeier Hansson2018-11-071-1/+1
|
* Autoload ActionMailbox::TestCaseGeorge Claghorn2018-11-071-0/+1
|
* Provide a default ActionMailbox::TestCaseDavid Heinemeier Hansson2018-11-061-0/+8
|
* Split out all the addresses from recipientsDavid Heinemeier Hansson2018-11-062-21/+26
|
* Add addresses convenience method and a test for itDavid Heinemeier Hansson2018-11-051-0/+21
|
* Extract Mail-bound methods into mail_ext for future upstream workDavid Heinemeier Hansson2018-11-055-6/+17
|
* Merge pull request #1 from basecamp/ingressesGeorge Claghorn2018-11-054-7/+58
|\ | | | | Accept inbound emails from a variety of ingresses
| * Always emit enhanced SMTP status codesGeorge Claghorn2018-11-051-11/+12
| |
| * The ingress username is constantGeorge Claghorn2018-11-051-4/+6
| |
| * Only load the AWS SDK when the Amazon ingress is configuredGeorge Claghorn2018-11-051-1/+12
| |
| * Read ingress passwords/API keys from encrypted credentialsGeorge Claghorn2018-11-052-0/+2
| | | | | | | | Fall back to ENV for people who prefer that approach.
| * Add a Rake task for piping to the Postfix ingressGeorge Claghorn2018-10-191-0/+38
| |
| * Merge branch 'master' into ingressesGeorge Claghorn2018-10-183-7/+7
| |\
| * | Don't require Postfix to send form dataGeorge Claghorn2018-10-181-7/+4
| | |
* | | Validate address on route definitionGeorge Claghorn2018-10-301-3/+9
| |/ |/|