ORIENT/modules/backend
Samuel Georges 7baea87068 Allow AJAX handlers to pipe objects to Laravel
Treat non scalar, non array, non RedirectResponse, non null as a Laravel compatible response
This brings AJAX handlers in line with page cycles, which do the same thing if the response is not a string. However in AJAX we should treat any scalar as a "result", not just a string. For all else (where not null), let Laravel handle it as a custom response object -- could be a model for serialization, or anything compatible.
Importantly to note when a custom redirect is sent, October's workflow is completely wiped out, so any partial updates, redirects, etc. will not occur. This is a normal and fair expectation.
Fixes #1784
2016-07-23 11:57:15 +10:00
..
assets Sidebar needs to sit above dropdown overlay 2016-07-23 09:42:18 +10:00
behaviors Merge pull request #2128 from slipgrom/develop 2016-07-16 14:08:35 +10:00
classes Allow AJAX handlers to pipe objects to Laravel 2016-07-23 11:57:15 +10:00
controllers Nicer error message when no DB and backend access attempt 2016-06-05 07:16:11 +10:00
database Fixes tests - migrations are in global namespace 2016-06-06 07:35:30 +10:00
facades Fixes issue preventing CMS AJAX from returning arrays 2015-04-28 19:31:38 +10:00
formwidgets Buttons container has an inner toolbar 2016-07-23 09:53:23 +10:00
helpers Make the datepicker preview mode show pretty dates 2016-04-26 06:59:02 +10:00
lang Polish language update (pl) 2016-07-11 19:34:53 +02:00
layouts Parameters -> Parameter 2016-05-31 08:17:48 +10:00
models $this is not accessible in static context 2016-07-09 05:50:01 +10:00
reportwidgets Disable clock picker AM/PM time for now 2016-06-02 06:52:27 +10:00
skins Remove cms.tempDir - use temp_path() 2015-02-07 15:42:20 +11:00
traits Minor rollback 2016-07-23 11:17:58 +10:00
views Nicer error message when no DB and backend access attempt 2016-06-05 07:16:11 +10:00
widgets Remove the dropup when there are no widgets 2016-07-03 14:53:37 +10:00
ServiceProvider.php Dashboard now supports reset and make default 2016-05-28 14:18:25 +10:00
composer.json Update composer versions 2016-07-06 17:15:41 +10:00
routes.php Add hooks to the cms/backend route definitions 2015-05-02 13:53:05 +10:00