]> git.mxchange.org Git - hub.git/commitdiff
Added missing config entries and XML (unfinished)
authorRoland Häder <roland@mxchange.org>
Wed, 22 Aug 2012 21:31:59 +0000 (21:31 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 22 Aug 2012 21:31:59 +0000 (21:31 +0000)
.gitattributes
application/hub/config.php
application/hub/templates/xml/answer/requests/.htaccess [new file with mode: 0644]
application/hub/templates/xml/answer/requests/request_node_list_answer.xml [new file with mode: 0644]

index 16c230bd237d0b9b6524178820ddec7395625609..98b6c28dce20a9cae5d3b751caa960282d94c8e6 100644 (file)
@@ -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
index e56aeb8a3919f4ca328c16088b11b4ce193474bb..7b325221154d613adbe17d8800ddd91cdd3f5112 100644 (file)
@@ -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 (file)
index 0000000..3a42882
--- /dev/null
@@ -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 (file)
index 0000000..1282444
--- /dev/null
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+An XML template for answering node-list requests
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<request-node-list-answer>
+</request-node-list-answer>