From d06251d7446f4fdf42b3f01e897e23a698a3f24d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 22 Aug 2012 21:31:59 +0000 Subject: [PATCH] Added missing config entries and XML (unfinished) --- .gitattributes | 2 ++ application/hub/config.php | 9 +++++++ .../templates/xml/answer/requests/.htaccess | 1 + .../requests/request_node_list_answer.xml | 25 +++++++++++++++++++ 4 files changed, 37 insertions(+) create mode 100644 application/hub/templates/xml/answer/requests/.htaccess create mode 100644 application/hub/templates/xml/answer/requests/request_node_list_answer.xml diff --git a/.gitattributes b/.gitattributes index 16c230bd2..98b6c28dc 100644 --- a/.gitattributes +++ b/.gitattributes @@ -626,6 +626,8 @@ application/hub/templates/xml/announcement/self_announcement.xml svneol=native#t application/hub/templates/xml/answer/.htaccess -text svneol=unset#text/plain application/hub/templates/xml/answer/announcement/.htaccess -text svneol=unset#text/plain application/hub/templates/xml/answer/announcement/announcement_answer.xml svneol=native#text/plain +application/hub/templates/xml/answer/requests/.htaccess -text svneol=unset#text/plain +application/hub/templates/xml/answer/requests/request_node_list_answer.xml svneol=native#text/plain application/hub/templates/xml/cruncher/.htaccess svneol=native#text/plain application/hub/templates/xml/cruncher/producer/.htaccess svneol=native#text/plain application/hub/templates/xml/cruncher/producer/test_unit.xml svneol=native#text/plain diff --git a/application/hub/config.php b/application/hub/config.php index e56aeb8a3..7b3252211 100644 --- a/application/hub/config.php +++ b/application/hub/config.php @@ -264,9 +264,15 @@ $cfg->setConfigEntry('node_announcement_stacker_class', 'FiLoStacker'); // CFG: NODE-ANNOUNCEMENT-ANSWER-STACKER-CLASS $cfg->setConfigEntry('node_announcement_answer_stacker_class', 'FiLoStacker'); +// CFG: NODE-REQUEST-NODE-LIST-ANSWER-STACKER-CLASS +$cfg->setConfigEntry('node_request_node_list_answer_stacker_class', 'FiLoStacker'); + // CFG: NODE-ANNOUNCEMENT-ANSWER-TEMPLATE-TYPE $cfg->setConfigEntry('node_announcement_answer_template_type', 'xml/answer/announcement'); +// CFG: NODE-REQUEST-NODE-LIST-ANSWER-TEMPLATE-TYPE +$cfg->setConfigEntry('node_request_node_list_answer_template_type', 'xml/answer/requests'); + // CFG: NODE-SELF-CONNECT-TEMPLATE-CLASS $cfg->setConfigEntry('node_self_connect_template_class', 'XmlSelfConnectTemplateEngine'); @@ -321,6 +327,9 @@ $cfg->setConfigEntry('stacker_announcement_max_size', 20); // CFG: STACKER-ANNOUNCEMENT-ANSWER-MAX-SIZE $cfg->setConfigEntry('stacker_announcement_answer_max_size', 20); +// CFG: STACKER-REQUEST-NODE-LIST-ANSWER-MAX-SIZE +$cfg->setConfigEntry('stacker_request_node_list_answer_max_size', 20); + // CFG: STACKER-SELF-CONNECT-MAX-SIZE $cfg->setConfigEntry('stacker_self_connect_max_size', 10); diff --git a/application/hub/templates/xml/answer/requests/.htaccess b/application/hub/templates/xml/answer/requests/.htaccess new file mode 100644 index 000000000..3a4288278 --- /dev/null +++ b/application/hub/templates/xml/answer/requests/.htaccess @@ -0,0 +1 @@ +Deny from all diff --git a/application/hub/templates/xml/answer/requests/request_node_list_answer.xml b/application/hub/templates/xml/answer/requests/request_node_list_answer.xml new file mode 100644 index 000000000..128244482 --- /dev/null +++ b/application/hub/templates/xml/answer/requests/request_node_list_answer.xml @@ -0,0 +1,25 @@ + + + + -- 2.39.5