-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changed http to https in notify_moderators_of_comment_spam.html.erb (#8587) #8593
Changed http to https in notify_moderators_of_comment_spam.html.erb (#8587) #8593
Conversation
Thanks for opening this pull request! This space is protected by our Code of Conduct - and we're here to help. |
Codecov Report
@@ Coverage Diff @@
## main #8593 +/- ##
=======================================
Coverage ? 81.90%
=======================================
Files ? 100
Lines ? 5941
Branches ? 0
=======================================
Hits ? 4866
Misses ? 1075
Partials ? 0 |
@noi5e I would like if someone can review my pull request. Thank you. |
@@ -17,7 +17,7 @@ | |||
<hr> | |||
<div class="footer"> | |||
|
|||
<p>Visit the spam page here: <a href="http://publiclab.org/spam">http://publiclab.org/spam</a></p> | |||
<p>Visit the spam page here: <a href="https://publiclab.org/spam">https://publiclab.org/spam</a></p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch! Thanks!
Actually i'll suggest something even more - see how we can fetch the hostname and insert it, in case this codebase is ever run on a different domain name?
From line 22:
<p>Visit the spam page here: <a href="https://publiclab.org/spam">https://publiclab.org/spam</a></p> | |
<p>Visit the spam page here: <a href="https://<%= ActionMailer::Base.default_url_options[:host] %>/spam">https://<%= ActionMailer::Base.default_url_options[:host] %>/spam</a></p> |
It's a little harder to read, but what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it is a bit harder to read. But if it is okay, I can change it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me @amanda-ariyaratne
@RuthNjeri Sorry I'm new to this. Is there anything for me to do next? |
Hi, @amanda-ariyaratne not really, all you have to do is wait for the maintainers to approve and merge... |
great, thanks! |
restarting travis |
restarting travis |
I will try and rebase this branch |
d1056a8
to
7144c80
Compare
That worked 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this 🎉 and sorry this took a while
@jywarren kindly do another review on this we have a pending "changes requested". Thanks |
Changed http to https
Hostname is loaded from configuration file instead of hardcoded hostname
7144c80
to
f4f5ad7
Compare
Code Climate has analyzed commit f4f5ad7 and detected 0 issues on this pull request. View more on Code Climate. |
Changes requested were fixed. Thanks Jeff
Congrats on merging your first pull request! 🙌🎉⚡️ Help others take their first stepNow that you've merged your first pull request, you're the perfect person to help someone else out with this challenging first step. 🙌 Try looking at this list of `first-timers-only` issues, and see if someone else is waiting for feedback, or even stuck! 😕 People often get stuck at the same steps, so you might be able to help someone get unstuck, or help lead them to some documentation that'd help. Reach out and be encouraging and friendly! 😄 🎉 Read about how to help support another newcomer here, or find other ways to offer mutual support here. |
Thanks all 🎉 |
…ubliclab#8587) (publiclab#8593) * Update notify_moderators_of_comment_spam.html.erb Changed http to https * Hostname update in notify_moderators_of_comment_spam.html.erb Hostname is loaded from configuration file instead of hardcoded hostname
…ubliclab#8587) (publiclab#8593) * Update notify_moderators_of_comment_spam.html.erb Changed http to https * Hostname update in notify_moderators_of_comment_spam.html.erb Hostname is loaded from configuration file instead of hardcoded hostname
…ubliclab#8587) (publiclab#8593) * Update notify_moderators_of_comment_spam.html.erb Changed http to https * Hostname update in notify_moderators_of_comment_spam.html.erb Hostname is loaded from configuration file instead of hardcoded hostname
…ubliclab#8587) (publiclab#8593) * Update notify_moderators_of_comment_spam.html.erb Changed http to https * Hostname update in notify_moderators_of_comment_spam.html.erb Hostname is loaded from configuration file instead of hardcoded hostname
Changed http to https.
Fixes #8631 (<=== Add issue number here)
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Thanks!