ORIENT/modules/cms
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 Style tweaks 2016-05-21 06:57:12 +10:00
classes Allow AJAX handlers to pipe objects to Laravel 2016-07-23 11:57:15 +10:00
contracts Allow CmsObjects to define their own Twig cache key 2016-03-21 13:42:03 +11:00
controllers Add newline conversion to code data section too 2016-06-02 05:52:49 +10:00
database/migrations Stable prep: Patch the theme.yaml file for latest YAML version 2016-06-06 07:33:21 +10:00
formwidgets Improve logic and fix trimming when slash not present 2016-06-11 13:45:52 +10:00
helpers Swap FileHelper methods for new Ini parser 2015-10-03 07:30:11 +10:00
lang Polish language update (pl) 2016-07-11 19:34:53 +02:00
models Minor code tidy 2016-07-07 07:56:10 +10:00
reportwidgets Exception handling 2016-07-23 11:02:26 +10:00
twig Clean up 2016-03-29 14:55:25 +02:00
views Update refs to flash message script 2015-05-28 20:33:49 +10:00
widgets Disable clock picker AM/PM time for now 2016-06-02 06:52:27 +10:00
ServiceProvider.php ThemeData model now busts the [front-end] combiner cache 2016-06-03 07:22:05 +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