updated to the new pikotools api: [ezc out] and [out] changed to [ezc frame] or just [frame]

- when returning json streams changed "out" field to "frames"
- renamed config parameter: allow_ezc_out_in_executable_items -> allow_ezc_frames_in_executable_items
- added basic support for ajax requests in thread plugin
This commit is contained in:
2021-05-28 18:36:19 +02:00
parent ba331dea4a
commit e6fae4598c
8 changed files with 24 additions and 15 deletions

View File

@@ -335,7 +335,7 @@ void item_run(Info & i)
InitGenerator(ezc_generator);
ezc_generator.SetPattern(*p);
if( config->allow_ezc_out_in_executable_items )
if( config->allow_ezc_frames_in_executable_items )
ezc_generator.Generate(item_run_content, cur->request->out_streams);
else
ezc_generator.Generate(item_run_content);
@@ -742,7 +742,7 @@ void item_tab_run(Info & i)
InitGenerator(ezc_generator);
ezc_generator.SetPattern(*p);
if( config->allow_ezc_out_in_executable_items )
if( config->allow_ezc_frames_in_executable_items )
ezc_generator.Generate(item_run_content, cur->request->out_streams);
else
ezc_generator.Generate(item_run_content);