Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ebb81978
Commit
ebb81978
authored
Sep 03, 2019
by
Winnie Hellmann
Committed by
Sean McGivern
Sep 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove outdated mail_room check
parent
7a07d9b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
27 deletions
+0
-27
lib/system_check/incoming_email/foreman_configured_check.rb
lib/system_check/incoming_email/foreman_configured_check.rb
+0
-25
lib/system_check/incoming_email_check.rb
lib/system_check/incoming_email_check.rb
+0
-2
No files found.
lib/system_check/incoming_email/foreman_configured_check.rb
deleted
100644 → 0
View file @
7a07d9b2
# frozen_string_literal: true
module
SystemCheck
module
IncomingEmail
class
ForemanConfiguredCheck
<
SystemCheck
::
BaseCheck
set_name
'Foreman configured correctly?'
def
check?
path
=
Rails
.
root
.
join
(
'Procfile'
)
File
.
exist?
(
path
)
&&
File
.
read
(
path
)
=~
/^mail_room:/
end
def
show_error
try_fixing_it
(
'Enable mail_room in your Procfile.'
)
for_more_information
(
'doc/administration/reply_by_email.md'
)
fix_and_rerun
end
end
end
end
lib/system_check/incoming_email_check.rb
View file @
ebb81978
...
...
@@ -14,8 +14,6 @@ module SystemCheck
if
Rails
.
env
.
production?
checks
<<
SystemCheck
::
IncomingEmail
::
InitdConfiguredCheck
checks
<<
SystemCheck
::
IncomingEmail
::
MailRoomRunningCheck
else
checks
<<
SystemCheck
::
IncomingEmail
::
ForemanConfiguredCheck
end
SystemCheck
.
run
(
'Reply by email'
,
checks
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment