You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
1 year ago
..
Makefile fixed compilation: pikotools is in src subdirectory now 2 years ago
Makefile.dep change the way how winix answer is created 1 year ago
Makefile.o.dep moved some ezc functions from templates/item.cpp to Item and ItemContent 2 years ago
adduser.cpp moved winix directories to winixdsubdirectory 7 years ago
antispam.cpp added: antispam mechanism 5 years ago
changepatterns.cpp moved winix directories to winixdsubdirectory 7 years ago
changepatterns.h some work on dependency injection 5 years ago
config.cpp fixed: static files loaded to /var such as /var/ckeditor_winix.js were not properly returned 7 years ago
currentdate.cpp - updated to the new pikotools api (child spaces were removed) 2 years ago
dir.cpp - updated to the new pikotools api (child spaces were removed) 2 years ago
doc.cpp namespace PT renamed to pt 2 years ago
filters.cpp added fil_json_escape filter 2 years ago
generic.cpp moved winix directories to winixdsubdirectory 7 years ago
htmltextstream.cpp HtmlTextStream has now pt::Stream as a based class and uses pt::WTextStream as a buffer 2 years ago
htmltextstream.h HtmlTextStream has now pt::Stream as a based class and uses pt::WTextStream as a buffer 2 years ago
indexpatterns.cpp moved winix directories to winixdsubdirectory 7 years ago
indexpatterns.h some work on dependency injection 5 years ago
insert.cpp HtmlTextStream has now pt::Stream as a based class and uses pt::WTextStream as a buffer 2 years ago
ipban.cpp namespace PT renamed to pt 2 years ago
last.cpp moved winix directories to winixdsubdirectory 7 years ago
locale.cpp - updated to the new pikotools api (child spaces were removed) 2 years ago
locale.h namespace PT renamed to pt 2 years ago
localefilter.cpp some work on dependency injection 5 years ago
localefilter.h some work on dependency injection 5 years ago
login.cpp moved winix directories to winixdsubdirectory 7 years ago
ls.cpp moved winix directories to winixdsubdirectory 7 years ago
man.cpp moved winix directories to winixdsubdirectory 7 years ago
misc.cpp some methods from templates/item.cpp moved to ItemContent 2 years ago
misc.h updated to the new ezc api (Generator has three additional parameters now) 2 years ago
mount.cpp namespace PT renamed to pt 2 years ago
passwd.cpp moved winix directories to winixdsubdirectory 7 years ago
patterncacher.cpp removed config options: ezc_error_prefix and ezc_error_postfix 2 years ago
patterncacher.h removed config options: ezc_error_prefix and ezc_error_postfix 2 years ago
patterns.cpp removed config options: ezc_error_prefix and ezc_error_postfix 2 years ago
patterns.h removed config options: ezc_error_prefix and ezc_error_postfix 2 years ago
priv.cpp - updated to the new pikotools api (child spaces were removed) 2 years ago
rebus.cpp moved winix directories to winixdsubdirectory 7 years ago
server.cpp moved winix directories to winixdsubdirectory 7 years ago
slog.cpp moved winix directories to winixdsubdirectory 7 years ago
stat.cpp namespace PT renamed to pt 2 years ago
sys.cpp some work on dependency injection 5 years ago
template.cpp added: generic html template: index_generic.html 2 years ago
templates.cpp added winix_frame_is ezc winix function 2 years ago
templates.h added winix_frame_is ezc winix function 2 years ago
textextstream.cpp namespace PT renamed to pt 2 years ago
textextstream.h namespace PT renamed to pt 2 years ago
upload.cpp moved winix directories to winixdsubdirectory 7 years ago
uptime.cpp moved winix directories to winixdsubdirectory 7 years ago
user.cpp - updated to the new pikotools api (child spaces were removed) 2 years ago
who.cpp - updated to the new pikotools api (child spaces were removed) 2 years ago
winix.cpp change the way how winix answer is created 1 year ago