Skip to content

Commit 2f38750

Browse files
committed
s/recodex.cz/recodex.mff.cuni.cz/g
1 parent f790820 commit 2f38750

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

app/config/config.local.neon.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ parameters:
3838
emails:
3939
apiUrl: https://recodex.mff.cuni.cz:4000
4040
footerUrl: https://recodex.mff.cuni.cz
41-
from: "ReCodEx <noreply@example.com>"
41+
from: "ReCodEx <noreply@recodex.mff.cuni.cz>"
4242
#debugMode: true # in debug mode, no messages are sent via SMPT
4343
#archivingDir: "%appDir%/../log/email-debug" # a directory where copies of all emails sent are stored (in text files)
4444

app/helpers/Emails/EmailVerificationHelper/EmailVerificationHelper.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class EmailVerificationHelper {
2424
private $emailHelper;
2525

2626
/**
27-
* Sender address of all mails, something like "noreply@recodex.cz"
27+
* Sender address of all mails, something like "noreply@recodex.mff.cuni.cz"
2828
* @var string
2929
*/
3030
private $sender;
@@ -61,9 +61,9 @@ class EmailVerificationHelper {
6161
public function __construct(EmailHelper $emailHelper, AccessManager $accessManager, array $params) {
6262
$this->emailHelper = $emailHelper;
6363
$this->accessManager = $accessManager;
64-
$this->sender = Arrays::get($params, ["emails", "from"], "noreply@recodex.cz");
64+
$this->sender = Arrays::get($params, ["emails", "from"], "noreply@recodex.mff.cuni.cz");
6565
$this->subjectPrefix = Arrays::get($params, ["emails", "subjectPrefix"], "Email Verification Request - ");
66-
$this->redirectUrl = Arrays::get($params, ["redirectUrl"], "https://recodex.cz");
66+
$this->redirectUrl = Arrays::get($params, ["redirectUrl"], "https://recodex.mff.cuni.cz");
6767
$this->tokenExpiration = Arrays::get($params, ["tokenExpiration"], 10 * 60); // default value: 10 minutes
6868
}
6969

app/helpers/Emails/NotificationsHelper/AssignmentEmailsSender.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class AssignmentEmailsSender {
3838
public function __construct(EmailHelper $emailHelper, AssignmentSolutions $assignmentSolutions, array $params) {
3939
$this->emailHelper = $emailHelper;
4040
$this->assignmentSolutions = $assignmentSolutions;
41-
$this->sender = Arrays::get($params, ["emails", "from"], "noreply@recodex.cz");
41+
$this->sender = Arrays::get($params, ["emails", "from"], "noreply@recodex.mff.cuni.cz");
4242
$this->newAssignmentPrefix = Arrays::get($params, ["emails", "newAssignmentPrefix"], "New Assignment -");
4343
$this->assignmentDeadlinePrefix = Arrays::get($params, ["emails", "assignmentDeadlinePrefix"], "Assignment Deadline Is Behind the Corner - ");
4444
}

app/helpers/Emails/NotificationsHelper/Comments/SolutionCommentsEmailsSender.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class SolutionCommentsEmailsSender {
3030
*/
3131
public function __construct(EmailHelper $emailHelper, array $params) {
3232
$this->emailHelper = $emailHelper;
33-
$this->sender = Arrays::get($params, ["emails", "from"], "noreply@recodex.cz");
33+
$this->sender = Arrays::get($params, ["emails", "from"], "noreply@recodex.mff.cuni.cz");
3434
$this->assignmentSolutionCommentPrefix = Arrays::get($params, ["emails", "assignmentSolutionCommentPrefix"], "Assignment Solution Comment - ");
3535
$this->referenceSolutionCommentPrefix = Arrays::get($params, ["emails", "referenceSolutionCommentPrefix"], "Reference Solution Comment - ");
3636
}

app/helpers/Emails/NotificationsHelper/FailureResolutionEmailsSender.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class FailureResolutionEmailsSender {
3232
*/
3333
public function __construct(EmailHelper $emailHelper, array $params) {
3434
$this->emailHelper = $emailHelper;
35-
$this->sender = Arrays::get($params, ["emails", "from"], "noreply@recodex.cz");
35+
$this->sender = Arrays::get($params, ["emails", "from"], "noreply@recodex.mff.cuni.cz");
3636
$this->failureResolvedPrefix = Arrays::get($params, ["emails", "failureResolvedPrefix"], "Submission Failure Resolved - ");
3737
}
3838

app/helpers/Emails/NotificationsHelper/SubmissionEmailsSender.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class SubmissionEmailsSender {
2626
*/
2727
public function __construct(EmailHelper $emailHelper, array $params) {
2828
$this->emailHelper = $emailHelper;
29-
$this->sender = Arrays::get($params, ["emails", "from"], "noreply@recodex.cz");
29+
$this->sender = Arrays::get($params, ["emails", "from"], "noreply@recodex.mff.cuni.cz");
3030
$this->submissionEvaluatedPrefix = Arrays::get($params, ["emails", "submissionEvaluatedPrefix"], "Submission Evaluated - ");
3131
}
3232

app/helpers/FailureHelper/FailureHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class FailureHelper {
2424
/** @var array List of email addresses which will receive the reports */
2525
private $receivers;
2626

27-
/** @var string Sender address of all mails, something like "noreply@recodex.cz" */
27+
/** @var string Sender address of all mails, something like "noreply@recodex.mff.cuni.cz" */
2828
private $sender;
2929

3030
/** @var string Prefix of mail subject to be used */

app/helpers/ForgottenPasswordHelper/ForgottenPasswordHelper.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ForgottenPasswordHelper {
3131
private $emailHelper;
3232

3333
/**
34-
* Sender address of all mails, something like "noreply@recodex.cz"
34+
* Sender address of all mails, something like "noreply@recodex.mff.cuni.cz"
3535
* @var string
3636
*/
3737
private $sender;
@@ -70,9 +70,9 @@ public function __construct(EntityManager $em, EmailHelper $emailHelper, AccessM
7070
$this->em = $em;
7171
$this->emailHelper = $emailHelper;
7272
$this->accessManager = $accessManager;
73-
$this->sender = Arrays::get($params, ["emails", "from"], "noreply@recodex.cz");
73+
$this->sender = Arrays::get($params, ["emails", "from"], "noreply@recodex.mff.cuni.cz");
7474
$this->subjectPrefix = Arrays::get($params, ["emails", "subjectPrefix"], "Password Recovery Request - ");
75-
$this->redirectUrl = Arrays::get($params, ["redirectUrl"], "https://recodex.cz");
75+
$this->redirectUrl = Arrays::get($params, ["redirectUrl"], "https://recodex.mff.cuni.cz");
7676
$this->tokenExpiration = Arrays::get($params, ["tokenExpiration"], 10 * 60); // default value: 10 minutes
7777
}
7878

tests/Presenters/UsersPresenter.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ class TestUsersPresenter extends Tester\TestCase
246246
$lastName = "lastNameUpdated";
247247
$degreesBeforeName = "degreesBeforeNameUpdated";
248248
$degreesAfterName = "degreesAfterNameUpdated";
249-
$email = "new-email@recodex.cz";
249+
$email = "new-email@recodex.mff.cuni.cz";
250250

251251
$emailVerificationHelper = Mockery::mock(EmailVerificationHelper::class);
252252
$emailVerificationHelper->shouldReceive("process")->with($user)->andReturn()->once();

0 commit comments

Comments
 (0)