Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Resurrect installer. | Kasper Timm Hansen | 2018-12-18 | 2 | -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 Hansen | 2018-12-18 | 6 | -0/+0 |
| | | | | | | | | Fits with rails/generators/channel containing: - channel_generator.rb - templates/ - USAGE | ||||
* | Remove actions argument from Mailbox generator. | Kasper Timm Hansen | 2018-12-18 | 2 | -5/+1 |
| | | | | | | | Generators only have the public `process` action, so there's nothing else to generate here. Skip the needless indirection. | ||||
* | Fix Rails generators | Dino Maric | 2018-12-15 | 7 | -6/+22 |
| | | | | | 1.Don't generate ApplicationMailboxTest when executing installer 2. Hookup test_unit, so console doesn't throw errors | ||||
* | renames file names | David Gil | 2018-12-14 | 2 | -1/+1 |
| | |||||
* | Uses the new generator to install ApplicationMailbox in ↵ | David Gil | 2018-12-14 | 3 | -13/+3 |
| | | | | action_mailbox:install rake | ||||
* | Add Mailbox and MailboxTest generators | David Gil | 2018-12-14 | 5 | -0/+76 |
| | |||||
* | Use the correct route method | David Heinemeier Hansson | 2018-12-14 | 1 | -1/+1 |
| | |||||
* | Add frozen_string_literal: true to match Rails codebase | Dino Maric | 2018-12-14 | 17 | -0/+34 |
| | |||||
* | Don't need to trip it up right away | David Heinemeier Hansson | 2018-12-13 | 1 | -1/+1 |
| | |||||
* | Add installer | David Heinemeier Hansson | 2018-12-13 | 3 | -9/+17 |
| | |||||
* | Explain all test helpers | David Heinemeier Hansson | 2018-12-12 | 1 | -1/+12 |
| | |||||
* | Stating the obvious | David Heinemeier Hansson | 2018-12-12 | 1 | -0/+1 |
| | |||||
* | Routing documentation | David Heinemeier Hansson | 2018-12-12 | 4 | -0/+60 |
| | |||||
* | Consistent naming on all factory methods | David Heinemeier Hansson | 2018-12-12 | 1 | -3/+7 |
| | |||||
* | Address objects are value objects | David Heinemeier Hansson | 2018-12-06 | 1 | -0/+5 |
| | |||||
* | Add address wrapping | David Heinemeier Hansson | 2018-12-06 | 1 | -0/+5 |
| | | | | Makes it easier to deal with addresses that may already have been converted | ||||
* | Add a :all catch-all route | David Heinemeier Hansson | 2018-12-06 | 1 | -2/+4 |
| | |||||
* | Include the gem version in the user agent string | George Claghorn | 2018-12-04 | 1 | -1/+2 |
| | |||||
* | Match all valid error codes | George Claghorn | 2018-12-03 | 1 | -1/+1 |
| | |||||
* | Kernel#exit accepts a boolean | George Claghorn | 2018-11-26 | 1 | -1/+1 |
| | |||||
* | YAGNI user agent customization | George Claghorn | 2018-11-25 | 2 | -12/+14 |
| | |||||
* | Fix printing | George Claghorn | 2018-11-25 | 1 | -2/+2 |
| | |||||
* | Correct require | George Claghorn | 2018-11-25 | 1 | -1/+1 |
| | |||||
* | Load OpenSSL only when it's used | George Claghorn | 2018-11-25 | 1 | -3/+6 |
| | |||||
* | Extract ActionMailbox::PostfixRelayer | George Claghorn | 2018-11-25 | 2 | -29/+68 |
| | |||||
* | Wrap callbacks in status tracking | George Claghorn | 2018-11-16 | 1 | -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 warnings | George Claghorn | 2018-11-15 | 1 | -6/+12 |
| | |||||
* | Read STDIN to upload it | George Claghorn | 2018-11-14 | 1 | -1/+2 |
| | | | | http.rb can't stream from pipes. | ||||
* | Consider X-Original-To | George Claghorn | 2018-11-13 | 2 | -2/+6 |
| | |||||
* | Make job queues configurable | George Claghorn | 2018-11-11 | 2 | -0/+5 |
| | |||||
* | Emit a transient error code for incorrect usage | George Claghorn | 2018-11-08 | 1 | -5/+3 |
| | |||||
* | Use the address lists that have already been supplied to ensure we get the ↵ | David Heinemeier Hansson | 2018-11-07 | 1 | -10/+5 |
| | | | | names as well | ||||
* | TIL: The from field can technically have multiple people in it, but it is ↵ | David Heinemeier Hansson | 2018-11-07 | 1 | -1/+1 |
| | | | | exceedingly rare. | ||||
* | Recipient fields may be nil | David Heinemeier Hansson | 2018-11-07 | 1 | -1/+1 |
| | |||||
* | Autoload ActionMailbox::TestCase | George Claghorn | 2018-11-07 | 1 | -0/+1 |
| | |||||
* | Provide a default ActionMailbox::TestCase | David Heinemeier Hansson | 2018-11-06 | 1 | -0/+8 |
| | |||||
* | Split out all the addresses from recipients | David Heinemeier Hansson | 2018-11-06 | 2 | -21/+26 |
| | |||||
* | Add addresses convenience method and a test for it | David Heinemeier Hansson | 2018-11-05 | 1 | -0/+21 |
| | |||||
* | Extract Mail-bound methods into mail_ext for future upstream work | David Heinemeier Hansson | 2018-11-05 | 5 | -6/+17 |
| | |||||
* | Merge pull request #1 from basecamp/ingresses | George Claghorn | 2018-11-05 | 4 | -7/+58 |
|\ | | | | | Accept inbound emails from a variety of ingresses | ||||
| * | Always emit enhanced SMTP status codes | George Claghorn | 2018-11-05 | 1 | -11/+12 |
| | | |||||
| * | The ingress username is constant | George Claghorn | 2018-11-05 | 1 | -4/+6 |
| | | |||||
| * | Only load the AWS SDK when the Amazon ingress is configured | George Claghorn | 2018-11-05 | 1 | -1/+12 |
| | | |||||
| * | Read ingress passwords/API keys from encrypted credentials | George Claghorn | 2018-11-05 | 2 | -0/+2 |
| | | | | | | | | Fall back to ENV for people who prefer that approach. | ||||
| * | Add a Rake task for piping to the Postfix ingress | George Claghorn | 2018-10-19 | 1 | -0/+38 |
| | | |||||
| * | Merge branch 'master' into ingresses | George Claghorn | 2018-10-18 | 3 | -7/+7 |
| |\ | |||||
| * | | Don't require Postfix to send form data | George Claghorn | 2018-10-18 | 1 | -7/+4 |
| | | | |||||
* | | | Validate address on route definition | George Claghorn | 2018-10-30 | 1 | -3/+9 |
| |/ |/| | |||||
* | | Revert "Remove unnecessary TODO" | George Claghorn | 2018-10-17 | 1 | -0/+1 |
| | | | | | | | | This reverts commit 89ada1977ce648b2121cad7cfb95af9686ea016b. |