winix/winixd/functions
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 changed the way how the request's answer is created, 2021-10-13 01:27:14 +02:00
Makefile.o.dep updated to the new Pikotools API 2018-01-06 18:12:53 +00:00
account.cpp - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
account.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
adduser.cpp - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
adduser.h start working on User and Group classes 2021-04-30 01:34:48 +02:00
cat.cpp changed the way how the request's answer is created, 2021-10-13 01:27:14 +02:00
cat.h renamed: WinixModel -> WinixModelDeprecated (this class will be removed) 2021-06-16 18:07:44 +02:00
chmod.cpp start working on 0.7.x branch 2018-11-21 11:03:53 +00:00
chmod.h start working on 0.7.x branch 2018-11-21 11:03:53 +00:00
chown.cpp start working on 0.7.x branch 2018-11-21 11:03:53 +00:00
chown.h start working on 0.7.x branch 2018-11-21 11:03:53 +00:00
ckeditor.cpp moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
ckeditor.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
cp.cpp changed the way how the request's answer is created, 2021-10-13 01:27:14 +02:00
cp.h Item class has been moved to a new directory 'models', a new class has been added: ItemContent 2021-02-24 01:19:47 +01:00
default.cpp removed from Item: update() and save() methods which take the 'url_was_changed' argument 2021-03-08 21:06:50 +01:00
default.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
download.cpp change the way how winix answer is created 2022-02-01 18:44:23 +01:00
download.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
emacs.cpp change the way how winix answer is created 2022-02-01 18:44:23 +01:00
emacs.h changed the way how the request's answer is created, 2021-10-13 01:27:14 +02:00
env.cpp - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
env.h - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
functionbase.cpp added: setting a correct mime type for static files - using magic library 2021-09-22 00:23:25 +02:00
functionbase.h added: setting a correct mime type for static files - using magic library 2021-09-22 00:23:25 +02:00
functionparser.cpp updated to the new pikotools api: changed utf8 functions PascalCase to snake_case 2021-05-21 00:41:27 +02:00
functionparser.h renamed: WinixModel -> WinixModelDeprecated (this class will be removed) 2021-06-16 18:07:44 +02:00
functions.cpp added a new item content type: markdown 2021-11-26 21:49:21 +01:00
functions.h added a new item content type: markdown 2021-11-26 21:49:21 +01:00
imgcrop.cpp renamed: WinixModel -> WinixModelDeprecated (this class will be removed) 2021-06-16 18:07:44 +02:00
imgcrop.h renamed: WinixModel -> WinixModelDeprecated (this class will be removed) 2021-06-16 18:07:44 +02:00
ipban.cpp - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
ipban.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
last.cpp moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
last.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
ln.cpp Item class has been moved to a new directory 'models', a new class has been added: ItemContent 2021-02-24 01:19:47 +01:00
ln.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
locale.cpp start working on User and Group classes 2021-04-30 01:34:48 +02:00
locale.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
login.cpp - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
login.h start working on User and Group classes 2021-04-30 01:34:48 +02:00
logout.cpp moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
logout.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
ls.cpp added FunctionBase::Clear() which is called at the end of a request 2021-06-20 20:47:59 +02:00
ls.h added FunctionBase::Clear() which is called at the end of a request 2021-06-20 20:47:59 +02:00
man.cpp moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
man.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
meta.cpp renamed: ItemContent::meta_admin -> ItemContent::admin_meta 2021-07-03 01:18:28 +02:00
meta.h namespace PT renamed to pt 2021-05-20 20:59:12 +02:00
mkdir.cpp changed the way how the request's answer is created, 2021-10-13 01:27:14 +02:00
mkdir.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
mount.cpp - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
mount.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
mv.cpp removed from Item: update() and save() methods which take the 'url_was_changed' argument 2021-03-08 21:06:50 +01:00
mv.h Item class has been moved to a new directory 'models', a new class has been added: ItemContent 2021-02-24 01:19:47 +01:00
nicedit.cpp moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
nicedit.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
node.cpp moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
node.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
passwd.cpp - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
passwd.h start working on User and Group classes 2021-04-30 01:34:48 +02:00
priv.cpp start working on 0.7.x branch 2018-11-21 11:03:53 +00:00
priv.h start working on 0.7.x branch 2018-11-21 11:03:53 +00:00
privchanger.cpp - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
privchanger.h renamed: WinixModel -> WinixModelDeprecated (this class will be removed) 2021-06-16 18:07:44 +02:00
pw.cpp Item class has been moved to a new directory 'models', a new class has been added: ItemContent 2021-02-24 01:19:47 +01:00
pw.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
reload.cpp - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
reload.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
rm.cpp changed the way how the request's answer is created, 2021-10-13 01:27:14 +02:00
rm.h changed the way how the request's answer is created, 2021-10-13 01:27:14 +02:00
rmuser.cpp - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
rmuser.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
run.cpp changed the way how the request's answer is created, 2021-10-13 01:27:14 +02:00
run.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
sort.cpp namespace PT renamed to pt 2021-05-20 20:59:12 +02:00
sort.h Item class has been moved to a new directory 'models', a new class has been added: ItemContent 2021-02-24 01:19:47 +01:00
specialdefault.cpp moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
specialdefault.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
stat.cpp moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
stat.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
subject.cpp - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
subject.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
template.cpp - updated to the new pikotools api (child spaces were removed) 2021-06-27 23:31:50 +02:00
template.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
timezone.cpp start working on User and Group classes 2021-04-30 01:34:48 +02:00
timezone.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
tinymce.cpp changed the way how the request's answer is created, 2021-10-13 01:27:14 +02:00
tinymce.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
uname.cpp moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
uname.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
upload.cpp changed the way how the request's answer is created, 2021-10-13 01:27:14 +02:00
upload.h changed the way how the request's answer is created, 2021-10-13 01:27:14 +02:00
uptime.cpp moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
uptime.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
vim.cpp moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
vim.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
who.cpp moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00
who.h moved winix directories to winixd subdirectory 2016-03-17 08:24:59 +00:00