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 Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
AttachmentController.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
BookController.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
BookExportController.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
BookshelfController.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
BookSortController.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
ChapterController.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
ChapterExportController.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
CommentController.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
Controller.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
HomeController.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
PageController.php Updated page delete to return to chapter if within one 2019-12-16 11:54:53 +00:00
PageExportController.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
PageRevisionController.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
PageTemplateController.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
PermissionController.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
SearchController.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
SettingController.php Add feature to send test e-mails 2019-10-16 08:24:33 +02:00
TagController.php Re-structured the app code to be feature based rather than code type based 2018-09-25 12:30:50 +01:00
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