actionmailbox 7.2.2.1 → 8.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +36 -10
- data/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb +1 -1
- data/app/controllers/action_mailbox/ingresses/postmark/inbound_emails_controller.rb +9 -2
- data/app/controllers/action_mailbox/ingresses/relay/inbound_emails_controller.rb +1 -1
- data/app/controllers/action_mailbox/ingresses/sendgrid/inbound_emails_controller.rb +1 -1
- data/app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb +1 -1
- data/app/views/rails/conductor/action_mailbox/inbound_emails/new.html.erb +1 -1
- data/app/views/rails/conductor/action_mailbox/inbound_emails/sources/new.html.erb +1 -1
- data/lib/action_mailbox/engine.rb +1 -1
- data/lib/action_mailbox/gem_version.rb +4 -4
- metadata +17 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fdc34937776e4319a8012d93365701680b750dddb47243300cedb234a611887a
|
|
4
|
+
data.tar.gz: f41f3df0fccf36a3b27ab3ae7889ff2fb0ee00d966af54f996ae1ab5f7fd78c1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc4aaf9d9e0e412f210653e497b8df9fda1cc5b77ab2943125d81ba4e66e2be77c0442fb51df0b84d17f2a01c6bb5de42891326416a38f89680595fb5fc068c3
|
|
7
|
+
data.tar.gz: e57bf21f14a7c437907295d4ea25127044b2ebde9cc62a3307f6590f005d76afbb513718a54bb7338767d82e8868f0818c563ababe0f5a0d50bf12a7c0582cde
|
data/CHANGELOG.md
CHANGED
|
@@ -1,33 +1,59 @@
|
|
|
1
|
-
## Rails
|
|
1
|
+
## Rails 8.0.5 (March 24, 2026) ##
|
|
2
2
|
|
|
3
3
|
* No changes.
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
## Rails
|
|
6
|
+
## Rails 8.0.4.1 (March 23, 2026) ##
|
|
7
7
|
|
|
8
8
|
* No changes.
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
## Rails
|
|
11
|
+
## Rails 8.0.4 (October 28, 2025) ##
|
|
12
12
|
|
|
13
13
|
* No changes.
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
## Rails
|
|
16
|
+
## Rails 8.0.3 (September 22, 2025) ##
|
|
17
17
|
|
|
18
18
|
* No changes.
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
## Rails
|
|
21
|
+
## Rails 8.0.2.1 (August 13, 2025) ##
|
|
22
22
|
|
|
23
23
|
* No changes.
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
## Rails
|
|
26
|
+
## Rails 8.0.2 (March 12, 2025) ##
|
|
27
27
|
|
|
28
|
-
*
|
|
29
|
-
|
|
28
|
+
* No changes.
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## Rails 8.0.1 (December 13, 2024) ##
|
|
32
|
+
|
|
33
|
+
* No changes.
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## Rails 8.0.0.1 (December 10, 2024) ##
|
|
37
|
+
|
|
38
|
+
* No changes.
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## Rails 8.0.0 (November 07, 2024) ##
|
|
42
|
+
|
|
43
|
+
* No changes.
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
## Rails 8.0.0.rc2 (October 30, 2024) ##
|
|
47
|
+
|
|
48
|
+
* No changes.
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
## Rails 8.0.0.rc1 (October 19, 2024) ##
|
|
52
|
+
|
|
53
|
+
* No changes.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## Rails 8.0.0.beta1 (September 26, 2024) ##
|
|
30
57
|
|
|
31
|
-
*Chedli Bourguiba*
|
|
32
58
|
|
|
33
|
-
Please check [7-
|
|
59
|
+
Please check [7-2-stable](https://github.com/rails/rails/blob/7-2-stable/actionmailbox/CHANGELOG.md) for previous changes.
|
|
@@ -49,7 +49,7 @@ module ActionMailbox
|
|
|
49
49
|
param_encoding :create, "RawEmail", Encoding::ASCII_8BIT
|
|
50
50
|
|
|
51
51
|
def create
|
|
52
|
-
ActionMailbox::InboundEmail.create_and_extract_message_id!
|
|
52
|
+
ActionMailbox::InboundEmail.create_and_extract_message_id! mail
|
|
53
53
|
rescue ActionController::ParameterMissing => error
|
|
54
54
|
logger.error <<~MESSAGE
|
|
55
55
|
#{error.message}
|
|
@@ -57,7 +57,14 @@ module ActionMailbox
|
|
|
57
57
|
When configuring your Postmark inbound webhook, be sure to check the box
|
|
58
58
|
labeled "Include raw email content in JSON payload".
|
|
59
59
|
MESSAGE
|
|
60
|
-
head
|
|
60
|
+
head ActionDispatch::Constants::UNPROCESSABLE_CONTENT
|
|
61
61
|
end
|
|
62
|
+
|
|
63
|
+
private
|
|
64
|
+
def mail
|
|
65
|
+
params.require("RawEmail").tap do |raw_email|
|
|
66
|
+
raw_email.prepend("X-Original-To: ", params.require("OriginalRecipient"), "\n") if params.key?("OriginalRecipient")
|
|
67
|
+
end
|
|
68
|
+
end
|
|
62
69
|
end
|
|
63
70
|
end
|
|
@@ -52,7 +52,7 @@ module ActionMailbox
|
|
|
52
52
|
ActionMailbox::InboundEmail.create_and_extract_message_id! mail
|
|
53
53
|
rescue JSON::ParserError => error
|
|
54
54
|
logger.error error.message
|
|
55
|
-
head
|
|
55
|
+
head ActionDispatch::Constants::UNPROCESSABLE_CONTENT
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
private
|
|
@@ -31,7 +31,7 @@ module Rails
|
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
def mail_params
|
|
34
|
-
params.
|
|
34
|
+
params.expect(mail: [:from, :to, :cc, :bcc, :x_original_to, :in_reply_to, :subject, :body, attachments: []])
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
def create_inbound_email(mail)
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<%= form_with(url: main_app.rails_conductor_inbound_email_sources_path, local: true) do |form| %>
|
|
6
6
|
<div>
|
|
7
7
|
<%= form.label :source, "Source" %><br>
|
|
8
|
-
<%= form.
|
|
8
|
+
<%= form.textarea :source, size: "80x60" %>
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<%= form.submit "Deliver inbound email" %>
|
|
@@ -29,7 +29,7 @@ module ActionMailbox
|
|
|
29
29
|
initializer "action_mailbox.config" do
|
|
30
30
|
config.after_initialize do |app|
|
|
31
31
|
ActionMailbox.logger = app.config.action_mailbox.logger || Rails.logger
|
|
32
|
-
ActionMailbox.incinerate = app.config.action_mailbox.incinerate.nil?
|
|
32
|
+
ActionMailbox.incinerate = app.config.action_mailbox.incinerate.nil? || app.config.action_mailbox.incinerate
|
|
33
33
|
ActionMailbox.incinerate_after = app.config.action_mailbox.incinerate_after || 30.days
|
|
34
34
|
ActionMailbox.queues = app.config.action_mailbox.queues || {}
|
|
35
35
|
ActionMailbox.ingress = app.config.action_mailbox.ingress
|
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: actionmailbox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 8.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Heinemeier Hansson
|
|
8
8
|
- George Claghorn
|
|
9
|
-
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: activesupport
|
|
@@ -17,70 +16,70 @@ dependencies:
|
|
|
17
16
|
requirements:
|
|
18
17
|
- - '='
|
|
19
18
|
- !ruby/object:Gem::Version
|
|
20
|
-
version:
|
|
19
|
+
version: 8.0.5
|
|
21
20
|
type: :runtime
|
|
22
21
|
prerelease: false
|
|
23
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
23
|
requirements:
|
|
25
24
|
- - '='
|
|
26
25
|
- !ruby/object:Gem::Version
|
|
27
|
-
version:
|
|
26
|
+
version: 8.0.5
|
|
28
27
|
- !ruby/object:Gem::Dependency
|
|
29
28
|
name: activerecord
|
|
30
29
|
requirement: !ruby/object:Gem::Requirement
|
|
31
30
|
requirements:
|
|
32
31
|
- - '='
|
|
33
32
|
- !ruby/object:Gem::Version
|
|
34
|
-
version:
|
|
33
|
+
version: 8.0.5
|
|
35
34
|
type: :runtime
|
|
36
35
|
prerelease: false
|
|
37
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
38
37
|
requirements:
|
|
39
38
|
- - '='
|
|
40
39
|
- !ruby/object:Gem::Version
|
|
41
|
-
version:
|
|
40
|
+
version: 8.0.5
|
|
42
41
|
- !ruby/object:Gem::Dependency
|
|
43
42
|
name: activestorage
|
|
44
43
|
requirement: !ruby/object:Gem::Requirement
|
|
45
44
|
requirements:
|
|
46
45
|
- - '='
|
|
47
46
|
- !ruby/object:Gem::Version
|
|
48
|
-
version:
|
|
47
|
+
version: 8.0.5
|
|
49
48
|
type: :runtime
|
|
50
49
|
prerelease: false
|
|
51
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
52
51
|
requirements:
|
|
53
52
|
- - '='
|
|
54
53
|
- !ruby/object:Gem::Version
|
|
55
|
-
version:
|
|
54
|
+
version: 8.0.5
|
|
56
55
|
- !ruby/object:Gem::Dependency
|
|
57
56
|
name: activejob
|
|
58
57
|
requirement: !ruby/object:Gem::Requirement
|
|
59
58
|
requirements:
|
|
60
59
|
- - '='
|
|
61
60
|
- !ruby/object:Gem::Version
|
|
62
|
-
version:
|
|
61
|
+
version: 8.0.5
|
|
63
62
|
type: :runtime
|
|
64
63
|
prerelease: false
|
|
65
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
66
65
|
requirements:
|
|
67
66
|
- - '='
|
|
68
67
|
- !ruby/object:Gem::Version
|
|
69
|
-
version:
|
|
68
|
+
version: 8.0.5
|
|
70
69
|
- !ruby/object:Gem::Dependency
|
|
71
70
|
name: actionpack
|
|
72
71
|
requirement: !ruby/object:Gem::Requirement
|
|
73
72
|
requirements:
|
|
74
73
|
- - '='
|
|
75
74
|
- !ruby/object:Gem::Version
|
|
76
|
-
version:
|
|
75
|
+
version: 8.0.5
|
|
77
76
|
type: :runtime
|
|
78
77
|
prerelease: false
|
|
79
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
80
79
|
requirements:
|
|
81
80
|
- - '='
|
|
82
81
|
- !ruby/object:Gem::Version
|
|
83
|
-
version:
|
|
82
|
+
version: 8.0.5
|
|
84
83
|
- !ruby/object:Gem::Dependency
|
|
85
84
|
name: mail
|
|
86
85
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -165,12 +164,11 @@ licenses:
|
|
|
165
164
|
- MIT
|
|
166
165
|
metadata:
|
|
167
166
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
168
|
-
changelog_uri: https://github.com/rails/rails/blob/
|
|
169
|
-
documentation_uri: https://api.rubyonrails.org/
|
|
167
|
+
changelog_uri: https://github.com/rails/rails/blob/v8.0.5/actionmailbox/CHANGELOG.md
|
|
168
|
+
documentation_uri: https://api.rubyonrails.org/v8.0.5/
|
|
170
169
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
171
|
-
source_code_uri: https://github.com/rails/rails/tree/
|
|
170
|
+
source_code_uri: https://github.com/rails/rails/tree/v8.0.5/actionmailbox
|
|
172
171
|
rubygems_mfa_required: 'true'
|
|
173
|
-
post_install_message:
|
|
174
172
|
rdoc_options: []
|
|
175
173
|
require_paths:
|
|
176
174
|
- lib
|
|
@@ -178,15 +176,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
178
176
|
requirements:
|
|
179
177
|
- - ">="
|
|
180
178
|
- !ruby/object:Gem::Version
|
|
181
|
-
version: 3.
|
|
179
|
+
version: 3.2.0
|
|
182
180
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
181
|
requirements:
|
|
184
182
|
- - ">="
|
|
185
183
|
- !ruby/object:Gem::Version
|
|
186
184
|
version: '0'
|
|
187
185
|
requirements: []
|
|
188
|
-
rubygems_version:
|
|
189
|
-
signing_key:
|
|
186
|
+
rubygems_version: 4.0.6
|
|
190
187
|
specification_version: 4
|
|
191
188
|
summary: Inbound email handling framework.
|
|
192
189
|
test_files: []
|