-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3490 from ProjectSidewalk/develop
v7.18.2
- Loading branch information
Showing
15 changed files
with
9,228 additions
and
9,248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,33 @@ | ||
FROM openjdk:8-jdk-buster | ||
FROM eclipse-temurin:8u402-b06-jdk-focal | ||
|
||
RUN apt-get update && apt-get upgrade -y | ||
|
||
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - | ||
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - | ||
|
||
# Workaround because of bug in sbt from Debian. | ||
# See https://github.com/sbt/sbt/issues/6614 | ||
# Workaround because of bug in sbt from Debian. See https://github.com/sbt/sbt/issues/6614. | ||
RUN wget https://scala.jfrog.io/artifactory/debian/sbt-1.8.0.deb && \ | ||
apt-get install ./sbt-1.8.0.deb | ||
apt-get install ./sbt-1.8.0.deb -y | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
RUN rm sbt-1.8.0.deb | ||
|
||
RUN apt-get update && apt-get upgrade -y | ||
|
||
RUN apt-get install -y \ | ||
unzip \ | ||
python-dev \ | ||
python-pip \ | ||
libblas-dev \ | ||
liblapack-dev \ | ||
gfortran \ | ||
python-numpy \ | ||
python-pandas \ | ||
python3-dev \ | ||
python3-pip \ | ||
nodejs && \ | ||
apt-get autoremove && \ | ||
apt-get clean | ||
|
||
RUN pip install --upgrade pip | ||
RUN pip install --upgrade setuptools | ||
|
||
WORKDIR /opt | ||
WORKDIR /home | ||
|
||
COPY package.json ./ | ||
COPY requirements.txt ./ | ||
|
||
RUN pip install -r requirements.txt | ||
# Python3 dependencies. | ||
RUN python3 -m pip install --upgrade pip | ||
RUN python3 -m pip install -r requirements.txt | ||
RUN python3 -m pip install --upgrade setuptools | ||
|
||
RUN npm install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ import models.user._ | |
import play.api.i18n.Messages | ||
import controllers.headers.ProvidesHeader | ||
import models.daos.slick.DBTableDefinitions.UserTable | ||
import play.api.Logger | ||
import play.api.{Logger, Play} | ||
import play.api.libs.concurrent.Execution.Implicits._ | ||
import scala.concurrent.Future | ||
import play.api.libs.mailer._ | ||
|
@@ -57,7 +57,7 @@ class ForgotPasswordController @Inject() ( | |
|
||
val resetEmail = Email( | ||
Messages("reset.pw.email.reset.title"), | ||
"Project Sidewalk <[email protected]>", | ||
s"Project Sidewalk <${Play.configuration.getString("noreply-email-address").get}>", | ||
Seq(email), | ||
bodyHtml = Some(views.html.emails.resetPasswordEmail(user, url).body) | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,11 +127,10 @@ scistarter-api-key = ${?SCISTARTER_API_KEY} | |
|
||
internal-api-key = ${?INTERNAL_API_KEY} | ||
|
||
smtp.host="smtp-relay.brevo.com" | ||
smtp.port=587 | ||
smtp.tls=true | ||
smtp.user=${?SIDEWALK_EMAIL_ADDRESS} | ||
smtp.password=${?SIDEWALK_EMAIL_PASSWORD} | ||
smtp.host="localhost" | ||
smtp.port=25 | ||
smtp.tls=false | ||
noreply-email-address="[email protected]" | ||
|
||
# For the ability to save crops on the server | ||
play.http.parser.maxDiskBuffer = 100MB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# --- !Ups | ||
INSERT INTO version VALUES ('7.18.2', now(), 'Fixes password reset emails not sending and API data not updating.'); | ||
|
||
# --- !Downs | ||
DELETE FROM version WHERE version_id = '7.18.2'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.