mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-05 08:40:11 +00:00
Updated translator attribution and StyleCI changes
This commit is contained in:
parent
f18e2784be
commit
585bd0cc45
3 changed files with 7 additions and 2 deletions
4
.github/translators.txt
vendored
4
.github/translators.txt
vendored
|
@ -211,3 +211,7 @@ Mundo Racional (ismael.mesquita) :: Portuguese, Brazilian
|
||||||
Zarik (3apuk) :: Russian
|
Zarik (3apuk) :: Russian
|
||||||
Ali Shaatani (a.shaatani) :: Arabic
|
Ali Shaatani (a.shaatani) :: Arabic
|
||||||
ChacMaster :: Portuguese, Brazilian
|
ChacMaster :: Portuguese, Brazilian
|
||||||
|
Saeed (saeed205) :: Persian
|
||||||
|
Julesdevops :: French
|
||||||
|
peter cerny (posli.to.semka) :: Slovak
|
||||||
|
Pavel Karlin (pavelkarlin) :: Russian
|
||||||
|
|
|
@ -32,6 +32,7 @@ class PdfGenerator
|
||||||
public function getActiveEngine(): string
|
public function getActiveEngine(): string
|
||||||
{
|
{
|
||||||
$useWKHTML = config('snappy.pdf.binary') !== false && config('app.allow_untrusted_server_fetching') === true;
|
$useWKHTML = config('snappy.pdf.binary') !== false && config('app.allow_untrusted_server_fetching') === true;
|
||||||
|
|
||||||
return $useWKHTML ? self::ENGINE_WKHTML : self::ENGINE_DOMPDF;
|
return $useWKHTML ? self::ENGINE_WKHTML : self::ENGINE_DOMPDF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -112,9 +112,9 @@ class UserController extends Controller
|
||||||
$roles = $request->get('roles');
|
$roles = $request->get('roles');
|
||||||
$this->userRepo->setUserRoles($user, $roles);
|
$this->userRepo->setUserRoles($user, $roles);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->userRepo->downloadAndAssignUserAvatar($user);
|
$this->userRepo->downloadAndAssignUserAvatar($user);
|
||||||
|
|
||||||
$this->logActivity(ActivityType::USER_CREATE, $user);
|
$this->logActivity(ActivityType::USER_CREATE, $user);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue