actionmailbox 7.1.5 → 7.2.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -88
- data/app/controllers/action_mailbox/ingresses/relay/inbound_emails_controller.rb +4 -8
- data/app/models/action_mailbox/inbound_email.rb +1 -3
- data/lib/action_mailbox/gem_version.rb +3 -3
- data/lib/action_mailbox/mail_ext/addresses.rb +1 -1
- metadata +22 -64
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bbab48b110892588dca292c584a7a05380fa33f0eed89e12fac14ed33948c9c
|
4
|
+
data.tar.gz: ca1082a02f6cdc7da5cf3f9767c97e2c43cc3d110203d4bbce86cde268584c9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 114538beea49106ccc9b23b7709ee8738d08cdfbcb77c520ed75862258c81a37323a0e6000548c148583b010392029f4629ad85c285e99c7cd373df30aa01ab3
|
7
|
+
data.tar.gz: 13281faec27fb2e9faed23d1e452b80cc3ebf45a2c3b1d02e433c7de7113f351e4da50e1e64c162bcfbd52331cff076cf5721d353b5274dd5f9188cd4e58acac
|
data/CHANGELOG.md
CHANGED
@@ -1,91 +1,8 @@
|
|
1
|
-
## Rails 7.
|
1
|
+
## Rails 7.2.0.beta1 (May 29, 2024) ##
|
2
2
|
|
3
|
-
*
|
3
|
+
* Fix all Action Mailbox database related models to respect
|
4
|
+
`ActiveRecord::Base.table_name_prefix` configuration.
|
4
5
|
|
6
|
+
*Chedli Bourguiba*
|
5
7
|
|
6
|
-
|
7
|
-
|
8
|
-
* No changes.
|
9
|
-
|
10
|
-
|
11
|
-
## Rails 7.1.4.1 (October 15, 2024) ##
|
12
|
-
|
13
|
-
* No changes.
|
14
|
-
|
15
|
-
|
16
|
-
## Rails 7.1.4 (August 22, 2024) ##
|
17
|
-
|
18
|
-
* No changes.
|
19
|
-
|
20
|
-
|
21
|
-
## Rails 7.1.3.4 (June 04, 2024) ##
|
22
|
-
|
23
|
-
* No changes.
|
24
|
-
|
25
|
-
|
26
|
-
## Rails 7.1.3.3 (May 16, 2024) ##
|
27
|
-
|
28
|
-
* No changes.
|
29
|
-
|
30
|
-
|
31
|
-
## Rails 7.1.3.2 (February 21, 2024) ##
|
32
|
-
|
33
|
-
* No changes.
|
34
|
-
|
35
|
-
|
36
|
-
## Rails 7.1.3.1 (February 21, 2024) ##
|
37
|
-
|
38
|
-
* No changes.
|
39
|
-
|
40
|
-
|
41
|
-
## Rails 7.1.3 (January 16, 2024) ##
|
42
|
-
|
43
|
-
* No changes.
|
44
|
-
|
45
|
-
|
46
|
-
## Rails 7.1.2 (November 10, 2023) ##
|
47
|
-
|
48
|
-
* No changes.
|
49
|
-
|
50
|
-
|
51
|
-
## Rails 7.1.1 (October 11, 2023) ##
|
52
|
-
|
53
|
-
* No changes.
|
54
|
-
|
55
|
-
|
56
|
-
## Rails 7.1.0 (October 05, 2023) ##
|
57
|
-
|
58
|
-
* No changes.
|
59
|
-
|
60
|
-
|
61
|
-
## Rails 7.1.0.rc2 (October 01, 2023) ##
|
62
|
-
|
63
|
-
* No changes.
|
64
|
-
|
65
|
-
|
66
|
-
## Rails 7.1.0.rc1 (September 27, 2023) ##
|
67
|
-
|
68
|
-
* No changes.
|
69
|
-
|
70
|
-
|
71
|
-
## Rails 7.1.0.beta1 (September 13, 2023) ##
|
72
|
-
|
73
|
-
* Added `bounce_now_with` to send the bounce email without going through a mailer queue.
|
74
|
-
|
75
|
-
*Ronan Limon Duparcmeur*
|
76
|
-
|
77
|
-
* Support configured primary key types in generated migrations.
|
78
|
-
|
79
|
-
*Nishiki Liu*
|
80
|
-
|
81
|
-
* Fixed ingress controllers' ability to accept emails that contain no UTF-8 encoded parts.
|
82
|
-
|
83
|
-
Fixes #46297.
|
84
|
-
|
85
|
-
*Jan Honza Sterba*
|
86
|
-
|
87
|
-
* Add X-Forwarded-To addresses to recipients.
|
88
|
-
|
89
|
-
*Andrew Stewart*
|
90
|
-
|
91
|
-
Please check [7-0-stable](https://github.com/rails/rails/blob/7-0-stable/actionmailbox/CHANGELOG.md) for previous changes.
|
8
|
+
Please check [7-1-stable](https://github.com/rails/rails/blob/7-1-stable/actionmailbox/CHANGELOG.md) for previous changes.
|
@@ -45,18 +45,14 @@ module ActionMailbox
|
|
45
45
|
#
|
46
46
|
# Built-in ingress commands are available for these popular SMTP servers:
|
47
47
|
#
|
48
|
-
# - Exim (<tt>bin/rails action_mailbox:ingress:exim)
|
49
|
-
# - Postfix (<tt>bin/rails action_mailbox:ingress:postfix)
|
50
|
-
# - Qmail (<tt>bin/rails action_mailbox:ingress:qmail)
|
48
|
+
# - Exim (<tt>bin/rails action_mailbox:ingress:exim</tt>)
|
49
|
+
# - Postfix (<tt>bin/rails action_mailbox:ingress:postfix</tt>)
|
50
|
+
# - Qmail (<tt>bin/rails action_mailbox:ingress:qmail</tt>)
|
51
51
|
class Ingresses::Relay::InboundEmailsController < ActionMailbox::BaseController
|
52
52
|
before_action :authenticate_by_password, :require_valid_rfc822_message
|
53
53
|
|
54
54
|
def create
|
55
|
-
|
56
|
-
ActionMailbox::InboundEmail.create_and_extract_message_id! request.body.read
|
57
|
-
else
|
58
|
-
head :unprocessable_entity
|
59
|
-
end
|
55
|
+
ActionMailbox::InboundEmail.create_and_extract_message_id! request.body.read
|
60
56
|
end
|
61
57
|
|
62
58
|
private
|
@@ -25,12 +25,10 @@ module ActionMailbox
|
|
25
25
|
# inbound_email.mail.from # => 'david@loudthinking.com'
|
26
26
|
# inbound_email.source # Returns the full rfc822 source of the email as text
|
27
27
|
class InboundEmail < Record
|
28
|
-
self.table_name = "action_mailbox_inbound_emails"
|
29
|
-
|
30
28
|
include Incineratable, MessageId, Routable
|
31
29
|
|
32
30
|
has_one_attached :raw_email, service: ActionMailbox.storage_service
|
33
|
-
enum status
|
31
|
+
enum :status, %i[ pending processing delivered failed bounced ]
|
34
32
|
|
35
33
|
def mail
|
36
34
|
@mail ||= Mail.from_source(source)
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionmailbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.2.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
- George Claghorn
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-05-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -17,126 +17,84 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 7.
|
20
|
+
version: 7.2.0.beta1
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 7.
|
27
|
+
version: 7.2.0.beta1
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: activerecord
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - '='
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 7.
|
34
|
+
version: 7.2.0.beta1
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - '='
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 7.
|
41
|
+
version: 7.2.0.beta1
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: activestorage
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - '='
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 7.
|
48
|
+
version: 7.2.0.beta1
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - '='
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 7.
|
55
|
+
version: 7.2.0.beta1
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: activejob
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - '='
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 7.
|
62
|
+
version: 7.2.0.beta1
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - '='
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 7.
|
69
|
+
version: 7.2.0.beta1
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: actionpack
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - '='
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 7.
|
76
|
+
version: 7.2.0.beta1
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - '='
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 7.
|
83
|
+
version: 7.2.0.beta1
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: mail
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
88
|
- - ">="
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: 2.
|
90
|
+
version: 2.8.0
|
91
91
|
type: :runtime
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
95
|
- - ">="
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: 2.
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: net-imap
|
100
|
-
requirement: !ruby/object:Gem::Requirement
|
101
|
-
requirements:
|
102
|
-
- - ">="
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: '0'
|
105
|
-
type: :runtime
|
106
|
-
prerelease: false
|
107
|
-
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
requirements:
|
109
|
-
- - ">="
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version: '0'
|
112
|
-
- !ruby/object:Gem::Dependency
|
113
|
-
name: net-pop
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - ">="
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: '0'
|
119
|
-
type: :runtime
|
120
|
-
prerelease: false
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
requirements:
|
123
|
-
- - ">="
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '0'
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: net-smtp
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
requirements:
|
130
|
-
- - ">="
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: '0'
|
133
|
-
type: :runtime
|
134
|
-
prerelease: false
|
135
|
-
version_requirements: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - ">="
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '0'
|
97
|
+
version: 2.8.0
|
140
98
|
description: Receive and process incoming emails in Rails applications.
|
141
99
|
email:
|
142
100
|
- david@loudthinking.com
|
@@ -207,12 +165,12 @@ licenses:
|
|
207
165
|
- MIT
|
208
166
|
metadata:
|
209
167
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
210
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.
|
211
|
-
documentation_uri: https://api.rubyonrails.org/v7.
|
168
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.2.0.beta1/actionmailbox/CHANGELOG.md
|
169
|
+
documentation_uri: https://api.rubyonrails.org/v7.2.0.beta1/
|
212
170
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
213
|
-
source_code_uri: https://github.com/rails/rails/tree/v7.
|
171
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.2.0.beta1/actionmailbox
|
214
172
|
rubygems_mfa_required: 'true'
|
215
|
-
post_install_message:
|
173
|
+
post_install_message:
|
216
174
|
rdoc_options: []
|
217
175
|
require_paths:
|
218
176
|
- lib
|
@@ -220,15 +178,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
220
178
|
requirements:
|
221
179
|
- - ">="
|
222
180
|
- !ruby/object:Gem::Version
|
223
|
-
version:
|
181
|
+
version: 3.1.0
|
224
182
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
225
183
|
requirements:
|
226
184
|
- - ">="
|
227
185
|
- !ruby/object:Gem::Version
|
228
186
|
version: '0'
|
229
187
|
requirements: []
|
230
|
-
rubygems_version: 3.5.
|
231
|
-
signing_key:
|
188
|
+
rubygems_version: 3.5.10
|
189
|
+
signing_key:
|
232
190
|
specification_version: 4
|
233
191
|
summary: Inbound email handling framework.
|
234
192
|
test_files: []
|