winix/winixd/templates
Tomasz Sowa f7b5ac0dc8 change the way how winix answer is created
Now we can return ezc content and models serialized in the same json structure,
Xml and Csv are not implemented yet.
Ezc frames are returned in 'ezc_frames' field.
Main ezc stream is returned in 'main_stream' field.
Frame url parameter can take more than one frame (names separated by commas).
Honor Accept http header (AcceptParser).

Samples:
--------
http://domain.tld/dir/controller
returns html answer from the main ezc stream

http://domain.tld/dir/controller/container:raw
returns html answer from the main ezc stream (the same as above)

http://domain.tld/dir/controller/frame:abc
returns "abc" frame as html

http://domain.tld/dir/controller/container:json
returns all serialized models to json and no ezc streams

http://domain.tld/dir/controller/container:xml
returns all serialized models to xml and no ezc streams (not implemented yet)

http://domain.tld/dir/controller/container:json/frame:abc,xyz
returns all serialized models to json and two frames in 'ezc_frames' object

http://domain.tld/dir/controller/container:json/all_frames
returns all serialized models to json and all frames in 'ezc_frames' object

http://domain.tld/dir/controller/container:json/main_stream
returns all serialized models and the main ezc stream in 'main_stream' field

http://domain.tld/dir/controller/container:json/main_stream/all_frames
returns all serialized models to json, all frames and the main stream
2022-02-01 18:44:23 +01:00
..
Makefile fixed compilation: pikotools is in src subdirectory now 2021-05-27 12:04:41 +02:00
Makefile.dep change the way how winix answer is created 2022-02-01 18:44:23 +01:00
Makefile.o.dep moved some ezc functions from templates/item.cpp to Item and ItemContent 2021-07-06 21:52:29 +02:00
adduser.cpp moved winix directories to winixdsubdirectory 2016-03-17 08:26:02 +00:00
antispam.cpp added: antispam mechanism 2018-07-02 11:16:36 +00:00
changepatterns.cpp moved winix directories to winixdsubdirectory 2016-03-17 08:26:02 +00:00
changepatterns.h some work on dependency injection 2018-11-21 17:51:15 +00:00
config.cpp fixed: static files loaded to /var such as /var/ckeditor_winix.js were not properly returned 2016-07-13 13:13:56 +00:00
currentdate.cpp - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
dir.cpp - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
doc.cpp namespace PT renamed to pt 2021-05-20 20:59:12 +02:00
filters.cpp added fil_json_escape filter 2021-10-21 13:42:41 +02:00
generic.cpp moved winix directories to winixdsubdirectory 2016-03-17 08:26:02 +00:00
htmltextstream.cpp HtmlTextStream has now pt::Stream as a based class and uses pt::WTextStream as a buffer 2021-07-16 18:17:57 +02:00
htmltextstream.h HtmlTextStream has now pt::Stream as a based class and uses pt::WTextStream as a buffer 2021-07-16 18:17:57 +02:00
indexpatterns.cpp moved winix directories to winixdsubdirectory 2016-03-17 08:26:02 +00:00
indexpatterns.h some work on dependency injection 2018-11-21 17:51:15 +00:00
insert.cpp HtmlTextStream has now pt::Stream as a based class and uses pt::WTextStream as a buffer 2021-07-16 18:17:57 +02:00
ipban.cpp namespace PT renamed to pt 2021-05-20 20:59:12 +02:00
last.cpp moved winix directories to winixdsubdirectory 2016-03-17 08:26:02 +00:00
locale.cpp - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
locale.h namespace PT renamed to pt 2021-05-20 20:59:12 +02:00
localefilter.cpp some work on dependency injection 2018-11-21 17:51:15 +00:00
localefilter.h some work on dependency injection 2018-11-21 17:51:15 +00:00
login.cpp moved winix directories to winixdsubdirectory 2016-03-17 08:26:02 +00:00
ls.cpp moved winix directories to winixdsubdirectory 2016-03-17 08:26:02 +00:00
man.cpp moved winix directories to winixdsubdirectory 2016-03-17 08:26:02 +00:00
misc.cpp some methods from templates/item.cpp moved to ItemContent 2021-06-20 21:22:08 +02:00
misc.h updated to the new ezc api (Generator has three additional parameters now) 2021-07-13 01:46:07 +02:00
mount.cpp namespace PT renamed to pt 2021-05-20 20:59:12 +02:00
passwd.cpp moved winix directories to winixdsubdirectory 2016-03-17 08:26:02 +00:00
patterncacher.cpp removed config options: ezc_error_prefix and ezc_error_postfix 2021-06-19 20:33:35 +02:00
patterncacher.h removed config options: ezc_error_prefix and ezc_error_postfix 2021-06-19 20:33:35 +02:00
patterns.cpp removed config options: ezc_error_prefix and ezc_error_postfix 2021-06-19 20:33:35 +02:00
patterns.h removed config options: ezc_error_prefix and ezc_error_postfix 2021-06-19 20:33:35 +02:00
priv.cpp - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
rebus.cpp moved winix directories to winixdsubdirectory 2016-03-17 08:26:02 +00:00
server.cpp moved winix directories to winixdsubdirectory 2016-03-17 08:26:02 +00:00
slog.cpp moved winix directories to winixdsubdirectory 2016-03-17 08:26:02 +00:00
stat.cpp namespace PT renamed to pt 2021-05-20 20:59:12 +02:00
sys.cpp some work on dependency injection 2018-11-21 17:51:15 +00:00
template.cpp added: generic html template: index_generic.html 2021-01-27 18:31:48 +01:00
templates.cpp added winix_frame_is ezc winix function 2021-10-24 22:27:52 +02:00
templates.h added winix_frame_is ezc winix function 2021-10-24 22:27:52 +02:00
textextstream.cpp namespace PT renamed to pt 2021-05-20 20:59:12 +02:00
textextstream.h namespace PT renamed to pt 2021-05-20 20:59:12 +02:00
upload.cpp moved winix directories to winixdsubdirectory 2016-03-17 08:26:02 +00:00
uptime.cpp moved winix directories to winixdsubdirectory 2016-03-17 08:26:02 +00:00
user.cpp - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
who.cpp - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
winix.cpp change the way how winix answer is created 2022-02-01 18:44:23 +01:00