Files
winix/winixd/plugins/stats/Makefile.dep
Tomasz Sowa d5ebb7ca12 changed the way how the request's answer is created,
now winix can return json, xml, csv from out_main_stream or from frames and json from models

removed from Request:
  bool send_bin_stream
  bool return_json
  bool return_info_only
  pt::Space info
  bool page_generated
  bool out_main_stream_use_html_filter
  bool out_streams_use_html_filter

added to Request:
  enum AnswerSource
  enum AnswerContainer
  AnswerSource answer_source
  AnswerContainer answer_container
  bool use_ezc_engine
  std::wstring frame
  bool send_all_frames
  bool use_html_filter

added to Config:
 // the name of the url parameter for returning all frames, e.g. https://domain.tld/mydir/myfunction/allframes
 // default: allframes
 std::wstring request_all_frames_parameter;

 // the name of the root element when serializing request answer to xml
 // default: winix
 std::wstring xml_root;

algorithm (the whole algorithm is described in core/request.h):
at the beginning of a request winix sets
   answer_source to models
   answer_container to text
   use_ezc_engine to true

next answer_container and use_ezc_engine can be changed in the following way:

1. winix will look for 'Accept' http header and depending on the header winix will set:
   (not implemented yet)

             Accept | answer_container | use_ezc_engine
	     ------------------------------------|-----------------
	     application/json | json             | false
	      application/xml | xml              | false
	              text/csv | csv              | false

2. next answer_container is set depending on 'container' url parameter
       container | answer_container
 ---------------------------------------------------------
     not present | don't change the value
            text | text
            json | json
             xml | xml
             csv | csv

use_ezc_engine is set depending on 'answer' url parameter:
          answer | use_ezc_engine
 ---------------------------------
     not present | don't change the value
            html | true
            data | false

if 'answer' is html then we take into account two more parameters:
 frame: frame_name (empty default) - if set then winix returns this specific frame
 allframes: (if present then winix returns all frames)
2021-10-13 01:27:14 +02:00

231 lines
12 KiB
Makefile

