BookStack/app/Http/Controllers
Dan Brown 349b4629be
Extracted API auth into guard
Also implemented more elegant solution to allowing session auth for API
routes; A new 'StartSessionIfCookieExists' middleware, which wraps the
default 'StartSession' middleware will run for API routes which only
sets up the session if a session cookie is found on the request. Also
decrypts only the session cookie.

Also cleaned some TokenController codeclimate warnings.
2019-12-30 14:51:28 +00:00
..
Api Started core API route work 2019-12-28 14:58:07 +00:00
Auth Removed setting override system due to confusing behaviour 2019-12-22 13:19:17 +00:00
Images
AttachmentController.php
BookController.php
BookExportController.php
BookshelfController.php
BookSortController.php
ChapterController.php
ChapterExportController.php
CommentController.php
Controller.php
HomeController.php
PageController.php Updated page delete to return to chapter if within one 2019-12-16 11:54:53 +00:00
PageExportController.php
PageRevisionController.php
PageTemplateController.php
PermissionController.php
SearchController.php
SettingController.php
TagController.php
UserApiTokenController.php Extracted API auth into guard 2019-12-30 14:51:28 +00:00
UserController.php Started work on API token controls 2019-12-29 13:02:26 +00:00