BookStack/app/Http/Controllers
Dan Brown 48df8725d8
Added better drawing load failure handling
Failure of loading drawings will now close the drawing view and show an
error message, hinting at file or permission issues, instead of leaving
the user facing a continuosly loading interface.

Adds test to cover.

This also updates errors from our HTTP service to be wrapped in a custom
error type for better identification and so the error is an actual
javascript error. Should be object compatible.

Related to #3955.
2023-01-26 12:18:33 +00:00
..
Api Added contents to book-show endpoint 2022-09-29 15:08:18 +01:00
Auth Updated email confirmation flow so confirmation is done via POST 2022-11-12 15:11:59 +00:00
Images Added better drawing load failure handling 2023-01-26 12:18:33 +00:00
AttachmentController.php Extracted download response logic to its own class 2022-06-08 23:50:42 +01:00
AuditLogController.php Revised audit log list to new responsive format 2022-10-30 20:24:08 +00:00
BookController.php Refactored common list handling operations to new class 2022-10-30 15:16:06 +00:00
BookExportController.php Extracted download response logic to its own class 2022-06-08 23:50:42 +01:00
BookshelfController.php Refactored common list handling operations to new class 2022-10-30 15:16:06 +00:00
BookSortController.php Added and ran PHPCS 2022-09-18 01:25:20 +01:00
ChapterController.php Reorgranised permission routes into their own controller 2022-10-09 16:36:03 +01:00
ChapterExportController.php Extracted download response logic to its own class 2022-06-08 23:50:42 +01:00
CommentController.php Standardised laravel validation to be array based 2021-11-05 00:26:55 +00:00
Controller.php Extracted download response logic to its own class 2022-06-08 23:50:42 +01:00
FavouriteController.php Removed most usages of restricted entitiy property 2022-10-10 16:58:26 +01:00
HomeController.php Updated tests to align with recent list changes 2022-11-01 14:53:36 +00:00
MaintenanceController.php Added maintenance action to regenerate references 2022-08-29 17:30:26 +01:00
PageController.php Reorgranised permission routes into their own controller 2022-10-09 16:36:03 +01:00
PageExportController.php Extracted download response logic to its own class 2022-06-08 23:50:42 +01:00
PageRevisionController.php Revised revision list to responsive layout 2022-10-31 21:26:31 +00:00
PageTemplateController.php Reorgranised blade view files to form a convention 2021-08-22 13:17:32 +01:00
PermissionsController.php Fixed permission row permission check 2022-10-14 16:03:06 +01:00
RecycleBinController.php Start recycle bin API endpoints: list, restore, delete 2022-04-07 22:34:00 +02:00
ReferenceController.php Reorgranised permission routes into their own controller 2022-10-09 16:36:03 +01:00
RoleController.php Refactored common list handling operations to new class 2022-10-30 15:16:06 +00:00
SearchController.php Added new endpoint for search suggestions 2022-11-21 10:35:53 +00:00
SettingController.php Added ability to control app icon (favicon) via settings 2023-01-25 11:03:19 +00:00
StatusController.php Added inital phpstan/larastan setup 2021-11-05 16:18:06 +00:00
TagController.php Addressed additional unsupported array spread operation 2022-11-03 14:40:01 +00:00
UserApiTokenController.php Standardised laravel validation to be array based 2021-11-05 00:26:55 +00:00
UserController.php Split out user controller preference methods to new controller 2022-10-30 15:25:02 +00:00
UserPreferencesController.php Converted md settings to localstorage, added preview resize 2022-11-28 14:08:20 +00:00
UserProfileController.php Made a pass to clean up UserRepo 2022-02-13 12:56:26 +00:00
UserSearchController.php Applied latest StyleCI changes 2021-12-15 13:49:20 +00:00
WebhookController.php Refactored common list handling operations to new class 2022-10-30 15:16:06 +00:00