# DO NOT DELETE
bot.o: bot.h
init.o: ../../../../winix/winixd/core/log.h
init.o: ../../../../winix/winixd/core/logmanipulators.h
init.o: ../../../../pikotools/src/log/log.h
init.o: ../../../../pikotools/src/textstream/textstream.h
init.o: ../../../../pikotools/src/textstream/stream.h
init.o: ../../../../pikotools/src/space/space.h
init.o: ../../../../pikotools/src/textstream/types.h
init.o: ../../../../pikotools/src/convert/inttostr.h
init.o: ../../../../pikotools/src/utf8/utf8.h
init.o: ../../../../pikotools/src/textstream/stream.h
init.o: ../../../../pikotools/src/utf8/utf8_templates.h
init.o: ../../../../pikotools/src/utf8/utf8_private.h
init.o: ../../../../pikotools/src/date/date.h
init.o: ../../../../pikotools/src/membuffer/membuffer.h
init.o: ../../../../pikotools/src/textstream/types.h
init.o: ../../../../pikotools/src/log/filelog.h ../../../../morm/src/morm.h
init.o: ../../../../morm/src/morm_types.h ../../../../morm/src/model.h
init.o: ../../../../morm/src/modelconnector.h ../../../../morm/src/clearer.h
init.o: ../../../../morm/src/dbconnector.h ../../../../morm/src/queryresult.h
init.o: ../../../../morm/src/ft.h ../../../../morm/src/flatconnector.h
init.o: ../../../../morm/src/dbexpression.h
init.o: ../../../../morm/src/baseexpression.h ../../../../morm/src/modelenv.h
init.o: ../../../../morm/src/modeldata.h ../../../../morm/src/cursorhelper.h
init.o: ../../../../morm/src/finderhelper.h
init.o: ../../../../morm/src/fieldvaluehelper.h
init.o: ../../../../morm/src/wrapper.h ../../../../morm/src/spacewrapper.h
init.o: ../../../../morm/src/baseobjectwrapper.h
init.o: ../../../../morm/src/modelcontainerwrapper.h
init.o: ../../../../pikotools/src/convert/text.h
init.o: ../../../../morm/src/flatexpression.h ../../../../morm/src/finder.h
init.o: ../../../../morm/src/cursor.h ../../../../morm/src/jsonexpression.h
init.o: ../../../../morm/src/postgresqlexpression.h
init.o: ../../../../morm/src/jsonconnector.h
init.o: ../../../../morm/src/postgresqlconnector.h
init.o: ../../../../morm/src/postgresqlqueryresult.h
init.o: ../../../../winix/winixd/core/request.h
init.o: ../../../../winix/winixd/core/requesttypes.h
init.o: ../../../../winix/winixd/models/item.h
init.o: ../../../../winix/winixd/models/winixmodel.h
init.o: ../../../../winix/winixd/models/winixmodelconnector.h
init.o: ../../../../winix/winixd/models/itemcontent.h
init.o: ../../../../winix/winixd/templates/htmltextstream.h
init.o: ../../../../winix/winixd/templates/misc.h
init.o: ../../../../winix/winixd/templates/localefilter.h
init.o: ../../../../winix/winixd/templates/locale.h
init.o: ../../../../pikotools/src/space/spaceparser.h
init.o: ../../../../pikotools/src/space/space.h
init.o: ../../../../pikotools/src/convert/baseparser.h
init.o: ../../../../winix/winixd/core/winixbase.h
init.o: ../../../../winix/winixd/core/config.h
init.o: ../../../../winix/winixd/core/log.h
init.o: ../../../../winix/winixd/core/synchro.h
init.o: ../../../../winix/winixd/core/filelog.h
init.o: ../../../../winix/winixd/core/lock.h
init.o: ../../../../winix/winixd/core/synchro.h
init.o: ../../../../pikotools/src/convert/patternreplacer.h
init.o: ../../../../pikotools/src/convert/strtoint.h
init.o: ../../../../pikotools/src/convert/text.h
init.o: ../../../../pikotools/src/convert/misc.h
init.o: ../../../../pikotools/src/utf8/utf8_stream.h
init.o: ../../../../ezc/src/ezc.h ../../../../ezc/src/generator.h
init.o: ../../../../ezc/src/blocks.h ../../../../ezc/src/item.h
init.o: ../../../../ezc/src/cache.h ../../../../ezc/src/functions.h
init.o: ../../../../ezc/src/funinfo.h ../../../../ezc/src/objects.h
init.o: ../../../../ezc/src/pattern.h ../../../../ezc/src/outstreams.h
init.o: ../../../../ezc/src/expressionparser.h ../../../../ezc/src/models.h
init.o: ../../../../ezc/src/patternparser.h
init.o: ../../../../winix/winixd/templates/htmltextstream.h
init.o: ../../../../winix/winixd/core/error.h
init.o: ../../../../winix/winixd/core/config.h
init.o: ../../../../winix/winixd/core/textstream.h
init.o: ../../../../winix/winixd/models/winixmodel.h
init.o: ../../../../winix/winixd/core/header.h
init.o: ../../../../winix/winixd/db/db.h ../../../../winix/winixd/db/dbbase.h
init.o: ../../../../winix/winixd/db/dbconn.h
init.o: ../../../../winix/winixd/db/dbtextstream.h
init.o: ../../../../winix/winixd/core/textstream.h
init.o: ../../../../winix/winixd/core/error.h
init.o: ../../../../winix/winixd/models/user.h
init.o: ../../../../winix/winixd/models/group.h
init.o: ../../../../winix/winixd/core/dircontainer.h
init.o: ../../../../winix/winixd/core/winixbase.h
init.o: ../../../../winix/winixd/core/ugcontainer.h
init.o: ../../../../winix/winixd/core/cur.h
init.o: ../../../../winix/winixd/core/request.h
init.o: ../../../../winix/winixd/core/session.h
init.o: ../../../../winix/winixd/core/plugindata.h
init.o: ../../../../winix/winixd/core/rebus.h
init.o: ../../../../winix/winixd/core/ipban.h
init.o: ../../../../winix/winixd/core/mount.h bot.h stats.h
init.o: ../../../../winix/winixd/core/winixmodeldeprecated.h
init.o: ../../../../winix/winixd/core/plugin.h
init.o: ../../../../winix/winixd/core/pluginmsg.h templates.h
init.o: ../../../../winix/winixd/core/plugin.h statssession.h
init.o: ../../../../winix/winixd/core/plugindata.h
stats.o: stats.h ../../../../winix/winixd/core/config.h
stats.o: ../../../../pikotools/src/space/spaceparser.h
stats.o: ../../../../pikotools/src/space/space.h
stats.o: ../../../../pikotools/src/convert/baseparser.h
stats.o: ../../../../pikotools/src/textstream/textstream.h
stats.o: ../../../../pikotools/src/textstream/stream.h
stats.o: ../../../../pikotools/src/space/space.h
stats.o: ../../../../pikotools/src/textstream/types.h
stats.o: ../../../../pikotools/src/convert/inttostr.h
stats.o: ../../../../pikotools/src/utf8/utf8.h
stats.o: ../../../../pikotools/src/textstream/stream.h
stats.o: ../../../../pikotools/src/utf8/utf8_templates.h
stats.o: ../../../../pikotools/src/utf8/utf8_private.h
stats.o: ../../../../pikotools/src/date/date.h
stats.o: ../../../../pikotools/src/membuffer/membuffer.h
stats.o: ../../../../pikotools/src/textstream/types.h
stats.o: ../../../../winix/winixd/core/log.h
stats.o: ../../../../pikotools/src/log/filelog.h
stats.o: ../../../../winix/winixd/core/winixmodeldeprecated.h
stats.o: ../../../../winix/winixd/core/winixbase.h
stats.o: ../../../../winix/winixd/core/log.h
stats.o: ../../../../winix/winixd/core/logmanipulators.h
stats.o: ../../../../pikotools/src/log/log.h ../../../../morm/src/morm.h
stats.o: ../../../../morm/src/morm_types.h ../../../../morm/src/model.h
stats.o: ../../../../morm/src/modelconnector.h ../../../../morm/src/clearer.h
stats.o: ../../../../morm/src/dbconnector.h
stats.o: ../../../../morm/src/queryresult.h ../../../../morm/src/ft.h
stats.o: ../../../../morm/src/flatconnector.h
stats.o: ../../../../morm/src/dbexpression.h
stats.o: ../../../../morm/src/baseexpression.h
stats.o: ../../../../morm/src/modelenv.h ../../../../morm/src/modeldata.h
stats.o: ../../../../morm/src/cursorhelper.h
stats.o: ../../../../morm/src/finderhelper.h
stats.o: ../../../../morm/src/fieldvaluehelper.h
stats.o: ../../../../morm/src/wrapper.h ../../../../morm/src/spacewrapper.h
stats.o: ../../../../morm/src/baseobjectwrapper.h
stats.o: ../../../../morm/src/modelcontainerwrapper.h
stats.o: ../../../../pikotools/src/convert/text.h
stats.o: ../../../../morm/src/flatexpression.h ../../../../morm/src/finder.h
stats.o: ../../../../morm/src/cursor.h ../../../../morm/src/jsonexpression.h
stats.o: ../../../../morm/src/postgresqlexpression.h
stats.o: ../../../../morm/src/jsonconnector.h
stats.o: ../../../../morm/src/postgresqlconnector.h
stats.o: ../../../../morm/src/postgresqlqueryresult.h
stats.o: ../../../../winix/winixd/core/synchro.h
stats.o: ../../../../winix/winixd/core/filelog.h
stats.o: ../../../../winix/winixd/core/lock.h
stats.o: ../../../../winix/winixd/core/synchro.h
stats.o: ../../../../winix/winixd/core/plugin.h
stats.o: ../../../../winix/winixd/core/pluginmsg.h
stats.o: ../../../../winix/winixd/core/plugindata.h
stats.o: ../../../../winix/winixd/core/winixbase.h
templates.o: templates.h ../../../../winix/winixd/core/plugin.h
templates.o: ../../../../ezc/src/ezc.h ../../../../ezc/src/generator.h
templates.o: ../../../../ezc/src/blocks.h ../../../../ezc/src/item.h
templates.o: ../../../../ezc/src/cache.h ../../../../ezc/src/functions.h
templates.o: ../../../../pikotools/src/utf8/utf8.h
templates.o: ../../../../pikotools/src/textstream/stream.h
templates.o: ../../../../pikotools/src/utf8/utf8_templates.h
templates.o: ../../../../pikotools/src/utf8/utf8_private.h
templates.o: ../../../../ezc/src/funinfo.h ../../../../ezc/src/objects.h
templates.o: ../../../../ezc/src/pattern.h ../../../../ezc/src/outstreams.h
templates.o: ../../../../ezc/src/expressionparser.h
templates.o: ../../../../ezc/src/models.h ../../../../pikotools/src/log/log.h
templates.o: ../../../../pikotools/src/textstream/textstream.h
templates.o: ../../../../pikotools/src/textstream/stream.h
templates.o: ../../../../pikotools/src/space/space.h
templates.o: ../../../../pikotools/src/textstream/types.h
templates.o: ../../../../pikotools/src/convert/inttostr.h
templates.o: ../../../../pikotools/src/date/date.h
templates.o: ../../../../pikotools/src/membuffer/membuffer.h
templates.o: ../../../../pikotools/src/textstream/types.h
templates.o: ../../../../pikotools/src/log/filelog.h
templates.o: ../../../../ezc/src/patternparser.h
templates.o: ../../../../winix/winixd/core/misc.h
templates.o: ../../../../winix/winixd/core/requesttypes.h
templates.o: ../../../../winix/winixd/core/winix_const.h
templates.o: ../../../../pikotools/src/convert/convert.h
templates.o: ../../../../pikotools/src/convert/inttostr.h
templates.o: ../../../../pikotools/src/convert/patternreplacer.h
templates.o: ../../../../pikotools/src/convert/strtoint.h
templates.o: ../../../../pikotools/src/convert/text.h
templates.o: ../../../../pikotools/src/convert/misc.h
templates.o: ../../../../pikotools/src/utf8/utf8_stream.h
templates.o: ../../../../pikotools/src/convert/double.h stats.h
templates.o: ../../../../winix/winixd/core/config.h
templates.o: ../../../../pikotools/src/space/spaceparser.h
templates.o: ../../../../pikotools/src/space/space.h
templates.o: ../../../../pikotools/src/convert/baseparser.h
templates.o: ../../../../winix/winixd/core/log.h
templates.o: ../../../../winix/winixd/core/winixmodeldeprecated.h
templates.o: ../../../../winix/winixd/core/winixbase.h
templates.o: ../../../../winix/winixd/core/log.h
templates.o: ../../../../winix/winixd/core/logmanipulators.h
templates.o: ../../../../morm/src/morm.h ../../../../morm/src/morm_types.h
templates.o: ../../../../morm/src/model.h
templates.o: ../../../../morm/src/modelconnector.h
templates.o: ../../../../morm/src/clearer.h
templates.o: ../../../../morm/src/dbconnector.h
templates.o: ../../../../morm/src/queryresult.h ../../../../morm/src/ft.h
templates.o: ../../../../morm/src/flatconnector.h
templates.o: ../../../../morm/src/dbexpression.h
templates.o: ../../../../morm/src/baseexpression.h
templates.o: ../../../../morm/src/modelenv.h ../../../../morm/src/modeldata.h
templates.o: ../../../../morm/src/cursorhelper.h
templates.o: ../../../../morm/src/finderhelper.h
templates.o: ../../../../morm/src/fieldvaluehelper.h
templates.o: ../../../../morm/src/wrapper.h
templates.o: ../../../../morm/src/spacewrapper.h
templates.o: ../../../../morm/src/baseobjectwrapper.h
templates.o: ../../../../morm/src/modelcontainerwrapper.h
templates.o: ../../../../pikotools/src/convert/text.h
templates.o: ../../../../morm/src/flatexpression.h
templates.o: ../../../../morm/src/finder.h ../../../../morm/src/cursor.h
templates.o: ../../../../morm/src/jsonexpression.h
templates.o: ../../../../morm/src/postgresqlexpression.h
templates.o: ../../../../morm/src/jsonconnector.h
templates.o: ../../../../morm/src/postgresqlconnector.h
templates.o: ../../../../morm/src/postgresqlqueryresult.h
templates.o: ../../../../winix/winixd/core/synchro.h
templates.o: ../../../../winix/winixd/core/filelog.h
templates.o: ../../../../winix/winixd/core/lock.h
templates.o: ../../../../winix/winixd/core/synchro.h
templates.o: ../../../../winix/winixd/core/plugin.h
templates.o: ../../../../winix/winixd/core/pluginmsg.h
templates.o: ../../../../winix/winixd/core/plugindata.h
templates.o: ../../../../winix/winixd/core/winixbase.h
templates.o: ../../../../winix/winixd/templates/misc.h
templates.o: ../../../../winix/winixd/templates/localefilter.h
templates.o: ../../../../winix/winixd/templates/locale.h
templates.o: ../../../../pikotools/src/convert/patternreplacer.h
templates.o: ../../../../winix/winixd/templates/htmltextstream.h