repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/lang/et/preferences.php
lang/et/preferences.php
<?php /** * Text used for user-preference specific views within bookstack. */ return [ 'my_account' => 'Minu konto', 'shortcuts' => 'Kiirklahvid', 'shortcuts_interface' => 'Kasutajaliidese eelistused', 'shortcuts_toggle_desc' => 'Siit saad sisse ja välja lülitada navigeerimiseks ja tegevusteks kasu...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/lang/et/errors.php
lang/et/errors.php
<?php /** * Text shown in error messaging. */ return [ // Permissions 'permission' => 'Sul puudub õigus selle lehe vaatamiseks.', 'permissionJson' => 'Sul puudub õigus selle tegevuse teostamiseks.', // Auth 'error_user_exists_different_creds' => 'See e-posti aadress on juba seotud teise kasutaja...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/lang/et/activities.php
lang/et/activities.php
<?php /** * Activity text strings. * Is used for all the text within activity logs & notifications. */ return [ // Pages 'page_create' => 'lisas lehe', 'page_create_notification' => 'Leht on lisatud', 'page_update' => 'muutis lehte', 'page_update_notification' ...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/lang/et/common.php
lang/et/common.php
<?php /** * Common elements found throughout many areas of BookStack. */ return [ // Buttons 'cancel' => 'Tühista', 'close' => 'Sulge', 'confirm' => 'Kinnita', 'back' => 'Tagasi', 'save' => 'Salvesta', 'continue' => 'Jätka', 'select' => 'Vali', 'toggle_all' => 'Vaheta kõik', '...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/lang/et/pagination.php
lang/et/pagination.php
<?php /** * Pagination Language Lines * The following language lines are used by the paginator library to build * the simple pagination links. */ return [ 'previous' => '&laquo; Eelmine', 'next' => 'Järgmine &raquo;', ];
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/lang/et/settings.php
lang/et/settings.php
<?php /** * Settings text strings * Contains all text strings used in the general settings sections of BookStack * including users and roles. */ return [ // Common Messages 'settings' => 'Seaded', 'settings_save' => 'Salvesta seaded', 'system_version' => 'Süsteemi versioon', 'categories' => 'Ka...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/lang/et/validation.php
lang/et/validation.php
<?php /** * Validation Lines * The following language lines contain the default error messages used by * the validator class. Some of these rules have multiple versions such * as the size rules. Feel free to tweak each of these messages here. */ return [ // Standard laravel validation lines 'accepted' ...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/lang/et/auth.php
lang/et/auth.php
<?php /** * Authentication Language Lines * The following language lines are used during authentication for various * messages that we need to display to the user. */ return [ 'failed' => 'Kasutajanimi ja parool ei klapi.', 'throttle' => 'Liiga palju sisselogimiskatseid. Proovi uuesti :seconds sekundi pära...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Users/UserRepo.php
app/Users/UserRepo.php
<?php namespace BookStack\Users; use BookStack\Access\UserInviteException; use BookStack\Access\UserInviteService; use BookStack\Activity\ActivityType; use BookStack\Entities\Tools\SlugGenerator; use BookStack\Exceptions\NotifyException; use BookStack\Exceptions\UserUpdateException; use BookStack\Facades\Activity; us...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Users/Controllers/UserPreferencesController.php
app/Users/Controllers/UserPreferencesController.php
<?php namespace BookStack\Users\Controllers; use BookStack\Http\Controller; use BookStack\Users\UserRepo; use Illuminate\Http\Request; class UserPreferencesController extends Controller { public function __construct( protected UserRepo $userRepo ) { } /** * Update the preferred view for...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Users/Controllers/UserController.php
app/Users/Controllers/UserController.php
<?php namespace BookStack\Users\Controllers; use BookStack\Access\SocialDriverManager; use BookStack\Access\UserInviteException; use BookStack\Exceptions\ImageUploadException; use BookStack\Exceptions\UserUpdateException; use BookStack\Http\Controller; use BookStack\Permissions\Permission; use BookStack\Uploads\Image...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Users/Controllers/UserAccountController.php
app/Users/Controllers/UserAccountController.php
<?php namespace BookStack\Users\Controllers; use BookStack\Access\SocialDriverManager; use BookStack\Http\Controller; use BookStack\Permissions\Permission; use BookStack\Permissions\PermissionApplicator; use BookStack\Settings\UserNotificationPreferences; use BookStack\Settings\UserShortcutMap; use BookStack\Uploads\...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Users/Controllers/UserProfileController.php
app/Users/Controllers/UserProfileController.php
<?php namespace BookStack\Users\Controllers; use BookStack\Activity\ActivityQueries; use BookStack\Http\Controller; use BookStack\Users\Queries\UserContentCounts; use BookStack\Users\Queries\UserRecentlyCreatedContent; use BookStack\Users\UserRepo; class UserProfileController extends Controller { public function...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Users/Controllers/RoleApiController.php
app/Users/Controllers/RoleApiController.php
<?php namespace BookStack\Users\Controllers; use BookStack\Http\ApiController; use BookStack\Permissions\Permission; use BookStack\Permissions\PermissionsRepo; use BookStack\Users\Models\Role; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class RoleApiController extends ApiController { protecte...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Users/Controllers/UserSearchController.php
app/Users/Controllers/UserSearchController.php
<?php namespace BookStack\Users\Controllers; use BookStack\Http\Controller; use BookStack\Permissions\Permission; use BookStack\Users\Models\User; use Illuminate\Database\Eloquent\Collection; use Illuminate\Http\Request; class UserSearchController extends Controller { /** * Search users in the system, with ...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Users/Controllers/UserApiController.php
app/Users/Controllers/UserApiController.php
<?php namespace BookStack\Users\Controllers; use BookStack\Entities\EntityExistsRule; use BookStack\Exceptions\UserUpdateException; use BookStack\Http\ApiController; use BookStack\Permissions\Permission; use BookStack\Users\Models\User; use BookStack\Users\UserRepo; use Illuminate\Http\Request; use Illuminate\Support...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Users/Controllers/RoleController.php
app/Users/Controllers/RoleController.php
<?php namespace BookStack\Users\Controllers; use BookStack\Exceptions\PermissionsException; use BookStack\Http\Controller; use BookStack\Permissions\Permission; use BookStack\Permissions\PermissionsRepo; use BookStack\Users\Models\Role; use BookStack\Users\Queries\RolesAllPaginatedAndSorted; use BookStack\Util\Simple...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Users/Models/User.php
app/Users/Models/User.php
<?php namespace BookStack\Users\Models; use BookStack\Access\Mfa\MfaValue; use BookStack\Access\Notifications\ResetPasswordNotification; use BookStack\Access\SocialAccount; use BookStack\Activity\Models\Favourite; use BookStack\Activity\Models\Loggable; use BookStack\Activity\Models\Watch; use BookStack\Api\ApiToken;...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Users/Models/Role.php
app/Users/Models/Role.php
<?php namespace BookStack\Users\Models; use BookStack\Activity\Models\Loggable; use BookStack\App\Model; use BookStack\Permissions\Models\EntityPermission; use BookStack\Permissions\Models\JointPermission; use BookStack\Permissions\Models\RolePermission; use Illuminate\Database\Eloquent\Collection; use Illuminate\Dat...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Users/Models/OwnableInterface.php
app/Users/Models/OwnableInterface.php
<?php namespace BookStack\Users\Models; interface OwnableInterface { public function getOwnerFieldName(): string; }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Users/Models/HasCreatorAndUpdater.php
app/Users/Models/HasCreatorAndUpdater.php
<?php namespace BookStack\Users\Models; use Illuminate\Database\Eloquent\Relations\BelongsTo; /** * @property int $created_by * @property int $updated_by * @property ?User $createdBy * @property ?User $updatedBy */ trait HasCreatorAndUpdater { /** * Relation for the user that created this entity. ...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Users/Queries/UserContentCounts.php
app/Users/Queries/UserContentCounts.php
<?php namespace BookStack\Users\Queries; use BookStack\Entities\Queries\EntityQueries; use BookStack\Users\Models\User; /** * Get asset created counts for the given user. */ class UserContentCounts { public function __construct( protected EntityQueries $queries, ) { } /** * @return a...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Users/Queries/UsersAllPaginatedAndSorted.php
app/Users/Queries/UsersAllPaginatedAndSorted.php
<?php namespace BookStack\Users\Queries; use BookStack\Users\Models\User; use BookStack\Util\SimpleListOptions; use Illuminate\Pagination\LengthAwarePaginator; /** * Get all the users with their permissions in a paginated format. * Note: Due to the use of email search this should only be used when * user is assum...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Users/Queries/RolesAllPaginatedAndSorted.php
app/Users/Queries/RolesAllPaginatedAndSorted.php
<?php namespace BookStack\Users\Queries; use BookStack\Users\Models\Role; use BookStack\Util\SimpleListOptions; use Illuminate\Pagination\LengthAwarePaginator; /** * Get all the roles in the system in a paginated format. */ class RolesAllPaginatedAndSorted { public function run(int $count, SimpleListOptions $l...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Users/Queries/UserRecentlyCreatedContent.php
app/Users/Queries/UserRecentlyCreatedContent.php
<?php namespace BookStack\Users\Queries; use BookStack\Entities\Queries\EntityQueries; use BookStack\Users\Models\User; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Collection; /** * Get the recently created content for the provided user. */ class UserRecentlyCreatedContent { publ...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/BookStackExceptionHandlerPage.php
app/Exceptions/BookStackExceptionHandlerPage.php
<?php namespace BookStack\Exceptions; use BookStack\App\AppVersion; use Illuminate\Contracts\Foundation\ExceptionRenderer; class BookStackExceptionHandlerPage implements ExceptionRenderer { public function render($throwable) { return view('errors.debug', [ 'error' => $throwable->get...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/UserRegistrationException.php
app/Exceptions/UserRegistrationException.php
<?php namespace BookStack\Exceptions; class UserRegistrationException extends NotifyException { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/LoginAttemptInvalidUserException.php
app/Exceptions/LoginAttemptInvalidUserException.php
<?php namespace BookStack\Exceptions; class LoginAttemptInvalidUserException extends LoginAttemptException { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/FileUploadException.php
app/Exceptions/FileUploadException.php
<?php namespace BookStack\Exceptions; class FileUploadException extends PrettyException { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/SocialDriverNotConfigured.php
app/Exceptions/SocialDriverNotConfigured.php
<?php namespace BookStack\Exceptions; class SocialDriverNotConfigured extends PrettyException { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/NotFoundException.php
app/Exceptions/NotFoundException.php
<?php namespace BookStack\Exceptions; class NotFoundException extends PrettyException { /** * NotFoundException constructor. */ public function __construct($message = 'Item not found') { parent::__construct($message, 404); } }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/UserTokenExpiredException.php
app/Exceptions/UserTokenExpiredException.php
<?php namespace BookStack\Exceptions; class UserTokenExpiredException extends \Exception { public $userId; /** * UserTokenExpiredException constructor. * * @param string $message * @param int $userId */ public function __construct(string $message, int $userId) { $t...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/NotifyException.php
app/Exceptions/NotifyException.php
<?php namespace BookStack\Exceptions; use Exception; use Illuminate\Contracts\Support\Responsable; use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface; class NotifyException extends Exception implements Responsable, HttpExceptionInterface { public $message; public string $redirectLocation; ...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/ZipValidationException.php
app/Exceptions/ZipValidationException.php
<?php namespace BookStack\Exceptions; class ZipValidationException extends \Exception { public function __construct( public array $errors ) { parent::__construct(); } }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/HttpFetchException.php
app/Exceptions/HttpFetchException.php
<?php namespace BookStack\Exceptions; use Exception; class HttpFetchException extends Exception { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/PrettyException.php
app/Exceptions/PrettyException.php
<?php namespace BookStack\Exceptions; use Exception; use Illuminate\Contracts\Support\Responsable; use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface; class PrettyException extends Exception implements Responsable, HttpExceptionInterface { protected ?string $subtitle = null; protected ?string ...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/PermissionsException.php
app/Exceptions/PermissionsException.php
<?php namespace BookStack\Exceptions; use Exception; class PermissionsException extends Exception { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/Handler.php
app/Exceptions/Handler.php
<?php namespace BookStack\Exceptions; use Illuminate\Auth\AuthenticationException; use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; use Illuminate\Http\Exceptions\PostTooLargeException; use Illuminate\Http\JsonResponse; use Illuminate\Http\Requ...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/UserTokenNotFoundException.php
app/Exceptions/UserTokenNotFoundException.php
<?php namespace BookStack\Exceptions; class UserTokenNotFoundException extends \Exception { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/SocialSignInException.php
app/Exceptions/SocialSignInException.php
<?php namespace BookStack\Exceptions; class SocialSignInException extends NotifyException { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/UserUpdateException.php
app/Exceptions/UserUpdateException.php
<?php namespace BookStack\Exceptions; class UserUpdateException extends NotifyException { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/ImageUploadException.php
app/Exceptions/ImageUploadException.php
<?php namespace BookStack\Exceptions; class ImageUploadException extends PrettyException { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/LoginAttemptException.php
app/Exceptions/LoginAttemptException.php
<?php namespace BookStack\Exceptions; class LoginAttemptException extends \Exception { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/ZipImportException.php
app/Exceptions/ZipImportException.php
<?php namespace BookStack\Exceptions; class ZipImportException extends \Exception { public function __construct( public array $errors ) { $message = "Import failed with errors:" . implode("\n", $this->errors); parent::__construct($message); } }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/StoppedAuthenticationException.php
app/Exceptions/StoppedAuthenticationException.php
<?php namespace BookStack\Exceptions; use BookStack\Access\LoginService; use BookStack\Users\Models\User; use Illuminate\Contracts\Support\Responsable; use Illuminate\Http\Request; class StoppedAuthenticationException extends \Exception implements Responsable { public function __construct( protected User...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/MoveOperationException.php
app/Exceptions/MoveOperationException.php
<?php namespace BookStack\Exceptions; use Exception; class MoveOperationException extends Exception { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/SocialSignInAccountNotUsed.php
app/Exceptions/SocialSignInAccountNotUsed.php
<?php namespace BookStack\Exceptions; class SocialSignInAccountNotUsed extends SocialSignInException { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/LdapException.php
app/Exceptions/LdapException.php
<?php namespace BookStack\Exceptions; class LdapException extends PrettyException { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/ZipExportException.php
app/Exceptions/ZipExportException.php
<?php namespace BookStack\Exceptions; class ZipExportException extends \Exception { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/PdfExportException.php
app/Exceptions/PdfExportException.php
<?php namespace BookStack\Exceptions; class PdfExportException extends \Exception { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/SamlException.php
app/Exceptions/SamlException.php
<?php namespace BookStack\Exceptions; class SamlException extends NotifyException { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/JsonDebugException.php
app/Exceptions/JsonDebugException.php
<?php namespace BookStack\Exceptions; use Exception; use Illuminate\Http\JsonResponse; use Illuminate\Contracts\Support\Responsable; class JsonDebugException extends Exception implements Responsable { protected array $data; /** * JsonDebugException constructor. */ public function __construct(a...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/ConfirmationEmailException.php
app/Exceptions/ConfirmationEmailException.php
<?php namespace BookStack\Exceptions; class ConfirmationEmailException extends NotifyException { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/LoginAttemptEmailNeededException.php
app/Exceptions/LoginAttemptEmailNeededException.php
<?php namespace BookStack\Exceptions; class LoginAttemptEmailNeededException extends LoginAttemptException { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/ThemeException.php
app/Exceptions/ThemeException.php
<?php namespace BookStack\Exceptions; class ThemeException extends \Exception { }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Exceptions/ApiAuthException.php
app/Exceptions/ApiAuthException.php
<?php namespace BookStack\Exceptions; use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface; class ApiAuthException extends \Exception implements HttpExceptionInterface { protected int $status; public function __construct(string $message, int $statusCode = 401) { $this->status = $sta...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/HttpRequestService.php
app/Http/HttpRequestService.php
<?php namespace BookStack\Http; use GuzzleHttp\Client; use GuzzleHttp\Handler\MockHandler; use GuzzleHttp\HandlerStack; use GuzzleHttp\Middleware; use GuzzleHttp\Psr7\Request as GuzzleRequest; use GuzzleHttp\Psr7\Response; use Psr\Http\Client\ClientInterface; class HttpRequestService { protected ?HandlerStack $h...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Controller.php
app/Http/Controller.php
<?php namespace BookStack\Http; use BookStack\Activity\Models\Loggable; use BookStack\App\Model; use BookStack\Exceptions\NotifyException; use BookStack\Facades\Activity; use BookStack\Permissions\Permission; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Foundation\Validation\ValidatesRequests; use Ill...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Request.php
app/Http/Request.php
<?php namespace BookStack\Http; use Illuminate\Http\Request as LaravelRequest; class Request extends LaravelRequest { /** * Override the default request methods to get the scheme and host * to directly use the custom APP_URL, if set. */ public function getSchemeAndHttpHost(): string { ...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/RangeSupportedStream.php
app/Http/RangeSupportedStream.php
<?php namespace BookStack\Http; use BookStack\Util\WebSafeMimeSniffer; use Illuminate\Http\Request; /** * Helper wrapper for range-based stream response handling. * Much of this used symfony/http-foundation as a reference during build. * URL: https://github.com/symfony/http-foundation/blob/v6.0.20/BinaryFileRespo...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/HttpClientHistory.php
app/Http/HttpClientHistory.php
<?php namespace BookStack\Http; use GuzzleHttp\Psr7\Request as GuzzleRequest; class HttpClientHistory { public function __construct( protected &$container ) { } public function requestCount(): int { return count($this->container); } public function requestAt(int $index):...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/DownloadResponseFactory.php
app/Http/DownloadResponseFactory.php
<?php namespace BookStack\Http; use Illuminate\Http\Request; use Illuminate\Http\Response; use Symfony\Component\HttpFoundation\StreamedResponse; class DownloadResponseFactory { public function __construct( protected Request $request, ) { } /** * Create a response that directly forces a...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Kernel.php
app/Http/Kernel.php
<?php namespace BookStack\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * These middleware are run during every request to your application. * * @var list<class-string> */ protected $...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/ApiController.php
app/Http/ApiController.php
<?php namespace BookStack\Http; use BookStack\Api\ListingResponseBuilder; use Illuminate\Database\Eloquent\Builder; use Illuminate\Http\JsonResponse; abstract class ApiController extends Controller { /** * The validation rules for this controller. * Can alternative be defined in a rules() method is the...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/ApiAuthenticate.php
app/Http/Middleware/ApiAuthenticate.php
<?php namespace BookStack\Http\Middleware; use BookStack\Exceptions\ApiAuthException; use BookStack\Permissions\Permission; use Closure; use Illuminate\Http\Request; class ApiAuthenticate { /** * Handle an incoming request. * * @throws ApiAuthException */ public function handle(Request $r...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/Localization.php
app/Http/Middleware/Localization.php
<?php namespace BookStack\Http\Middleware; use BookStack\Translation\LocaleManager; use Closure; class Localization { public function __construct( protected LocaleManager $localeManager ) { } /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request *...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/CheckEmailConfirmed.php
app/Http/Middleware/CheckEmailConfirmed.php
<?php namespace BookStack\Http\Middleware; use BookStack\Access\EmailConfirmationService; use BookStack\Users\Models\User; use Closure; /** * Check that the user's email address is confirmed. * * As of v21.08 this is technically not required but kept as a prevention * to log out any users that may be logged in b...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/RunThemeActions.php
app/Http/Middleware/RunThemeActions.php
<?php namespace BookStack\Http\Middleware; use BookStack\Facades\Theme; use BookStack\Theming\ThemeEvents; use Closure; class RunThemeActions { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * * @return mixed ...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/Authenticate.php
app/Http/Middleware/Authenticate.php
<?php namespace BookStack\Http\Middleware; use Closure; use Illuminate\Http\Request; class Authenticate { /** * Handle an incoming request. */ public function handle(Request $request, Closure $next) { if (!user()->hasAppAccess()) { if ($request->ajax()) { ret...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/RedirectIfAuthenticated.php
app/Http/Middleware/RedirectIfAuthenticated.php
<?php namespace BookStack\Http\Middleware; use BookStack\App\Providers\RouteServiceProvider; use Closure; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Symfony\Component\HttpFoundation\Response; class RedirectIfAuthenticated { /** * Handle an incoming request. * * @param Cl...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/ThrottleApiRequests.php
app/Http/Middleware/ThrottleApiRequests.php
<?php namespace BookStack\Http\Middleware; use Illuminate\Routing\Middleware\ThrottleRequests as Middleware; class ThrottleApiRequests extends Middleware { /** * Resolve the number of attempts if the user is authenticated or not. */ protected function resolveMaxAttempts($request, $maxAttempts): int...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/TrustProxies.php
app/Http/Middleware/TrustProxies.php
<?php namespace BookStack\Http\Middleware; use Closure; use Illuminate\Http\Middleware\TrustProxies as Middleware; use Illuminate\Http\Request; class TrustProxies extends Middleware { /** * The trusted proxies for this application. * * @var array<int,string>|string|null */ protected $prox...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/PreventResponseCaching.php
app/Http/Middleware/PreventResponseCaching.php
<?php namespace BookStack\Http\Middleware; use Closure; use Symfony\Component\HttpFoundation\Response; class PreventResponseCaching { /** * Paths to ignore when preventing response caching. */ protected array $ignoredPathPrefixes = [ 'theme/', ]; /** * Handle an incoming reque...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/AuthenticatedOrPendingMfa.php
app/Http/Middleware/AuthenticatedOrPendingMfa.php
<?php namespace BookStack\Http\Middleware; use BookStack\Access\LoginService; use BookStack\Access\Mfa\MfaSession; use Closure; class AuthenticatedOrPendingMfa { protected $loginService; protected $mfaSession; public function __construct(LoginService $loginService, MfaSession $mfaSession) { ...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/CheckUserHasPermission.php
app/Http/Middleware/CheckUserHasPermission.php
<?php namespace BookStack\Http\Middleware; use BookStack\Permissions\Permission; use Closure; use Illuminate\Http\Request; class CheckUserHasPermission { /** * Handle an incoming request. * * @return mixed */ public function handle(Request $request, Closure $next, string|Permission $permi...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/ApplyCspRules.php
app/Http/Middleware/ApplyCspRules.php
<?php namespace BookStack\Http\Middleware; use BookStack\Util\CspService; use Closure; use Illuminate\Http\Request; class ApplyCspRules { protected CspService $cspService; public function __construct(CspService $cspService) { $this->cspService = $cspService; } /** * Handle an incom...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/CheckGuard.php
app/Http/Middleware/CheckGuard.php
<?php namespace BookStack\Http\Middleware; use Closure; class CheckGuard { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @param string $allowedGuards * * @return mixed */ publi...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/PreventRequestsDuringMaintenance.php
app/Http/Middleware/PreventRequestsDuringMaintenance.php
<?php namespace BookStack\Http\Middleware; use Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance as Middleware; class PreventRequestsDuringMaintenance extends Middleware { /** * The URIs that should be reachable while maintenance mode is enabled. * * @var array<int, string> ...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/TrimStrings.php
app/Http/Middleware/TrimStrings.php
<?php namespace BookStack\Http\Middleware; use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware; class TrimStrings extends Middleware { /** * The names of the attributes that should not be trimmed. * * @var array<int, string> */ protected $except = [ 'password', ...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/StartSessionExtended.php
app/Http/Middleware/StartSessionExtended.php
<?php namespace BookStack\Http\Middleware; use Illuminate\Http\Request; use Illuminate\Session\Middleware\StartSession as Middleware; /** * An extended version of the default Laravel "StartSession" middleware * with customizations applied as required: * * - Adds filtering for the request URLs stored in session h...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/TrustHosts.php
app/Http/Middleware/TrustHosts.php
<?php namespace BookStack\Http\Middleware; use Illuminate\Http\Middleware\TrustHosts as Middleware; class TrustHosts extends Middleware { /** * Get the host patterns that should be trusted. * * @return array<int, string|null> */ public function hosts(): array { return [ ...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/StartSessionIfCookieExists.php
app/Http/Middleware/StartSessionIfCookieExists.php
<?php namespace BookStack\Http\Middleware; use Closure; use Illuminate\Session\Middleware\StartSession as Middleware; class StartSessionIfCookieExists extends Middleware { /** * Handle an incoming request. */ public function handle($request, Closure $next) { $sessionCookieName = config(...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/EncryptCookies.php
app/Http/Middleware/EncryptCookies.php
<?php namespace BookStack\Http\Middleware; use Illuminate\Cookie\Middleware\EncryptCookies as Middleware; class EncryptCookies extends Middleware { /** * The names of the cookies that should not be encrypted. * * @var array<int, string> */ protected $except = [ // ]; }
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Http/Middleware/VerifyCsrfToken.php
app/Http/Middleware/VerifyCsrfToken.php
<?php namespace BookStack\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; class VerifyCsrfToken extends Middleware { /** * Indicates whether the XSRF-TOKEN cookie should be set on the response. * * @var bool */ protected $addHttpCookie = true; ...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Translation/LocaleManager.php
app/Translation/LocaleManager.php
<?php namespace BookStack\Translation; use BookStack\Users\Models\User; use Illuminate\Http\Request; class LocaleManager { /** * Array of right-to-left locale options. */ protected array $rtlLocales = ['ar', 'fa', 'he']; /** * Map of BookStack locale names to best-estimate ISO locale name...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Translation/FileLoader.php
app/Translation/FileLoader.php
<?php namespace BookStack\Translation; use Illuminate\Translation\FileLoader as BaseLoader; class FileLoader extends BaseLoader { /** * Load the messages for the given locale. * * Extends Laravel's translation FileLoader to look in multiple directories * so that we can load in translation ove...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Translation/MessageSelector.php
app/Translation/MessageSelector.php
<?php namespace BookStack\Translation; use Illuminate\Translation\MessageSelector as BaseClass; /** * This is a customization of the default Laravel MessageSelector class to tweak pluralization, * so that is uses just the first part of the locale string to provide support with * non-standard locales such as "de_i...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Translation/LocaleDefinition.php
app/Translation/LocaleDefinition.php
<?php namespace BookStack\Translation; class LocaleDefinition { public function __construct( protected string $appName, protected string $isoName, protected bool $isRtl ) { } /** * Provide the BookStack-specific locale name. */ public function appLocale(): string...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Activity/ActivityType.php
app/Activity/ActivityType.php
<?php namespace BookStack\Activity; class ActivityType { const PAGE_CREATE = 'page_create'; const PAGE_UPDATE = 'page_update'; const PAGE_DELETE = 'page_delete'; const PAGE_RESTORE = 'page_restore'; const PAGE_MOVE = 'page_move'; const CHAPTER_CREATE = 'chapter_create'; const CHAPTER_UPDA...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Activity/DispatchWebhookJob.php
app/Activity/DispatchWebhookJob.php
<?php namespace BookStack\Activity; use BookStack\Activity\Models\Loggable; use BookStack\Activity\Models\Webhook; use BookStack\Activity\Tools\WebhookFormatter; use BookStack\Facades\Theme; use BookStack\Http\HttpRequestService; use BookStack\Theming\ThemeEvents; use BookStack\Users\Models\User; use BookStack\Util\S...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Activity/CommentRepo.php
app/Activity/CommentRepo.php
<?php namespace BookStack\Activity; use BookStack\Activity\Models\Comment; use BookStack\Entities\Models\Entity; use BookStack\Entities\Models\Page; use BookStack\Exceptions\NotifyException; use BookStack\Facades\Activity as ActivityService; use BookStack\Util\HtmlDescriptionFilter; use Illuminate\Database\Eloquent\B...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Activity/TagRepo.php
app/Activity/TagRepo.php
<?php namespace BookStack\Activity; use BookStack\Activity\Models\Tag; use BookStack\Entities\Models\Entity; use BookStack\Permissions\PermissionApplicator; use BookStack\Util\SimpleListOptions; use Illuminate\Database\Eloquent\Builder; use Illuminate\Support\Collection; use Illuminate\Support\Facades\DB; class TagR...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Activity/WatchLevels.php
app/Activity/WatchLevels.php
<?php namespace BookStack\Activity; use BookStack\Entities\Models\Bookshelf; use BookStack\Entities\Models\Entity; use BookStack\Entities\Models\Page; class WatchLevels { /** * Default level, No specific option set * Typically not a stored status */ const DEFAULT = -1; /** * Ignore a...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Activity/ActivityQueries.php
app/Activity/ActivityQueries.php
<?php namespace BookStack\Activity; use BookStack\Activity\Models\Activity; use BookStack\Entities\Models\Book; use BookStack\Entities\Models\Chapter; use BookStack\Entities\Models\Entity; use BookStack\Entities\Models\Page; use BookStack\Entities\Tools\MixedEntityListLoader; use BookStack\Permissions\PermissionAppli...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Activity/Controllers/AuditLogController.php
app/Activity/Controllers/AuditLogController.php
<?php namespace BookStack\Activity\Controllers; use BookStack\Activity\ActivityType; use BookStack\Activity\Models\Activity; use BookStack\Http\Controller; use BookStack\Permissions\Permission; use BookStack\Sorting\SortUrl; use BookStack\Util\SimpleListOptions; use Illuminate\Http\Request; class AuditLogController ...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Activity/Controllers/AuditLogApiController.php
app/Activity/Controllers/AuditLogApiController.php
<?php namespace BookStack\Activity\Controllers; use BookStack\Activity\Models\Activity; use BookStack\Http\ApiController; use BookStack\Permissions\Permission; class AuditLogApiController extends ApiController { /** * Get a listing of audit log events in the system. * The loggable relation fields curre...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Activity/Controllers/CommentController.php
app/Activity/Controllers/CommentController.php
<?php namespace BookStack\Activity\Controllers; use BookStack\Activity\CommentRepo; use BookStack\Activity\Tools\CommentTree; use BookStack\Activity\Tools\CommentTreeNode; use BookStack\Entities\Queries\PageQueries; use BookStack\Http\Controller; use BookStack\Permissions\Permission; use Illuminate\Http\Request; use ...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Activity/Controllers/WatchController.php
app/Activity/Controllers/WatchController.php
<?php namespace BookStack\Activity\Controllers; use BookStack\Activity\Tools\UserEntityWatchOptions; use BookStack\Entities\Tools\MixedEntityRequestHelper; use BookStack\Http\Controller; use BookStack\Permissions\Permission; use Illuminate\Http\Request; class WatchController extends Controller { public function ...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Activity/Controllers/CommentApiController.php
app/Activity/Controllers/CommentApiController.php
<?php declare(strict_types=1); namespace BookStack\Activity\Controllers; use BookStack\Activity\CommentRepo; use BookStack\Activity\Models\Comment; use BookStack\Entities\Queries\PageQueries; use BookStack\Http\ApiController; use BookStack\Permissions\Permission; use Illuminate\Http\JsonResponse; use Illuminate\Http...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false
BookStackApp/BookStack
https://github.com/BookStackApp/BookStack/blob/e6b754fad029d6c35e139b907d04e6510775997b/app/Activity/Controllers/WebhookController.php
app/Activity/Controllers/WebhookController.php
<?php namespace BookStack\Activity\Controllers; use BookStack\Activity\ActivityType; use BookStack\Activity\Models\Webhook; use BookStack\Activity\Queries\WebhooksAllPaginatedAndSorted; use BookStack\Http\Controller; use BookStack\Permissions\Permission; use BookStack\Util\SimpleListOptions; use Illuminate\Http\Reque...
php
MIT
e6b754fad029d6c35e139b907d04e6510775997b
2026-01-04T15:02:34.418809Z
false