Skip to content

Commit 2f9c1b7

Browse files
committed
Merge branch 'development' into release
2 parents bbea766 + 18979e8 commit 2f9c1b7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+793
-726
lines changed

.github/translators.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,3 +341,4 @@ Ingus Rūķis (ingus.rukis) :: Latvian
341341
Eugene Pershin (SilentEugene) :: Russian
342342
周盛道 (zhoushengdao) :: Chinese Simplified
343343
hamidreza amini (hamidrezaamini2022) :: Persian
344+
Tomislav Kraljević (tomislav.kraljevic) :: Croatian

app/Config/mail.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,15 @@
3131
'mailers' => [
3232
'smtp' => [
3333
'transport' => 'smtp',
34-
'scheme' => ($mailEncryption === 'tls' || $mailEncryption === 'ssl') ? 'smtps' : null,
34+
'scheme' => null,
3535
'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
3636
'port' => env('MAIL_PORT', 587),
3737
'username' => env('MAIL_USERNAME'),
3838
'password' => env('MAIL_PASSWORD'),
3939
'verify_peer' => env('MAIL_VERIFY_SSL', true),
4040
'timeout' => null,
4141
'local_domain' => env('MAIL_EHLO_DOMAIN'),
42+
'tls_required' => ($mailEncryption === 'tls' || $mailEncryption === 'ssl'),
4243
],
4344

4445
'sendmail' => [

app/Uploads/ImageRepo.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ public function updateImageFile(Image $image, UploadedFile $file): void
177177

178178
$image->refresh();
179179
$image->updated_by = user()->id;
180+
$image->touch();
180181
$image->save();
181182
$this->imageService->replaceExistingFromUpload($image->path, $image->type, $file);
182183
$this->loadThumbs($image, true);

app/Users/Queries/RolesAllPaginatedAndSorted.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function run(int $count, SimpleListOptions $listOptions): LengthAwarePagi
1515
{
1616
$sort = $listOptions->getSort();
1717
if ($sort === 'created_at') {
18-
$sort = 'users.created_at';
18+
$sort = 'roles.created_at';
1919
}
2020

2121
$query = Role::query()->select(['*'])

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
"nunomaduro/larastan": "^2.4",
5050
"phpunit/phpunit": "^9.5",
5151
"squizlabs/php_codesniffer": "^3.7",
52-
"ssddanbrown/asserthtml": "^2.0"
52+
"ssddanbrown/asserthtml": "^2.0",
53+
"ssddanbrown/symfony-mailer": "6.0.x-dev"
5354
},
5455
"autoload": {
5556
"psr-4": {

composer.lock

Lines changed: 93 additions & 97 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2+
"id": 15,
23
"name": "My new book",
4+
"slug": "my-new-book",
35
"description": "This is a book created via the API",
46
"created_by": 1,
57
"updated_by": 1,
68
"owned_by": 1,
7-
"slug": "my-new-book",
89
"updated_at": "2020-01-12T14:05:11.000000Z",
9-
"created_at": "2020-01-12T14:05:11.000000Z",
10-
"id": 15
10+
"created_at": "2020-01-12T14:05:11.000000Z"
1111
}

0 commit comments

Comments
 (0)