Readloop remove special cases
authorWilfried Goesgens <dothebart@citadel.org>
Sat, 18 Feb 2012 16:21:44 +0000 (17:21 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Sat, 18 Feb 2012 16:21:44 +0000 (17:21 +0100)
commit4b4dc864ede7c5d8d956febe4a0afb422b78e7c4
tree1bf4918a9533029e96d47967ae3a63b08fe0fe2e
parent4119585313796eabb032cce61627ec95da60ac36
Readloop remove special cases

  - add handler for initializing the page
  - add parameter to handler GetParamsGetServerCall() so clients can register a list filter to MSG4
  - Json-view: use new initialisation handler to output the headers for the JSon-reply
  - Json-view: don't need the extra member on the session anymore.
  - Json-View: split functions into wrapper page and json list
  - wiki-view: register empty header output handler, since the sub-calls do this later.
  - wiki-view: use the GetParamsGetServerCall()-Callback to hook in our logic instead of tainting readloop() with special code.
23 files changed:
libcitadel/lib/libcitadel.h
webcit/bbsview_renderer.c
webcit/blogview_renderer.c
webcit/calendar.c
webcit/calendar.h
webcit/calendar_view.c
webcit/dav_propfind.c
webcit/dav_report.c
webcit/feed_generator.c
webcit/messages.c
webcit/messages.h
webcit/mk_module_init.sh
webcit/msg_renderers.c
webcit/notes.c
webcit/siteconfig.c
webcit/sitemap.c
webcit/summary.c
webcit/tasks.c
webcit/useredit.c
webcit/vcard_edit.c
webcit/webcit.h
webcit/webserver.c
webcit/wiki.c