Skip to content
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

Deploy v3.1.0 #433

Merged
merged 42 commits into from
Jan 5, 2024
Merged

Deploy v3.1.0 #433

merged 42 commits into from
Jan 5, 2024

Conversation

injoonH
Copy link
Member

@injoonH injoonH commented Jan 5, 2024

Features

Refactors

  • Use PositiveIntegerField and PositiveSmallIntegerField. PR #401 by @injoonH.

Fixes

Docs

  • Update README and define coding styles. PR #422 by @injoonH.

injoonH and others added 30 commits July 31, 2023 12:02
Add minor features for top articles
feat(email): Change smtp provider
Fix slow query caused by GET /articles
@injoonH injoonH added the deploy Merge develop to master label Jan 5, 2024
@DoyunShin
Copy link
Member

DoyunShin commented Jan 5, 2024

PR merge하기전에 SMTP 서버에 Ara의 IP 주소 추가가 이루어져야 합니다.

@DoyunShin
Copy link
Member

smtp에 ARA Prod서버 추가하였습니다.
혹시 모르니 prod python3에서 smtp로 보내는 테스트 진행 후 merge하는걸 추천합니다.

from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText

smtp = smtplib.SMTP("smtp-relay.gmail.com", 587)
smtp.starttls()
smtp.ehlo()

sender = "ara@sparcs.org"
to = "new-ara-team@sparcs.org"

msg = MIMEMultipart()
msg["From"] = sender
msg["To"] = to
msg["Subject"] = "SMTP Relay test from ARA Prod Server"
msg.attach(MIMEText("This is a test message from ARA Prod Server! YAY!"))

smtp.sendmail(sender, to, msg.as_string())
smtp.quit()

테스트 코드입니다.

@injoonH injoonH merged commit 0576262 into master Jan 5, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy Merge develop to master
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants