diff --git a/.gitignore b/.gitignore
index 83b754c04..5f41a864e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,4 +13,11 @@ _ide_helper.php
/storage/debugbar
.phpstorm.meta.php
yarn.lock
-/bin
\ No newline at end of file
+/bin
+.buildpath
+
+.project
+
+.settings/org.eclipse.wst.common.project.facet.core.xml
+
+.settings/org.eclipse.php.core.prefs
diff --git a/.travis.yml b/.travis.yml
index 0ad753ced..909e3e1f4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,5 @@
dist: trusty
-sudo: required
+sudo: false
language: php
php:
- 7.0
@@ -8,15 +8,11 @@ cache:
directories:
- $HOME/.composer/cache
-addons:
- apt:
- packages:
- - mysql-server-5.6
- - mysql-client-core-5.6
- - mysql-client-5.6
-
before_script:
- mysql -u root -e 'create database `bookstack-test`;'
+ - mysql -u root -e "CREATE USER 'bookstack-test'@'localhost' IDENTIFIED BY 'bookstack-test';"
+ - mysql -u root -e "GRANT ALL ON \`bookstack-test\`.* TO 'bookstack-test'@'localhost';"
+ - mysql -u root -e "FLUSH PRIVILEGES;"
- phpenv config-rm xdebug.ini
- composer dump-autoload --no-interaction
- composer install --prefer-dist --no-interaction
@@ -25,5 +21,8 @@ before_script:
- php artisan migrate --force -n --database=mysql_testing
- php artisan db:seed --force -n --class=DummyContentSeeder --database=mysql_testing
+after_failure:
+ - cat storage/logs/laravel.log
+
script:
- phpunit
\ No newline at end of file
diff --git a/app/Console/Commands/ClearActivity.php b/app/Console/Commands/ClearActivity.php
new file mode 100644
index 000000000..66babd9a9
--- /dev/null
+++ b/app/Console/Commands/ClearActivity.php
@@ -0,0 +1,47 @@
+activity = $activity;
+ parent::__construct();
+ }
+
+ /**
+ * Execute the console command.
+ *
+ * @return mixed
+ */
+ public function handle()
+ {
+ $this->activity->newQuery()->truncate();
+ $this->comment('System activity cleared');
+ }
+}
diff --git a/app/Console/Commands/ClearRevisions.php b/app/Console/Commands/ClearRevisions.php
new file mode 100644
index 000000000..f0c8a5e85
--- /dev/null
+++ b/app/Console/Commands/ClearRevisions.php
@@ -0,0 +1,50 @@
+pageRevision = $pageRevision;
+ parent::__construct();
+ }
+
+ /**
+ * Execute the console command.
+ *
+ * @return mixed
+ */
+ public function handle()
+ {
+ $deleteTypes = $this->option('all') ? ['version', 'update_draft'] : ['version'];
+ $this->pageRevision->newQuery()->whereIn('type', $deleteTypes)->delete();
+ $this->comment('Revisions deleted');
+ }
+}
diff --git a/app/Console/Commands/ResetViews.php b/app/Console/Commands/ClearViews.php
similarity index 74%
rename from app/Console/Commands/ResetViews.php
rename to app/Console/Commands/ClearViews.php
index 3a3903ff8..678c64d33 100644
--- a/app/Console/Commands/ResetViews.php
+++ b/app/Console/Commands/ClearViews.php
@@ -4,21 +4,21 @@ namespace BookStack\Console\Commands;
use Illuminate\Console\Command;
-class ResetViews extends Command
+class ClearViews extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
- protected $signature = 'views:reset';
+ protected $signature = 'bookstack:clear-views';
/**
* The console command description.
*
* @var string
*/
- protected $description = 'Reset all view-counts for all entities.';
+ protected $description = 'Clear all view-counts for all entities.';
/**
* Create a new command instance.
@@ -37,5 +37,6 @@ class ResetViews extends Command
public function handle()
{
\Views::resetAll();
+ $this->comment('Views cleared');
}
}
diff --git a/app/Console/Commands/Inspire.php b/app/Console/Commands/Inspire.php
deleted file mode 100644
index 4b115cfb9..000000000
--- a/app/Console/Commands/Inspire.php
+++ /dev/null
@@ -1,33 +0,0 @@
-comment(PHP_EOL.Inspiring::quote().PHP_EOL);
- }
-}
diff --git a/app/Console/Commands/RegeneratePermissions.php b/app/Console/Commands/RegeneratePermissions.php
index 60d5f4e45..966ee4a82 100644
--- a/app/Console/Commands/RegeneratePermissions.php
+++ b/app/Console/Commands/RegeneratePermissions.php
@@ -12,7 +12,7 @@ class RegeneratePermissions extends Command
*
* @var string
*/
- protected $signature = 'permissions:regen';
+ protected $signature = 'bookstack:regenerate-permissions';
/**
* The console command description.
@@ -47,5 +47,6 @@ class RegeneratePermissions extends Command
public function handle()
{
$this->permissionService->buildJointPermissions();
+ $this->comment('Permissions regenerated');
}
}
diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php
index b725c9e21..0112e72ca 100644
--- a/app/Console/Kernel.php
+++ b/app/Console/Kernel.php
@@ -13,8 +13,9 @@ class Kernel extends ConsoleKernel
* @var array
*/
protected $commands = [
- \BookStack\Console\Commands\Inspire::class,
- \BookStack\Console\Commands\ResetViews::class,
+ \BookStack\Console\Commands\ClearViews::class,
+ \BookStack\Console\Commands\ClearActivity::class,
+ \BookStack\Console\Commands\ClearRevisions::class,
\BookStack\Console\Commands\RegeneratePermissions::class,
];
@@ -26,7 +27,6 @@ class Kernel extends ConsoleKernel
*/
protected function schedule(Schedule $schedule)
{
- $schedule->command('inspire')
- ->hourly();
+ //
}
}
diff --git a/app/Http/Controllers/BookController.php b/app/Http/Controllers/BookController.php
index 408192ff9..fe9ece5b2 100644
--- a/app/Http/Controllers/BookController.php
+++ b/app/Http/Controllers/BookController.php
@@ -3,6 +3,7 @@
use Activity;
use BookStack\Repos\EntityRepo;
use BookStack\Repos\UserRepo;
+use BookStack\Services\ExportService;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Views;
@@ -12,16 +13,19 @@ class BookController extends Controller
protected $entityRepo;
protected $userRepo;
+ protected $exportService;
/**
* BookController constructor.
* @param EntityRepo $entityRepo
* @param UserRepo $userRepo
+ * @param ExportService $exportService
*/
- public function __construct(EntityRepo $entityRepo, UserRepo $userRepo)
+ public function __construct(EntityRepo $entityRepo, UserRepo $userRepo, ExportService $exportService)
{
$this->entityRepo = $entityRepo;
$this->userRepo = $userRepo;
+ $this->exportService = $exportService;
parent::__construct();
}
@@ -258,4 +262,49 @@ class BookController extends Controller
session()->flash('success', trans('entities.books_permissions_updated'));
return redirect($book->getUrl());
}
+
+ /**
+ * Export a book as a PDF file.
+ * @param string $bookSlug
+ * @return mixed
+ */
+ public function exportPdf($bookSlug)
+ {
+ $book = $this->entityRepo->getBySlug('book', $bookSlug);
+ $pdfContent = $this->exportService->bookToPdf($book);
+ return response()->make($pdfContent, 200, [
+ 'Content-Type' => 'application/octet-stream',
+ 'Content-Disposition' => 'attachment; filename="' . $bookSlug . '.pdf'
+ ]);
+ }
+
+ /**
+ * Export a book as a contained HTML file.
+ * @param string $bookSlug
+ * @return mixed
+ */
+ public function exportHtml($bookSlug)
+ {
+ $book = $this->entityRepo->getBySlug('book', $bookSlug);
+ $htmlContent = $this->exportService->bookToContainedHtml($book);
+ return response()->make($htmlContent, 200, [
+ 'Content-Type' => 'application/octet-stream',
+ 'Content-Disposition' => 'attachment; filename="' . $bookSlug . '.html'
+ ]);
+ }
+
+ /**
+ * Export a book as a plain text file.
+ * @param $bookSlug
+ * @return mixed
+ */
+ public function exportPlainText($bookSlug)
+ {
+ $book = $this->entityRepo->getBySlug('book', $bookSlug);
+ $htmlContent = $this->exportService->bookToPlainText($book);
+ return response()->make($htmlContent, 200, [
+ 'Content-Type' => 'application/octet-stream',
+ 'Content-Disposition' => 'attachment; filename="' . $bookSlug . '.txt'
+ ]);
+ }
}
diff --git a/app/Http/Controllers/ChapterController.php b/app/Http/Controllers/ChapterController.php
index 1760ee5c6..ceeb2a3ef 100644
--- a/app/Http/Controllers/ChapterController.php
+++ b/app/Http/Controllers/ChapterController.php
@@ -3,6 +3,7 @@
use Activity;
use BookStack\Repos\EntityRepo;
use BookStack\Repos\UserRepo;
+use BookStack\Services\ExportService;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Views;
@@ -12,16 +13,19 @@ class ChapterController extends Controller
protected $userRepo;
protected $entityRepo;
+ protected $exportService;
/**
* ChapterController constructor.
* @param EntityRepo $entityRepo
* @param UserRepo $userRepo
+ * @param ExportService $exportService
*/
- public function __construct(EntityRepo $entityRepo, UserRepo $userRepo)
+ public function __construct(EntityRepo $entityRepo, UserRepo $userRepo, ExportService $exportService)
{
$this->entityRepo = $entityRepo;
$this->userRepo = $userRepo;
+ $this->exportService = $exportService;
parent::__construct();
}
@@ -236,4 +240,52 @@ class ChapterController extends Controller
session()->flash('success', trans('entities.chapters_permissions_success'));
return redirect($chapter->getUrl());
}
+
+ /**
+ * Exports a chapter to pdf .
+ * @param string $bookSlug
+ * @param string $chapterSlug
+ * @return \Illuminate\Http\Response
+ */
+ public function exportPdf($bookSlug, $chapterSlug)
+ {
+ $chapter = $this->entityRepo->getBySlug('chapter', $chapterSlug, $bookSlug);
+ $pdfContent = $this->exportService->chapterToPdf($chapter);
+ return response()->make($pdfContent, 200, [
+ 'Content-Type' => 'application/octet-stream',
+ 'Content-Disposition' => 'attachment; filename="' . $chapterSlug . '.pdf'
+ ]);
+ }
+
+ /**
+ * Export a chapter to a self-contained HTML file.
+ * @param string $bookSlug
+ * @param string $chapterSlug
+ * @return \Illuminate\Http\Response
+ */
+ public function exportHtml($bookSlug, $chapterSlug)
+ {
+ $chapter = $this->entityRepo->getBySlug('chapter', $chapterSlug, $bookSlug);
+ $containedHtml = $this->exportService->chapterToContainedHtml($chapter);
+ return response()->make($containedHtml, 200, [
+ 'Content-Type' => 'application/octet-stream',
+ 'Content-Disposition' => 'attachment; filename="' . $chapterSlug . '.html'
+ ]);
+ }
+
+ /**
+ * Export a chapter to a simple plaintext .txt file.
+ * @param string $bookSlug
+ * @param string $chapterSlug
+ * @return \Illuminate\Http\Response
+ */
+ public function exportPlainText($bookSlug, $chapterSlug)
+ {
+ $chapter = $this->entityRepo->getBySlug('chapter', $chapterSlug, $bookSlug);
+ $containedHtml = $this->exportService->chapterToPlainText($chapter);
+ return response()->make($containedHtml, 200, [
+ 'Content-Type' => 'application/octet-stream',
+ 'Content-Disposition' => 'attachment; filename="' . $chapterSlug . '.txt'
+ ]);
+ }
}
diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php
index f4706a5c4..7892fe8ae 100644
--- a/app/Http/Controllers/HomeController.php
+++ b/app/Http/Controllers/HomeController.php
@@ -1,10 +1,7 @@
- trans('common', [], null, 'en'),
- 'components' => trans('components', [], null, 'en'),
- 'entities' => trans('entities', [], null, 'en'),
- 'errors' => trans('errors', [], null, 'en')
+ 'common' => trans('common', [], 'en'),
+ 'components' => trans('components', [], 'en'),
+ 'entities' => trans('entities', [], 'en'),
+ 'errors' => trans('errors', [], 'en')
];
$translations = array_replace_recursive($enTrans, $translations);
}
diff --git a/app/Http/Controllers/PageController.php b/app/Http/Controllers/PageController.php
index 4ed10d61e..c97597bc4 100644
--- a/app/Http/Controllers/PageController.php
+++ b/app/Http/Controllers/PageController.php
@@ -369,10 +369,13 @@ class PageController extends Controller
public function showRevision($bookSlug, $pageSlug, $revisionId)
{
$page = $this->entityRepo->getBySlug('page', $pageSlug, $bookSlug);
- $revision = $this->entityRepo->getById('page_revision', $revisionId, false);
+ $revision = $page->revisions()->where('id', '=', $revisionId)->first();
+ if ($revision === null) {
+ abort(404);
+ }
$page->fill($revision->toArray());
- $this->setPageTitle(trans('entities.pages_revision_named', ['pageName'=>$page->getShortName()]));
+ $this->setPageTitle(trans('entities.pages_revision_named', ['pageName' => $page->getShortName()]));
return view('pages/revision', [
'page' => $page,
@@ -390,7 +393,10 @@ class PageController extends Controller
public function showRevisionChanges($bookSlug, $pageSlug, $revisionId)
{
$page = $this->entityRepo->getBySlug('page', $pageSlug, $bookSlug);
- $revision = $this->entityRepo->getById('page_revision', $revisionId);
+ $revision = $page->revisions()->where('id', '=', $revisionId)->first();
+ if ($revision === null) {
+ abort(404);
+ }
$prev = $revision->getPrevious();
$prevContent = ($prev === null) ? '' : $prev->html;
@@ -423,7 +429,7 @@ class PageController extends Controller
}
/**
- * Exports a page to pdf format using barryvdh/laravel-dompdf wrapper.
+ * Exports a page to a PDF.
* https://github.com/barryvdh/laravel-dompdf
* @param string $bookSlug
* @param string $pageSlug
@@ -433,7 +439,6 @@ class PageController extends Controller
{
$page = $this->entityRepo->getBySlug('page', $pageSlug, $bookSlug);
$pdfContent = $this->exportService->pageToPdf($page);
-// return $pdfContent;
return response()->make($pdfContent, 200, [
'Content-Type' => 'application/octet-stream',
'Content-Disposition' => 'attachment; filename="' . $pageSlug . '.pdf'
diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php
index c55cc9ab8..839590c95 100644
--- a/app/Http/Kernel.php
+++ b/app/Http/Kernel.php
@@ -13,6 +13,8 @@ class Kernel extends HttpKernel
*/
protected $middleware = [
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
+ \Illuminate\Session\Middleware\StartSession::class,
+ \Illuminate\View\Middleware\ShareErrorsFromSession::class,
];
/**
@@ -24,8 +26,6 @@ class Kernel extends HttpKernel
'web' => [
\BookStack\Http\Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
- \Illuminate\Session\Middleware\StartSession::class,
- \Illuminate\View\Middleware\ShareErrorsFromSession::class,
\BookStack\Http\Middleware\VerifyCsrfToken::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
\BookStack\Http\Middleware\Localization::class
diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php
index 118271f51..49cc15dd6 100644
--- a/app/Providers/AppServiceProvider.php
+++ b/app/Providers/AppServiceProvider.php
@@ -1,5 +1,7 @@
app->singleton(SettingService::class, function($app) {
+ return new SettingService($app->make(Setting::class), $app->make('Illuminate\Contracts\Cache\Repository'));
+ });
}
}
diff --git a/app/Repos/EntityRepo.php b/app/Repos/EntityRepo.php
index 8a8740d76..8f4b533ff 100644
--- a/app/Repos/EntityRepo.php
+++ b/app/Repos/EntityRepo.php
@@ -86,8 +86,7 @@ class EntityRepo
$this->entities = [
'page' => $this->page,
'chapter' => $this->chapter,
- 'book' => $this->book,
- 'page_revision' => $this->pageRevision
+ 'book' => $this->book
];
$this->viewService = $viewService;
$this->permissionService = $permissionService;
@@ -314,11 +313,12 @@ class EntityRepo
* Loads the book slug onto child elements to prevent access database access for getting the slug.
* @param Book $book
* @param bool $filterDrafts
+ * @param bool $renderPages
* @return mixed
*/
- public function getBookChildren(Book $book, $filterDrafts = false)
+ public function getBookChildren(Book $book, $filterDrafts = false, $renderPages = false)
{
- $q = $this->permissionService->bookChildrenQuery($book->id, $filterDrafts)->get();
+ $q = $this->permissionService->bookChildrenQuery($book->id, $filterDrafts, $renderPages)->get();
$entities = [];
$parents = [];
$tree = [];
@@ -326,6 +326,10 @@ class EntityRepo
foreach ($q as $index => $rawEntity) {
if ($rawEntity->entity_type === 'BookStack\\Page') {
$entities[$index] = $this->page->newFromBuilder($rawEntity);
+ if ($renderPages) {
+ $entities[$index]->html = $rawEntity->description;
+ $entities[$index]->html = $this->renderPage($entities[$index]);
+ };
} else if ($rawEntity->entity_type === 'BookStack\\Chapter') {
$entities[$index] = $this->chapter->newFromBuilder($rawEntity);
$key = $entities[$index]->entity_type . ':' . $entities[$index]->id;
@@ -1054,7 +1058,7 @@ class EntityRepo
public function restorePageRevision(Page $page, Book $book, $revisionId)
{
$this->savePageRevision($page);
- $revision = $this->getById('page_revision', $revisionId);
+ $revision = $page->revisions()->where('id', '=', $revisionId)->first();
$page->fill($revision->toArray());
$page->slug = $this->findSuitableSlug('page', $page->name, $page->id, $book->id);
$page->text = strip_tags($page->html);
diff --git a/app/Services/ExportService.php b/app/Services/ExportService.php
index 880bc54ad..78cef41a4 100644
--- a/app/Services/ExportService.php
+++ b/app/Services/ExportService.php
@@ -1,5 +1,7 @@
$page, 'pageContent' => $this->entityRepo->renderPage($page), 'css' => $cssContent])->render();
+ $pageHtml = view('pages/export', [
+ 'page' => $page,
+ 'pageContent' => $this->entityRepo->renderPage($page)
+ ])->render();
return $this->containHtml($pageHtml);
}
/**
- * Convert a page to a pdf file.
+ * Convert a chapter to a self-contained HTML file.
+ * @param Chapter $chapter
+ * @return mixed|string
+ */
+ public function chapterToContainedHtml(Chapter $chapter)
+ {
+ $pages = $this->entityRepo->getChapterChildren($chapter);
+ $pages->each(function($page) {
+ $page->html = $this->entityRepo->renderPage($page);
+ });
+ $html = view('chapters/export', [
+ 'chapter' => $chapter,
+ 'pages' => $pages
+ ])->render();
+ return $this->containHtml($html);
+ }
+
+ /**
+ * Convert a book to a self-contained HTML file.
+ * @param Book $book
+ * @return mixed|string
+ */
+ public function bookToContainedHtml(Book $book)
+ {
+ $bookTree = $this->entityRepo->getBookChildren($book, true, true);
+ $html = view('books/export', [
+ 'book' => $book,
+ 'bookChildren' => $bookTree
+ ])->render();
+ return $this->containHtml($html);
+ }
+
+ /**
+ * Convert a page to a PDF file.
* @param Page $page
* @return mixed|string
*/
public function pageToPdf(Page $page)
{
- $cssContent = file_get_contents(public_path('/css/export-styles.css'));
- $pageHtml = view('pages/pdf', ['page' => $page, 'pageContent' => $this->entityRepo->renderPage($page), 'css' => $cssContent])->render();
-// return $pageHtml;
+ $html = view('pages/pdf', [
+ 'page' => $page,
+ 'pageContent' => $this->entityRepo->renderPage($page)
+ ])->render();
+ return $this->htmlToPdf($html);
+ }
+
+ /**
+ * Convert a chapter to a PDF file.
+ * @param Chapter $chapter
+ * @return mixed|string
+ */
+ public function chapterToPdf(Chapter $chapter)
+ {
+ $pages = $this->entityRepo->getChapterChildren($chapter);
+ $pages->each(function($page) {
+ $page->html = $this->entityRepo->renderPage($page);
+ });
+ $html = view('chapters/export', [
+ 'chapter' => $chapter,
+ 'pages' => $pages
+ ])->render();
+ return $this->htmlToPdf($html);
+ }
+
+ /**
+ * Convert a book to a PDF file
+ * @param Book $book
+ * @return string
+ */
+ public function bookToPdf(Book $book)
+ {
+ $bookTree = $this->entityRepo->getBookChildren($book, true, true);
+ $html = view('books/export', [
+ 'book' => $book,
+ 'bookChildren' => $bookTree
+ ])->render();
+ return $this->htmlToPdf($html);
+ }
+
+ /**
+ * Convert normal webpage HTML to a PDF.
+ * @param $html
+ * @return string
+ */
+ protected function htmlToPdf($html)
+ {
+ $containedHtml = $this->containHtml($html);
$useWKHTML = config('snappy.pdf.binary') !== false;
- $containedHtml = $this->containHtml($pageHtml);
if ($useWKHTML) {
$pdf = \SnappyPDF::loadHTML($containedHtml);
+ $pdf->setOption('print-media-type', true);
} else {
$pdf = \PDF::loadHTML($containedHtml);
}
@@ -123,6 +205,40 @@ class ExportService
return $text;
}
+ /**
+ * Convert a chapter into a plain text string.
+ * @param Chapter $chapter
+ * @return string
+ */
+ public function chapterToPlainText(Chapter $chapter)
+ {
+ $text = $chapter->name . "\n\n";
+ $text .= $chapter->description . "\n\n";
+ foreach ($chapter->pages as $page) {
+ $text .= $this->pageToPlainText($page);
+ }
+ return $text;
+ }
+
+ /**
+ * Convert a book into a plain text string.
+ * @param Book $book
+ * @return string
+ */
+ public function bookToPlainText(Book $book)
+ {
+ $bookTree = $this->entityRepo->getBookChildren($book, true, true);
+ $text = $book->name . "\n\n";
+ foreach ($bookTree as $bookChild) {
+ if ($bookChild->isA('chapter')) {
+ $text .= $this->chapterToPlainText($bookChild);
+ } else {
+ $text .= $this->pageToPlainText($bookChild);
+ }
+ }
+ return $text;
+ }
+
}
diff --git a/app/Services/LdapService.php b/app/Services/LdapService.php
index f8a4b88bb..71dc9c0e1 100644
--- a/app/Services/LdapService.php
+++ b/app/Services/LdapService.php
@@ -41,7 +41,8 @@ class LdapService
// Find user
$userFilter = $this->buildFilter($this->config['user_filter'], ['user' => $userName]);
$baseDn = $this->config['base_dn'];
- $users = $this->ldap->searchAndGetEntries($ldapConnection, $baseDn, $userFilter, ['cn', 'uid', 'dn', 'mail']);
+ $emailAttr = $this->config['email_attribute'];
+ $users = $this->ldap->searchAndGetEntries($ldapConnection, $baseDn, $userFilter, ['cn', 'uid', 'dn', $emailAttr]);
if ($users['count'] === 0) return null;
$user = $users[0];
@@ -49,7 +50,7 @@ class LdapService
'uid' => (isset($user['uid'])) ? $user['uid'][0] : $user['dn'],
'name' => $user['cn'][0],
'dn' => $user['dn'],
- 'email' => (isset($user['mail'])) ? $user['mail'][0] : null
+ 'email' => (isset($user[$emailAttr])) ? (is_array($user[$emailAttr]) ? $user[$emailAttr][0] : $user[$emailAttr]) : null
];
}
diff --git a/app/Services/PermissionService.php b/app/Services/PermissionService.php
index 72a810b6b..8b47e1246 100644
--- a/app/Services/PermissionService.php
+++ b/app/Services/PermissionService.php
@@ -474,11 +474,13 @@ class PermissionService
/**
* Get the children of a book in an efficient single query, Filtered by the permission system.
* @param integer $book_id
- * @param bool $filterDrafts
+ * @param bool $filterDrafts
+ * @param bool $fetchPageContent
* @return \Illuminate\Database\Query\Builder
*/
- public function bookChildrenQuery($book_id, $filterDrafts = false) {
- $pageSelect = $this->db->table('pages')->selectRaw("'BookStack\\\\Page' as entity_type, id, slug, name, text, '' as description, book_id, priority, chapter_id, draft")->where('book_id', '=', $book_id)->where(function($query) use ($filterDrafts) {
+ public function bookChildrenQuery($book_id, $filterDrafts = false, $fetchPageContent = false) {
+ $pageContentSelect = $fetchPageContent ? 'html' : "''";
+ $pageSelect = $this->db->table('pages')->selectRaw("'BookStack\\\\Page' as entity_type, id, slug, name, text, {$pageContentSelect} as description, book_id, priority, chapter_id, draft")->where('book_id', '=', $book_id)->where(function($query) use ($filterDrafts) {
$query->where('draft', '=', 0);
if (!$filterDrafts) {
$query->orWhere(function($query) {
diff --git a/app/Services/SettingService.php b/app/Services/SettingService.php
index 40094a513..18a7c0d1b 100644
--- a/app/Services/SettingService.php
+++ b/app/Services/SettingService.php
@@ -16,6 +16,7 @@ class SettingService
protected $setting;
protected $cache;
+ protected $localCache = [];
protected $cachePrefix = 'setting-';
@@ -40,8 +41,12 @@ class SettingService
public function get($key, $default = false)
{
if ($default === false) $default = config('setting-defaults.' . $key, false);
+ if (isset($this->localCache[$key])) return $this->localCache[$key];
+
$value = $this->getValueFromStore($key, $default);
- return $this->formatValue($value, $default);
+ $formatted = $this->formatValue($value, $default);
+ $this->localCache[$key] = $formatted;
+ return $formatted;
}
/**
@@ -71,9 +76,8 @@ class SettingService
// Check the cache
$cacheKey = $this->cachePrefix . $key;
- if ($this->cache->has($cacheKey)) {
- return $this->cache->get($cacheKey);
- }
+ $cacheVal = $this->cache->get($cacheKey, null);
+ if ($cacheVal !== null) return $cacheVal;
// Check the database
$settingObject = $this->getSettingObjectByKey($key);
diff --git a/app/Services/SocialAuthService.php b/app/Services/SocialAuthService.php
index 710f95696..2c15e73ce 100644
--- a/app/Services/SocialAuthService.php
+++ b/app/Services/SocialAuthService.php
@@ -181,14 +181,24 @@ class SocialAuthService
public function getActiveDrivers()
{
$activeDrivers = [];
- foreach ($this->validSocialDrivers as $driverName) {
- if ($this->checkDriverConfigured($driverName)) {
- $activeDrivers[$driverName] = true;
+ foreach ($this->validSocialDrivers as $driverKey) {
+ if ($this->checkDriverConfigured($driverKey)) {
+ $activeDrivers[$driverKey] = $this->getDriverName($driverKey);
}
}
return $activeDrivers;
}
+ /**
+ * Get the presentational name for a driver.
+ * @param $driver
+ * @return mixed
+ */
+ public function getDriverName($driver)
+ {
+ return config('services.' . strtolower($driver) . '.name');
+ }
+
/**
* @param string $socialDriver
* @param \Laravel\Socialite\Contracts\User $socialUser
diff --git a/app/helpers.php b/app/helpers.php
index 8103ad1ff..153f1e49f 100644
--- a/app/helpers.php
+++ b/app/helpers.php
@@ -37,6 +37,15 @@ function user()
return auth()->user() ?: \BookStack\User::getDefault();
}
+/**
+ * Check if current user is a signed in user.
+ * @return bool
+ */
+function signedInUser()
+{
+ return auth()->user() && !auth()->user()->isDefault();
+}
+
/**
* Check if the current user has a permission.
* If an ownable element is passed in the jointPermissions are checked against
@@ -64,7 +73,7 @@ function userCan($permission, Ownable $ownable = null)
*/
function setting($key = null, $default = false)
{
- $settingService = app(\BookStack\Services\SettingService::class);
+ $settingService = resolve(\BookStack\Services\SettingService::class);
if (is_null($key)) return $settingService;
return $settingService->get($key, $default);
}
diff --git a/composer.json b/composer.json
index 959bdbdc2..396a9babd 100644
--- a/composer.json
+++ b/composer.json
@@ -13,7 +13,7 @@
"barryvdh/laravel-ide-helper": "^2.2.3",
"barryvdh/laravel-debugbar": "^2.3.2",
"league/flysystem-aws-s3-v3": "^1.0",
- "barryvdh/laravel-dompdf": "^0.7",
+ "barryvdh/laravel-dompdf": "^0.8",
"predis/predis": "^1.1",
"gathercontent/htmldiff": "^0.2.1",
"barryvdh/laravel-snappy": "^0.3.1",
@@ -36,10 +36,9 @@
}
},
"autoload-dev": {
- "classmap": [
- "tests/TestCase.php",
- "tests/BrowserKitTest.php"
- ]
+ "psr-4": {
+ "Tests\\": "tests/"
+ }
},
"scripts": {
"post-root-package-install": [
@@ -48,6 +47,14 @@
"post-create-project-cmd": [
"php artisan key:generate"
],
+ "pre-update-cmd": [
+ "php -r \"!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');\"",
+ "php -r \"!file_exists('bootstrap/cache/compiled.php') || @unlink('bootstrap/cache/compiled.php');\""
+ ],
+ "pre-install-cmd": [
+ "php -r \"!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');\"",
+ "php -r \"!file_exists('bootstrap/cache/compiled.php') || @unlink('bootstrap/cache/compiled.php');\""
+ ],
"post-install-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postInstall",
"php artisan optimize",
diff --git a/composer.lock b/composer.lock
index 586213e57..54218ee48 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,21 +4,21 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
- "hash": "27dd30e92f700ea9a8c2a0a2327d4f9f",
- "content-hash": "e851e9fd06efac8362604c39b0a17542",
+ "hash": "e6d32752d02dae662bedc69fa5856feb",
+ "content-hash": "5f0f4e912f1207e761caf9344f2308a0",
"packages": [
{
"name": "aws/aws-sdk-php",
- "version": "3.21.4",
+ "version": "3.22.11",
"source": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-php.git",
- "reference": "6408a4904a04eca44461a65ba4a0fae53f80417b"
+ "reference": "277939bd789204b314f3aaca06976cf3ddf78f07"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/6408a4904a04eca44461a65ba4a0fae53f80417b",
- "reference": "6408a4904a04eca44461a65ba4a0fae53f80417b",
+ "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/277939bd789204b314f3aaca06976cf3ddf78f07",
+ "reference": "277939bd789204b314f3aaca06976cf3ddf78f07",
"shasum": ""
},
"require": {
@@ -85,7 +85,7 @@
"s3",
"sdk"
],
- "time": "2017-01-25 00:43:08"
+ "time": "2017-02-24 21:47:48"
},
{
"name": "barryvdh/laravel-debugbar",
@@ -143,27 +143,27 @@
},
{
"name": "barryvdh/laravel-dompdf",
- "version": "v0.7.1",
+ "version": "v0.8.0",
"source": {
"type": "git",
"url": "https://github.com/barryvdh/laravel-dompdf.git",
- "reference": "6cb20d3f397d739163d2d743a4600009e52cd453"
+ "reference": "22ee9cb8e0ac0d5f11633d1194280ab40b2bba1f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/barryvdh/laravel-dompdf/zipball/6cb20d3f397d739163d2d743a4600009e52cd453",
- "reference": "6cb20d3f397d739163d2d743a4600009e52cd453",
+ "url": "https://api.github.com/repos/barryvdh/laravel-dompdf/zipball/22ee9cb8e0ac0d5f11633d1194280ab40b2bba1f",
+ "reference": "22ee9cb8e0ac0d5f11633d1194280ab40b2bba1f",
"shasum": ""
},
"require": {
- "dompdf/dompdf": "^0.7",
+ "dompdf/dompdf": "^0.8",
"illuminate/support": "5.1.x|5.2.x|5.3.x|5.4.x",
"php": ">=5.5.9"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "0.7-dev"
+ "dev-master": "0.8-dev"
}
},
"autoload": {
@@ -187,20 +187,20 @@
"laravel",
"pdf"
],
- "time": "2017-01-24 18:12:54"
+ "time": "2017-02-19 06:45:54"
},
{
"name": "barryvdh/laravel-ide-helper",
- "version": "v2.2.3",
+ "version": "v2.3.2",
"source": {
"type": "git",
"url": "https://github.com/barryvdh/laravel-ide-helper.git",
- "reference": "a7fc2ec489aada6062d3a63ddc915004a21e38af"
+ "reference": "e82de98cef0d6597b1b686be0b5813a3a4bb53c5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/a7fc2ec489aada6062d3a63ddc915004a21e38af",
- "reference": "a7fc2ec489aada6062d3a63ddc915004a21e38af",
+ "url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/e82de98cef0d6597b1b686be0b5813a3a4bb53c5",
+ "reference": "e82de98cef0d6597b1b686be0b5813a3a4bb53c5",
"shasum": ""
},
"require": {
@@ -223,7 +223,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.2-dev"
+ "dev-master": "2.3-dev"
}
},
"autoload": {
@@ -253,20 +253,20 @@
"phpstorm",
"sublime"
],
- "time": "2017-01-05 21:20:42"
+ "time": "2017-02-22 12:27:33"
},
{
"name": "barryvdh/laravel-snappy",
- "version": "v0.3.2",
+ "version": "v0.3.3",
"source": {
"type": "git",
"url": "https://github.com/barryvdh/laravel-snappy.git",
- "reference": "864470e81952f8e568c93754d9d0d2c05145f773"
+ "reference": "dea728426bd867652c2f3a307a9cbea3f1ed7dff"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/barryvdh/laravel-snappy/zipball/864470e81952f8e568c93754d9d0d2c05145f773",
- "reference": "864470e81952f8e568c93754d9d0d2c05145f773",
+ "url": "https://api.github.com/repos/barryvdh/laravel-snappy/zipball/dea728426bd867652c2f3a307a9cbea3f1ed7dff",
+ "reference": "dea728426bd867652c2f3a307a9cbea3f1ed7dff",
"shasum": ""
},
"require": {
@@ -305,7 +305,7 @@
"wkhtmltoimage",
"wkhtmltopdf"
],
- "time": "2017-01-20 06:21:34"
+ "time": "2017-02-09 23:18:54"
},
{
"name": "barryvdh/reflection-docblock",
@@ -476,28 +476,29 @@
},
{
"name": "dompdf/dompdf",
- "version": "v0.7.0",
+ "version": "v0.8.0",
"source": {
"type": "git",
"url": "https://github.com/dompdf/dompdf.git",
- "reference": "5c98652b1a5beb7e3cc8ec35419b2828dd63ab14"
+ "reference": "0f418c6b58fdeafc2a0e80eb1fa5e644e185089c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/dompdf/dompdf/zipball/5c98652b1a5beb7e3cc8ec35419b2828dd63ab14",
- "reference": "5c98652b1a5beb7e3cc8ec35419b2828dd63ab14",
+ "url": "https://api.github.com/repos/dompdf/dompdf/zipball/0f418c6b58fdeafc2a0e80eb1fa5e644e185089c",
+ "reference": "0f418c6b58fdeafc2a0e80eb1fa5e644e185089c",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-gd": "*",
"ext-mbstring": "*",
- "phenx/php-font-lib": "0.4.*",
- "phenx/php-svg-lib": "0.1.*",
+ "phenx/php-font-lib": "0.5.*",
+ "phenx/php-svg-lib": "0.2.*",
"php": ">=5.3.0"
},
"require-dev": {
- "phpunit/phpunit": "3.7.*"
+ "phpunit/phpunit": "4.8.*",
+ "squizlabs/php_codesniffer": "2.*"
},
"type": "library",
"extra": {
@@ -533,7 +534,7 @@
],
"description": "DOMPDF is a CSS 2.1 compliant HTML to PDF converter",
"homepage": "https://github.com/dompdf/dompdf",
- "time": "2016-05-11 00:36:29"
+ "time": "2017-02-16 02:40:40"
},
{
"name": "erusev/parsedown",
@@ -799,16 +800,16 @@
},
{
"name": "intervention/image",
- "version": "2.3.9",
+ "version": "2.3.11",
"source": {
"type": "git",
"url": "https://github.com/Intervention/image.git",
- "reference": "2bce9a59c43b868300b02a7d31a1e4aa67a200ae"
+ "reference": "e8881fd99b9804b29e02d6d1c2c15ee459335cf1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Intervention/image/zipball/2bce9a59c43b868300b02a7d31a1e4aa67a200ae",
- "reference": "2bce9a59c43b868300b02a7d31a1e4aa67a200ae",
+ "url": "https://api.github.com/repos/Intervention/image/zipball/e8881fd99b9804b29e02d6d1c2c15ee459335cf1",
+ "reference": "e8881fd99b9804b29e02d6d1c2c15ee459335cf1",
"shasum": ""
},
"require": {
@@ -857,7 +858,7 @@
"thumbnail",
"watermark"
],
- "time": "2017-01-10 14:15:56"
+ "time": "2017-02-04 10:37:19"
},
{
"name": "knplabs/knp-snappy",
@@ -926,22 +927,22 @@
},
{
"name": "laravel/browser-kit-testing",
- "version": "v1.0.2",
+ "version": "v1.0.3",
"source": {
"type": "git",
"url": "https://github.com/laravel/browser-kit-testing.git",
- "reference": "60e038e3dcfef2977347f9610c14b48721802278"
+ "reference": "0adfb725147815bff5516d157577f375a6e66ebd"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/browser-kit-testing/zipball/60e038e3dcfef2977347f9610c14b48721802278",
- "reference": "60e038e3dcfef2977347f9610c14b48721802278",
+ "url": "https://api.github.com/repos/laravel/browser-kit-testing/zipball/0adfb725147815bff5516d157577f375a6e66ebd",
+ "reference": "0adfb725147815bff5516d157577f375a6e66ebd",
"shasum": ""
},
"require": {
"php": ">=5.5.9",
- "symfony/css-selector": "3.1.*",
- "symfony/dom-crawler": "3.1.*"
+ "symfony/css-selector": "~3.1",
+ "symfony/dom-crawler": "~3.1"
},
"type": "library",
"extra": {
@@ -969,20 +970,20 @@
"laravel",
"testing"
],
- "time": "2017-01-25 13:07:25"
+ "time": "2017-02-08 22:32:37"
},
{
"name": "laravel/framework",
- "version": "v5.4.3",
+ "version": "v5.4.13",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
- "reference": "9fa94bf77272ea7f920292c6f016b0f6e0853f98"
+ "reference": "3eebfaa759156e06144892b00bb95304aa5a71c1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/framework/zipball/9fa94bf77272ea7f920292c6f016b0f6e0853f98",
- "reference": "9fa94bf77272ea7f920292c6f016b0f6e0853f98",
+ "url": "https://api.github.com/repos/laravel/framework/zipball/3eebfaa759156e06144892b00bb95304aa5a71c1",
+ "reference": "3eebfaa759156e06144892b00bb95304aa5a71c1",
"shasum": ""
},
"require": {
@@ -1098,20 +1099,20 @@
"framework",
"laravel"
],
- "time": "2017-01-25 16:40:49"
+ "time": "2017-02-22 16:07:04"
},
{
"name": "laravel/socialite",
- "version": "v3.0.2",
+ "version": "v3.0.3",
"source": {
"type": "git",
"url": "https://github.com/laravel/socialite.git",
- "reference": "d3aaffa5e122395e54eb2c26062fde3a848c40fd"
+ "reference": "01588748beef55ad5dd4f172d235548d3a6be79a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/socialite/zipball/d3aaffa5e122395e54eb2c26062fde3a848c40fd",
- "reference": "d3aaffa5e122395e54eb2c26062fde3a848c40fd",
+ "url": "https://api.github.com/repos/laravel/socialite/zipball/01588748beef55ad5dd4f172d235548d3a6be79a",
+ "reference": "01588748beef55ad5dd4f172d235548d3a6be79a",
"shasum": ""
},
"require": {
@@ -1152,20 +1153,20 @@
"laravel",
"oauth"
],
- "time": "2017-01-25 17:58:13"
+ "time": "2017-02-01 13:43:56"
},
{
"name": "league/flysystem",
- "version": "1.0.33",
+ "version": "1.0.35",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem.git",
- "reference": "5c7f98498b12d47f9de90ec9186a90000125777c"
+ "reference": "dda7f3ab94158a002d9846a97dc18ebfb7acc062"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/5c7f98498b12d47f9de90ec9186a90000125777c",
- "reference": "5c7f98498b12d47f9de90ec9186a90000125777c",
+ "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/dda7f3ab94158a002d9846a97dc18ebfb7acc062",
+ "reference": "dda7f3ab94158a002d9846a97dc18ebfb7acc062",
"shasum": ""
},
"require": {
@@ -1235,7 +1236,7 @@
"sftp",
"storage"
],
- "time": "2017-01-23 10:32:09"
+ "time": "2017-02-09 11:33:58"
},
{
"name": "league/flysystem-aws-s3-v3",
@@ -1688,22 +1689,25 @@
},
{
"name": "phenx/php-font-lib",
- "version": "0.4",
+ "version": "0.5",
"source": {
"type": "git",
"url": "https://github.com/PhenX/php-font-lib.git",
- "reference": "b8af0cacdc3cbf1e41a586fcb78f506f4121a088"
+ "reference": "19ad2bebc35be028fcc0221025fcbf3d436a3962"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PhenX/php-font-lib/zipball/b8af0cacdc3cbf1e41a586fcb78f506f4121a088",
- "reference": "b8af0cacdc3cbf1e41a586fcb78f506f4121a088",
+ "url": "https://api.github.com/repos/PhenX/php-font-lib/zipball/19ad2bebc35be028fcc0221025fcbf3d436a3962",
+ "reference": "19ad2bebc35be028fcc0221025fcbf3d436a3962",
"shasum": ""
},
+ "require-dev": {
+ "phpunit/phpunit": "^4.8"
+ },
"type": "library",
"autoload": {
- "psr-0": {
- "FontLib\\": "src/"
+ "psr-4": {
+ "FontLib\\": "src/FontLib"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -1718,22 +1722,25 @@
],
"description": "A library to read, parse, export and make subsets of different types of font files.",
"homepage": "https://github.com/PhenX/php-font-lib",
- "time": "2015-05-06 20:02:39"
+ "time": "2017-02-11 10:58:43"
},
{
"name": "phenx/php-svg-lib",
- "version": "0.1",
+ "version": "v0.2",
"source": {
"type": "git",
"url": "https://github.com/PhenX/php-svg-lib.git",
- "reference": "b419766515b3426c6da74b0e29e93d71c4f17099"
+ "reference": "de291bec8449b89acfe85691b5c71434797959dc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PhenX/php-svg-lib/zipball/b419766515b3426c6da74b0e29e93d71c4f17099",
- "reference": "b419766515b3426c6da74b0e29e93d71c4f17099",
+ "url": "https://api.github.com/repos/PhenX/php-svg-lib/zipball/de291bec8449b89acfe85691b5c71434797959dc",
+ "reference": "de291bec8449b89acfe85691b5c71434797959dc",
"shasum": ""
},
+ "require": {
+ "sabberworm/php-css-parser": "6.0.*"
+ },
"type": "library",
"autoload": {
"psr-0": {
@@ -1752,7 +1759,7 @@
],
"description": "A library to read, parse and export to PDF SVG files.",
"homepage": "https://github.com/PhenX/php-svg-lib",
- "time": "2015-05-06 18:49:49"
+ "time": "2016-12-13 20:25:45"
},
{
"name": "predis/predis",
@@ -1984,17 +1991,58 @@
"time": "2016-11-22 19:21:44"
},
{
- "name": "socialiteproviders/manager",
- "version": "v3.0.2",
+ "name": "sabberworm/php-css-parser",
+ "version": "6.0.1",
"source": {
"type": "git",
- "url": "https://github.com/SocialiteProviders/Manager.git",
- "reference": "3bf2b405b6bfd4bec66f706f5390323f51033eb1"
+ "url": "https://github.com/sabberworm/PHP-CSS-Parser.git",
+ "reference": "9ea4b00c569b19f731d0c2e0e802055877ff40c2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/SocialiteProviders/Manager/zipball/3bf2b405b6bfd4bec66f706f5390323f51033eb1",
- "reference": "3bf2b405b6bfd4bec66f706f5390323f51033eb1",
+ "url": "https://api.github.com/repos/sabberworm/PHP-CSS-Parser/zipball/9ea4b00c569b19f731d0c2e0e802055877ff40c2",
+ "reference": "9ea4b00c569b19f731d0c2e0e802055877ff40c2",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.2"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-0": {
+ "Sabberworm\\CSS": "lib/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Raphael Schweikert"
+ }
+ ],
+ "description": "Parser for CSS Files written in PHP",
+ "homepage": "http://www.sabberworm.com/blog/2010/6/10/php-css-parser",
+ "keywords": [
+ "css",
+ "parser",
+ "stylesheet"
+ ],
+ "time": "2015-08-24 08:48:52"
+ },
+ {
+ "name": "socialiteproviders/manager",
+ "version": "v3.0.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/SocialiteProviders/Manager.git",
+ "reference": "f57877e96c46f0f9157fcd8fa68a547f6d344ed5"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/SocialiteProviders/Manager/zipball/f57877e96c46f0f9157fcd8fa68a547f6d344ed5",
+ "reference": "f57877e96c46f0f9157fcd8fa68a547f6d344ed5",
"shasum": ""
},
"require": {
@@ -2023,20 +2071,20 @@
}
],
"description": "Easily add new or override built-in providers in Laravel Socialite.",
- "time": "2017-01-27 08:35:03"
+ "time": "2017-02-07 07:26:42"
},
{
"name": "socialiteproviders/slack",
- "version": "v3.0.0",
+ "version": "v3.0.1",
"source": {
"type": "git",
"url": "https://github.com/SocialiteProviders/Slack.git",
- "reference": "a0d676a07bb8293547df6678f1da0258ac40bfec"
+ "reference": "6f8f0599cd80ecea4958ad37ed729805c4100c8c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/SocialiteProviders/Slack/zipball/a0d676a07bb8293547df6678f1da0258ac40bfec",
- "reference": "a0d676a07bb8293547df6678f1da0258ac40bfec",
+ "url": "https://api.github.com/repos/SocialiteProviders/Slack/zipball/6f8f0599cd80ecea4958ad37ed729805c4100c8c",
+ "reference": "6f8f0599cd80ecea4958ad37ed729805c4100c8c",
"shasum": ""
},
"require": {
@@ -2060,20 +2108,20 @@
}
],
"description": "Slack OAuth2 Provider for Laravel Socialite",
- "time": "2017-01-25 09:48:29"
+ "time": "2017-02-20 04:42:11"
},
{
"name": "swiftmailer/swiftmailer",
- "version": "v5.4.5",
+ "version": "v5.4.6",
"source": {
"type": "git",
"url": "https://github.com/swiftmailer/swiftmailer.git",
- "reference": "cd142238a339459b10da3d8234220963f392540c"
+ "reference": "81fdccfaf8bdc5d5d7a1ef6bb3a61bbb1a6c4a3e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/cd142238a339459b10da3d8234220963f392540c",
- "reference": "cd142238a339459b10da3d8234220963f392540c",
+ "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/81fdccfaf8bdc5d5d7a1ef6bb3a61bbb1a6c4a3e",
+ "reference": "81fdccfaf8bdc5d5d7a1ef6bb3a61bbb1a6c4a3e",
"shasum": ""
},
"require": {
@@ -2114,20 +2162,20 @@
"mail",
"mailer"
],
- "time": "2016-12-29 10:02:40"
+ "time": "2017-02-13 07:52:53"
},
{
"name": "symfony/class-loader",
- "version": "v3.2.2",
+ "version": "v3.2.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/class-loader.git",
- "reference": "0152f7a47acd564ca62c652975c2b32ac6d613a6"
+ "reference": "2847d56f518ad5721bf85aa9174b3aa3fd12aa03"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/class-loader/zipball/0152f7a47acd564ca62c652975c2b32ac6d613a6",
- "reference": "0152f7a47acd564ca62c652975c2b32ac6d613a6",
+ "url": "https://api.github.com/repos/symfony/class-loader/zipball/2847d56f518ad5721bf85aa9174b3aa3fd12aa03",
+ "reference": "2847d56f518ad5721bf85aa9174b3aa3fd12aa03",
"shasum": ""
},
"require": {
@@ -2170,20 +2218,20 @@
],
"description": "Symfony ClassLoader Component",
"homepage": "https://symfony.com",
- "time": "2017-01-10 14:14:38"
+ "time": "2017-01-21 17:06:35"
},
{
"name": "symfony/console",
- "version": "v3.2.2",
+ "version": "v3.2.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "4f9e449e76996adf310498a8ca955c6deebe29dd"
+ "reference": "0e5e6899f82230fcb1153bcaf0e106ffaa44b870"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/4f9e449e76996adf310498a8ca955c6deebe29dd",
- "reference": "4f9e449e76996adf310498a8ca955c6deebe29dd",
+ "url": "https://api.github.com/repos/symfony/console/zipball/0e5e6899f82230fcb1153bcaf0e106ffaa44b870",
+ "reference": "0e5e6899f82230fcb1153bcaf0e106ffaa44b870",
"shasum": ""
},
"require": {
@@ -2233,11 +2281,11 @@
],
"description": "Symfony Console Component",
"homepage": "https://symfony.com",
- "time": "2017-01-08 20:47:33"
+ "time": "2017-02-16 14:07:22"
},
{
"name": "symfony/css-selector",
- "version": "v3.1.9",
+ "version": "v3.1.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/css-selector.git",
@@ -2290,16 +2338,16 @@
},
{
"name": "symfony/debug",
- "version": "v3.2.2",
+ "version": "v3.2.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/debug.git",
- "reference": "810ba5c1c5352a4ddb15d4719e8936751dff0b05"
+ "reference": "9b98854cb45bc59d100b7d4cc4cf9e05f21026b9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/810ba5c1c5352a4ddb15d4719e8936751dff0b05",
- "reference": "810ba5c1c5352a4ddb15d4719e8936751dff0b05",
+ "url": "https://api.github.com/repos/symfony/debug/zipball/9b98854cb45bc59d100b7d4cc4cf9e05f21026b9",
+ "reference": "9b98854cb45bc59d100b7d4cc4cf9e05f21026b9",
"shasum": ""
},
"require": {
@@ -2343,20 +2391,20 @@
],
"description": "Symfony Debug Component",
"homepage": "https://symfony.com",
- "time": "2017-01-02 20:32:22"
+ "time": "2017-02-16 16:34:18"
},
{
"name": "symfony/dom-crawler",
- "version": "v3.1.9",
+ "version": "v3.1.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/dom-crawler.git",
- "reference": "a950260ebc947578fba82a3222e2085d90682376"
+ "reference": "7eede2a901a19928494194f7d1815a77b9a473a0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/a950260ebc947578fba82a3222e2085d90682376",
- "reference": "a950260ebc947578fba82a3222e2085d90682376",
+ "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/7eede2a901a19928494194f7d1815a77b9a473a0",
+ "reference": "7eede2a901a19928494194f7d1815a77b9a473a0",
"shasum": ""
},
"require": {
@@ -2399,11 +2447,11 @@
],
"description": "Symfony DomCrawler Component",
"homepage": "https://symfony.com",
- "time": "2017-01-02 20:31:54"
+ "time": "2017-01-21 17:13:55"
},
{
"name": "symfony/event-dispatcher",
- "version": "v3.2.2",
+ "version": "v3.2.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
@@ -2463,7 +2511,7 @@
},
{
"name": "symfony/finder",
- "version": "v3.2.2",
+ "version": "v3.2.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
@@ -2512,16 +2560,16 @@
},
{
"name": "symfony/http-foundation",
- "version": "v3.2.2",
+ "version": "v3.2.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
- "reference": "33eb76bf1d833c705433e5361a646c164696394b"
+ "reference": "a90da6dd679605d88c9803a57a6fc1fb7a19a6e0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/33eb76bf1d833c705433e5361a646c164696394b",
- "reference": "33eb76bf1d833c705433e5361a646c164696394b",
+ "url": "https://api.github.com/repos/symfony/http-foundation/zipball/a90da6dd679605d88c9803a57a6fc1fb7a19a6e0",
+ "reference": "a90da6dd679605d88c9803a57a6fc1fb7a19a6e0",
"shasum": ""
},
"require": {
@@ -2561,20 +2609,20 @@
],
"description": "Symfony HttpFoundation Component",
"homepage": "https://symfony.com",
- "time": "2017-01-08 20:47:33"
+ "time": "2017-02-16 22:46:52"
},
{
"name": "symfony/http-kernel",
- "version": "v3.2.2",
+ "version": "v3.2.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
- "reference": "8a898e340a89022246645b1288d295f49c9381e4"
+ "reference": "4cd0d4bc31819095c6ef13573069f621eb321081"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/8a898e340a89022246645b1288d295f49c9381e4",
- "reference": "8a898e340a89022246645b1288d295f49c9381e4",
+ "url": "https://api.github.com/repos/symfony/http-kernel/zipball/4cd0d4bc31819095c6ef13573069f621eb321081",
+ "reference": "4cd0d4bc31819095c6ef13573069f621eb321081",
"shasum": ""
},
"require": {
@@ -2643,7 +2691,7 @@
],
"description": "Symfony HttpKernel Component",
"homepage": "https://symfony.com",
- "time": "2017-01-12 21:36:33"
+ "time": "2017-02-16 23:59:56"
},
{
"name": "symfony/polyfill-mbstring",
@@ -2706,16 +2754,16 @@
},
{
"name": "symfony/process",
- "version": "v3.2.2",
+ "version": "v3.2.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
- "reference": "350e810019fc52dd06ae844b6a6d382f8a0e8893"
+ "reference": "0ab87c1e7570b3534a6e51eb4ca8e9f6d7327856"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/350e810019fc52dd06ae844b6a6d382f8a0e8893",
- "reference": "350e810019fc52dd06ae844b6a6d382f8a0e8893",
+ "url": "https://api.github.com/repos/symfony/process/zipball/0ab87c1e7570b3534a6e51eb4ca8e9f6d7327856",
+ "reference": "0ab87c1e7570b3534a6e51eb4ca8e9f6d7327856",
"shasum": ""
},
"require": {
@@ -2751,20 +2799,20 @@
],
"description": "Symfony Process Component",
"homepage": "https://symfony.com",
- "time": "2017-01-02 20:32:22"
+ "time": "2017-02-16 14:07:22"
},
{
"name": "symfony/routing",
- "version": "v3.2.2",
+ "version": "v3.2.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
- "reference": "fda2c67d47ec801726ca888c95d701d31b27b444"
+ "reference": "af464432c177dbcdbb32295113b7627500331f2d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/routing/zipball/fda2c67d47ec801726ca888c95d701d31b27b444",
- "reference": "fda2c67d47ec801726ca888c95d701d31b27b444",
+ "url": "https://api.github.com/repos/symfony/routing/zipball/af464432c177dbcdbb32295113b7627500331f2d",
+ "reference": "af464432c177dbcdbb32295113b7627500331f2d",
"shasum": ""
},
"require": {
@@ -2826,20 +2874,20 @@
"uri",
"url"
],
- "time": "2017-01-02 20:32:22"
+ "time": "2017-01-28 02:37:08"
},
{
"name": "symfony/translation",
- "version": "v3.2.2",
+ "version": "v3.2.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
- "reference": "6520f3d4cce604d9dd1e86cac7af954984dd9bda"
+ "reference": "d6825c6bb2f1da13f564678f9f236fe8242c0029"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/translation/zipball/6520f3d4cce604d9dd1e86cac7af954984dd9bda",
- "reference": "6520f3d4cce604d9dd1e86cac7af954984dd9bda",
+ "url": "https://api.github.com/repos/symfony/translation/zipball/d6825c6bb2f1da13f564678f9f236fe8242c0029",
+ "reference": "d6825c6bb2f1da13f564678f9f236fe8242c0029",
"shasum": ""
},
"require": {
@@ -2890,20 +2938,20 @@
],
"description": "Symfony Translation Component",
"homepage": "https://symfony.com",
- "time": "2017-01-02 20:32:22"
+ "time": "2017-02-16 22:46:52"
},
{
"name": "symfony/var-dumper",
- "version": "v3.2.2",
+ "version": "v3.2.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
- "reference": "b54b23f9a19b465e76fdaac0f6732410467c83b2"
+ "reference": "cb50260b674ee1c2d4ab49f2395a42e0b4681e20"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/var-dumper/zipball/b54b23f9a19b465e76fdaac0f6732410467c83b2",
- "reference": "b54b23f9a19b465e76fdaac0f6732410467c83b2",
+ "url": "https://api.github.com/repos/symfony/var-dumper/zipball/cb50260b674ee1c2d4ab49f2395a42e0b4681e20",
+ "reference": "cb50260b674ee1c2d4ab49f2395a42e0b4681e20",
"shasum": ""
},
"require": {
@@ -2953,7 +3001,7 @@
"debug",
"dump"
],
- "time": "2017-01-03 08:53:57"
+ "time": "2017-02-16 22:46:52"
},
{
"name": "tijsverkoyen/css-to-inline-styles",
@@ -3203,16 +3251,16 @@
},
{
"name": "mockery/mockery",
- "version": "0.9.7",
+ "version": "0.9.8",
"source": {
"type": "git",
"url": "https://github.com/padraic/mockery.git",
- "reference": "4de7969f4664da3cef1ccd83866c9f59378c3371"
+ "reference": "1e5e2ffdc4d71d7358ed58a6fdd30a4a0c506855"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/padraic/mockery/zipball/4de7969f4664da3cef1ccd83866c9f59378c3371",
- "reference": "4de7969f4664da3cef1ccd83866c9f59378c3371",
+ "url": "https://api.github.com/repos/padraic/mockery/zipball/1e5e2ffdc4d71d7358ed58a6fdd30a4a0c506855",
+ "reference": "1e5e2ffdc4d71d7358ed58a6fdd30a4a0c506855",
"shasum": ""
},
"require": {
@@ -3264,20 +3312,20 @@
"test double",
"testing"
],
- "time": "2016-12-19 14:50:55"
+ "time": "2017-02-09 13:29:38"
},
{
"name": "myclabs/deep-copy",
- "version": "1.5.5",
+ "version": "1.6.0",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "399c1f9781e222f6eb6cc238796f5200d1b7f108"
+ "reference": "5a5a9fc8025a08d8919be87d6884d5a92520cefe"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/399c1f9781e222f6eb6cc238796f5200d1b7f108",
- "reference": "399c1f9781e222f6eb6cc238796f5200d1b7f108",
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/5a5a9fc8025a08d8919be87d6884d5a92520cefe",
+ "reference": "5a5a9fc8025a08d8919be87d6884d5a92520cefe",
"shasum": ""
},
"require": {
@@ -3306,7 +3354,7 @@
"object",
"object graph"
],
- "time": "2016-10-31 17:19:45"
+ "time": "2017-01-26 22:05:40"
},
{
"name": "phpdocumentor/reflection-common",
@@ -3519,23 +3567,23 @@
},
{
"name": "phpunit/php-code-coverage",
- "version": "4.0.5",
+ "version": "4.0.6",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "c19cfc7cbb0e9338d8c469c7eedecc2a428b0971"
+ "reference": "ca060f645beeddebedb1885c97bf163e93264c35"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c19cfc7cbb0e9338d8c469c7eedecc2a428b0971",
- "reference": "c19cfc7cbb0e9338d8c469c7eedecc2a428b0971",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ca060f645beeddebedb1885c97bf163e93264c35",
+ "reference": "ca060f645beeddebedb1885c97bf163e93264c35",
"shasum": ""
},
"require": {
"php": "^5.6 || ^7.0",
"phpunit/php-file-iterator": "~1.3",
"phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "^1.4.2",
+ "phpunit/php-token-stream": "^1.4.2 || ^2.0",
"sebastian/code-unit-reverse-lookup": "~1.0",
"sebastian/environment": "^1.3.2 || ^2.0",
"sebastian/version": "~1.0|~2.0"
@@ -3578,7 +3626,7 @@
"testing",
"xunit"
],
- "time": "2017-01-20 15:06:43"
+ "time": "2017-02-23 07:38:02"
},
{
"name": "phpunit/php-file-iterator",
@@ -3714,16 +3762,16 @@
},
{
"name": "phpunit/php-token-stream",
- "version": "1.4.9",
+ "version": "1.4.10",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "3b402f65a4cc90abf6e1104e388b896ce209631b"
+ "reference": "284fb0679dd25fb5ffb56dad92c72860c0a22f1b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/3b402f65a4cc90abf6e1104e388b896ce209631b",
- "reference": "3b402f65a4cc90abf6e1104e388b896ce209631b",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/284fb0679dd25fb5ffb56dad92c72860c0a22f1b",
+ "reference": "284fb0679dd25fb5ffb56dad92c72860c0a22f1b",
"shasum": ""
},
"require": {
@@ -3759,20 +3807,20 @@
"keywords": [
"tokenizer"
],
- "time": "2016-11-15 14:06:22"
+ "time": "2017-02-23 06:14:45"
},
{
"name": "phpunit/phpunit",
- "version": "5.7.6",
+ "version": "5.7.14",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "caf8141b89691498d91aaac6c82e9cd5f685ae86"
+ "reference": "4906b8faf23e42612182fd212eb6f4c0f2954b57"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/caf8141b89691498d91aaac6c82e9cd5f685ae86",
- "reference": "caf8141b89691498d91aaac6c82e9cd5f685ae86",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/4906b8faf23e42612182fd212eb6f4c0f2954b57",
+ "reference": "4906b8faf23e42612182fd212eb6f4c0f2954b57",
"shasum": ""
},
"require": {
@@ -3789,14 +3837,14 @@
"phpunit/php-text-template": "~1.2",
"phpunit/php-timer": "^1.0.6",
"phpunit/phpunit-mock-objects": "^3.2",
- "sebastian/comparator": "~1.2.2",
+ "sebastian/comparator": "^1.2.4",
"sebastian/diff": "~1.2",
"sebastian/environment": "^1.3.4 || ^2.0",
"sebastian/exporter": "~2.0",
- "sebastian/global-state": "^1.0 || ^2.0",
+ "sebastian/global-state": "^1.1",
"sebastian/object-enumerator": "~2.0",
"sebastian/resource-operations": "~1.0",
- "sebastian/version": "~1.0|~2.0",
+ "sebastian/version": "~1.0.3|~2.0",
"symfony/yaml": "~2.1|~3.0"
},
"conflict": {
@@ -3841,7 +3889,7 @@
"testing",
"xunit"
],
- "time": "2017-01-22 08:39:59"
+ "time": "2017-02-19 07:22:16"
},
{
"name": "phpunit/phpunit-mock-objects",
@@ -3949,16 +3997,16 @@
},
{
"name": "sebastian/comparator",
- "version": "1.2.2",
+ "version": "1.2.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "6a1ed12e8b2409076ab22e3897126211ff8b1f7f"
+ "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/6a1ed12e8b2409076ab22e3897126211ff8b1f7f",
- "reference": "6a1ed12e8b2409076ab22e3897126211ff8b1f7f",
+ "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
+ "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
"shasum": ""
},
"require": {
@@ -4009,7 +4057,7 @@
"compare",
"equality"
],
- "time": "2016-11-19 09:18:40"
+ "time": "2017-01-29 09:50:25"
},
{
"name": "sebastian/diff",
@@ -4233,16 +4281,16 @@
},
{
"name": "sebastian/object-enumerator",
- "version": "2.0.0",
+ "version": "2.0.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "96f8a3f257b69e8128ad74d3a7fd464bcbaa3b35"
+ "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/96f8a3f257b69e8128ad74d3a7fd464bcbaa3b35",
- "reference": "96f8a3f257b69e8128ad74d3a7fd464bcbaa3b35",
+ "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/1311872ac850040a79c3c058bea3e22d0f09cbb7",
+ "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7",
"shasum": ""
},
"require": {
@@ -4275,7 +4323,7 @@
],
"description": "Traverses array structures and object graphs to enumerate all referenced objects",
"homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "time": "2016-11-19 07:35:10"
+ "time": "2017-02-18 15:18:39"
},
{
"name": "sebastian/recursion-context",
@@ -4417,16 +4465,16 @@
},
{
"name": "symfony/yaml",
- "version": "v3.2.2",
+ "version": "v3.2.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
- "reference": "50eadbd7926e31842893c957eca362b21592a97d"
+ "reference": "9724c684646fcb5387d579b4bfaa63ee0b0c64c8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/50eadbd7926e31842893c957eca362b21592a97d",
- "reference": "50eadbd7926e31842893c957eca362b21592a97d",
+ "url": "https://api.github.com/repos/symfony/yaml/zipball/9724c684646fcb5387d579b4bfaa63ee0b0c64c8",
+ "reference": "9724c684646fcb5387d579b4bfaa63ee0b0c64c8",
"shasum": ""
},
"require": {
@@ -4468,7 +4516,7 @@
],
"description": "Symfony Yaml Component",
"homepage": "https://symfony.com",
- "time": "2017-01-03 13:51:32"
+ "time": "2017-02-16 22:46:52"
},
{
"name": "webmozart/assert",
diff --git a/config/database.php b/config/database.php
index cfeeaa75a..d13268cea 100644
--- a/config/database.php
+++ b/config/database.php
@@ -82,7 +82,7 @@ return [
'mysql_testing' => [
'driver' => 'mysql',
- 'host' => 'localhost',
+ 'host' => '127.0.0.1',
'database' => 'bookstack-test',
'username' => env('MYSQL_USER', 'bookstack-test'),
'password' => env('MYSQL_PASSWORD', 'bookstack-test'),
diff --git a/config/dompdf.php b/config/dompdf.php
index 924bdb9cd..036e1bb3c 100644
--- a/config/dompdf.php
+++ b/config/dompdf.php
@@ -1,6 +1,6 @@
false, // Throw an Exception on warnings from dompdf
'orientation' => 'portrait',
- 'defines' => array(
+ 'defines' => [
/**
* The location of the DOMPDF font directory
*
@@ -143,7 +143,7 @@ return array(
* the desired content might be different (e.g. screen or projection view of html file).
* Therefore allow specification of content here.
*/
- "DOMPDF_DEFAULT_MEDIA_TYPE" => "screen",
+ "DOMPDF_DEFAULT_MEDIA_TYPE" => "print",
/**
* The default paper size.
@@ -260,7 +260,7 @@ return array(
"DOMPDF_ENABLE_HTML5PARSER" => true,
- ),
+ ],
-);
+];
diff --git a/config/services.php b/config/services.php
index 8c17897e4..99022e5f2 100644
--- a/config/services.php
+++ b/config/services.php
@@ -41,30 +41,35 @@ return [
'client_id' => env('GITHUB_APP_ID', false),
'client_secret' => env('GITHUB_APP_SECRET', false),
'redirect' => env('APP_URL') . '/login/service/github/callback',
+ 'name' => 'GitHub',
],
'google' => [
'client_id' => env('GOOGLE_APP_ID', false),
'client_secret' => env('GOOGLE_APP_SECRET', false),
'redirect' => env('APP_URL') . '/login/service/google/callback',
+ 'name' => 'Google',
],
'slack' => [
'client_id' => env('SLACK_APP_ID', false),
'client_secret' => env('SLACK_APP_SECRET', false),
'redirect' => env('APP_URL') . '/login/service/slack/callback',
+ 'name' => 'Slack',
],
'facebook' => [
'client_id' => env('FACEBOOK_APP_ID', false),
'client_secret' => env('FACEBOOK_APP_SECRET', false),
'redirect' => env('APP_URL') . '/login/service/facebook/callback',
+ 'name' => 'Facebook',
],
'twitter' => [
'client_id' => env('TWITTER_APP_ID', false),
'client_secret' => env('TWITTER_APP_SECRET', false),
'redirect' => env('APP_URL') . '/login/service/twitter/callback',
+ 'name' => 'Twitter',
],
'ldap' => [
@@ -73,7 +78,8 @@ return [
'pass' => env('LDAP_PASS', false),
'base_dn' => env('LDAP_BASE_DN', false),
'user_filter' => env('LDAP_USER_FILTER', '(&(uid=${user}))'),
- 'version' => env('LDAP_VERSION', false)
+ 'version' => env('LDAP_VERSION', false),
+ 'email_attribute' => env('LDAP_EMAIL_ATTRIBUTE', 'mail'),
]
];
diff --git a/database/seeds/DummyContentSeeder.php b/database/seeds/DummyContentSeeder.php
index c64ca2a8c..efcda4220 100644
--- a/database/seeds/DummyContentSeeder.php
+++ b/database/seeds/DummyContentSeeder.php
@@ -11,14 +11,14 @@ class DummyContentSeeder extends Seeder
*/
public function run()
{
- $user = factory(BookStack\User::class, 1)->create();
+ $user = factory(\BookStack\User::class)->create();
$role = \BookStack\Role::getRole('editor');
$user->attachRole($role);
- $books = factory(BookStack\Book::class, 20)->create(['created_by' => $user->id, 'updated_by' => $user->id])
+ $books = factory(\BookStack\Book::class, 20)->create(['created_by' => $user->id, 'updated_by' => $user->id])
->each(function($book) use ($user) {
- $chapters = factory(BookStack\Chapter::class, 5)->create(['created_by' => $user->id, 'updated_by' => $user->id])
+ $chapters = factory(\BookStack\Chapter::class, 5)->create(['created_by' => $user->id, 'updated_by' => $user->id])
->each(function($chapter) use ($user, $book){
$pages = factory(\BookStack\Page::class, 5)->make(['created_by' => $user->id, 'updated_by' => $user->id, 'book_id' => $book->id]);
$chapter->pages()->saveMany($pages);
diff --git a/resources/assets/js/directives.js b/resources/assets/js/directives.js
index ef8bcd85c..10458e753 100644
--- a/resources/assets/js/directives.js
+++ b/resources/assets/js/directives.js
@@ -214,6 +214,19 @@ export default function (ngApp, events) {
}
}]);
+ let renderer = new markdown.Renderer();
+ // Custom markdown checkbox list item
+ // Attribution: https://github.com/chjj/marked/issues/107#issuecomment-44542001
+ renderer.listitem = function(text) {
+ if (/^\s*\[[x ]\]\s*/.test(text)) {
+ text = text
+ .replace(/^\s*\[ \]\s*/, ' ')
+ .replace(/^\s*\[x\]\s*/, ' ');
+ return `
${text} `;
+ }
+ return `${text} `;
+ };
+
/**
* Markdown input
* Handles the logic for just the editor input field.
@@ -231,13 +244,13 @@ export default function (ngApp, events) {
element = element.find('textarea').first();
let content = element.val();
scope.mdModel = content;
- scope.mdChange(markdown(content));
+ scope.mdChange(markdown(content, {renderer: renderer}));
element.on('change input', (event) => {
content = element.val();
$timeout(() => {
scope.mdModel = content;
- scope.mdChange(markdown(content));
+ scope.mdChange(markdown(content, {renderer: renderer}));
});
});
diff --git a/resources/assets/sass/_blocks.scss b/resources/assets/sass/_blocks.scss
index a2023aa37..bd3f8ff4e 100644
--- a/resources/assets/sass/_blocks.scss
+++ b/resources/assets/sass/_blocks.scss
@@ -135,11 +135,19 @@
border-left: 3px solid #BBB;
background-color: #EEE;
padding: $-s;
+ padding-left: $-xl;
display: block;
+ position: relative;
&:before {
font-family: 'Material-Design-Iconic-Font';
- padding-right: $-s;
+ left: $-xs + 4px;
+ top: 50%;
+ margin-top: -9px;
+ //top: $-xs + 5px;
display: inline-block;
+ position: absolute;
+ font-size: 1.222em;
+ line-height: 1;
}
&.success {
border-left-color: $positive;
diff --git a/resources/assets/sass/_buttons.scss b/resources/assets/sass/_buttons.scss
index 791a5bb72..6e03c9217 100644
--- a/resources/assets/sass/_buttons.scss
+++ b/resources/assets/sass/_buttons.scss
@@ -54,6 +54,9 @@ $button-border-radius: 2px;
&.muted {
@include generate-button-colors(#EEE, #888);
}
+ &.muted-light {
+ @include generate-button-colors(#666, #e4e4e4);
+ }
}
.text-button {
@@ -92,6 +95,9 @@ $button-border-radius: 2px;
width: 100%;
text-align: center;
display: block;
+ &.text-left {
+ text-align: left;
+ }
}
.button.icon {
@@ -100,6 +106,19 @@ $button-border-radius: 2px;
}
}
+.button.svg {
+ svg {
+ display: inline-block;
+ position: absolute;
+ left: $-m;
+ top: $-s - 2px;
+ width: 24px;
+ }
+ padding: $-s $-m;
+ padding-bottom: $-s - 2px;
+ padding-left: $-m*2 + 24px;
+}
+
.button[disabled] {
background-color: #BBB;
cursor: default;
diff --git a/resources/assets/sass/_grid.scss b/resources/assets/sass/_grid.scss
index 231c12d4d..b32dafd38 100644
--- a/resources/assets/sass/_grid.scss
+++ b/resources/assets/sass/_grid.scss
@@ -55,20 +55,6 @@ div[class^="col-"] img {
}
}
-.center-box {
- margin: $-xl auto 0 auto;
- padding: $-m $-xxl $-xl*2 $-xxl;
- max-width: 346px;
- display: inline-block;
- text-align: left;
- vertical-align: top;
- &.login {
- background-color: #EEE;
- box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
- border: 1px solid #DDD;
- }
-}
-
.row {
margin-left: -$-m;
margin-right: -$-m;
diff --git a/resources/assets/sass/_text.scss b/resources/assets/sass/_text.scss
index 79d3c3a92..a74a81647 100644
--- a/resources/assets/sass/_text.scss
+++ b/resources/assets/sass/_text.scss
@@ -281,6 +281,14 @@ ol {
overflow: hidden;
}
+li.checkbox-item {
+ list-style: none;
+ margin-left: - ($-m * 1.3);
+ input[type="checkbox"] {
+ margin-right: $-xs;
+ }
+}
+
/*
* Generic text styling classes
*/
diff --git a/resources/assets/sass/export-styles.scss b/resources/assets/sass/export-styles.scss
index 7e1ab4e9e..60450f3e2 100644
--- a/resources/assets/sass/export-styles.scss
+++ b/resources/assets/sass/export-styles.scss
@@ -1,4 +1,4 @@
-@import "reset";
+//@import "reset";
@import "variables";
@import "mixins";
@import "html";
diff --git a/resources/assets/sass/styles.scss b/resources/assets/sass/styles.scss
index 7d33bd0a6..967aba76b 100644
--- a/resources/assets/sass/styles.scss
+++ b/resources/assets/sass/styles.scss
@@ -251,10 +251,24 @@ $btt-size: 40px;
}
}
-
-
-
-
+.center-box {
+ margin: $-xl auto 0 auto;
+ padding: $-m $-xxl $-xl $-xxl;
+ width: 420px;
+ max-width: 100%;
+ display: inline-block;
+ text-align: left;
+ vertical-align: top;
+ //border: 1px solid #DDD;
+ input {
+ width: 100%;
+ }
+ &.login {
+ background-color: #EEE;
+ box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
+ border: 1px solid #DDD;
+ }
+}
diff --git a/resources/lang/de/auth.php b/resources/lang/de/auth.php
index c58d9d974..f253cdfa1 100644
--- a/resources/lang/de/auth.php
+++ b/resources/lang/de/auth.php
@@ -14,7 +14,50 @@ return [
'throttle' => 'Zu viele Anmeldeversuche. Bitte versuchen sie es in :seconds Sekunden erneut.',
/**
- * Email Confirmation Text
+ * Login & Register
+ */
+ 'sign_up' => 'Registrieren',
+ 'log_in' => 'Anmelden',
+ 'logout' => 'Abmelden',
+
+ 'name' => 'Name',
+ 'username' => 'Benutzername',
+ 'email' => 'E-Mail',
+ 'password' => 'Passwort',
+ 'password_confirm' => 'Passwort bestätigen',
+ 'password_hint' => 'Mindestlänge: 5 Zeichen',
+ 'forgot_password' => 'Passwort vergessen?',
+ 'remember_me' => 'Angemeldet bleiben',
+ 'ldap_email_hint' => 'Bitte geben Sie eine E-Mail-Adresse ein, um diese mit dem Account zu nutzen.',
+ 'create_account' => 'Account anlegen',
+ 'social_login' => 'Social Login',
+ 'social_registration' => 'Social Registrierung',
+ 'social_registration_text' => 'Mit einem dieser Möglichkeiten registrieren oder anmelden.',
+
+
+ 'register_thanks' => 'Vielen Dank für Ihre Registrierung!',
+ 'register_confirm' => 'Bitte prüfen Sie Ihren E-Mail Eingang und klicken auf den Verifizieren-Button, um :appName nutzen zu können.',
+ 'registrations_disabled' => 'Die Registrierung ist momentan nicht möglich',
+ 'registration_email_domain_invalid' => 'Diese E-Mail-Domain ist für die Benutzer der Applikation nicht freigeschaltet.',
+ 'register_success' => 'Vielen Dank für Ihre Registrierung! Die Daten sind gespeichert und Sie sind angemeldet.',
+
+
+ /**
+ * Password Reset
+ */
+ 'reset_password' => 'Passwort vergessen',
+ 'reset_password_send_instructions' => 'Bitte geben Sie unten Ihre E-Mail-Adresse ein und Sie erhalten eine E-Mail, um Ihr Passwort zurück zu setzen.',
+ 'reset_password_send_button' => 'Passwort zurücksetzen',
+ 'reset_password_sent_success' => 'Eine E-Mail mit den Instruktionen, um Ihr Passwort zurückzusetzen wurde an :email gesendet.',
+ 'reset_password_success' => 'Ihr Passwort wurde erfolgreich zurück gesetzt.',
+
+ 'email_reset_subject' => 'Passwort zurücksetzen für :appName',
+ 'email_reset_text' => 'Sie erhalten diese E-Mail, weil eine Passwort-Rücksetzung für Ihren Account beantragt wurde.',
+ 'email_reset_not_requested' => 'Wenn Sie die Passwort-Rücksetzung nicht ausgelöst haben, ist kein weiteres Handeln notwendig.',
+
+
+ /**
+ * Email Confirmation
*/
'email_confirm_subject' => 'Bestätigen sie ihre E-Mail Adresse bei :appName',
'email_confirm_greeting' => 'Danke, dass sie :appName beigetreten sind!',
@@ -23,4 +66,10 @@ return [
'email_confirm_send_error' => 'Bestätigungs-E-Mail benötigt, aber das System konnte die E-Mail nicht versenden. Kontaktieren sie den Administrator, um sicherzustellen, dass das Sytsem korrekt eingerichtet ist.',
'email_confirm_success' => 'Ihre E-Mail Adresse wurde bestätigt!',
'email_confirm_resent' => 'Bestätigungs-E-Mail wurde erneut versendet, bitte überprüfen sie ihren Posteingang.',
+
+ 'email_not_confirmed' => 'E-Mail-Adresse ist nicht bestätigt',
+ 'email_not_confirmed_text' => 'Ihre E-Mail-Adresse ist bisher nicht bestätigt.',
+ 'email_not_confirmed_click_link' => 'Bitte klicken Sie auf den Link in der E-Mail, die Sie nach der Registrierung erhalten haben.',
+ 'email_not_confirmed_resend' => 'Wenn Sie die E-Mail nicht erhalten haben, können Sie die Nachricht erneut anfordern. Füllen Sie hierzu bitte das folgende Formular aus:',
+ 'email_not_confirmed_resend_button' => 'Bestätigungs E-Mail erneut senden',
];
diff --git a/resources/lang/de/common.php b/resources/lang/de/common.php
new file mode 100644
index 000000000..7ad1743a0
--- /dev/null
+++ b/resources/lang/de/common.php
@@ -0,0 +1,58 @@
+ 'Abbrechen',
+ 'confirm' => 'Bestätigen',
+ 'back' => 'Zurück',
+ 'save' => 'Speichern',
+ 'continue' => 'Weiter',
+ 'select' => 'Auswählen',
+
+ /**
+ * Form Labels
+ */
+ 'name' => 'Name',
+ 'description' => 'Beschreibung',
+ 'role' => 'Rolle',
+
+ /**
+ * Actions
+ */
+ 'actions' => 'Aktionen',
+ 'view' => 'Anzeigen',
+ 'create' => 'Anlegen',
+ 'update' => 'Aktualisieren',
+ 'edit' => 'Bearbeiten',
+ 'sort' => 'Sortieren',
+ 'move' => 'Verschieben',
+ 'delete' => 'Löschen',
+ 'search' => 'Suchen',
+ 'search_clear' => 'Suche löschen',
+ 'reset' => 'Zurücksetzen',
+ 'remove' => 'Entfernen',
+
+
+ /**
+ * Misc
+ */
+ 'deleted_user' => 'Gelöschte Benutzer',
+ 'no_activity' => 'Keine Aktivitäten zum Anzeigen',
+ 'no_items' => 'Keine Einträge gefunden.',
+ 'back_to_top' => 'nach oben',
+ 'toggle_details' => 'Details zeigen/verstecken',
+
+ /**
+ * Header
+ */
+ 'view_profile' => 'Profil ansehen',
+ 'edit_profile' => 'Profil bearbeiten',
+
+ /**
+ * Email Content
+ */
+ 'email_action_help' => 'Sollte es beim Anklicken des ":actionText" Buttons Probleme geben, kopieren Sie folgende URL und fügen diese in Ihrem Webbrowser ein:',
+ 'email_rights' => 'Alle Rechte vorbehalten',
+];
\ No newline at end of file
diff --git a/resources/lang/de/components.php b/resources/lang/de/components.php
new file mode 100644
index 000000000..a8538c465
--- /dev/null
+++ b/resources/lang/de/components.php
@@ -0,0 +1,24 @@
+ 'Bild auswählen',
+ 'image_all' => 'Alle',
+ 'image_all_title' => 'Alle Bilder anzeigen',
+ 'image_book_title' => 'Zeige alle Bilder, die in dieses Buch hochgeladen wurden',
+ 'image_page_title' => 'Zeige alle Bilder, die auf diese Seite hochgeladen wurden',
+ 'image_search_hint' => 'Nach Bildnamen suchen',
+ 'image_uploaded' => 'Hochgeladen am :uploadedDate',
+ 'image_load_more' => 'Mehr',
+ 'image_image_name' => 'Bildname',
+ 'image_delete_confirm' => 'Dieses Bild wird auf den folgenden Seiten benutzt. Bitte klicken Sie erneut auf löschen, wenn Sie dieses Bild tatsächlich entfernen möchten.',
+ 'image_select_image' => 'Bild auswählen',
+ 'image_dropzone' => 'Ziehen Sie Bilder hier hinein oder klicken Sie hier, um ein Bild auszuwählen',
+ 'images_deleted' => 'Bilder gelöscht',
+ 'image_preview' => 'Bildvorschau',
+ 'image_upload_success' => 'Bild erfolgreich hochgeladen',
+ 'image_update_success' => 'Bilddetails erfolgreich aktualisiert',
+ 'image_delete_success' => 'Bild erfolgreich gelöscht'
+];
\ No newline at end of file
diff --git a/resources/lang/de/entities.php b/resources/lang/de/entities.php
new file mode 100644
index 000000000..2859e4ec5
--- /dev/null
+++ b/resources/lang/de/entities.php
@@ -0,0 +1,225 @@
+ 'Kürzlich angelegt',
+ 'recently_created_pages' => 'Kürzlich angelegte Seiten',
+ 'recently_updated_pages' => 'Kürzlich aktualisierte Seiten',
+ 'recently_created_chapters' => 'Kürzlich angelegte Kapitel',
+ 'recently_created_books' => 'Kürzlich angelegte Bücher',
+ 'recently_update' => 'Kürzlich aktualisiert',
+ 'recently_viewed' => 'Kürzlich angesehen',
+ 'recent_activity' => 'Kürzliche Aktivität',
+ 'create_now' => 'Jetzt anlegen',
+ 'revisions' => 'Revisionen',
+ 'meta_created' => 'Angelegt am :timeLength',
+ 'meta_created_name' => 'Angelegt am :timeLength durch :user',
+ 'meta_updated' => 'Aktualisiert am :timeLength',
+ 'meta_updated_name' => 'Aktualisiert am :timeLength durch :user',
+ 'x_pages' => ':count Seiten',
+ 'entity_select' => 'Eintrag auswählen',
+ 'images' => 'Bilder',
+ 'my_recent_drafts' => 'Meine kürzlichen Entwürfe',
+ 'my_recently_viewed' => 'Kürzlich von mir angesehen',
+ 'no_pages_viewed' => 'Sie haben bisher keine Seiten angesehen.',
+ 'no_pages_recently_created' => 'Sie haben bisher keine Seiten angelegt.',
+ 'no_pages_recently_updated' => 'Sie haben bisher keine Seiten aktualisiert.',
+ 'export' => 'Exportieren',
+ 'export_html' => 'HTML-Datei',
+ 'export_pdf' => 'PDF-Datei',
+ 'export_text' => 'Text-Datei',
+
+ /**
+ * Permissions and restrictions
+ */
+ 'permissions' => 'Berechtigungen',
+ 'permissions_intro' => 'Wenn individuelle Berechtigungen aktiviert werden, überschreiben diese Einstellungen durch Rollen zugewiesene Berechtigungen.',
+ 'permissions_enable' => 'Individuelle Berechtigungen aktivieren',
+ 'permissions_save' => 'Berechtigungen speichern',
+
+ /**
+ * Search
+ */
+ 'search_results' => 'Suchergebnisse',
+ 'search_results_page' => 'Seiten-Suchergebnisse',
+ 'search_results_chapter' => 'Kapitel-Suchergebnisse',
+ 'search_results_book' => 'Buch-Suchergebnisse',
+ 'search_clear' => 'Suche zurücksetzen',
+ 'search_view_pages' => 'Zeige alle passenden Seiten',
+ 'search_view_chapters' => 'Zeige alle passenden Kapitel',
+ 'search_view_books' => 'Zeige alle passenden Bücher',
+ 'search_no_pages' => 'Es wurden keine passenden Suchergebnisse gefunden',
+ 'search_for_term' => 'Suche nach :term',
+ 'search_page_for_term' => 'Suche nach :term in Seiten',
+ 'search_chapter_for_term' => 'Suche nach :term in Kapiteln',
+ 'search_book_for_term' => 'Suche nach :term in Büchern',
+
+ /**
+ * Books
+ */
+ 'book' => 'Buch',
+ 'books' => 'Bücher',
+ 'books_empty' => 'Es wurden keine Bücher angelegt',
+ 'books_popular' => 'Populäre Bücher',
+ 'books_recent' => 'Kürzlich genutzte Bücher',
+ 'books_popular_empty' => 'Die populärsten Bücher werden hier angezeigt.',
+ 'books_create' => 'Neues Buch anlegen',
+ 'books_delete' => 'Buch löschen',
+ 'books_delete_named' => 'Buch :bookName löschen',
+ 'books_delete_explain' => 'Sie möchten das Buch \':bookName\' löschen und alle Seiten und Kapitel entfernen.',
+ 'books_delete_confirmation' => 'Sind Sie sicher, dass Sie dieses Buch löschen möchten?',
+ 'books_edit' => 'Buch bearbeiten',
+ 'books_edit_named' => 'Buch :bookName bearbeiten',
+ 'books_form_book_name' => 'Buchname',
+ 'books_save' => 'Buch speichern',
+ 'books_permissions' => 'Buch-Berechtigungen',
+ 'books_permissions_updated' => 'Buch-Berechtigungen aktualisiert',
+ 'books_empty_contents' => 'Es sind noch keine Seiten oder Kapitel für dieses Buch angelegt.',
+ 'books_empty_create_page' => 'Neue Seite anlegen',
+ 'books_empty_or' => 'oder',
+ 'books_empty_sort_current_book' => 'Aktuelles Buch sortieren',
+ 'books_empty_add_chapter' => 'Neues Kapitel hinzufügen',
+ 'books_permissions_active' => 'Buch-Berechtigungen aktiv',
+ 'books_search_this' => 'Dieses Buch durchsuchen',
+ 'books_navigation' => 'Buch-Navigation',
+ 'books_sort' => 'Buchinhalte sortieren',
+ 'books_sort_named' => 'Buch :bookName sortieren',
+ 'books_sort_show_other' => 'Andere Bücher zeigen',
+ 'books_sort_save' => 'Neue Reihenfolge speichern',
+
+ /**
+ * Chapters
+ */
+ 'chapter' => 'Kapitel',
+ 'chapters' => 'Kapitel',
+ 'chapters_popular' => 'Populäre Kapitel',
+ 'chapters_new' => 'Neues Kapitel',
+ 'chapters_create' => 'Neues Kapitel anlegen',
+ 'chapters_delete' => 'Kapitel entfernen',
+ 'chapters_delete_named' => 'Kapitel :chapterName entfernen',
+ 'chapters_delete_explain' => 'Sie möchten das Kapitel \':chapterName\' löschen und alle Seiten dem direkten Eltern-Buch hinzugefügen.',
+ 'chapters_delete_confirm' => 'Sind Sie sicher, dass Sie dieses Kapitel löschen möchten?',
+ 'chapters_edit' => 'Kapitel bearbeiten',
+ 'chapters_edit_named' => 'Kapitel :chapterName bearbeiten',
+ 'chapters_save' => 'Kapitel speichern',
+ 'chapters_move' => 'Kapitel verschieben',
+ 'chapters_move_named' => 'Kapitel :chapterName verschieben',
+ 'chapter_move_success' => 'Kapitel in das Buch :bookName verschoben.',
+ 'chapters_permissions' => 'Kapitel-Berechtigungen',
+ 'chapters_empty' => 'Aktuell sind keine Kapitel in diesem Buch angelegt.',
+ 'chapters_permissions_active' => 'Kapitel-Berechtigungen aktiv',
+ 'chapters_permissions_success' => 'Kapitel-Berechtigungenen aktualisisert',
+
+ /**
+ * Pages
+ */
+ 'page' => 'Seite',
+ 'pages' => 'Seiten',
+ 'pages_popular' => 'Populäre Seiten',
+ 'pages_new' => 'Neue Seite',
+ 'pages_attachments' => 'Anhänge',
+ 'pages_navigation' => 'Seitennavigation',
+ 'pages_delete' => 'Seite löschen',
+ 'pages_delete_named' => 'Seite :pageName löschen',
+ 'pages_delete_draft_named' => 'Seitenentwurf von :pageName löschen',
+ 'pages_delete_draft' => 'Seitenentwurf löschen',
+ 'pages_delete_success' => 'Seite gelöscht',
+ 'pages_delete_draft_success' => 'Seitenentwurf gelöscht',
+ 'pages_delete_confirm' => 'Sind Sie sicher, dass Sie diese Seite löschen möchen?',
+ 'pages_delete_draft_confirm' => 'Sind Sie sicher, dass Sie diesen Seitenentwurf löschen möchten?',
+ 'pages_editing_named' => 'Seite :pageName bearbeiten',
+ 'pages_edit_toggle_header' => 'Toggle header',
+ 'pages_edit_save_draft' => 'Entwurf speichern',
+ 'pages_edit_draft' => 'Seitenentwurf bearbeiten',
+ 'pages_editing_draft' => 'Seitenentwurf bearbeiten',
+ 'pages_editing_page' => 'Seite bearbeiten',
+ 'pages_edit_draft_save_at' => 'Entwurf gespeichert um ',
+ 'pages_edit_delete_draft' => 'Entwurf löschen',
+ 'pages_edit_discard_draft' => 'Entwurf verwerfen',
+ 'pages_edit_set_changelog' => 'Veränderungshinweis setzen',
+ 'pages_edit_enter_changelog_desc' => 'Bitte geben Sie eine kurze Zusammenfassung Ihrer Änderungen ein',
+ 'pages_edit_enter_changelog' => 'Veränderungshinweis eingeben',
+ 'pages_save' => 'Seite speichern',
+ 'pages_title' => 'Seitentitel',
+ 'pages_name' => 'Seitenname',
+ 'pages_md_editor' => 'Redakteur',
+ 'pages_md_preview' => 'Vorschau',
+ 'pages_md_insert_image' => 'Bild einfügen',
+ 'pages_md_insert_link' => 'Link zu einem Objekt einfügen',
+ 'pages_not_in_chapter' => 'Seite ist in keinem Kapitel',
+ 'pages_move' => 'Seite verschieben',
+ 'pages_move_success' => 'Seite nach ":parentName" verschoben',
+ 'pages_permissions' => 'Seiten Berechtigungen',
+ 'pages_permissions_success' => 'Seiten Berechtigungen aktualisiert',
+ 'pages_revisions' => 'Seitenversionen',
+ 'pages_revisions_named' => 'Seitenversionen von :pageName',
+ 'pages_revision_named' => 'Seitenversion von :pageName',
+ 'pages_revisions_created_by' => 'Angelegt von',
+ 'pages_revisions_date' => 'Versionsdatum',
+ 'pages_revisions_changelog' => 'Veränderungshinweise',
+ 'pages_revisions_changes' => 'Veränderungen',
+ 'pages_revisions_current' => 'Aktuelle Version',
+ 'pages_revisions_preview' => 'Vorschau',
+ 'pages_revisions_restore' => 'Zurück sichern',
+ 'pages_revisions_none' => 'Diese Seite hat keine älteren Versionen.',
+ 'pages_copy_link' => 'Link kopieren',
+ 'pages_permissions_active' => 'Seiten-Berechtigungen aktiv',
+ 'pages_initial_revision' => 'Erste Veröffentlichung',
+ 'pages_initial_name' => 'Neue Seite',
+ 'pages_editing_draft_notification' => 'Sie bearbeiten momenten einen Entwurf, der zuletzt um :timeDiff gespeichert wurde.',
+ 'pages_draft_edited_notification' => 'Diese Seite wurde seit diesem Zeitpunkt verändert. Wir empfehlen Ihnen, diesen Entwurf zu verwerfen.',
+ 'pages_draft_edit_active' => [
+ 'start_a' => ':count Benutzer haben die Bearbeitung dieser Seite begonnen.',
+ 'start_b' => ':userName hat die Bearbeitung dieser Seite begonnen.',
+ 'time_a' => 'seit die Seiten zuletzt aktualisiert wurden.',
+ 'time_b' => 'in den letzten :minCount Minuten',
+ 'message' => ':start :time. Achten Sie darauf keine Aktualisierungen von anderen Benutzern zu überschreiben!',
+ ],
+ 'pages_draft_discarded' => 'Entwurf verworfen. Der aktuelle Seiteninhalt wurde geladen.',
+
+ /**
+ * Editor sidebar
+ */
+ 'page_tags' => 'Seiten-Schlagwörter',
+ 'tag' => 'Schlagwort',
+ 'tags' => 'Schlagworte',
+ 'tag_value' => 'Schlagwortinhalt (Optional)',
+ 'tags_explain' => "Fügen Sie Schlagworte hinzu, um Ihren Inhalt zu kategorisieren. \n Sie können einen erklärenden Inhalt hinzufügen, um eine genauere Unterteilung vorzunehmen.",
+ 'tags_add' => 'Weiteres Schlagwort hinzufügen',
+ 'attachments' => 'Anhänge',
+ 'attachments_explain' => 'Sie können auf Ihrer Seite Dateien hochladen oder Links anfügen. Diese werden in der seitlich angezeigt.',
+ 'attachments_explain_instant_save' => 'Änderungen werden direkt gespeichert.',
+ 'attachments_items' => 'Angefügte Elemente',
+ 'attachments_upload' => 'Datei hochladen',
+ 'attachments_link' => 'Link anfügen',
+ 'attachments_set_link' => 'Link setzen',
+ 'attachments_delete_confirm' => 'Klicken Sie erneut auf löschen, um diesen Anhang zu entfernen.',
+ 'attachments_dropzone' => 'Ziehen Sie Dateien hier hinein oder klicken Sie hier, um eine Datei auszuwählen',
+ 'attachments_no_files' => 'Es wurden bisher keine Dateien hochgeladen.',
+ 'attachments_explain_link' => 'Wenn Sie keine Datei hochladen möchten, können Sie stattdessen einen Link anfügen. Dieser Link kann auf eine andere Seite oder zu einer Datei in der Cloud weisen.',
+ 'attachments_link_name' => 'Link-Name',
+ 'attachment_link' => 'Link zum Anhang',
+ 'attachments_link_url' => 'Link zu einer Datei',
+ 'attachments_link_url_hint' => 'URL einer Seite oder Datei',
+ 'attach' => 'anfügen',
+ 'attachments_edit_file' => 'Datei bearbeiten',
+ 'attachments_edit_file_name' => 'Dateiname',
+ 'attachments_edit_drop_upload' => 'Ziehen Sie Dateien hier hinein, um diese hochzuladen und zu überschreiben',
+ 'attachments_order_updated' => 'Reihenfolge der Anhänge aktualisiert',
+ 'attachments_updated_success' => 'Anhang-Details aktualisiert',
+ 'attachments_deleted' => 'Anhang gelöscht',
+ 'attachments_file_uploaded' => 'Datei erfolgrecich hochgeladen',
+ 'attachments_file_updated' => 'Datei erfolgreich aktualisisert',
+ 'attachments_link_attached' => 'Link erfolgreich der Seite hinzugefügt',
+
+ /**
+ * Profile View
+ */
+ 'profile_user_for_x' => 'Benutzer seit :time',
+ 'profile_created_content' => 'Angelegte Inhalte',
+ 'profile_not_created_pages' => ':userName hat bisher keine Seiten angelegt.',
+ 'profile_not_created_chapters' => ':userName hat bisher keine Kapitel angelegt.',
+ 'profile_not_created_books' => ':userName hat bisher keine Bücher angelegt.',
+];
\ No newline at end of file
diff --git a/resources/lang/de/errors.php b/resources/lang/de/errors.php
index 697952086..e085d9915 100644
--- a/resources/lang/de/errors.php
+++ b/resources/lang/de/errors.php
@@ -8,5 +8,63 @@ return [
// Pages
'permission' => 'Sie haben keine Berechtigung auf diese Seite zuzugreifen.',
- 'permissionJson' => 'Sie haben keine Berechtigung die angeforderte Aktion auszuführen.'
+ 'permissionJson' => 'Sie haben keine Berechtigung die angeforderte Aktion auszuführen.',
+
+ // Auth
+ 'error_user_exists_different_creds' => 'Ein Benutzer mit der E-Mail-Adresse :email ist bereits mit anderen Anmeldedaten angelegt.',
+ 'email_already_confirmed' => 'Die E-Mail-Adresse ist bereits bestätigt. Bitte melden Sie sich an.',
+ 'email_confirmation_invalid' => 'Der Bestätigungs-Token ist nicht gültig oder wurde bereits verwendet. Bitte registrieren Sie sich erneut.',
+ 'email_confirmation_expired' => 'Der Bestätigungs-Token ist abgelaufen. Es wurde eine neue Bestätigungs-E-Mail gesendet.',
+ 'ldap_fail_anonymous' => 'Anonymer LDAP Zugriff ist fehlgeschlafgen',
+ 'ldap_fail_authed' => 'LDAP Zugriff mit DN & Passwort ist fehlgeschlagen',
+ 'ldap_extension_not_installed' => 'LDAP PHP Erweiterung ist nicht installiert.',
+ 'ldap_cannot_connect' => 'Die Verbindung zu LDAP-Server ist fehlgeschlagen. Beim initialen Verbindungsaufbau trat ein Fehler auf.',
+ 'social_no_action_defined' => 'Es ist keine Aktion definiert',
+ 'social_account_in_use' => 'Dieses :socialAccount Konto wird bereits verwendet. Bitte melden Sie sich mit dem :socialAccount Konto an.',
+ 'social_account_email_in_use' => 'Die E-Mail-Adresse :email ist bereits registriert. Wenn Sie bereits registriert sind, können Sie Ihr :socialAccount Konto in Ihren Profil-Einstellungen verknüpfen.',
+ 'social_account_existing' => 'Dieses :socialAccount Konto ist bereits mit Ihrem Profil verknüpft.',
+ 'social_account_already_used_existing' => 'Dieses :socialAccount Konto wird bereits durch einen anderen Benutzer verwendet.',
+ 'social_account_not_used' => 'Dieses :socialAccount Konto ist bisher keinem Benutzer zugeordnet. Bitte verknüpfen Sie deses in Ihrem Profil-Einstellungen.',
+ 'social_account_register_instructions' => 'Wenn Sie bisher keinen Social-Media Konto besitzen können Sie ein solches Konto mit der :socialAccount Option anlegen.',
+ 'social_driver_not_found' => 'Social-Media Konto Treiber nicht gefunden',
+ 'social_driver_not_configured' => 'Ihr :socialAccount Konto ist nicht korrekt konfiguriert.',
+
+ // System
+ 'path_not_writable' => 'Die Datei kann nicht in den angegebenen Pfad :filePath hochgeladen werden. Stellen Sie sicher, dass dieser Ordner auf dem Server beschreibbar ist.',
+ 'cannot_get_image_from_url' => 'Bild konnte nicht von der URL :url geladen werden.',
+ 'cannot_create_thumbs' => 'Der Server kann keine Vorschau-Bilder erzeugen. Bitte prüfen Sie, ob Sie die GD PHP Erweiterung installiert haben.',
+ 'server_upload_limit' => 'Der Server verbietet das Hochladen von Dateien mit dieser Dateigröße. Bitte versuchen Sie es mit einer kleineren Datei.',
+ 'image_upload_error' => 'Beim Hochladen des Bildes trat ein Fehler auf.',
+
+ // Attachments
+ 'attachment_page_mismatch' => 'Die Seite stimmt nach dem Hochladen des Anhangs nicht überein.',
+
+ // Pages
+ 'page_draft_autosave_fail' => 'Fehler beim Speichern des Entwurfs. Stellen Sie sicher, dass Sie mit dem Internet verbunden sind, bevor Sie den Entwurf dieser Seite speichern.',
+
+ // Entities
+ 'entity_not_found' => 'Eintrag nicht gefunden',
+ 'book_not_found' => 'Buch nicht gefunden',
+ 'page_not_found' => 'Seite nicht gefunden',
+ 'chapter_not_found' => 'Kapitel nicht gefunden',
+ 'selected_book_not_found' => 'Das gewählte Buch wurde nicht gefunden.',
+ 'selected_book_chapter_not_found' => 'Das gewählte Buch oder Kapitel wurde nicht gefunden.',
+ 'guests_cannot_save_drafts' => 'Gäste können keine Entwürfe speichern',
+
+ // Users
+ 'users_cannot_delete_only_admin' => 'Sie können den einzigen Administrator nicht löschen.',
+ 'users_cannot_delete_guest' => 'Sie können den Gast-Benutzer nicht löschen',
+
+ // Roles
+ 'role_cannot_be_edited' => 'Diese Rolle kann nicht bearbeitet werden.',
+ 'role_system_cannot_be_deleted' => 'Dies ist eine Systemrolle und kann nicht gelöscht werden',
+ 'role_registration_default_cannot_delete' => 'Diese Rolle kann nicht gelöscht werden solange sie als Standardrolle für neue Registrierungen gesetzt ist',
+
+ // Error pages
+ '404_page_not_found' => 'Seite nicht gefunden',
+ 'sorry_page_not_found' => 'Entschuldigung. Die Seite, die Sie angefordert haben wurde nicht gefunden.',
+ 'return_home' => 'Zurück zur Startseite',
+ 'error_occurred' => 'Es ist ein Fehler aufgetreten',
+ 'app_down' => ':appName befindet sich aktuell im Wartungsmodus.',
+ 'back_soon' => 'Wir werden so schnell wie möglich wieder online sein.',
];
diff --git a/resources/lang/de/passwords.php b/resources/lang/de/passwords.php
index f71358055..c44b49baa 100644
--- a/resources/lang/de/passwords.php
+++ b/resources/lang/de/passwords.php
@@ -16,7 +16,7 @@ return [
'password' => 'Passörter müssen mindestens sechs Zeichen enthalten und die Wiederholung muss identisch sein.',
'user' => "Wir können keinen Benutzer mit dieser E-Mail Adresse finden.",
'token' => 'Dieser Passwort-Reset-Token ist ungültig.',
- 'sent' => 'Wir haben ihnen eine E-Mail mit einem Link zum Zurücksetzen des Passworts zugesendet!',
+ 'sent' => 'Wir haben Ihnen eine E-Mail mit einem Link zum Zurücksetzen des Passworts zugesendet!',
'reset' => 'Ihr Passwort wurde zurückgesetzt!',
];
diff --git a/resources/lang/de/settings.php b/resources/lang/de/settings.php
index 0017acd1d..668eecf33 100644
--- a/resources/lang/de/settings.php
+++ b/resources/lang/de/settings.php
@@ -10,14 +10,19 @@ return [
'settings' => 'Einstellungen',
'settings_save' => 'Einstellungen speichern',
+ 'settings_save_success' => 'Einstellungen gespeichert',
+
+ /**
+ * App settings
+ */
'app_settings' => 'Anwendungseinstellungen',
'app_name' => 'Anwendungsname',
- 'app_name_desc' => 'Dieser Name wird im Header und E-Mails angezeigt.',
+ 'app_name_desc' => 'Dieser Name wird im Header und in E-Mails angezeigt.',
'app_name_header' => 'Anwendungsname im Header anzeigen?',
'app_public_viewing' => 'Öffentliche Ansicht erlauben?',
'app_secure_images' => 'Erhöhte Sicherheit für Bilduploads aktivieren?',
- 'app_secure_images_desc' => 'Aus Leistungsgründen sind alle Bilder öffentlich sichtbar. Diese Option fügt zufällige, schwer zu eratene, Zeichenketten vor die Bild-URLs hinzu. Stellen sie sicher, dass Verzeichnindexes deaktiviert sind, um einen einfachen Zugrif zu verhindern.',
+ 'app_secure_images_desc' => 'Aus Leistungsgründen sind alle Bilder öffentlich sichtbar. Diese Option fügt zufällige, schwer zu eratene, Zeichenketten vor die Bild-URLs hinzu. Stellen sie sicher, dass Verzeichnindexes deaktiviert sind, um einen einfachen Zugriff zu verhindern.',
'app_editor' => 'Seiteneditor',
'app_editor_desc' => 'Wählen sie den Editor aus, der von allen Benutzern genutzt werden soll, um Seiten zu editieren.',
'app_custom_html' => 'Benutzerdefinierter HTML Inhalt',
@@ -25,15 +30,82 @@ return [
'app_logo' => 'Anwendungslogo',
'app_logo_desc' => 'Dieses Bild sollte 43px hoch sein. Größere Bilder werden verkleinert.',
'app_primary_color' => 'Primäre Anwendungsfarbe',
- 'app_primary_color_desc' => 'Dies sollte ein HEX Wert sein. Leer lassen des Feldes setzt auf die Standard-Anwendungsfarbe zurück.',
+ 'app_primary_color_desc' => 'Dies sollte ein HEX Wert sein. Wenn Sie nicht eingeben, wird die Anwendung auf die Standardfarbe zurückgesetzt.',
+
+ /**
+ * Registration settings
+ */
'reg_settings' => 'Registrierungseinstellungen',
'reg_allow' => 'Registrierung erlauben?',
'reg_default_role' => 'Standard-Benutzerrolle nach Registrierung',
'reg_confirm_email' => 'Bestätigung per E-Mail erforderlich?',
- 'reg_confirm_email_desc' => 'Falls die Einschränkung für; Domains genutzt wird, ist die Bestätigung per E-Mail zwingend erforderlich und der untenstehende Wert wird ignoriert.',
+ 'reg_confirm_email_desc' => 'Falls die Einschränkung für Domains genutzt wird, ist die Bestätigung per E-Mail zwingend erforderlich und der untenstehende Wert wird ignoriert.',
'reg_confirm_restrict_domain' => 'Registrierung auf bestimmte Domains einschränken',
'reg_confirm_restrict_domain_desc' => 'Fügen sie eine, durch Komma getrennte, Liste von E-Mail Domains hinzu, auf die die Registrierung eingeschränkt werden soll. Benutzern wird eine E-Mail gesendet, um ihre E-Mail Adresse zu bestätigen, bevor sie diese Anwendung nutzen können. Hinweis: Benutzer können ihre E-Mail Adresse nach erfolgreicher Registrierung ändern.',
'reg_confirm_restrict_domain_placeholder' => 'Keine Einschränkung gesetzt',
+ /**
+ * Role settings
+ */
+
+ 'roles' => 'Rollen',
+ 'role_user_roles' => 'Benutzer-Rollen',
+ 'role_create' => 'Neue Rolle anlegen',
+ 'role_create_success' => 'Rolle erfolgreich angelegt',
+ 'role_delete' => 'Rolle löschen',
+ 'role_delete_confirm' => 'Sie möchten die Rolle \':roleName\' löschen.',
+ 'role_delete_users_assigned' => 'Diese Rolle ist :userCount Benutzern zugeordnet. Sie können unten eine neue Rolle auswählen, die Sie diesen Benutzern zuordnen möchten.',
+ 'role_delete_no_migration' => "Den Benutzern keine andere Rolle zuordnen",
+ 'role_delete_sure' => 'Sind Sie sicher, dass Sie diese Rolle löschen möchten?',
+ 'role_delete_success' => 'Rolle erfolgreich gelöscht',
+ 'role_edit' => 'Rolle bearbeiten',
+ 'role_details' => 'Rollen-Details',
+ 'role_name' => 'Rollenname',
+ 'role_desc' => 'Kurzbeschreibung der Rolle',
+ 'role_system' => 'System-Berechtigungen',
+ 'role_manage_users' => 'Benutzer verwalten',
+ 'role_manage_roles' => 'Rollen & Rollen-Berechtigungen verwalten',
+ 'role_manage_entity_permissions' => 'Alle Buch-, Kapitel und Seiten-Berechtigungen verwalten',
+ 'role_manage_own_entity_permissions' => 'Nur Berechtigungen eigener Bücher, Kapitel und Seiten verwalten',
+ 'role_manage_settings' => 'Globaleinstellungen verwalrten',
+ 'role_asset' => 'Berechtigungen',
+ 'role_asset_desc' => 'Diese Berechtigungen gelten für den Standard-Zugriff innerhalb des Systems. Berechtigungen für Bücher, Kapitel und Seiten überschreiben diese Berechtigungenen.',
+ 'role_all' => 'Alle',
+ 'role_own' => 'Eigene',
+ 'role_controlled_by_asset' => 'Controlled by the asset they are uploaded to',
+ 'role_save' => 'Rolle speichern',
+ 'role_update_success' => 'Rolle erfolgreich gespeichert',
+ 'role_users' => 'Dieser Rolle zugeordnete Benutzer',
+ 'role_users_none' => 'Bisher sind dieser Rolle keiner Benutzer zugeordnet,',
+
+ /**
+ * Users
+ */
+
+ 'users' => 'Benutzer',
+ 'user_profile' => 'Benutzerprofil',
+ 'users_add_new' => 'Benutzer hinzufügen',
+ 'users_search' => 'Benutzer suchen',
+ 'users_role' => 'Benutzerrollen',
+ 'users_external_auth_id' => 'Externe Authentifizierungs-ID',
+ 'users_password_warning' => 'Füllen Sie die folgenden Felder nur aus, wenn Sie Ihr Passwort ändern möchten:',
+ 'users_system_public' => 'Dieser Benutzer repräsentiert alle Gast-Benutzer, die diese Seite betrachten. Er kann nicht zum Anmelden benutzt werden, sondern wird automatisch zugeordnet.',
+ 'users_delete' => 'Benutzer löschen',
+ 'users_delete_named' => 'Benutzer :userName löschen',
+ 'users_delete_warning' => 'Sie möchten den Benutzer \':userName\' gänzlich aus dem System löschen.',
+ 'users_delete_confirm' => 'Sind Sie sicher, dass Sie diesen Benutzer löschen möchten?',
+ 'users_delete_success' => 'Benutzer erfolgreich gelöscht.',
+ 'users_edit' => 'Benutzer bearbeiten',
+ 'users_edit_profile' => 'Profil bearbeiten',
+ 'users_edit_success' => 'Benutzer erfolgreich aktualisisert',
+ 'users_avatar' => 'Benutzer-Bild',
+ 'users_avatar_desc' => 'Dieses Bild sollte einen Durchmesser von ca. 256px haben.',
+ 'users_preferred_language' => 'Bevorzugte Sprache',
+ 'users_social_accounts' => 'Social-Media Konten',
+ 'users_social_accounts_info' => 'Hier können Sie andere Social-Media Konten für eine schnellere und einfachere Anmeldung verknüpfen. Wenn Sie ein Social-Media Konto hier lösen, bleibt der Zugriff erhalteb. Entfernen Sie in diesem Falle die Berechtigung in Ihren Profil-Einstellungen des verknüpften Social-Media Kontos.',
+ 'users_social_connect' => 'Social-Media Konto verknüpfen',
+ 'users_social_disconnect' => 'Social-Media Kontoverknüpfung lösen',
+ 'users_social_connected' => ':socialAccount Konto wurde erfolgreich mit dem Profil verknüpft.',
+ 'users_social_disconnected' => ':socialAccount Konto wurde erfolgreich vom Profil gelöst.',
];
diff --git a/resources/lang/en/auth.php b/resources/lang/en/auth.php
index b734828fc..a1232efc6 100644
--- a/resources/lang/en/auth.php
+++ b/resources/lang/en/auth.php
@@ -18,6 +18,8 @@ return [
*/
'sign_up' => 'Sign up',
'log_in' => 'Log in',
+ 'log_in_with' => 'Login with :socialDriver',
+ 'sign_up_with' => 'Sign up with :socialDriver',
'logout' => 'Logout',
'name' => 'Name',
diff --git a/resources/lang/en/entities.php b/resources/lang/en/entities.php
index 109b6ee2a..f54134718 100644
--- a/resources/lang/en/entities.php
+++ b/resources/lang/en/entities.php
@@ -26,6 +26,10 @@ return [
'no_pages_viewed' => 'You have not viewed any pages',
'no_pages_recently_created' => 'No pages have been recently created',
'no_pages_recently_updated' => 'No pages have been recently updated',
+ 'export' => 'Export',
+ 'export_html' => 'Contained Web File',
+ 'export_pdf' => 'PDF File',
+ 'export_text' => 'Plain Text File',
/**
* Permissions and restrictions
@@ -161,10 +165,6 @@ return [
'pages_revisions_preview' => 'Preview',
'pages_revisions_restore' => 'Restore',
'pages_revisions_none' => 'This page has no revisions',
- 'pages_export' => 'Export',
- 'pages_export_html' => 'Contained Web File',
- 'pages_export_pdf' => 'PDF File',
- 'pages_export_text' => 'Plain Text File',
'pages_copy_link' => 'Copy Link',
'pages_permissions_active' => 'Page Permissions Active',
'pages_initial_revision' => 'Initial publish',
diff --git a/resources/lang/en/settings.php b/resources/lang/en/settings.php
index ed8a0db43..fa60f99a8 100644
--- a/resources/lang/en/settings.php
+++ b/resources/lang/en/settings.php
@@ -116,8 +116,10 @@ return [
'language_select' => [
'en' => 'English',
'de' => 'Deutsch',
+ 'es' => 'Español',
'fr' => 'Français',
- 'pt_BR' => 'Português do Brasil'
+ 'nl' => 'Nederlands',
+ 'pt_BR' => 'Português do Brasil',
]
///////////////////////////////////
];
diff --git a/resources/lang/es/activities.php b/resources/lang/es/activities.php
new file mode 100644
index 000000000..649b8c7d2
--- /dev/null
+++ b/resources/lang/es/activities.php
@@ -0,0 +1,40 @@
+ 'página creada',
+ 'page_create_notification' => 'Página creada exitosamente',
+ 'page_update' => 'página actualizada',
+ 'page_update_notification' => 'Página actualizada exitosamente',
+ 'page_delete' => 'página borrada',
+ 'page_delete_notification' => 'Página borrada exitosamente',
+ 'page_restore' => 'página restaurada',
+ 'page_restore_notification' => 'Página restaurada exitosamente',
+ 'page_move' => 'página movida',
+
+ // Chapters
+ 'chapter_create' => 'capÃtulo creado',
+ 'chapter_create_notification' => 'CapÃtulo creado exitosamente',
+ 'chapter_update' => 'capÃtulo actualizado',
+ 'chapter_update_notification' => 'CapÃtulo actualizado exitosamente',
+ 'chapter_delete' => 'capÃtulo borrado',
+ 'chapter_delete_notification' => 'CapÃtulo borrado exitosamente',
+ 'chapter_move' => 'capÃtulo movido',
+
+ // Books
+ 'book_create' => 'libro creado',
+ 'book_create_notification' => 'Libro creado exitosamente',
+ 'book_update' => 'libro actualizado',
+ 'book_update_notification' => 'Libro actualizado exitosamente',
+ 'book_delete' => 'libro borrado',
+ 'book_delete_notification' => 'Libro borrado exitosamente',
+ 'book_sort' => 'libro ordenado',
+ 'book_sort_notification' => 'Libro re-ordenado exitosamente',
+
+];
diff --git a/resources/lang/es/auth.php b/resources/lang/es/auth.php
new file mode 100644
index 000000000..8837525ae
--- /dev/null
+++ b/resources/lang/es/auth.php
@@ -0,0 +1,74 @@
+ 'Las credenciales no concuerdan con nuestros registros.',
+ 'throttle' => 'Demasiados intentos fallidos de conexiÃn. Por favor intente nuevamente en :seconds segundos.',
+
+ /**
+ * Login & Register
+ */
+ 'sign_up' => 'Inscribete',
+ 'log_in' => 'Log in',
+ 'logout' => 'Logout',
+
+ 'name' => 'Nombre',
+ 'username' => 'Username',
+ 'email' => 'Email',
+ 'password' => 'Password',
+ 'password_confirm' => 'Confirmar Password',
+ 'password_hint' => 'Debe contener al menos 5 caracteres',
+ 'forgot_password' => 'Olvidó Password?',
+ 'remember_me' => 'Recordarme',
+ 'ldap_email_hint' => 'Por favor introduzca un mail para utilizar con esta cuenta.',
+ 'create_account' => 'Crear una cuenta',
+ 'social_login' => 'Login Social',
+ 'social_registration' => 'Registro Social',
+ 'social_registration_text' => 'Registrar y entrar utilizando otro servicio.',
+
+ 'register_thanks' => 'Gracias por registrarse!',
+ 'register_confirm' => 'Por favor chequee su email y haga clic en el botón de confirmación enviado para acceder a :appName.',
+ 'registrations_disabled' => 'Los registros están deshabilitados actualmente',
+ 'registration_email_domain_invalid' => 'Este dominio de Email no tiene acceso a esta aplicación',
+ 'register_success' => 'Gracias por registrarse! Ahora se encuentra registrado y logueado.',
+
+
+ /**
+ * Password Reset
+ */
+ 'reset_password' => 'Reset Password',
+ 'reset_password_send_instructions' => 'Introduzca su email a continuación y le será enviado un correo con un link para la restauración',
+ 'reset_password_send_button' => 'Enviar Link de Reset',
+ 'reset_password_sent_success' => 'Un link para resetear password ha sido enviado a :email.',
+ 'reset_password_success' => 'Su password ha sido reiniciado de manera éxitosa.',
+
+ 'email_reset_subject' => 'Reset de su password de :appName',
+ 'email_reset_text' => 'Ud. esta recibiendo este email debido a que recibimos una solicitud de reset de password de su cuenta.',
+ 'email_reset_not_requested' => 'Si ud. no solicitó un reset de password, no es requerida ninguna acción.',
+
+
+ /**
+ * Email Confirmation
+ */
+ 'email_confirm_subject' => 'Confirme su email en :appName',
+ 'email_confirm_greeting' => 'Gracias por unirse a :appName!',
+ 'email_confirm_text' => 'Por favor confirme su dirección de email haciendo click en el siguiente botón:',
+ 'email_confirm_action' => 'Confirmar Email',
+ 'email_confirm_send_error' => 'Confirmation de email requerida pero el sistema no pudo enviar el mail. Contacte al administrador para asegurarse que el email está seteado correctamente.',
+ 'email_confirm_success' => 'Su email hasido confirmado!',
+ 'email_confirm_resent' => 'Email de confirmación reenviado, Por favor chequee su Inbox.',
+
+ 'email_not_confirmed' => 'Dirección de email no confirmada',
+ 'email_not_confirmed_text' => 'Su cuenta de email todavÃa no ha sido confirmada.',
+ 'email_not_confirmed_click_link' => 'Por favor chequee el email con el link de confirmación que ha sido enviado luego de registrarse.',
+ 'email_not_confirmed_resend' => 'Si no puede encontrar el email, puede solicitar el renvÃo del email de confirmación rellenando el formulario a continuación.',
+ 'email_not_confirmed_resend_button' => 'Reenviar Email de confirmación',
+];
diff --git a/resources/lang/es/common.php b/resources/lang/es/common.php
new file mode 100644
index 000000000..3a62a2177
--- /dev/null
+++ b/resources/lang/es/common.php
@@ -0,0 +1,58 @@
+ 'Cancelar',
+ 'confirm' => 'Confirmar',
+ 'back' => 'Atrás',
+ 'save' => 'Guardar',
+ 'continue' => 'Continuar',
+ 'select' => 'Seleccionar',
+
+ /**
+ * Form Labels
+ */
+ 'name' => 'Nombre',
+ 'description' => 'Descripción',
+ 'role' => 'Rol',
+
+ /**
+ * Actions
+ */
+ 'actions' => 'Acciones',
+ 'view' => 'Ver',
+ 'create' => 'Crear',
+ 'update' => 'Actualizar',
+ 'edit' => 'Editar',
+ 'sort' => 'Ordenar',
+ 'move' => 'Mover',
+ 'delete' => 'Borrar',
+ 'search' => 'Buscar',
+ 'search_clear' => 'Limpiar búsqueda',
+ 'reset' => 'Reset',
+ 'remove' => 'Remover',
+
+
+ /**
+ * Misc
+ */
+ 'deleted_user' => 'Usuario borrado',
+ 'no_activity' => 'Ninguna actividad para mostrar',
+ 'no_items' => 'No hay items disponibles',
+ 'back_to_top' => 'Volver arriba',
+ 'toggle_details' => 'Alternar detalles',
+
+ /**
+ * Header
+ */
+ 'view_profile' => 'Ver Perfil',
+ 'edit_profile' => 'Editar Perfil',
+
+ /**
+ * Email Content
+ */
+ 'email_action_help' => 'Si está teniendo problemas haga click en el botón ":actionText", copie y pegue la siguiente URL en su navegador web:',
+ 'email_rights' => 'Todos los derechos reservados',
+];
diff --git a/resources/lang/es/components.php b/resources/lang/es/components.php
new file mode 100644
index 000000000..fead3d4a3
--- /dev/null
+++ b/resources/lang/es/components.php
@@ -0,0 +1,24 @@
+ 'Seleccionar Imagen',
+ 'image_all' => 'Todo',
+ 'image_all_title' => 'Ver todas las imágenes',
+ 'image_book_title' => 'Ver las imágenes subidas a este libro',
+ 'image_page_title' => 'Ver las imágenes subidas a esta página',
+ 'image_search_hint' => 'Buscar por nombre de imagen',
+ 'image_uploaded' => 'Subido el :uploadedDate',
+ 'image_load_more' => 'Cargar más',
+ 'image_image_name' => 'Nombre de imagen',
+ 'image_delete_confirm' => 'Esta imagen esta siendo utilizada en las páginas a continuación, haga click de nuevo para confirmar que quiere borrar esta imagen.',
+ 'image_select_image' => 'Seleccionar Imagen',
+ 'image_dropzone' => 'Arrastre las imágenes o hacer click aquà para Subir',
+ 'images_deleted' => 'Imágenes borradas',
+ 'image_preview' => 'Preview de la imagen',
+ 'image_upload_success' => 'Imagen subida exitosamente',
+ 'image_update_success' => 'Detalles de la imagen actualizados exitosamente',
+ 'image_delete_success' => 'Imagen borrada exitosamente'
+];
diff --git a/resources/lang/es/entities.php b/resources/lang/es/entities.php
new file mode 100644
index 000000000..14e952f1a
--- /dev/null
+++ b/resources/lang/es/entities.php
@@ -0,0 +1,226 @@
+ 'Recientemente creadod',
+ 'recently_created_pages' => 'Páginas recientemente creadas',
+ 'recently_updated_pages' => 'Páginas recientemente actualizadas',
+ 'recently_created_chapters' => 'CapÃtulos recientemente creados',
+ 'recently_created_books' => 'Libros recientemente creados',
+ 'recently_update' => 'Recientemente actualizado',
+ 'recently_viewed' => 'Recientemente visto',
+ 'recent_activity' => 'Actividad reciente',
+ 'create_now' => 'Crear uno ahora',
+ 'revisions' => 'Revisiones',
+ 'meta_created' => 'Creado el :timeLength',
+ 'meta_created_name' => 'Creado el :timeLength por :user',
+ 'meta_updated' => 'Actualizado el :timeLength',
+ 'meta_updated_name' => 'Actualizado el :timeLength por :user',
+ 'x_pages' => ':count Páginas',
+ 'entity_select' => 'Seleccione entidad',
+ 'images' => 'Imágenes',
+ 'my_recent_drafts' => 'Mis borradores recientes',
+ 'my_recently_viewed' => 'Mis visualizaciones recientes',
+ 'no_pages_viewed' => 'Ud. no ha visto ninguna página',
+ 'no_pages_recently_created' => 'Ninguna página ha sido creada recientemente',
+ 'no_pages_recently_updated' => 'Ninguna página ha sido actualizada recientemente',
+ 'export' => 'Export',
+ 'export_html' => 'Contained Web File',
+ 'export_pdf' => 'PDF File',
+ 'export_text' => 'Plain Text File',
+
+ /**
+ * Permissions and restrictions
+ */
+ 'permissions' => 'Permisos',
+ 'permissions_intro' => 'una vez habilitado, Estos permisos tendrán prioridad por encima de cualquier permiso establecido.',
+ 'permissions_enable' => 'Habilitar permisos custom',
+ 'permissions_save' => 'Guardar permisos',
+
+ /**
+ * Search
+ */
+ 'search_results' => 'Buscar resultados',
+ 'search_results_page' => 'resultados de búsqueda en página',
+ 'search_results_chapter' => 'Resultados de búsqueda en capÃtulo ',
+ 'search_results_book' => 'Resultados de búsqueda en libro',
+ 'search_clear' => 'Limpiar resultados',
+ 'search_view_pages' => 'Ver todas las páginas que concuerdan',
+ 'search_view_chapters' => 'Ver todos los capÃtulos que concuerdan',
+ 'search_view_books' => 'Ver todos los libros que concuerdan',
+ 'search_no_pages' => 'Ninguna página encontrada para la búsqueda',
+ 'search_for_term' => 'Busqueda por :term',
+ 'search_page_for_term' => 'Búsqueda de página por :term',
+ 'search_chapter_for_term' => 'Búsqueda por capÃtulo de :term',
+ 'search_book_for_term' => 'Búsqueda en libro de :term',
+
+ /**
+ * Books
+ */
+ 'book' => 'Libro',
+ 'books' => 'Libros',
+ 'books_empty' => 'No hay libros creados',
+ 'books_popular' => 'Libros populares',
+ 'books_recent' => 'Libros recientes',
+ 'books_popular_empty' => 'Los libros más populares aparecerán aquÃ.',
+ 'books_create' => 'Crear nuevo libro',
+ 'books_delete' => 'Borrar libro',
+ 'books_delete_named' => 'Borrar libro :bookName',
+ 'books_delete_explain' => 'Esto borrará el libro con el nombre \':bookName\', Todos las páginas y capÃtulos serán removios.',
+ 'books_delete_confirmation' => '¿Está seguro de que desea borrar este libro?',
+ 'books_edit' => 'Editar Libro',
+ 'books_edit_named' => 'Editar Libro :bookName',
+ 'books_form_book_name' => 'Nombre de libro',
+ 'books_save' => 'Guardar libro',
+ 'books_permissions' => 'permisos de libro',
+ 'books_permissions_updated' => 'Permisos de libro actualizados',
+ 'books_empty_contents' => 'Ninguna página o capÃtulo ha sido creada para este libro.',
+ 'books_empty_create_page' => 'Crear una nueva página',
+ 'books_empty_or' => 'ó',
+ 'books_empty_sort_current_book' => 'Organizar el libro actual',
+ 'books_empty_add_chapter' => 'Agregar un capÃtulo',
+ 'books_permissions_active' => 'Permisos de libro activados',
+ 'books_search_this' => 'Buscar en este libro',
+ 'books_navigation' => 'Navegación de libro',
+ 'books_sort' => 'Organizar contenido de libro',
+ 'books_sort_named' => 'Organizar libro :bookName',
+ 'books_sort_show_other' => 'Mostrar otros libros',
+ 'books_sort_save' => 'Guardar nuevo orden',
+
+ /**
+ * Chapters
+ */
+ 'chapter' => 'CapÃtulo',
+ 'chapters' => 'CapÃtulos',
+ 'chapters_popular' => 'CapÃtulos populares',
+ 'chapters_new' => 'Nuevo capÃtulo',
+ 'chapters_create' => 'Crear nuevo capÃtulo',
+ 'chapters_delete' => 'Borrar capÃtulo',
+ 'chapters_delete_named' => 'Borrar capÃtulo :chapterName',
+ 'chapters_delete_explain' => 'Esto borrará el caÃtulo con el nombre \':chapterName\', todas las páginas serán removidas
+ y agregadas directamente al libro padre.',
+ 'chapters_delete_confirm' => 'Está ud. seguro de borrar este capÃtulo?',
+ 'chapters_edit' => 'Editar capÃtulo',
+ 'chapters_edit_named' => 'Editar capÃtulo :chapterName',
+ 'chapters_save' => 'Guardar capÃtulo',
+ 'chapters_move' => 'Mover capÃtulo',
+ 'chapters_move_named' => 'Mover CapÃtulo :chapterName',
+ 'chapter_move_success' => 'CapÃtulo movido a :bookName',
+ 'chapters_permissions' => 'Permisos de capÃtulo',
+ 'chapters_empty' => 'No existen páginas en este capÃtulo.',
+ 'chapters_permissions_active' => 'Permisos de capÃtulo activado',
+ 'chapters_permissions_success' => 'Permisos de capÃtulo actualizados',
+
+ /**
+ * Pages
+ */
+ 'page' => 'Página',
+ 'pages' => 'Páginas',
+ 'pages_popular' => 'Páginas populares',
+ 'pages_new' => 'Nueva página',
+ 'pages_attachments' => 'Adjuntos',
+ 'pages_navigation' => 'Navegación de página',
+ 'pages_delete' => 'Borrar página',
+ 'pages_delete_named' => 'Borrar página :pageName',
+ 'pages_delete_draft_named' => 'Borrar borrador de página :pageName',
+ 'pages_delete_draft' => 'Borrar borrador de página',
+ 'pages_delete_success' => 'Página borrada',
+ 'pages_delete_draft_success' => 'Borrador de página borrado',
+ 'pages_delete_confirm' => 'Está ud. seguro de borrar esta página ?',
+ 'pages_delete_draft_confirm' => 'Está ud. seguro de que desea borrar este borrador de página?',
+ 'pages_editing_named' => 'Editando página :pageName',
+ 'pages_edit_toggle_header' => 'Toggle TÃtulo',
+ 'pages_edit_save_draft' => 'Guardar borrador',
+ 'pages_edit_draft' => 'Editar borrador de página',
+ 'pages_editing_draft' => 'Editando borrador',
+ 'pages_editing_page' => 'Editando página',
+ 'pages_edit_draft_save_at' => 'Borrador guardado el ',
+ 'pages_edit_delete_draft' => 'Borrar borrador',
+ 'pages_edit_discard_draft' => 'Descartar borrador',
+ 'pages_edit_set_changelog' => 'Set Changelog',
+ 'pages_edit_enter_changelog_desc' => 'Introduzca una breve descripción de los cambios que ha realizado',
+ 'pages_edit_enter_changelog' => 'Entrar en Changelog',
+ 'pages_save' => 'Guardar página',
+ 'pages_title' => 'TÃtulo de página',
+ 'pages_name' => 'Nombre de página',
+ 'pages_md_editor' => 'Editor',
+ 'pages_md_preview' => 'Preview',
+ 'pages_md_insert_image' => 'Insertar Imagen',
+ 'pages_md_insert_link' => 'Insert Entity Link',
+ 'pages_not_in_chapter' => 'Page is not in a chapter',
+ 'pages_move' => 'Move Page',
+ 'pages_move_success' => 'Page moved to ":parentName"',
+ 'pages_permissions' => 'Page Permissions',
+ 'pages_permissions_success' => 'Page permissions updated',
+ 'pages_revisions' => 'Page Revisions',
+ 'pages_revisions_named' => 'Page Revisions for :pageName',
+ 'pages_revision_named' => 'Page Revision for :pageName',
+ 'pages_revisions_created_by' => 'Created By',
+ 'pages_revisions_date' => 'Revision Date',
+ 'pages_revisions_changelog' => 'Changelog',
+ 'pages_revisions_changes' => 'Changes',
+ 'pages_revisions_current' => 'Current Version',
+ 'pages_revisions_preview' => 'Preview',
+ 'pages_revisions_restore' => 'Restore',
+ 'pages_revisions_none' => 'This page has no revisions',
+ 'pages_copy_link' => 'Copy Link',
+ 'pages_permissions_active' => 'Page Permissions Active',
+ 'pages_initial_revision' => 'Initial publish',
+ 'pages_initial_name' => 'New Page',
+ 'pages_editing_draft_notification' => 'You are currently editing a draft that was last saved :timeDiff.',
+ 'pages_draft_edited_notification' => 'This page has been updated by since that time. It is recommended that you discard this draft.',
+ 'pages_draft_edit_active' => [
+ 'start_a' => ':count users have started editing this page',
+ 'start_b' => ':userName has started editing this page',
+ 'time_a' => 'since the pages was last updated',
+ 'time_b' => 'in the last :minCount minutes',
+ 'message' => ':start :time. Take care not to overwrite each other\'s updates!',
+ ],
+ 'pages_draft_discarded' => 'Draft discarded, The editor has been updated with the current page content',
+
+ /**
+ * Editor sidebar
+ */
+ 'page_tags' => 'Page Tags',
+ 'tag' => 'Tag',
+ 'tags' => '',
+ 'tag_value' => 'Tag Value (Optional)',
+ 'tags_explain' => "Add some tags to better categorise your content. \n You can assign a value to a tag for more in-depth organisation.",
+ 'tags_add' => 'Add another tag',
+ 'attachments' => 'Attachments',
+ 'attachments_explain' => 'Upload some files or attach some link to display on your page. These are visible in the page sidebar.',
+ 'attachments_explain_instant_save' => 'Changes here are saved instantly.',
+ 'attachments_items' => 'Attached Items',
+ 'attachments_upload' => 'Upload File',
+ 'attachments_link' => 'Attach Link',
+ 'attachments_set_link' => 'Set Link',
+ 'attachments_delete_confirm' => 'Click delete again to confirm you want to delete this attachment.',
+ 'attachments_dropzone' => 'Drop files or click here to attach a file',
+ 'attachments_no_files' => 'No files have been uploaded',
+ 'attachments_explain_link' => 'You can attach a link if you\'d prefer not to upload a file. This can be a link to another page or a link to a file in the cloud.',
+ 'attachments_link_name' => 'Link Name',
+ 'attachment_link' => 'Attachment link',
+ 'attachments_link_url' => 'Link to file',
+ 'attachments_link_url_hint' => 'Url of site or file',
+ 'attach' => 'Attach',
+ 'attachments_edit_file' => 'Edit File',
+ 'attachments_edit_file_name' => 'File Name',
+ 'attachments_edit_drop_upload' => 'Drop files or click here to upload and overwrite',
+ 'attachments_order_updated' => 'Attachment order updated',
+ 'attachments_updated_success' => 'Attachment details updated',
+ 'attachments_deleted' => 'Attachment deleted',
+ 'attachments_file_uploaded' => 'File successfully uploaded',
+ 'attachments_file_updated' => 'File successfully updated',
+ 'attachments_link_attached' => 'Link successfully attached to page',
+
+ /**
+ * Profile View
+ */
+ 'profile_user_for_x' => 'User for :time',
+ 'profile_created_content' => 'Created Content',
+ 'profile_not_created_pages' => ':userName has not created any pages',
+ 'profile_not_created_chapters' => ':userName has not created any chapters',
+ 'profile_not_created_books' => ':userName has not created any books',
+];
diff --git a/resources/lang/es/errors.php b/resources/lang/es/errors.php
new file mode 100644
index 000000000..08b8b0946
--- /dev/null
+++ b/resources/lang/es/errors.php
@@ -0,0 +1,70 @@
+ 'You do not have permission to access the requested page.',
+ 'permissionJson' => 'You do not have permission to perform the requested action.',
+
+ // Auth
+ 'error_user_exists_different_creds' => 'A user with the email :email already exists but with different credentials.',
+ 'email_already_confirmed' => 'Email has already been confirmed, Try logging in.',
+ 'email_confirmation_invalid' => 'This confirmation token is not valid or has already been used, Please try registering again.',
+ 'email_confirmation_expired' => 'The confirmation token has expired, A new confirmation email has been sent.',
+ 'ldap_fail_anonymous' => 'LDAP access failed using anonymous bind',
+ 'ldap_fail_authed' => 'LDAP access failed using given dn & password details',
+ 'ldap_extension_not_installed' => 'LDAP PHP extension not installed',
+ 'ldap_cannot_connect' => 'Cannot connect to ldap server, Initial connection failed',
+ 'social_no_action_defined' => 'No action defined',
+ 'social_account_in_use' => 'This :socialAccount account is already in use, Try logging in via the :socialAccount option.',
+ 'social_account_email_in_use' => 'The email :email is already in use. If you already have an account you can connect your :socialAccount account from your profile settings.',
+ 'social_account_existing' => 'This :socialAccount is already attached to your profile.',
+ 'social_account_already_used_existing' => 'This :socialAccount account is already used by another user.',
+ 'social_account_not_used' => 'This :socialAccount account is not linked to any users. Please attach it in your profile settings. ',
+ 'social_account_register_instructions' => 'If you do not yet have an account, You can register an account using the :socialAccount option.',
+ 'social_driver_not_found' => 'Social driver not found',
+ 'social_driver_not_configured' => 'Your :socialAccount social settings are not configured correctly.',
+
+ // System
+ 'path_not_writable' => 'File path :filePath could not be uploaded to. Ensure it is writable to the server.',
+ 'cannot_get_image_from_url' => 'Cannot get image from :url',
+ 'cannot_create_thumbs' => 'The server cannot create thumbnails. Please check you have the GD PHP extension installed.',
+ 'server_upload_limit' => 'The server does not allow uploads of this size. Please try a smaller file size.',
+ 'image_upload_error' => 'An error occurred uploading the image',
+
+ // Attachments
+ 'attachment_page_mismatch' => 'Page mismatch during attachment update',
+
+ // Pages
+ 'page_draft_autosave_fail' => 'Failed to save draft. Ensure you have internet connection before saving this page',
+
+ // Entities
+ 'entity_not_found' => 'Entity not found',
+ 'book_not_found' => 'Book not found',
+ 'page_not_found' => 'Page not found',
+ 'chapter_not_found' => 'Chapter not found',
+ 'selected_book_not_found' => 'The selected book was not found',
+ 'selected_book_chapter_not_found' => 'The selected Book or Chapter was not found',
+ 'guests_cannot_save_drafts' => 'Guests cannot save drafts',
+
+ // Users
+ 'users_cannot_delete_only_admin' => 'You cannot delete the only admin',
+ 'users_cannot_delete_guest' => 'You cannot delete the guest user',
+
+ // Roles
+ 'role_cannot_be_edited' => 'This role cannot be edited',
+ 'role_system_cannot_be_deleted' => 'This role is a system role and cannot be deleted',
+ 'role_registration_default_cannot_delete' => 'This role cannot be deleted while set as the default registration role',
+
+ // Error pages
+ '404_page_not_found' => 'Page Not Found',
+ 'sorry_page_not_found' => 'Sorry, The page you were looking for could not be found.',
+ 'return_home' => 'Return to home',
+ 'error_occurred' => 'An Error Occurred',
+ 'app_down' => ':appName is down right now',
+ 'back_soon' => 'It will be back up soon.',
+];
diff --git a/resources/lang/es/pagination.php b/resources/lang/es/pagination.php
new file mode 100644
index 000000000..325916dc3
--- /dev/null
+++ b/resources/lang/es/pagination.php
@@ -0,0 +1,19 @@
+ '« Anterior',
+ 'next' => 'Siguiente »',
+
+];
diff --git a/resources/lang/es/passwords.php b/resources/lang/es/passwords.php
new file mode 100644
index 000000000..3fa17b066
--- /dev/null
+++ b/resources/lang/es/passwords.php
@@ -0,0 +1,22 @@
+ 'El Password debe ser como mÃnimo de seis caracteres y coincidir con la confirmación.',
+ 'user' => "No podemos encontrar un usuario con esta dirección de e-mail.",
+ 'token' => 'El token de reset del password es inválido.',
+ 'sent' => 'Hemos enviado a su cuenta de e-mail un link para restaurar su password!',
+ 'reset' => 'Su password ha sido restaurado!',
+
+];
diff --git a/resources/lang/es/settings.php b/resources/lang/es/settings.php
new file mode 100644
index 000000000..cf926ae52
--- /dev/null
+++ b/resources/lang/es/settings.php
@@ -0,0 +1,112 @@
+ 'Settings',
+ 'settings_save' => 'Save Settings',
+ 'settings_save_success' => 'Settings saved',
+
+ /**
+ * App settings
+ */
+
+ 'app_settings' => 'App Settings',
+ 'app_name' => 'Application name',
+ 'app_name_desc' => 'This name is shown in the header and any emails.',
+ 'app_name_header' => 'Show Application name in header?',
+ 'app_public_viewing' => 'Allow public viewing?',
+ 'app_secure_images' => 'Enable higher security image uploads?',
+ 'app_secure_images_desc' => 'For performance reasons, all images are public. This option adds a random, hard-to-guess string in front of image urls. Ensure directory indexes are not enabled to prevent easy access.',
+ 'app_editor' => 'Page editor',
+ 'app_editor_desc' => 'Select which editor will be used by all users to edit pages.',
+ 'app_custom_html' => 'Custom HTML head content',
+ 'app_custom_html_desc' => 'Any content added here will be inserted into the bottom of the section of every page. This is handy for overriding styles or adding analytics code.',
+ 'app_logo' => 'Application logo',
+ 'app_logo_desc' => 'This image should be 43px in height. Large images will be scaled down.',
+ 'app_primary_color' => 'Application primary color',
+ 'app_primary_color_desc' => 'This should be a hex value. Leave empty to reset to the default color.',
+
+ /**
+ * Registration settings
+ */
+
+ 'reg_settings' => 'Registration Settings',
+ 'reg_allow' => 'Allow registration?',
+ 'reg_default_role' => 'Default user role after registration',
+ 'reg_confirm_email' => 'Require email confirmation?',
+ 'reg_confirm_email_desc' => 'If domain restriction is used then email confirmation will be required and the below value will be ignored.',
+ 'reg_confirm_restrict_domain' => 'Restrict registration to domain',
+ 'reg_confirm_restrict_domain_desc' => 'Enter a comma separated list of email domains you would like to restrict registration to. Users will be sent an email to confirm their address before being allowed to interact with the application. Note that users will be able to change their email addresses after successful registration.',
+ 'reg_confirm_restrict_domain_placeholder' => 'No restriction set',
+
+ /**
+ * Role settings
+ */
+
+ 'roles' => 'Roles',
+ 'role_user_roles' => 'User Roles',
+ 'role_create' => 'Create New Role',
+ 'role_create_success' => 'Role successfully created',
+ 'role_delete' => 'Delete Role',
+ 'role_delete_confirm' => 'This will delete the role with the name \':roleName\'.',
+ 'role_delete_users_assigned' => 'This role has :userCount users assigned to it. If you would like to migrate the users from this role select a new role below.',
+ 'role_delete_no_migration' => "Don't migrate users",
+ 'role_delete_sure' => 'Are you sure you want to delete this role?',
+ 'role_delete_success' => 'Role successfully deleted',
+ 'role_edit' => 'Edit Role',
+ 'role_details' => 'Role Details',
+ 'role_name' => 'Role Name',
+ 'role_desc' => 'Short Description of Role',
+ 'role_system' => 'System Permissions',
+ 'role_manage_users' => 'Manage users',
+ 'role_manage_roles' => 'Manage roles & role permissions',
+ 'role_manage_entity_permissions' => 'Manage all book, chapter & page permissions',
+ 'role_manage_own_entity_permissions' => 'Manage permissions on own book, chapter & pages',
+ 'role_manage_settings' => 'Manage app settings',
+ 'role_asset' => 'Asset Permissions',
+ 'role_asset_desc' => 'These permissions control default access to the assets within the system. Permissions on Books, Chapters and Pages will override these permissions.',
+ 'role_all' => 'All',
+ 'role_own' => 'Own',
+ 'role_controlled_by_asset' => 'Controlled by the asset they are uploaded to',
+ 'role_save' => 'Save Role',
+ 'role_update_success' => 'Role successfully updated',
+ 'role_users' => 'Users in this role',
+ 'role_users_none' => 'No users are currently assigned to this role',
+
+ /**
+ * Users
+ */
+
+ 'users' => 'Users',
+ 'user_profile' => 'User Profile',
+ 'users_add_new' => 'Add New User',
+ 'users_search' => 'Search Users',
+ 'users_role' => 'User Roles',
+ 'users_external_auth_id' => 'External Authentication ID',
+ 'users_password_warning' => 'Only fill the below if you would like to change your password:',
+ 'users_system_public' => 'This user represents any guest users that visit your instance. It cannot be used to log in but is assigned automatically.',
+ 'users_delete' => 'Delete User',
+ 'users_delete_named' => 'Delete user :userName',
+ 'users_delete_warning' => 'This will fully delete this user with the name \':userName\' from the system.',
+ 'users_delete_confirm' => 'Are you sure you want to delete this user?',
+ 'users_delete_success' => 'Users successfully removed',
+ 'users_edit' => 'Edit User',
+ 'users_edit_profile' => 'Edit Profile',
+ 'users_edit_success' => 'User successfully updated',
+ 'users_avatar' => 'User Avatar',
+ 'users_avatar_desc' => 'This image should be approx 256px square.',
+ 'users_preferred_language' => 'Preferred Language',
+ 'users_social_accounts' => 'Social Accounts',
+ 'users_social_accounts_info' => 'Here you can connect your other accounts for quicker and easier login. Disconnecting an account here does not previously authorized access. Revoke access from your profile settings on the connected social account.',
+ 'users_social_connect' => 'Connect Account',
+ 'users_social_disconnect' => 'Disconnect Account',
+ 'users_social_connected' => ':socialAccount account was successfully attached to your profile.',
+ 'users_social_disconnected' => ':socialAccount account was successfully disconnected from your profile.',
+
+];
diff --git a/resources/lang/es/validation.php b/resources/lang/es/validation.php
new file mode 100644
index 000000000..b75af7485
--- /dev/null
+++ b/resources/lang/es/validation.php
@@ -0,0 +1,108 @@
+ 'The :attribute must be accepted.',
+ 'active_url' => 'The :attribute is not a valid URL.',
+ 'after' => 'The :attribute must be a date after :date.',
+ 'alpha' => 'The :attribute may only contain letters.',
+ 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.',
+ 'alpha_num' => 'The :attribute may only contain letters and numbers.',
+ 'array' => 'The :attribute must be an array.',
+ 'before' => 'The :attribute must be a date before :date.',
+ 'between' => [
+ 'numeric' => 'The :attribute must be between :min and :max.',
+ 'file' => 'The :attribute must be between :min and :max kilobytes.',
+ 'string' => 'The :attribute must be between :min and :max characters.',
+ 'array' => 'The :attribute must have between :min and :max items.',
+ ],
+ 'boolean' => 'The :attribute field must be true or false.',
+ 'confirmed' => 'The :attribute confirmation does not match.',
+ 'date' => 'The :attribute is not a valid date.',
+ 'date_format' => 'The :attribute does not match the format :format.',
+ 'different' => 'The :attribute and :other must be different.',
+ 'digits' => 'The :attribute must be :digits digits.',
+ 'digits_between' => 'The :attribute must be between :min and :max digits.',
+ 'email' => 'The :attribute must be a valid email address.',
+ 'filled' => 'The :attribute field is required.',
+ 'exists' => 'The selected :attribute is invalid.',
+ 'image' => 'The :attribute must be an image.',
+ 'in' => 'The selected :attribute is invalid.',
+ 'integer' => 'The :attribute must be an integer.',
+ 'ip' => 'The :attribute must be a valid IP address.',
+ 'max' => [
+ 'numeric' => 'The :attribute may not be greater than :max.',
+ 'file' => 'The :attribute may not be greater than :max kilobytes.',
+ 'string' => 'The :attribute may not be greater than :max characters.',
+ 'array' => 'The :attribute may not have more than :max items.',
+ ],
+ 'mimes' => 'The :attribute must be a file of type: :values.',
+ 'min' => [
+ 'numeric' => 'The :attribute must be at least :min.',
+ 'file' => 'The :attribute must be at least :min kilobytes.',
+ 'string' => 'The :attribute must be at least :min characters.',
+ 'array' => 'The :attribute must have at least :min items.',
+ ],
+ 'not_in' => 'The selected :attribute is invalid.',
+ 'numeric' => 'The :attribute must be a number.',
+ 'regex' => 'The :attribute format is invalid.',
+ 'required' => 'The :attribute field is required.',
+ 'required_if' => 'The :attribute field is required when :other is :value.',
+ 'required_with' => 'The :attribute field is required when :values is present.',
+ 'required_with_all' => 'The :attribute field is required when :values is present.',
+ 'required_without' => 'The :attribute field is required when :values is not present.',
+ 'required_without_all' => 'The :attribute field is required when none of :values are present.',
+ 'same' => 'The :attribute and :other must match.',
+ 'size' => [
+ 'numeric' => 'The :attribute must be :size.',
+ 'file' => 'The :attribute must be :size kilobytes.',
+ 'string' => 'The :attribute must be :size characters.',
+ 'array' => 'The :attribute must contain :size items.',
+ ],
+ 'string' => 'The :attribute must be a string.',
+ 'timezone' => 'The :attribute must be a valid zone.',
+ 'unique' => 'The :attribute has already been taken.',
+ 'url' => 'The :attribute format is invalid.',
+
+ /*
+ |--------------------------------------------------------------------------
+ | Custom Validation Language Lines
+ |--------------------------------------------------------------------------
+ |
+ | Here you may specify custom validation messages for attributes using the
+ | convention "attribute.rule" to name the lines. This makes it quick to
+ | specify a specific custom language line for a given attribute rule.
+ |
+ */
+
+ 'custom' => [
+ 'password-confirm' => [
+ 'required_with' => 'Password confirmation required',
+ ],
+ ],
+
+ /*
+ |--------------------------------------------------------------------------
+ | Custom Validation Attributes
+ |--------------------------------------------------------------------------
+ |
+ | The following language lines are used to swap attribute place-holders
+ | with something more reader friendly such as E-Mail Address instead
+ | of "email". This simply helps us make messages a little cleaner.
+ |
+ */
+
+ 'attributes' => [],
+
+];
diff --git a/resources/lang/fr/entities.php b/resources/lang/fr/entities.php
index 941259f80..cfd206b91 100644
--- a/resources/lang/fr/entities.php
+++ b/resources/lang/fr/entities.php
@@ -26,6 +26,10 @@ return [
'no_pages_viewed' => 'Vous n\'avez rien visité récemment',
'no_pages_recently_created' => 'Aucune page créée récemment',
'no_pages_recently_updated' => 'Aucune page mise à jour récemment',
+ 'export' => 'Exporter',
+ 'export_html' => 'Fichiers web',
+ 'export_pdf' => 'Fichier PDF',
+ 'export_text' => 'Document texte',
/**
* Permissions and restrictions
@@ -160,10 +164,6 @@ return [
'pages_revisions_preview' => 'Prévisualisation',
'pages_revisions_restore' => 'Restaurer',
'pages_revisions_none' => 'Cette page n\'a aucune révision',
- 'pages_export' => 'Exporter',
- 'pages_export_html' => 'Fichiers web',
- 'pages_export_pdf' => 'Fichier PDF',
- 'pages_export_text' => 'Document texte',
'pages_copy_link' => 'Copier le lien',
'pages_permissions_active' => 'Permissions de page actives',
'pages_initial_revision' => 'Publication initiale',
diff --git a/resources/lang/nl/activities.php b/resources/lang/nl/activities.php
new file mode 100644
index 000000000..66a320456
--- /dev/null
+++ b/resources/lang/nl/activities.php
@@ -0,0 +1,40 @@
+ 'maakte pagina',
+ 'page_create_notification' => 'Pagina Succesvol Aangemaakt',
+ 'page_update' => 'veranderde pagina',
+ 'page_update_notification' => 'Pagina Succesvol Bijgewerkt',
+ 'page_delete' => 'verwijderde pagina',
+ 'page_delete_notification' => 'Pagina Succesvol Verwijderd',
+ 'page_restore' => 'herstelde pagina',
+ 'page_restore_notification' => 'Pagina Succesvol Hersteld',
+ 'page_move' => 'verplaatste pagina',
+
+ // Chapters
+ 'chapter_create' => 'maakte hoofdstuk',
+ 'chapter_create_notification' => 'Hoofdstuk Succesvol Aangemaakt',
+ 'chapter_update' => 'veranderde hoofdstuk',
+ 'chapter_update_notification' => 'Hoofdstuk Succesvol Bijgewerkt',
+ 'chapter_delete' => 'verwijderde hoofdstuk',
+ 'chapter_delete_notification' => 'Hoofdstuk Succesvol Verwijderd',
+ 'chapter_move' => 'verplaatste hoofdstuk',
+
+ // Books
+ 'book_create' => 'maakte boek',
+ 'book_create_notification' => 'Boek Succesvol Aangemaakt',
+ 'book_update' => 'veranderde boek',
+ 'book_update_notification' => 'Boek Succesvol Bijgewerkt',
+ 'book_delete' => 'verwijderde boek',
+ 'book_delete_notification' => 'Boek Succesvol Verwijderd',
+ 'book_sort' => 'sorteerde boek',
+ 'book_sort_notification' => 'Boek Succesvol Gesorteerd',
+
+];
diff --git a/resources/lang/nl/auth.php b/resources/lang/nl/auth.php
new file mode 100644
index 000000000..d8813f07b
--- /dev/null
+++ b/resources/lang/nl/auth.php
@@ -0,0 +1,76 @@
+ 'Deze inloggegevens zijn niet bij ons bekend.',
+ 'throttle' => 'Te veel loginpogingen! Probeer het opnieuw na :seconds seconden.',
+
+ /**
+ * Login & Register
+ */
+ 'sign_up' => 'Registreren',
+ 'log_in' => 'Log in',
+ 'log_in_with' => 'Login met :socialDriver',
+ 'sign_up_with' => 'Registreer met :socialDriver',
+ 'logout' => 'Uitloggen',
+
+ 'name' => 'Naam',
+ 'username' => 'Gebruikersnaam',
+ 'email' => 'Email',
+ 'password' => 'Wachtwoord',
+ 'password_confirm' => 'Wachtwoord Bevestigen',
+ 'password_hint' => 'Minimaal 5 tekens',
+ 'forgot_password' => 'Wachtwoord vergeten?',
+ 'remember_me' => 'Mij onthouden',
+ 'ldap_email_hint' => 'Geef een email op waarmee je dit account wilt gebruiken.',
+ 'create_account' => 'Account Aanmaken',
+ 'social_login' => 'Social Login',
+ 'social_registration' => 'Social Registratie',
+ 'social_registration_text' => 'Registreer en log in met een andere dienst.',
+
+ 'register_thanks' => 'Bedankt voor het registreren!',
+ 'register_confirm' => 'Controleer je e-mail en bevestig je registratie om in te loggen op :appName.',
+ 'registrations_disabled' => 'Registratie is momenteel niet mogelijk',
+ 'registration_email_domain_invalid' => 'Dit e-maildomein is niet toegestaan',
+ 'register_success' => 'Bedankt voor het inloggen. Je bent ook geregistreerd.',
+
+
+ /**
+ * Password Reset
+ */
+ 'reset_password' => 'Wachtwoord Herstellen',
+ 'reset_password_send_instructions' => 'Geef je e-mail en we sturen je een link om je wachtwoord te herstellen',
+ 'reset_password_send_button' => 'Link Sturen',
+ 'reset_password_sent_success' => 'Een link om je wachtwoord te herstellen is verstuurd naar :email.',
+ 'reset_password_success' => 'Je wachtwoord is succesvol hersteld.',
+
+ 'email_reset_subject' => 'Herstel je wachtwoord van :appName',
+ 'email_reset_text' => 'Je ontvangt deze e-mail zodat je je wachtwoord kunt herstellen.',
+ 'email_reset_not_requested' => 'Als je jouw wachtwoord niet wilt wijzigen, doe dan niets.',
+
+
+ /**
+ * Email Confirmation
+ */
+ 'email_confirm_subject' => 'Bevestig je e-mailadres op :appName',
+ 'email_confirm_greeting' => 'Bedankt voor je aanmelding op :appName!',
+ 'email_confirm_text' => 'Bevestig je registratie door op onderstaande knop te drukken:',
+ 'email_confirm_action' => 'Bevestig je e-mail',
+ 'email_confirm_send_error' => 'E-mail bevestiging is vereisd maar het systeem kon geen mail verzenden. Neem contact op met de beheerder.',
+ 'email_confirm_success' => 'Je e-mailadres is bevestigt!',
+ 'email_confirm_resent' => 'De bevestigingse-mails is opnieuw verzonden. Controleer je inbox.',
+
+ 'email_not_confirmed' => 'E-mail nog niet bevestigd',
+ 'email_not_confirmed_text' => 'Je e-mailadres is nog niet bevestigd.',
+ 'email_not_confirmed_click_link' => 'Klik op de link in de e-mail die vlak na je registratie is verstuurd.',
+ 'email_not_confirmed_resend' => 'Als je deze e-mail niet kunt vinden kun je deze met onderstaande formulier opnieuw verzenden.',
+ 'email_not_confirmed_resend_button' => 'Bevestigingsmail Opnieuw Verzenden',
+];
\ No newline at end of file
diff --git a/resources/lang/nl/common.php b/resources/lang/nl/common.php
new file mode 100644
index 000000000..bdde9eb95
--- /dev/null
+++ b/resources/lang/nl/common.php
@@ -0,0 +1,58 @@
+ 'Annuleren',
+ 'confirm' => 'Bevestigen',
+ 'back' => 'Terug',
+ 'save' => 'Opslaan',
+ 'continue' => 'Doorgaan',
+ 'select' => 'Kies',
+
+ /**
+ * Form Labels
+ */
+ 'name' => 'Naam',
+ 'description' => 'Beschrijving',
+ 'role' => 'Rol',
+
+ /**
+ * Actions
+ */
+ 'actions' => 'Acties',
+ 'view' => 'Bekijk',
+ 'create' => 'Aanmaken',
+ 'update' => 'Update',
+ 'edit' => 'Bewerk',
+ 'sort' => 'Sorteer',
+ 'move' => 'Verplaats',
+ 'delete' => 'Verwijder',
+ 'search' => 'Zoek',
+ 'search_clear' => 'Zoekopdracht wissen',
+ 'reset' => 'Reset',
+ 'remove' => 'Verwijderen',
+
+
+ /**
+ * Misc
+ */
+ 'deleted_user' => 'Verwijderde gebruiker',
+ 'no_activity' => 'Geen activiteiten',
+ 'no_items' => 'Geen items beschikbaar',
+ 'back_to_top' => 'Terug naar boven',
+ 'toggle_details' => 'Details Weergeven',
+
+ /**
+ * Header
+ */
+ 'view_profile' => 'Profiel Weergeven',
+ 'edit_profile' => 'Profiel Bewerken',
+
+ /**
+ * Email Content
+ */
+ 'email_action_help' => 'Als je de knop ":actionText" niet werkt, kopieer en plak de onderstaande URL in je web browser:',
+ 'email_rights' => 'Alle rechten voorbehouden',
+];
\ No newline at end of file
diff --git a/resources/lang/nl/components.php b/resources/lang/nl/components.php
new file mode 100644
index 000000000..3fc82c04b
--- /dev/null
+++ b/resources/lang/nl/components.php
@@ -0,0 +1,24 @@
+ 'Selecteer Afbeelding',
+ 'image_all' => 'Alles',
+ 'image_all_title' => 'Alle afbeeldingen weergeven',
+ 'image_book_title' => 'Afbeeldingen van dit boek weergeven',
+ 'image_page_title' => 'Afbeeldingen van deze pagina weergeven',
+ 'image_search_hint' => 'Zoek op afbeeldingsnaam',
+ 'image_uploaded' => 'Uploaded :uploadedDate',
+ 'image_load_more' => 'Meer Laden',
+ 'image_image_name' => 'Afbeeldingsnaam',
+ 'image_delete_confirm' => 'Deze afbeeldingen is op onderstaande pagina\'s in gebruik, Klik opnieuw op verwijderen om de afbeelding echt te verwijderen.',
+ 'image_select_image' => 'Kies Afbeelding',
+ 'image_dropzone' => 'Sleep afbeeldingen hier of klik hier om te uploaden',
+ 'images_deleted' => 'Verwijderde Afbeeldingen',
+ 'image_preview' => 'Afbeelding Voorbeeld',
+ 'image_upload_success' => 'Afbeelding succesvol geüpload',
+ 'image_update_success' => 'Afbeeldingsdetails succesvol verwijderd',
+ 'image_delete_success' => 'Afbeelding succesvol verwijderd'
+];
\ No newline at end of file
diff --git a/resources/lang/nl/entities.php b/resources/lang/nl/entities.php
new file mode 100644
index 000000000..610116c8b
--- /dev/null
+++ b/resources/lang/nl/entities.php
@@ -0,0 +1,226 @@
+ 'Recent Aangemaakt',
+ 'recently_created_pages' => 'Recent Aangemaakte Pagina\'s',
+ 'recently_updated_pages' => 'Recent Bijgewerkte Pagina\'s',
+ 'recently_created_chapters' => 'Recent Aangemaakte Hoofdstukken',
+ 'recently_created_books' => 'Recent Aangemaakte Boeken',
+ 'recently_update' => 'Recent Bijgewerkt',
+ 'recently_viewed' => 'Recent Bekeken',
+ 'recent_activity' => 'Recente Activiteit',
+ 'create_now' => 'Maak er zelf één',
+ 'revisions' => 'Revisies',
+ 'meta_created' => 'Aangemaakt :timeLength',
+ 'meta_created_name' => 'Aangemaakt: :timeLength door :user',
+ 'meta_updated' => ':timeLength Aangepast',
+ 'meta_updated_name' => 'Aangepast: :timeLength door :user',
+ 'x_pages' => ':count Pagina\'s',
+ 'entity_select' => 'Entiteit Selecteren',
+ 'images' => 'Afbeeldingen',
+ 'my_recent_drafts' => 'Mijn Concepten',
+ 'my_recently_viewed' => 'Mijn Recent Bekeken',
+ 'no_pages_viewed' => 'Je hebt nog niets bekeken',
+ 'no_pages_recently_created' => 'Er zijn geen recent aangemaakte pagina\'s',
+ 'no_pages_recently_updated' => 'Er zijn geen recente wijzigingen',
+ 'export' => 'Exporteren',
+ 'export_html' => 'Contained Web File',
+ 'export_pdf' => 'PDF File',
+ 'export_text' => 'Plain Text File',
+
+ /**
+ * Permissions and restrictions
+ */
+ 'permissions' => 'Permissies',
+ 'permissions_intro' => 'Als je dit aanzet, dan gelden rol-permissies niet meer voor deze pagina.',
+ 'permissions_enable' => 'Custom Permissies Aanzetten',
+ 'permissions_save' => 'Permissies Opslaan',
+
+ /**
+ * Search
+ */
+ 'search_results' => 'Zoekresultaten',
+ 'search_results_page' => 'Pagina Zoekresultaten',
+ 'search_results_chapter' => 'Hoofdstuk Zoekresultaten',
+ 'search_results_book' => 'Boek Zoekresultaten',
+ 'search_clear' => 'Zoekopdracht wissen',
+ 'search_view_pages' => 'Bekijk alle gevonden pagina\'s',
+ 'search_view_chapters' => 'Bekijk alle gevonden hoofdstukken',
+ 'search_view_books' => 'Bekijk alle gevonden boeken',
+ 'search_no_pages' => 'Er zijn geen pagina\'s gevonden',
+ 'search_for_term' => 'Zoeken op :term',
+ 'search_page_for_term' => 'Pagina doorzoeken op :term',
+ 'search_chapter_for_term' => 'Hoofdstuk doorzoeken op :term',
+ 'search_book_for_term' => 'Boeken doorzoeken op :term',
+
+ /**
+ * Books
+ */
+ 'book' => 'Boek',
+ 'books' => 'Boeken',
+ 'books_empty' => 'Er zijn geen boeken aangemaakt',
+ 'books_popular' => 'Populaire Boeken',
+ 'books_recent' => 'Recente Boeken',
+ 'books_popular_empty' => 'De meest populaire boeken worden hier weergegeven.',
+ 'books_create' => 'Nieuw Boek Aanmaken',
+ 'books_delete' => 'Boek Verwijderen',
+ 'books_delete_named' => 'Verwijder Boek :bookName',
+ 'books_delete_explain' => 'Deze actie verwijdert het boek \':bookName\', Alle pagina\'s en hoofdstukken worden verwijderd.',
+ 'books_delete_confirmation' => 'Weet je zeker dat je dit boek wilt verwijderen?',
+ 'books_edit' => 'Boek Bewerken',
+ 'books_edit_named' => 'Bewerkt Boek :bookName',
+ 'books_form_book_name' => 'Boek Naam',
+ 'books_save' => 'Boek Opslaan',
+ 'books_permissions' => 'Boek Permissies',
+ 'books_permissions_updated' => 'Boek Permissies Opgeslagen',
+ 'books_empty_contents' => 'Er zijn nog een hoofdstukken en pagina\'s voor dit boek gemaakt.',
+ 'books_empty_create_page' => 'Pagina Toevoegen',
+ 'books_empty_or' => 'of',
+ 'books_empty_sort_current_book' => 'Boek sorteren',
+ 'books_empty_add_chapter' => 'Hoofdstuk Toevoegen',
+ 'books_permissions_active' => 'Boek Permissies Actief',
+ 'books_search_this' => 'Zoeken in dit boek',
+ 'books_navigation' => 'Boek Navigatie',
+ 'books_sort' => 'Inhoud van het boek sorteren',
+ 'books_sort_named' => 'Sorteer Boek :bookName',
+ 'books_sort_show_other' => 'Bekijk Andere Boeken',
+ 'books_sort_save' => 'Nieuwe Order Opslaan',
+
+ /**
+ * Chapters
+ */
+ 'chapter' => 'Hoofdstuk',
+ 'chapters' => 'Hoofdstukken',
+ 'chapters_popular' => 'Populaire Hoofdstukken',
+ 'chapters_new' => 'Nieuw Hoofdstuk',
+ 'chapters_create' => 'Hoofdstuk Toevoegen',
+ 'chapters_delete' => 'Hoofdstuk Verwijderen',
+ 'chapters_delete_named' => 'Verwijder Hoofdstuk :chapterName',
+ 'chapters_delete_explain' => 'Dit verwijdert het hoofdstuk \':chapterName\', Alle pagina\'s zullen verwijdert worden.
+ en toegevoegd worden aan het bijbehorende boek.',
+ 'chapters_delete_confirm' => 'Weet je zeker dat je dit boek wilt verwijderen?',
+ 'chapters_edit' => 'Hoofdstuk Aanpassen',
+ 'chapters_edit_named' => 'Hoofdstuk :chapterName Aanpassen',
+ 'chapters_save' => 'Hoofdstuk Opslaan',
+ 'chapters_move' => 'Hoofdstuk Verplaatsen',
+ 'chapters_move_named' => 'Verplaatst Hoofdstuk :chapterName',
+ 'chapter_move_success' => 'Hoofdstuk Verplaatst Naar :bookName',
+ 'chapters_permissions' => 'Hoofdstuk Permissies',
+ 'chapters_empty' => 'Er zijn geen pagina\'s in dit hoofdstuk aangemaakt.',
+ 'chapters_permissions_active' => 'Hoofdstuk Permissies Actief',
+ 'chapters_permissions_success' => 'Hoofdstuk Permissies Bijgewerkt',
+
+ /**
+ * Pages
+ */
+ 'page' => 'Pagina',
+ 'pages' => 'Pagina\'s',
+ 'pages_popular' => 'Populaire Pagina\'s',
+ 'pages_new' => 'Nieuwe Pagina',
+ 'pages_attachments' => 'Bijlages',
+ 'pages_navigation' => 'Pagina Navigatie',
+ 'pages_delete' => 'Pagina Verwijderen',
+ 'pages_delete_named' => 'Verwijderde Pagina :pageName',
+ 'pages_delete_draft_named' => 'Verwijderde Conceptpagina :pageName',
+ 'pages_delete_draft' => 'Verwijder Conceptpagina',
+ 'pages_delete_success' => 'Pagina verwijderd',
+ 'pages_delete_draft_success' => 'Concept verwijderd',
+ 'pages_delete_confirm' => 'Weet je zeker dat je deze pagina wilt verwijderen?',
+ 'pages_delete_draft_confirm' => 'Weet je zeker dat je dit concept wilt verwijderen?',
+ 'pages_editing_named' => 'Pagina :pageName Bewerken',
+ 'pages_edit_toggle_header' => 'Toggle header',
+ 'pages_edit_save_draft' => 'Concept opslaan',
+ 'pages_edit_draft' => 'Paginaconcept Bewerken',
+ 'pages_editing_draft' => 'Concept Bewerken',
+ 'pages_editing_page' => 'Concept Bewerken',
+ 'pages_edit_draft_save_at' => 'Concept opgeslagen op ',
+ 'pages_edit_delete_draft' => 'Concept Verwijderen',
+ 'pages_edit_discard_draft' => 'Concept Verwijderen',
+ 'pages_edit_set_changelog' => 'Changelog',
+ 'pages_edit_enter_changelog_desc' => 'Geef een korte omschrijving van de wijzingen die je gemaakt hebt.',
+ 'pages_edit_enter_changelog' => 'Enter Changelog',
+ 'pages_save' => 'Pagina Opslaan',
+ 'pages_title' => 'Pagina Titel',
+ 'pages_name' => 'Pagina Naam',
+ 'pages_md_editor' => 'Bewerker',
+ 'pages_md_preview' => 'Preview',
+ 'pages_md_insert_image' => 'Afbeelding Invoegen',
+ 'pages_md_insert_link' => 'Entity Link Invoegen',
+ 'pages_not_in_chapter' => 'Deze pagina staat niet in een hoofdstuk',
+ 'pages_move' => 'Pagina Verplaatsten',
+ 'pages_move_success' => 'Pagina verplaatst naar ":parentName"',
+ 'pages_permissions' => 'Pagina Permissies',
+ 'pages_permissions_success' => 'Pagina Permissies bijgwerkt',
+ 'pages_revisions' => 'Pagina Revisies',
+ 'pages_revisions_named' => 'Pagina Revisies voor :pageName',
+ 'pages_revision_named' => 'Pagina Revisie voor :pageName',
+ 'pages_revisions_created_by' => 'Aangemaakt door',
+ 'pages_revisions_date' => 'Revisiedatum',
+ 'pages_revisions_changelog' => 'Changelog',
+ 'pages_revisions_changes' => 'Wijzigingen',
+ 'pages_revisions_current' => 'Huidige Versie',
+ 'pages_revisions_preview' => 'Preview',
+ 'pages_revisions_restore' => 'Herstellen',
+ 'pages_revisions_none' => 'Deze pagina heeft geen revisies',
+ 'pages_copy_link' => 'Link Kopiëren',
+ 'pages_permissions_active' => 'Pagina Permissies Actief',
+ 'pages_initial_revision' => 'Eerste publicatie',
+ 'pages_initial_name' => 'Nieuwe Pagina',
+ 'pages_editing_draft_notification' => 'You are currently editing a draft that was last saved :timeDiff.',
+ 'pages_draft_edited_notification' => 'This page has been updated by since that time. It is recommended that you discard this draft.',
+ 'pages_draft_edit_active' => [
+ 'start_a' => ':count users have started editing this page',
+ 'start_b' => ':userName has started editing this page',
+ 'time_a' => 'since the pages was last updated',
+ 'time_b' => 'in the last :minCount minutes',
+ 'message' => ':start :time. Take care not to overwrite each other\'s updates!',
+ ],
+ 'pages_draft_discarded' => 'Draft discarded, The editor has been updated with the current page content',
+
+ /**
+ * Editor sidebar
+ */
+ 'page_tags' => 'Pagina Labels',
+ 'tag' => 'Label',
+ 'tags' => '',
+ 'tag_value' => 'Label Waarde (Optioneel)',
+ 'tags_explain' => "Voeg labels toe om de inhoud te categoriseren. \n Je kunt meerdere labels toevoegen.",
+ 'tags_add' => 'Voeg een extra label toe',
+ 'attachments' => 'Bijlages',
+ 'attachments_explain' => 'Upload bijlages of voeg een link toe. Deze worden zichtbaar in het navigatiepaneel.',
+ 'attachments_explain_instant_save' => 'Wijzigingen worden meteen opgeslagen.',
+ 'attachments_items' => 'Bijlages',
+ 'attachments_upload' => 'Bestand Uploaden',
+ 'attachments_link' => 'Link Toevoegen',
+ 'attachments_set_link' => 'Zet Link',
+ 'attachments_delete_confirm' => 'Klik opnieuw op \'verwijderen\' om de bijlage definitief te verwijderen.',
+ 'attachments_dropzone' => 'Sleep hier een bestand of klik hier om een bestand toe te voegen',
+ 'attachments_no_files' => 'Er zijn geen bestanden geüpload',
+ 'attachments_explain_link' => 'Je kunt een link toevoegen als je geen bestanden wilt uploaden. Dit kan een link naar een andere pagina op deze website zijn, maar ook een link naar een andere website.',
+ 'attachments_link_name' => 'Link Naam',
+ 'attachment_link' => 'Bijlage link',
+ 'attachments_link_url' => 'Link naar bestand',
+ 'attachments_link_url_hint' => 'Url, site of bestand',
+ 'attach' => 'Koppelen',
+ 'attachments_edit_file' => 'Bestand Bewerken',
+ 'attachments_edit_file_name' => 'Bestandsnaam',
+ 'attachments_edit_drop_upload' => 'Sleep een bestand of klik hier om te uploaden en te overschrijven',
+ 'attachments_order_updated' => 'De volgorde van de bijlages is bijgewerkt',
+ 'attachments_updated_success' => 'Bijlage details bijgewerkt',
+ 'attachments_deleted' => 'Bijlage verwijderd',
+ 'attachments_file_uploaded' => 'Bestand succesvol geüpload',
+ 'attachments_file_updated' => 'Bestand succesvol bijgewerkt',
+ 'attachments_link_attached' => 'Link successfully gekoppeld aan de pagina',
+
+ /**
+ * Profile View
+ */
+ 'profile_user_for_x' => 'Lid sinds :time',
+ 'profile_created_content' => 'Aangemaakte Inhoud',
+ 'profile_not_created_pages' => ':userName heeft geen pagina\'s gemaakt',
+ 'profile_not_created_chapters' => ':userName heeft geen hoofdstukken gemaakt',
+ 'profile_not_created_books' => ':userName heeft geen boeken gemaakt',
+];
\ No newline at end of file
diff --git a/resources/lang/nl/errors.php b/resources/lang/nl/errors.php
new file mode 100644
index 000000000..f8b635bce
--- /dev/null
+++ b/resources/lang/nl/errors.php
@@ -0,0 +1,70 @@
+ 'Je hebt onvoldoende rechten om deze pagina te zien.',
+ 'permissionJson' => 'Je hebt onvoldoende rechten voor deze actie.',
+
+ // Auth
+ 'error_user_exists_different_creds' => 'Een gebruiker met het e-mailadres :email bestaat al.',
+ 'email_already_confirmed' => 'Het e-mailadres is al bevestigd. Probeer in te loggen.',
+ 'email_confirmation_invalid' => 'Deze bevestigingstoken is ongeldig, Probeer opnieuw te registreren.',
+ 'email_confirmation_expired' => 'De bevestigingstoken is verlopen, Een nieuwe bevestigingsmail is verzonden.',
+ 'ldap_fail_anonymous' => 'LDAP toegang kon geen \'anonymous bind\' uitvoeren',
+ 'ldap_fail_authed' => 'LDAP toegang was niet mogelijk met de opgegeven dn & wachtwoord',
+ 'ldap_extension_not_installed' => 'LDAP PHP extension not installed',
+ 'ldap_cannot_connect' => 'Kon niet met de LDAP server verbinden',
+ 'social_no_action_defined' => 'Geen actie gedefineerd',
+ 'social_account_in_use' => 'Dit :socialAccount account is al in gebruik, Probeer in te loggen met de :socialAccount optie.',
+ 'social_account_email_in_use' => 'Het e-mailadres :email is al in gebruik. Als je al een account hebt kun je een :socialAccount account verbinden met je profielinstellingen.',
+ 'social_account_existing' => 'Dit :socialAccount is al gekoppeld aan een profiel.',
+ 'social_account_already_used_existing' => 'Dit :socialAccount account is ingebruik door een andere gebruiker.',
+ 'social_account_not_used' => 'Dit :socialAccount account is niet gekopeld aan een gebruiker. Koppel het via je profielinstellingen. ',
+ 'social_account_register_instructions' => 'Als je nog geen account hebt kun je je registreren met de :socialAccount optie.',
+ 'social_driver_not_found' => 'Social driver niet gevonden',
+ 'social_driver_not_configured' => 'Je :socialAccount instellingen zijn correct geconfigureerd.',
+
+ // System
+ 'path_not_writable' => 'Bestand :filePath kon niet geupload worden. Zorg dat je schrijfrechten op de server hebt.',
+ 'cannot_get_image_from_url' => 'Kon geen afbeelding genereren van :url',
+ 'cannot_create_thumbs' => 'De server kon geen thumbnails maken. Controleer of je de GD PHP extensie geïnstalleerd hebt.',
+ 'server_upload_limit' => 'Het afbeeldingsformaat is te groot. Probeer een kleinere bestandsgrootte.',
+ 'image_upload_error' => 'Er ging iets fout bij het uploaden van de afbeelding',
+
+ // Attachments
+ 'attachment_page_mismatch' => 'Bij het bijwerken van de bijlage bleek de pagina onjuist',
+
+ // Pages
+ 'page_draft_autosave_fail' => 'Kon het concept niet opslaan. Zorg ervoor dat je een werkende internetverbinding hebt.',
+
+ // Entities
+ 'entity_not_found' => 'Entiteit niet gevonden',
+ 'book_not_found' => 'Boek niet gevonden',
+ 'page_not_found' => 'Pagina niet gevonden',
+ 'chapter_not_found' => 'Hoofdstuk niet gevonden',
+ 'selected_book_not_found' => 'Het geselecteerde boek is niet gevonden',
+ 'selected_book_chapter_not_found' => 'Het geselecteerde boek of hoofdstuk is niet gevonden',
+ 'guests_cannot_save_drafts' => 'Gasten kunnen geen concepten opslaan',
+
+ // Users
+ 'users_cannot_delete_only_admin' => 'Je kunt niet het enige admin account verwijderen',
+ 'users_cannot_delete_guest' => 'Je kunt het gastaccount niet verwijderen',
+
+ // Roles
+ 'role_cannot_be_edited' => 'Deze rol kan niet bewerkt worden',
+ 'role_system_cannot_be_deleted' => 'Dit is een systeemrol en kan niet verwijderd worden',
+ 'role_registration_default_cannot_delete' => 'Deze rol kan niet verwijerd worden zolang dit de standaardrol na registratie is.',
+
+ // Error pages
+ '404_page_not_found' => 'Pagina Niet Gevonden',
+ 'sorry_page_not_found' => 'Sorry, de pagina die je zocht is niet beschikbaar.',
+ 'return_home' => 'Terug naar home',
+ 'error_occurred' => 'Er Ging Iets Fout',
+ 'app_down' => ':appName is nu niet beschikbaar',
+ 'back_soon' => 'Komt snel weer online.',
+];
\ No newline at end of file
diff --git a/resources/lang/nl/pagination.php b/resources/lang/nl/pagination.php
new file mode 100644
index 000000000..9a2a9677a
--- /dev/null
+++ b/resources/lang/nl/pagination.php
@@ -0,0 +1,19 @@
+ '« Vorige',
+ 'next' => 'Volgende »',
+
+];
diff --git a/resources/lang/nl/passwords.php b/resources/lang/nl/passwords.php
new file mode 100644
index 000000000..f89830804
--- /dev/null
+++ b/resources/lang/nl/passwords.php
@@ -0,0 +1,22 @@
+ 'Wachtwoorden moeten overeenkomen en minimaal zes tekens lang zijn.',
+ 'user' => "We kunnen niemand vinden met dat e-mailadres.",
+ 'token' => 'De token om het wachtwoord te herstellen is ongeldig.',
+ 'sent' => 'We hebben je een link gestuurd om je wachtwoord te herstellen!',
+ 'reset' => 'Je wachtwoord is hersteld!',
+
+];
diff --git a/resources/lang/nl/settings.php b/resources/lang/nl/settings.php
new file mode 100644
index 000000000..7408a2dc3
--- /dev/null
+++ b/resources/lang/nl/settings.php
@@ -0,0 +1,111 @@
+ 'Instellingen',
+ 'settings_save' => 'Instellingen Opslaan',
+ 'settings_save_success' => 'Instellingen Opgeslagen',
+
+ /**
+ * App settings
+ */
+
+ 'app_settings' => 'App Instellingen',
+ 'app_name' => 'Applicatienaam',
+ 'app_name_desc' => 'De applicatienaam wordt in e-mails in in de header weergegeven.',
+ 'app_name_header' => 'Applicatienaam in de header weergeven?',
+ 'app_public_viewing' => 'Publieke bewerkingen toestaan?',
+ 'app_secure_images' => 'Beter beveiligide afbeeldingen gebruiken?',
+ 'app_secure_images_desc' => 'Omwille van de performance zijn alle afbeeldingen publiek toegankelijk. Zorg ervoor dat je de \'directory index\' niet hebt ingeschakeld.',
+ 'app_editor' => 'Pagina Bewerken',
+ 'app_editor_desc' => 'Selecteer welke tekstverwerker je wilt gebruiken.',
+ 'app_custom_html' => 'Speciale HTML toevoegen',
+ 'app_custom_html_desc' => 'Alles wat je hier toevoegd wordt in de sectie van elke pagina meengenomen. Dit kun je bijvoorbeeld voor analytics gebruiken.',
+ 'app_logo' => 'Applicatielogo',
+ 'app_logo_desc' => 'De afbeelding moet 43px hoog zijn. Grotere afbeeldingen worden geschaald.',
+ 'app_primary_color' => 'Applicatie hoofdkleur',
+ 'app_primary_color_desc' => 'Geef een hexadecimale waarde. Als je niks invult wordt de standaardkleur gebruikt.',
+
+ /**
+ * Registration settings
+ */
+
+ 'reg_settings' => 'Registratieinstellingen',
+ 'reg_allow' => 'Registratie toestaan?',
+ 'reg_default_role' => 'Standaard rol na registratie',
+ 'reg_confirm_email' => 'E-mailbevesting vereist?',
+ 'reg_confirm_email_desc' => 'Als domeinrestricties aan staan dan is altijd e-maibevestiging nodig. Onderstaande instelling wordt dan genegeerd.',
+ 'reg_confirm_restrict_domain' => 'Beperk registratie tot een maildomein',
+ 'reg_confirm_restrict_domain_desc' => 'Geen een komma-gescheiden lijst van domeinnamen die gebruikt mogen worden bij registratie. Let op: na registratie kunnen gebruikers hun e-mailadres nog steeds wijzigen.',
+ 'reg_confirm_restrict_domain_placeholder' => 'Geen beperkingen ingesteld',
+
+ /**
+ * Role settings
+ */
+
+ 'roles' => 'Rollen',
+ 'role_user_roles' => 'Gebruikrollen',
+ 'role_create' => 'Nieuwe Rol Maken',
+ 'role_create_success' => 'Rol succesvol aangemaakt',
+ 'role_delete' => 'Rol Verwijderen',
+ 'role_delete_confirm' => 'Dit verwijdert de rol \':roleName\'.',
+ 'role_delete_users_assigned' => 'Er zijn :userCount gebruikers met deze rol. Selecteer hieronder een nieuwe rol als je deze gebruikers een andere rol wilt geven.',
+ 'role_delete_no_migration' => "Geen gebruikers migreren",
+ 'role_delete_sure' => 'Weet je zeker dat je deze rol wilt verwijderen?',
+ 'role_delete_success' => 'Rol succesvol verwijderd',
+ 'role_edit' => 'Rol Bewerken',
+ 'role_details' => 'Rol Details',
+ 'role_name' => 'Rolnaam',
+ 'role_desc' => 'Korte beschrijving van de rol',
+ 'role_system' => 'Systeem Permissies',
+ 'role_manage_users' => 'Gebruikers beheren',
+ 'role_manage_roles' => 'Rollen en rechten beheren',
+ 'role_manage_entity_permissions' => 'Beheer alle boeken-, hoofdstukken- en paginaresitrcties',
+ 'role_manage_own_entity_permissions' => 'Beheer restricties van je eigen boeken, hoofdstukken en pagina\'s',
+ 'role_manage_settings' => 'Beheer app instellingen',
+ 'role_asset' => 'Asset Permissies',
+ 'role_asset_desc' => 'Deze permissies bepalen de standaardtoegangsrechten. Permissies op boeken, hoofdstukken en pagina\'s overschrijven deze instelling.',
+ 'role_all' => 'Alles',
+ 'role_own' => 'Eigen',
+ 'role_controlled_by_asset' => 'Gecontroleerd door de asset waar deze is geüpload',
+ 'role_save' => 'Rol Opslaan',
+ 'role_update_success' => 'Rol succesvol bijgewerkt',
+ 'role_users' => 'Gebruikers in deze rol',
+ 'role_users_none' => 'Geen enkele gebruiker heeft deze rol',
+
+ /**
+ * Users
+ */
+
+ 'users' => 'Gebruikers',
+ 'user_profile' => 'Gebruikersprofiel',
+ 'users_add_new' => 'Gebruiker toevoegen',
+ 'users_search' => 'Gebruiker zoeken',
+ 'users_role' => 'Gebruikersrollen',
+ 'users_external_auth_id' => 'External Authentication ID',
+ 'users_password_warning' => 'Vul onderstaande formulier alleen in als je het wachtwoord wilt aanpassen:',
+ 'users_system_public' => 'De eigenschappen van deze gebruiker worden voor elke gastbezoeker gebruikt. Er kan niet mee ingelogd worden en wordt automatisch toegewezen.',
+ 'users_delete' => 'Verwijder gebruiker',
+ 'users_delete_named' => 'Verwijder gebruiker :userName',
+ 'users_delete_warning' => 'Dit zal de gebruiker \':userName\' volledig uit het systeem verwijderen.',
+ 'users_delete_confirm' => 'Weet je zeker dat je deze gebruiker wilt verwijderen?',
+ 'users_delete_success' => 'Gebruiker succesvol verwijderd',
+ 'users_edit' => 'Bewerk Gebruiker',
+ 'users_edit_profile' => 'Bewerk Profiel',
+ 'users_edit_success' => 'Gebruiker succesvol bijgewerkt',
+ 'users_avatar' => 'Avatar',
+ 'users_avatar_desc' => 'De afbeelding moet vierkant zijn en ongeveer 256px breed.',
+ 'users_preferred_language' => 'Voorkeurstaal',
+ 'users_social_accounts' => 'Social Accounts',
+ 'users_social_accounts_info' => 'Hier kun je accounts verbinden om makkelijker in te loggen. Via je profiel kun je ook weer rechten intrekken die bij deze social accountsh horen.',
+ 'users_social_connect' => 'Account Verbinden',
+ 'users_social_disconnect' => 'Account Ontkoppelen',
+ 'users_social_connected' => ':socialAccount account is succesvol aan je profiel gekoppeld.',
+ 'users_social_disconnected' => ':socialAccount account is succesvol ontkoppeld van je profiel.',
+];
diff --git a/resources/lang/nl/validation.php b/resources/lang/nl/validation.php
new file mode 100644
index 000000000..b75af7485
--- /dev/null
+++ b/resources/lang/nl/validation.php
@@ -0,0 +1,108 @@
+ 'The :attribute must be accepted.',
+ 'active_url' => 'The :attribute is not a valid URL.',
+ 'after' => 'The :attribute must be a date after :date.',
+ 'alpha' => 'The :attribute may only contain letters.',
+ 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.',
+ 'alpha_num' => 'The :attribute may only contain letters and numbers.',
+ 'array' => 'The :attribute must be an array.',
+ 'before' => 'The :attribute must be a date before :date.',
+ 'between' => [
+ 'numeric' => 'The :attribute must be between :min and :max.',
+ 'file' => 'The :attribute must be between :min and :max kilobytes.',
+ 'string' => 'The :attribute must be between :min and :max characters.',
+ 'array' => 'The :attribute must have between :min and :max items.',
+ ],
+ 'boolean' => 'The :attribute field must be true or false.',
+ 'confirmed' => 'The :attribute confirmation does not match.',
+ 'date' => 'The :attribute is not a valid date.',
+ 'date_format' => 'The :attribute does not match the format :format.',
+ 'different' => 'The :attribute and :other must be different.',
+ 'digits' => 'The :attribute must be :digits digits.',
+ 'digits_between' => 'The :attribute must be between :min and :max digits.',
+ 'email' => 'The :attribute must be a valid email address.',
+ 'filled' => 'The :attribute field is required.',
+ 'exists' => 'The selected :attribute is invalid.',
+ 'image' => 'The :attribute must be an image.',
+ 'in' => 'The selected :attribute is invalid.',
+ 'integer' => 'The :attribute must be an integer.',
+ 'ip' => 'The :attribute must be a valid IP address.',
+ 'max' => [
+ 'numeric' => 'The :attribute may not be greater than :max.',
+ 'file' => 'The :attribute may not be greater than :max kilobytes.',
+ 'string' => 'The :attribute may not be greater than :max characters.',
+ 'array' => 'The :attribute may not have more than :max items.',
+ ],
+ 'mimes' => 'The :attribute must be a file of type: :values.',
+ 'min' => [
+ 'numeric' => 'The :attribute must be at least :min.',
+ 'file' => 'The :attribute must be at least :min kilobytes.',
+ 'string' => 'The :attribute must be at least :min characters.',
+ 'array' => 'The :attribute must have at least :min items.',
+ ],
+ 'not_in' => 'The selected :attribute is invalid.',
+ 'numeric' => 'The :attribute must be a number.',
+ 'regex' => 'The :attribute format is invalid.',
+ 'required' => 'The :attribute field is required.',
+ 'required_if' => 'The :attribute field is required when :other is :value.',
+ 'required_with' => 'The :attribute field is required when :values is present.',
+ 'required_with_all' => 'The :attribute field is required when :values is present.',
+ 'required_without' => 'The :attribute field is required when :values is not present.',
+ 'required_without_all' => 'The :attribute field is required when none of :values are present.',
+ 'same' => 'The :attribute and :other must match.',
+ 'size' => [
+ 'numeric' => 'The :attribute must be :size.',
+ 'file' => 'The :attribute must be :size kilobytes.',
+ 'string' => 'The :attribute must be :size characters.',
+ 'array' => 'The :attribute must contain :size items.',
+ ],
+ 'string' => 'The :attribute must be a string.',
+ 'timezone' => 'The :attribute must be a valid zone.',
+ 'unique' => 'The :attribute has already been taken.',
+ 'url' => 'The :attribute format is invalid.',
+
+ /*
+ |--------------------------------------------------------------------------
+ | Custom Validation Language Lines
+ |--------------------------------------------------------------------------
+ |
+ | Here you may specify custom validation messages for attributes using the
+ | convention "attribute.rule" to name the lines. This makes it quick to
+ | specify a specific custom language line for a given attribute rule.
+ |
+ */
+
+ 'custom' => [
+ 'password-confirm' => [
+ 'required_with' => 'Password confirmation required',
+ ],
+ ],
+
+ /*
+ |--------------------------------------------------------------------------
+ | Custom Validation Attributes
+ |--------------------------------------------------------------------------
+ |
+ | The following language lines are used to swap attribute place-holders
+ | with something more reader friendly such as E-Mail Address instead
+ | of "email". This simply helps us make messages a little cleaner.
+ |
+ */
+
+ 'attributes' => [],
+
+];
diff --git a/resources/lang/pt_BR/entities.php b/resources/lang/pt_BR/entities.php
index a6e670353..922342424 100644
--- a/resources/lang/pt_BR/entities.php
+++ b/resources/lang/pt_BR/entities.php
@@ -26,6 +26,10 @@ return [
'no_pages_viewed' => 'Você não visualizou nenhuma página',
'no_pages_recently_created' => 'Nenhuma página recentemente criada',
'no_pages_recently_updated' => 'Nenhuma página recentemente atualizada',
+ 'export' => 'Exportar',
+ 'export_html' => 'Arquivo Web Contained',
+ 'export_pdf' => 'Arquivo PDF',
+ 'export_text' => 'Arquivo Texto',
/**
* Permissions and restrictions
@@ -161,10 +165,6 @@ return [
'pages_revisions_preview' => 'Preview',
'pages_revisions_restore' => 'Restaurar',
'pages_revisions_none' => 'Essa página não tem revisões',
- 'pages_export' => 'Exportar',
- 'pages_export_html' => 'Arquivo Web Contained',
- 'pages_export_pdf' => 'Arquivo PDF',
- 'pages_export_text' => 'Arquivo Texto',
'pages_copy_link' => 'Copia Link',
'pages_permissions_active' => 'Permissões de Página Ativas',
'pages_initial_revision' => 'Publicação Inicial',
diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php
index 6c8b1720c..706747b8b 100644
--- a/resources/views/auth/login.blade.php
+++ b/resources/views/auth/login.blade.php
@@ -32,10 +32,11 @@
@if(count($socialDrivers) > 0)
- {{ trans('auth.social_login') }}
- @foreach($socialDrivers as $driver => $enabled)
- @icon($driver, ['width' => 56])
-
+ @foreach($socialDrivers as $driver => $name)
+
+ @icon($driver)
+ {{ trans('auth.log_in_with', ['socialDriver' => $name]) }}
+
@endforeach
@endif
diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php
index 860508df0..d5db4afa8 100644
--- a/resources/views/auth/register.blade.php
+++ b/resources/views/auth/register.blade.php
@@ -35,11 +35,11 @@
@if(count($socialDrivers) > 0)
- {{ trans('auth.social_registration') }}
- {{ trans('auth.social_registration_text') }}
- @foreach($socialDrivers as $driver => $enabled)
- @icon($driver, ['width' => 56])
-
+ @foreach($socialDrivers as $driver => $name)
+
+ @icon($driver)
+ {{ trans('auth.sign_up_with', ['socialDriver' => $name]) }}
+
@endforeach
@endif
diff --git a/resources/views/base.blade.php b/resources/views/base.blade.php
index 43f22d89a..4287014c2 100644
--- a/resources/views/base.blade.php
+++ b/resources/views/base.blade.php
@@ -17,15 +17,16 @@
-
+
@yield('head')
@include('partials/custom-styles')
-
- @if(setting('app-custom-head'))
+ @if(setting('app-custom-head') && \Route::currentRouteName() !== 'settings')
+
{!! setting('app-custom-head') !!}
+
@endif
@@ -55,15 +56,15 @@
{{ trans('entities.books') }}
- @if(isset($currentUser) && userCan('settings-manage'))
+ @if(signedInUser() && userCan('settings-manage'))
{{ trans('settings.settings') }}
@endif
- @if(!isset($signedIn) || !$signedIn)
+ @if(!signedInUser())
{{ trans('auth.log_in') }}
@endif
- @if(isset($signedIn) && $signedIn)
- @include('partials._header-dropdown', ['currentUser' => $currentUser])
+ @if(signedInUser())
+ @include('partials._header-dropdown', ['currentUser' => user()])
@endif
diff --git a/resources/views/books/export.blade.php b/resources/views/books/export.blade.php
new file mode 100644
index 000000000..3ea3c9d65
--- /dev/null
+++ b/resources/views/books/export.blade.php
@@ -0,0 +1,80 @@
+
+
+
+
+ {{ $book->name }}
+
+
+ @yield('head')
+
+
+
+
+
+
+
+
{{$book->name}}
+
+
{{ $book->description }}
+
+ @if(count($bookChildren) > 0)
+
+ @foreach($bookChildren as $bookChild)
+ {{ $bookChild->name }}
+ @if($bookChild->isA('chapter') && count($bookChild->pages) > 0)
+
+ @endif
+ @endforeach
+
+ @endif
+
+ @foreach($bookChildren as $bookChild)
+
+
{{ $bookChild->name }}
+ @if($bookChild->isA('chapter'))
+
{{ $bookChild->description }}
+ @if(count($bookChild->pages) > 0)
+ @foreach($bookChild->pages as $page)
+
+
{{$bookChild->name}}
+
{{ $page->name }}
+ {!! $page->html !!}
+ @endforeach
+ @endif
+ @else
+ {!! $bookChild->html !!}
+ @endif
+ @endforeach
+
+
+
+
+
+
+
diff --git a/resources/views/books/form.blade.php b/resources/views/books/form.blade.php
index 514abf42c..b1484d129 100644
--- a/resources/views/books/form.blade.php
+++ b/resources/views/books/form.blade.php
@@ -11,6 +11,6 @@
\ No newline at end of file
diff --git a/resources/views/books/show.blade.php b/resources/views/books/show.blade.php
index 6a18302bc..f5e08b2f6 100644
--- a/resources/views/books/show.blade.php
+++ b/resources/views/books/show.blade.php
@@ -5,11 +5,19 @@