rubyfox-server 2.11.1.0 → 2.12.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (366) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rubyfox/server/data/config/.keep +0 -0
  3. data/lib/rubyfox/server/data/config/_backups/.keep +0 -0
  4. data/lib/rubyfox/server/data/config/admin/admintool.xml +23 -0
  5. data/lib/rubyfox/server/data/config/{descriptors → admin/descriptors}/config_room.txt +9 -0
  6. data/lib/rubyfox/server/data/config/{descriptors → admin/descriptors}/config_server.txt +31 -66
  7. data/lib/rubyfox/server/data/config/{descriptors → admin/descriptors}/config_zone.txt +49 -3
  8. data/lib/rubyfox/server/data/config/{descriptors → admin/descriptors}/runtime_game.txt +0 -0
  9. data/lib/rubyfox/server/data/config/{descriptors → admin/descriptors}/runtime_mmo.txt +0 -0
  10. data/lib/rubyfox/server/data/config/{descriptors → admin/descriptors}/runtime_room.txt +11 -0
  11. data/lib/rubyfox/server/data/config/{descriptors → admin/descriptors}/runtime_user.txt +0 -0
  12. data/lib/rubyfox/server/data/config/{descriptors → admin/descriptors}/runtime_zone.txt +15 -0
  13. data/lib/rubyfox/server/data/config/admin/gmc/gmc.py +118 -0
  14. data/lib/rubyfox/server/data/config/admin/icons/Analytics.png +0 -0
  15. data/lib/rubyfox/server/data/config/admin/icons/BanManager.png +0 -0
  16. data/lib/rubyfox/server/data/config/admin/icons/BlueBoxMonitor.png +0 -0
  17. data/lib/rubyfox/server/data/config/admin/icons/Console.png +0 -0
  18. data/lib/rubyfox/server/data/config/admin/icons/Dashboard.png +0 -0
  19. data/lib/rubyfox/server/data/config/admin/icons/ExtensionManager.png +0 -0
  20. data/lib/rubyfox/server/data/config/admin/icons/LicenseManager.png +0 -0
  21. data/lib/rubyfox/server/data/config/admin/icons/LogViewer.png +0 -0
  22. data/lib/rubyfox/server/data/config/admin/icons/ServerConfigurator.png +0 -0
  23. data/lib/rubyfox/server/data/config/admin/icons/ZoneConfigurator.png +0 -0
  24. data/lib/rubyfox/server/data/config/admin/icons/ZoneMonitor.png +0 -0
  25. data/lib/rubyfox/server/data/config/core.xml +6 -6
  26. data/lib/rubyfox/server/data/config/server.xml +4 -3
  27. data/lib/rubyfox/server/data/data/GeoLite2-Country.mmdb +0 -0
  28. data/lib/rubyfox/server/data/data/bannedusers/.keep +0 -0
  29. data/lib/rubyfox/server/data/data/buddylists/.keep +0 -0
  30. data/lib/rubyfox/server/data/extensions/.keep +0 -0
  31. data/lib/rubyfox/server/data/extensions/__lib__/.keep +0 -0
  32. data/lib/rubyfox/server/data/extensions/pyTest/Simple.py +42 -0
  33. data/lib/rubyfox/server/data/lib/antlr-2.7.7.jar +0 -0
  34. data/lib/rubyfox/server/data/lib/commons-codec-1.9.jar +0 -0
  35. data/lib/rubyfox/server/data/lib/commons-logging-1.2.jar +0 -0
  36. data/lib/rubyfox/server/data/lib/commons-validator-1.5.0.jar +0 -0
  37. data/lib/rubyfox/server/data/lib/geoip2-2.8.0.jar +0 -0
  38. data/lib/rubyfox/server/data/lib/guava-18.0.jar +0 -0
  39. data/lib/rubyfox/server/data/lib/httpclient-4.5.2.jar +0 -0
  40. data/lib/rubyfox/server/data/lib/httpcore-4.4.4.jar +0 -0
  41. data/lib/rubyfox/server/data/lib/jackson-annotations-2.8.0.jar +0 -0
  42. data/lib/rubyfox/server/data/lib/jackson-core-2.8.2.jar +0 -0
  43. data/lib/rubyfox/server/data/lib/jackson-databind-2.8.2.jar +0 -0
  44. data/lib/rubyfox/server/data/lib/jetty/VERSION.txt +1977 -233
  45. data/lib/rubyfox/server/data/lib/jetty/etc/jamon.xml +32 -0
  46. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-alpn.xml +32 -0
  47. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-annotations.xml +1 -1
  48. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-cdi.xml +19 -0
  49. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-debug.xml +28 -15
  50. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-debuglog.xml +25 -0
  51. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-deploy.xml +20 -6
  52. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-gcloud-memcached-sessions.xml +27 -0
  53. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-gcloud-session-idmgr.xml +19 -0
  54. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-gcloud-sessions.xml +27 -0
  55. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-gzip.xml +67 -0
  56. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-http-forwarded.xml +17 -0
  57. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-http.xml +11 -5
  58. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-http2.xml +26 -0
  59. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-http2c.xml +18 -0
  60. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-https.xml +17 -35
  61. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-infinispan.xml +39 -0
  62. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-ipaccess.xml +21 -24
  63. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-jaas.xml +2 -3
  64. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-jdbc-sessions.xml +34 -0
  65. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-jmx-remote.xml +31 -18
  66. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-jmx.xml +1 -12
  67. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-logging.xml +14 -14
  68. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-lowresources.xml +7 -7
  69. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-monitor.xml +6 -6
  70. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-nosql.xml +19 -0
  71. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-plus.xml +1 -1
  72. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-proxy-protocol-ssl.xml +10 -0
  73. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-proxy-protocol.xml +10 -0
  74. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-proxy.xml +28 -28
  75. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-requestlog.xml +20 -22
  76. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-rewrite-customizer.xml +17 -0
  77. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-rewrite.xml +26 -36
  78. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-setuid.xml +8 -8
  79. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-spring.xml +61 -0
  80. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-ssl-context.xml +29 -0
  81. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-ssl.xml +40 -23
  82. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-started.xml +2 -2
  83. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-stats.xml +7 -7
  84. data/lib/rubyfox/server/data/lib/jetty/etc/jetty.xml +24 -26
  85. data/lib/rubyfox/server/data/lib/jetty/etc/jminix.xml +12 -0
  86. data/lib/rubyfox/server/data/lib/jetty/etc/jolokia.xml +16 -0
  87. data/lib/rubyfox/server/data/lib/jetty/etc/krb5.ini +3 -3
  88. data/lib/rubyfox/server/data/lib/jetty/etc/rewrite-compactpath.xml +10 -0
  89. data/lib/rubyfox/server/data/lib/jetty/etc/webdefault.xml +34 -35
  90. data/lib/rubyfox/server/data/lib/jetty/lib/asm-5.0.1.jar +0 -0
  91. data/lib/rubyfox/server/data/lib/jetty/lib/asm-commons-5.0.1.jar +0 -0
  92. data/lib/rubyfox/server/data/lib/jetty/lib/fcgi/fcgi-client-9.3.11.v20160721.jar +0 -0
  93. data/lib/rubyfox/server/data/lib/jetty/lib/fcgi/fcgi-server-9.3.11.v20160721.jar +0 -0
  94. data/lib/rubyfox/server/data/lib/jetty/lib/http2-common-9.3.11.v20160721.jar +0 -0
  95. data/lib/rubyfox/server/data/lib/jetty/lib/http2-hpack-9.3.11.v20160721.jar +0 -0
  96. data/lib/rubyfox/server/data/lib/jetty/lib/http2-server-9.3.11.v20160721.jar +0 -0
  97. data/lib/rubyfox/server/data/lib/jetty/lib/javax-websocket-client-impl-9.3.11.v20160721.jar +0 -0
  98. data/lib/rubyfox/server/data/lib/jetty/lib/javax-websocket-server-impl-9.3.11.v20160721.jar +0 -0
  99. data/lib/rubyfox/server/data/lib/jetty/lib/{websocket/javax.websocket-api-1.0.jar → javax.websocket-api-1.0.jar} +0 -0
  100. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-alpn-server-9.3.11.v20160721.jar +0 -0
  101. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-annotations-9.3.11.v20160721.jar +0 -0
  102. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-client-9.3.11.v20160721.jar +0 -0
  103. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-continuation-9.3.11.v20160721.jar +0 -0
  104. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-deploy-9.3.11.v20160721.jar +0 -0
  105. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-gcloud-memcached-session-manager-9.3.11.v20160721.jar +0 -0
  106. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-gcloud-session-manager-9.3.11.v20160721.jar +0 -0
  107. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-http-9.3.11.v20160721.jar +0 -0
  108. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-infinispan-9.3.11.v20160721.jar +0 -0
  109. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-io-9.3.11.v20160721.jar +0 -0
  110. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jaas-9.3.11.v20160721.jar +0 -0
  111. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jaspi-9.3.11.v20160721.jar +0 -0
  112. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jmx-9.3.11.v20160721.jar +0 -0
  113. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jndi-9.3.11.v20160721.jar +0 -0
  114. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-nosql-9.3.11.v20160721.jar +0 -0
  115. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-plus-9.3.11.v20160721.jar +0 -0
  116. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-proxy-9.3.11.v20160721.jar +0 -0
  117. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-quickstart-9.3.11.v20160721.jar +0 -0
  118. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-rewrite-9.3.11.v20160721.jar +0 -0
  119. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-security-9.3.11.v20160721.jar +0 -0
  120. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-server-9.3.11.v20160721.jar +0 -0
  121. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-servlet-9.3.11.v20160721.jar +0 -0
  122. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-servlets-9.3.11.v20160721.jar +0 -0
  123. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-util-9.3.11.v20160721.jar +0 -0
  124. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-webapp-9.3.11.v20160721.jar +0 -0
  125. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-xml-9.3.11.v20160721.jar +0 -0
  126. data/lib/rubyfox/server/data/lib/jetty/lib/monitor/jetty-monitor-9.3.11.v20160721.jar +0 -0
  127. data/lib/rubyfox/server/data/lib/jetty/lib/org.apache.taglibs.taglibs-standard-impl-1.2.5.jar +0 -0
  128. data/lib/rubyfox/server/data/lib/jetty/lib/org.apache.taglibs.taglibs-standard-spec-1.2.5.jar +0 -0
  129. data/lib/rubyfox/server/data/lib/jetty/lib/org.eclipse.jdt.core.compiler.ecj-4.4.2.jar +0 -0
  130. data/lib/rubyfox/server/data/lib/jetty/lib/org.eclipse.jetty.apache-jsp-9.3.11.v20160721.jar +0 -0
  131. data/lib/rubyfox/server/data/lib/jetty/lib/org.mortbay.jasper.apache-el-8.0.33.jar +0 -0
  132. data/lib/rubyfox/server/data/lib/jetty/lib/org.mortbay.jasper.apache-jsp-8.0.33.jar +0 -0
  133. data/lib/rubyfox/server/data/lib/jetty/lib/setuid/jetty-setuid-java-1.0.3.jar +0 -0
  134. data/lib/rubyfox/server/data/lib/jetty/lib/setuid/libsetuid-linux.so +0 -0
  135. data/lib/rubyfox/server/data/lib/jetty/lib/setuid/libsetuid-osx.so +0 -0
  136. data/lib/rubyfox/server/data/lib/jetty/lib/spring/jetty-spring-9.3.11.v20160721.jar +0 -0
  137. data/lib/rubyfox/server/data/lib/jetty/lib/start.jar +0 -0
  138. data/lib/rubyfox/server/data/lib/jetty/lib/websocket-api-9.3.11.v20160721.jar +0 -0
  139. data/lib/rubyfox/server/data/lib/jetty/lib/websocket-client-9.3.11.v20160721.jar +0 -0
  140. data/lib/rubyfox/server/data/lib/jetty/lib/websocket-common-9.3.11.v20160721.jar +0 -0
  141. data/lib/rubyfox/server/data/lib/jetty/lib/websocket-server-9.3.11.v20160721.jar +0 -0
  142. data/lib/rubyfox/server/data/lib/jetty/lib/websocket-servlet-9.3.11.v20160721.jar +0 -0
  143. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0.mod +8 -0
  144. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_05.mod +8 -0
  145. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_101.mod +8 -0
  146. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_102.mod +8 -0
  147. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_11.mod +8 -0
  148. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_20.mod +8 -0
  149. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_25.mod +8 -0
  150. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_31.mod +8 -0
  151. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_40.mod +8 -0
  152. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_45.mod +8 -0
  153. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_51.mod +8 -0
  154. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_60.mod +8 -0
  155. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_65.mod +8 -0
  156. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_66.mod +8 -0
  157. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_71.mod +8 -0
  158. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_72.mod +8 -0
  159. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_73.mod +8 -0
  160. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_74.mod +8 -0
  161. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_77.mod +8 -0
  162. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_91.mod +8 -0
  163. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_92.mod +8 -0
  164. data/lib/rubyfox/server/data/lib/jetty/modules/alpn.mod +53 -0
  165. data/lib/rubyfox/server/data/lib/jetty/modules/apache-jsp.mod +10 -0
  166. data/lib/rubyfox/server/data/lib/jetty/modules/apache-jstl.mod +9 -0
  167. data/lib/rubyfox/server/data/lib/jetty/modules/cdi.mod +39 -0
  168. data/lib/rubyfox/server/data/lib/jetty/modules/debug.mod +21 -1
  169. data/lib/rubyfox/server/data/lib/jetty/modules/debuglog.mod +25 -0
  170. data/lib/rubyfox/server/data/lib/jetty/modules/deploy.mod +16 -0
  171. data/lib/rubyfox/server/data/lib/jetty/modules/ext.mod +2 -2
  172. data/lib/rubyfox/server/data/lib/jetty/modules/fcgi.mod +15 -0
  173. data/lib/rubyfox/server/data/lib/jetty/modules/gcloud-memcached-sessions.mod +26 -0
  174. data/lib/rubyfox/server/data/lib/jetty/modules/gcloud-session-idmgr.mod +63 -0
  175. data/lib/rubyfox/server/data/lib/jetty/modules/gcloud-sessions.mod +11 -0
  176. data/lib/rubyfox/server/data/lib/jetty/modules/gzip.mod +23 -0
  177. data/lib/rubyfox/server/data/lib/jetty/modules/hawtio.mod +28 -0
  178. data/lib/rubyfox/server/data/lib/jetty/modules/home-base-warning.mod +7 -0
  179. data/lib/rubyfox/server/data/lib/jetty/modules/http-forwarded.mod +20 -0
  180. data/lib/rubyfox/server/data/lib/jetty/modules/http.mod +28 -3
  181. data/lib/rubyfox/server/data/lib/jetty/modules/http2.mod +20 -0
  182. data/lib/rubyfox/server/data/lib/jetty/modules/http2c.mod +22 -0
  183. data/lib/rubyfox/server/data/lib/jetty/modules/https.mod +4 -6
  184. data/lib/rubyfox/server/data/lib/jetty/modules/infinispan.mod +33 -0
  185. data/lib/rubyfox/server/data/lib/jetty/modules/jaas.mod +3 -2
  186. data/lib/rubyfox/server/data/lib/jetty/modules/jamon.mod +31 -0
  187. data/lib/rubyfox/server/data/lib/jetty/modules/jdbc-sessions.mod +27 -0
  188. data/lib/rubyfox/server/data/lib/jetty/modules/jminix.mod +41 -0
  189. data/lib/rubyfox/server/data/lib/jetty/modules/jmx-remote.mod +5 -7
  190. data/lib/rubyfox/server/data/lib/jetty/modules/jmx.mod +3 -0
  191. data/lib/rubyfox/server/data/lib/jetty/modules/jolokia.mod +19 -0
  192. data/lib/rubyfox/server/data/lib/jetty/modules/jsp.mod +2 -7
  193. data/lib/rubyfox/server/data/lib/jetty/modules/jstl.mod +8 -0
  194. data/lib/rubyfox/server/data/lib/jetty/modules/jvm.mod +0 -1
  195. data/lib/rubyfox/server/data/lib/jetty/modules/logging.mod +19 -10
  196. data/lib/rubyfox/server/data/lib/jetty/modules/lowresources.mod +17 -7
  197. data/lib/rubyfox/server/data/lib/jetty/modules/monitor.mod +2 -2
  198. data/lib/rubyfox/server/data/lib/jetty/modules/nosql.mod +31 -0
  199. data/lib/rubyfox/server/data/lib/jetty/modules/plus.mod +1 -0
  200. data/lib/rubyfox/server/data/lib/jetty/modules/proxy-protocol-ssl.mod +9 -0
  201. data/lib/rubyfox/server/data/lib/jetty/modules/proxy-protocol.mod +9 -0
  202. data/lib/rubyfox/server/data/lib/jetty/modules/proxy.mod +6 -6
  203. data/lib/rubyfox/server/data/lib/jetty/modules/quickstart.mod +11 -0
  204. data/lib/rubyfox/server/data/lib/jetty/modules/requestlog.mod +25 -11
  205. data/lib/rubyfox/server/data/lib/jetty/modules/resources.mod +1 -1
  206. data/lib/rubyfox/server/data/lib/jetty/modules/rewrite-compactpath.mod +10 -0
  207. data/lib/rubyfox/server/data/lib/jetty/modules/rewrite-customizer.mod +24 -0
  208. data/lib/rubyfox/server/data/lib/jetty/modules/rewrite.mod +12 -1
  209. data/lib/rubyfox/server/data/lib/jetty/modules/server.mod +55 -14
  210. data/lib/rubyfox/server/data/lib/jetty/modules/servlets.mod +1 -0
  211. data/lib/rubyfox/server/data/lib/jetty/modules/setuid.mod +5 -5
  212. data/lib/rubyfox/server/data/lib/jetty/modules/spring.mod +17 -0
  213. data/lib/rubyfox/server/data/lib/jetty/modules/ssl.mod +81 -13
  214. data/lib/rubyfox/server/data/lib/jetty/start.d/http.ini +2 -2
  215. data/lib/rubyfox/server/data/lib/jetty/start.d/https.ini +4 -3
  216. data/lib/rubyfox/server/data/lib/jetty/start.d/ssl.ini +6 -6
  217. data/lib/rubyfox/server/data/lib/jetty/start.ini +6 -7
  218. data/lib/rubyfox/server/data/lib/logs-analysis-app.jar +0 -0
  219. data/lib/rubyfox/server/data/lib/logs-backup-app.jar +0 -0
  220. data/lib/rubyfox/server/data/lib/maxmind-db-1.2.1.jar +0 -0
  221. data/lib/rubyfox/server/data/lib/{scala-library.jar → scala-library-2.11.6.jar} +0 -0
  222. data/lib/rubyfox/server/data/lib/sfs2x-admin.jar +0 -0
  223. data/lib/rubyfox/server/data/lib/sfs2x-lib.jar +0 -0
  224. data/lib/rubyfox/server/data/lib/sfs2x-util.jar +0 -0
  225. data/lib/rubyfox/server/data/lib/sfs2x.jar +0 -0
  226. data/lib/rubyfox/server/data/lib/stringtemplate-3.2.1.jar +0 -0
  227. data/lib/rubyfox/server/data/logs/.keep +0 -0
  228. data/lib/rubyfox/server/data/logs/boot/.keep +0 -0
  229. data/lib/rubyfox/server/data/logs/http/.keep +0 -0
  230. data/lib/rubyfox/server/data/sfs2x-service +31 -22
  231. data/lib/rubyfox/server/data/www/.keep +0 -0
  232. data/lib/rubyfox/server/data/www/HelloServlet/META-INF/MANIFEST.MF +2 -0
  233. data/lib/rubyfox/server/data/www/HelloServlet/META-INF/context.xml +2 -0
  234. data/lib/rubyfox/server/data/www/HelloServlet/WEB-INF/classes/.netbeans_automatic_build +0 -0
  235. data/lib/rubyfox/server/data/www/HelloServlet/WEB-INF/classes/.netbeans_update_resources +0 -0
  236. data/lib/rubyfox/server/data/www/HelloServlet/WEB-INF/classes/simple/test/jsp/HelloServlet.class +0 -0
  237. data/lib/rubyfox/server/data/www/HelloServlet/WEB-INF/web.xml +16 -0
  238. data/lib/rubyfox/server/data/www/HelloServlet/index.jsp +40 -0
  239. data/lib/rubyfox/server/data/www/PyServletExample/MyModule$py.class +0 -0
  240. data/lib/rubyfox/server/data/www/PyServletExample/MyModule.py +5 -0
  241. data/lib/rubyfox/server/data/www/PyServletExample/WEB-INF/web.xml +37 -0
  242. data/lib/rubyfox/server/data/www/PyServletExample/errors/404.htm +20 -0
  243. data/lib/rubyfox/server/data/www/PyServletExample/index.py +42 -0
  244. data/lib/rubyfox/server/data/www/root/admin/.keep +0 -0
  245. data/lib/rubyfox/server/data/www/root/admin/AdminTool.swf +0 -0
  246. data/lib/rubyfox/server/data/www/root/admin/ReleaseNotes.txt +12 -0
  247. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/iPDiscovery.png +0 -0
  248. data/lib/rubyfox/server/data/www/root/admin/expressInstall.swf +0 -0
  249. data/lib/rubyfox/server/data/www/root/admin/index.html +62 -46
  250. data/lib/rubyfox/server/data/www/root/admin/modules/Analytics.swf +0 -0
  251. data/lib/rubyfox/server/data/www/root/admin/modules/BanManager.swf +0 -0
  252. data/lib/rubyfox/server/data/www/root/admin/modules/BlueBoxMonitor.swf +0 -0
  253. data/lib/rubyfox/server/data/www/root/admin/modules/Console.swf +0 -0
  254. data/lib/rubyfox/server/data/www/root/admin/modules/Dashboard.swf +0 -0
  255. data/lib/rubyfox/server/data/www/root/admin/modules/ExtensionManager.swf +0 -0
  256. data/lib/rubyfox/server/data/www/root/admin/modules/LicenseManager.swf +0 -0
  257. data/lib/rubyfox/server/data/www/root/admin/modules/LogViewer.swf +0 -0
  258. data/lib/rubyfox/server/data/www/root/admin/modules/ServerConfigurator.swf +0 -0
  259. data/lib/rubyfox/server/data/www/root/admin/modules/ZoneConfigurator.swf +0 -0
  260. data/lib/rubyfox/server/data/www/root/admin/modules/ZoneMonitor.swf +0 -0
  261. data/lib/rubyfox/server/data/www/root/admin/swfobject.js +2 -775
  262. data/lib/rubyfox/server/data/www/root/examples/.keep +0 -0
  263. data/lib/rubyfox/server/data/www/root/index.html +1 -1
  264. data/lib/rubyfox/server/data/www/sfs2x-ws.war +0 -0
  265. data/lib/rubyfox/server/data/zones/.keep +0 -0
  266. data/lib/rubyfox/server/version.rb +1 -1
  267. metadata +184 -112
  268. data/lib/rubyfox/server/data/config/descriptors/.keep +0 -0
  269. data/lib/rubyfox/server/data/config/jetty/.keep +0 -0
  270. data/lib/rubyfox/server/data/data/GeoIP.dat +0 -0
  271. data/lib/rubyfox/server/data/lib/Jetty/.keep +0 -0
  272. data/lib/rubyfox/server/data/lib/SFS2XVersion.class +0 -0
  273. data/lib/rubyfox/server/data/lib/cachedir/.keep +0 -0
  274. data/lib/rubyfox/server/data/lib/commons-logging-1.1.1.jar +0 -0
  275. data/lib/rubyfox/server/data/lib/httpclient-4.3.3.jar +0 -0
  276. data/lib/rubyfox/server/data/lib/httpcore-4.3.2.jar +0 -0
  277. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-spdy-proxy.xml +0 -158
  278. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-spdy.xml +0 -153
  279. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-xinetd.xml +0 -54
  280. data/lib/rubyfox/server/data/lib/jetty/lib/asm-4.1.jar +0 -0
  281. data/lib/rubyfox/server/data/lib/jetty/lib/asm-commons-4.1.jar +0 -0
  282. data/lib/rubyfox/server/data/lib/jetty/lib/javax.el-3.0.0.jar +0 -0
  283. data/lib/rubyfox/server/data/lib/jetty/lib/javax.servlet.jsp-2.3.2.jar +0 -0
  284. data/lib/rubyfox/server/data/lib/jetty/lib/javax.servlet.jsp-api-2.3.1.jar +0 -0
  285. data/lib/rubyfox/server/data/lib/jetty/lib/javax.servlet.jsp.jstl-1.2.0.v201105211821.jar +0 -0
  286. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-annotations-9.1.1.v20140108.jar +0 -0
  287. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-client-9.1.1.v20140108.jar +0 -0
  288. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-continuation-9.1.1.v20140108.jar +0 -0
  289. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-deploy-9.1.1.v20140108.jar +0 -0
  290. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-http-9.1.1.v20140108.jar +0 -0
  291. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-io-9.1.1.v20140108.jar +0 -0
  292. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jaas-9.1.1.v20140108.jar +0 -0
  293. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jaspi-9.1.1.v20140108.jar +0 -0
  294. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jmx-9.1.1.v20140108.jar +0 -0
  295. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jndi-9.1.1.v20140108.jar +0 -0
  296. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jsp-jdt-2.3.3.jar +0 -0
  297. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-plus-9.1.1.v20140108.jar +0 -0
  298. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-proxy-9.1.1.v20140108.jar +0 -0
  299. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-rewrite-9.1.1.v20140108.jar +0 -0
  300. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-security-9.1.1.v20140108.jar +0 -0
  301. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-server-9.1.1.v20140108.jar +0 -0
  302. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-servlet-9.1.1.v20140108.jar +0 -0
  303. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-servlets-9.1.1.v20140108.jar +0 -0
  304. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-util-9.1.1.v20140108.jar +0 -0
  305. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-webapp-9.1.1.v20140108.jar +0 -0
  306. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-xml-9.1.1.v20140108.jar +0 -0
  307. data/lib/rubyfox/server/data/lib/jetty/lib/jndi/javax.activation-1.1.0.v201105071233.jar +0 -0
  308. data/lib/rubyfox/server/data/lib/jetty/lib/monitor/jetty-monitor-9.1.1.v20140108.jar +0 -0
  309. data/lib/rubyfox/server/data/lib/jetty/lib/org.apache.taglibs.standard.glassfish-1.2.0.v201112081803.jar +0 -0
  310. data/lib/rubyfox/server/data/lib/jetty/lib/org.eclipse.jdt.core-3.8.2.v20130121.jar +0 -0
  311. data/lib/rubyfox/server/data/lib/jetty/lib/setuid/jetty-setuid-java-1.0.1.jar +0 -0
  312. data/lib/rubyfox/server/data/lib/jetty/lib/spdy/spdy-client-9.1.1.v20140108.jar +0 -0
  313. data/lib/rubyfox/server/data/lib/jetty/lib/spdy/spdy-core-9.1.1.v20140108.jar +0 -0
  314. data/lib/rubyfox/server/data/lib/jetty/lib/spdy/spdy-http-common-9.1.1.v20140108.jar +0 -0
  315. data/lib/rubyfox/server/data/lib/jetty/lib/spdy/spdy-http-server-9.1.1.v20140108.jar +0 -0
  316. data/lib/rubyfox/server/data/lib/jetty/lib/spdy/spdy-server-9.1.1.v20140108.jar +0 -0
  317. data/lib/rubyfox/server/data/lib/jetty/lib/websocket/javax-websocket-client-impl-9.1.1.v20140108.jar +0 -0
  318. data/lib/rubyfox/server/data/lib/jetty/lib/websocket/javax-websocket-server-impl-9.1.1.v20140108.jar +0 -0
  319. data/lib/rubyfox/server/data/lib/jetty/lib/websocket/websocket-client-9.1.1.v20140108.jar +0 -0
  320. data/lib/rubyfox/server/data/lib/jetty/lib/websocket/websocket-common-9.1.1.v20140108.jar +0 -0
  321. data/lib/rubyfox/server/data/lib/jetty/lib/websocket/websocket-server-9.1.1.v20140108.jar +0 -0
  322. data/lib/rubyfox/server/data/lib/jetty/lib/websocket/websocket-servlet-9.1.1.v20140108.jar +0 -0
  323. data/lib/rubyfox/server/data/lib/jetty/lib/websocket-api-9.1.1.v20140108.jar +0 -0
  324. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_10.mod +0 -9
  325. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_11.mod +0 -9
  326. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_13.mod +0 -9
  327. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_15.mod +0 -9
  328. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_17.mod +0 -9
  329. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_21.mod +0 -9
  330. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_25.mod +0 -9
  331. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_4.mod +0 -9
  332. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_40.mod +0 -9
  333. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_45.mod +0 -9
  334. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_5.mod +0 -9
  335. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_6.mod +0 -9
  336. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_7.mod +0 -9
  337. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_9.mod +0 -9
  338. data/lib/rubyfox/server/data/lib/jetty/modules/npn.mod +0 -32
  339. data/lib/rubyfox/server/data/lib/jetty/modules/spdy.mod +0 -23
  340. data/lib/rubyfox/server/data/lib/jetty/modules/xinetd.mod +0 -17
  341. data/lib/rubyfox/server/data/lib/terracotta-api-1.1.1.jar +0 -0
  342. data/lib/rubyfox/server/data/logs/bluebox/.keep +0 -0
  343. data/lib/rubyfox/server/data/root/.keep +0 -0
  344. data/lib/rubyfox/server/data/www/root/admin/AdminTool.html +0 -108
  345. data/lib/rubyfox/server/data/www/root/admin/modules/Analytics/Analytics.swf +0 -0
  346. data/lib/rubyfox/server/data/www/root/admin/modules/Analytics/icon.png +0 -0
  347. data/lib/rubyfox/server/data/www/root/admin/modules/BanManager/BanManager.swf +0 -0
  348. data/lib/rubyfox/server/data/www/root/admin/modules/BanManager/icon.png +0 -0
  349. data/lib/rubyfox/server/data/www/root/admin/modules/BlueBoxMonitor/BlueBoxMonitor.swf +0 -0
  350. data/lib/rubyfox/server/data/www/root/admin/modules/BlueBoxMonitor/icon.png +0 -0
  351. data/lib/rubyfox/server/data/www/root/admin/modules/Dashboard/Dashboard.swf +0 -0
  352. data/lib/rubyfox/server/data/www/root/admin/modules/Dashboard/icon.png +0 -0
  353. data/lib/rubyfox/server/data/www/root/admin/modules/ExtensionManager/ExtensionManager.swf +0 -0
  354. data/lib/rubyfox/server/data/www/root/admin/modules/ExtensionManager/icon.png +0 -0
  355. data/lib/rubyfox/server/data/www/root/admin/modules/LicenseManager/LicenseManager.swf +0 -0
  356. data/lib/rubyfox/server/data/www/root/admin/modules/LicenseManager/icon.png +0 -0
  357. data/lib/rubyfox/server/data/www/root/admin/modules/LogViewer/LogViewer.swf +0 -0
  358. data/lib/rubyfox/server/data/www/root/admin/modules/LogViewer/icon.png +0 -0
  359. data/lib/rubyfox/server/data/www/root/admin/modules/ServerConfigurator/ServerConfigurator.swf +0 -0
  360. data/lib/rubyfox/server/data/www/root/admin/modules/ServerConfigurator/icon.png +0 -0
  361. data/lib/rubyfox/server/data/www/root/admin/modules/ZoneConfigurator/ZoneConfigurator.swf +0 -0
  362. data/lib/rubyfox/server/data/www/root/admin/modules/ZoneConfigurator/icon.png +0 -0
  363. data/lib/rubyfox/server/data/www/root/admin/modules/ZoneMonitor/ZoneMonitor.swf +0 -0
  364. data/lib/rubyfox/server/data/www/root/admin/modules/ZoneMonitor/icon.png +0 -0
  365. data/lib/rubyfox/server/data/www/root/admin/modules/config.xml +0 -14
  366. data/lib/rubyfox/server/data/www/root/admin/playerProductInstall.swf +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a8735b57f569c416fbe21e96234977d16e654a1
4
- data.tar.gz: b7de5f982638ea93c87c1998b356acc0c23a2209
3
+ metadata.gz: 97fe4c3be4c84f15de9191d692b3e3f3450bde2d
4
+ data.tar.gz: 3c77e3db9931f80c0e2d85329a5e9df85d3dac73
5
5
  SHA512:
6
- metadata.gz: c683ea0867225d440a74128ec799f4774edee2f30ae81a31538f92beea41e76f2fa42902c48023f0e7c7fcb630c46682924fdcce3895c4f238ae68c2b3ceefb1
7
- data.tar.gz: 0a5384500465547e7521fce3bd79b23a8682ee270552eacbfae7bf68d88c5351291cb96416d1e680a17bb86dee79c9895027b983b74a7605d71a5ef786c7939e
6
+ metadata.gz: 7a3aad083802307edcc7905a8e464d51f2a7aeea144a7dac668a7de3a2e58a202334aacab75ac359600bbe974f7dc367608e4c3ac78f02d5ba371ffccdc46619
7
+ data.tar.gz: a8b16168452b97853246e8df30b197ffe984e830adac84cd3a35af5c48159a9758b61a26e3c669693f81300aa4d522d2692bc0cd43302fd3f8570cb9d3070b81
Binary file
@@ -0,0 +1,23 @@
1
+ <admintool>
2
+
3
+ <!--
4
+ Administration Tool modules
5
+ - List in the required order of appearance on the client
6
+ - Save module icons in the icons/ folder as png; name must be equal to the module id
7
+ - Icon should be 30x30 px, but the transparent canvas must be 50x50 px
8
+ -->
9
+ <modules>
10
+ <module id="Dashboard" name="Dashboard" description="Access the global runtime informations of the SmartFoxServer instance" />
11
+ <module id="ZoneMonitor" name="Zone Monitor" description="Monitor SmartFoxServer Zones, Rooms and Users behavior at runtime, and live edit some of their settings"/>
12
+ <module id="Analytics" name="Analytics" description="Check the SmartFoxServer usage statistics from a business point of view"/>
13
+ <module id="BanManager" name="Ban Manager" description="Check banned users lists, cancel bannings and ban other users/IPs"/>
14
+ <module id="LogViewer" name="Log Viewer" description="Check and download SmartFoxServer boot and runtime logs"/>
15
+ <module id="BlueBoxMonitor" name="BlueBox Monitor" description="Monitor clients connected through the BlueBox http tunnelling system"/>
16
+ <!-- <module id="Console" name="Console" description="Interact with the SmartFoxServer instance via command line"/> -->
17
+ <module id="ServerConfigurator" name="Server Configurator" description="Edit the global settings of the SmartFoxServer instance"/>
18
+ <module id="ZoneConfigurator" name="Zone Configurator" description="Create and delete SmartFoxServer Zones and static Rooms, or edit the settings of the existing ones"/>
19
+ <module id="ExtensionManager" name="Extension Manager" description="Upload Extension files to the SmartFoxServer instance"/>
20
+ <module id="LicenseManager" name="License Manager" description="Configure the license of the SmartFoxServer instance"/>
21
+ </modules>
22
+
23
+ </admintool>
@@ -117,6 +117,15 @@
117
117
  "value":{$BasicValue=badWordsFilter.isActive}
118
118
  },
119
119
 
120
+ // ALLOW JOIN INVITATIONS FOR ROOM OWNERS ONLY
121
+ {
122
+ "name":"allowOwnerInvitation",
123
+ "label":"Restrict JoinRoom invitations to Room owner",
124
+ "tooltip":"If enabled, only the Room's owner will be able to invite users in the Room. If disabled any User will be able to invite more users, with the exception of spectators in a game-type Room",
125
+ "type":"CheckBox",
126
+ "value":{$BasicValue=roomSettings.allowOwnerInvitation}
127
+ },
128
+
120
129
  //-------------------------------------------
121
130
  // PERMISSIONS AND EVENTS
122
131
  //-------------------------------------------
@@ -7,6 +7,16 @@
7
7
  // GENERAL SETTINGS
8
8
  //-------------------------------------------
9
9
 
10
+
11
+ // SERVER NAME
12
+ {
13
+ "name":"serverName",
14
+ "label":"Server name",
15
+ "tooltip":"Custom name assigned to the server, for easier identification in case of environments running multiple SmartFoxServer instances. The name is displayed in the title bar of all modules, together with the server's address and port",
16
+ "type":"TextInput",
17
+ "value":"{$BasicValue=serverSettings.serverName}"
18
+ },
19
+
10
20
  // SOCKET ADDRESSES
11
21
  {
12
22
  "name":"socketAddresses",
@@ -91,7 +101,7 @@
91
101
  "value":{$BasicValue=serverSettings.protocolCompressionThreshold},
92
102
  "componentParams":
93
103
  {
94
- "minimum":50,
104
+ "minimum":256,
95
105
  "maximum":2147483647
96
106
  }
97
107
  },
@@ -201,7 +211,7 @@
201
211
  "validator":"ip",
202
212
  "componentParams":
203
213
  {
204
- "restrict":"0-9."
214
+ "restrict":"0-9./"
205
215
  }
206
216
  }
207
217
  ],
@@ -226,7 +236,7 @@
226
236
  "validator":"ip",
227
237
  "componentParams":
228
238
  {
229
- "restrict":"0-9."
239
+ "restrict":"0-9./"
230
240
  }
231
241
  }
232
242
  ],
@@ -604,7 +614,12 @@
604
614
  }
605
615
  ],
606
616
  "listValues":{$List=administrators, instance=remoteAdmin, fields=login;password;allowHalt;disabledModulesString},
607
- "clazz":"ServerSettings$AdminUser"
617
+ "clazz":"AdminUser",
618
+ "separator":
619
+ {
620
+ "pos":"before",
621
+ "text":"<b>IMPORTANT</b>: al the settings below, except 'Use encryption', are <b>applied immediately</b> on submission, without a server restart being required"
622
+ }
608
623
  },
609
624
 
610
625
  // ALLOWED REMOTE ADDRESSES
@@ -647,6 +662,16 @@
647
662
  }
648
663
  },
649
664
 
665
+ // USE ENCRYPTION
666
+ {
667
+ "name":"remoteAdmin.useEncryption",
668
+ "label":"Use encryption",
669
+ "tooltip":"Enable connection encryption for the Admin Tool; after the restart, the 'Use encryption' checkbox on the login screen must be flagged in order to be able to establish a connection with the server",
670
+ "category":"Remote admin",
671
+ "type":"CheckBox",
672
+ "value":{$BasicValue=remoteAdmin.useEncryption}
673
+ },
674
+
650
675
  //-------------------------------------------
651
676
  // ANALYTICS MODULE SETTINGS
652
677
  //-------------------------------------------
@@ -869,36 +894,6 @@
869
894
  "value":{$BasicValue=systemThreadPoolSettings.logActivity}
870
895
  },
871
896
 
872
- // SYSTEM FULL QUEUE WARNING INTERVAL
873
- {
874
- "name":"systemThreadPoolSettings.queueFullWarningInterval",
875
- "label":"Full queue warning interval",
876
- "tooltip":"The interval, expressed in seconds, between two consecutive warnings being logged if the messages queue is full",
877
- "category":"Thread pools",
878
- "type":"NumericStepper",
879
- "value":{$BasicValue=systemThreadPoolSettings.queueFullWarningInterval},
880
- "componentParams":
881
- {
882
- "minimum":1,
883
- "maximum":10000
884
- }
885
- },
886
-
887
- // SYSTEM REQUEST QUEUE SIZE
888
- {
889
- "name":"systemControllerRequestQueueSize",
890
- "label":"System Controller request queue size",
891
- "tooltip":"Modifies the maximum size of the System Controller messages queue",
892
- "category":"Thread pools",
893
- "type":"NumericStepper",
894
- "value":{$BasicValue=serverSettings.systemControllerRequestQueueSize},
895
- "componentParams":
896
- {
897
- "minimum":10,
898
- "maximum":2147483647
899
- }
900
- },
901
-
902
897
  //-------------------------------------------
903
898
 
904
899
  // EXTENSION CORE THREADS
@@ -931,7 +926,7 @@
931
926
  "value":{$BasicValue=extensionThreadPoolSettings.backupThreads},
932
927
  "componentParams":
933
928
  {
934
- "minimum":0,
929
+ "minimum":1,
935
930
  "maximum":10000
936
931
  }
937
932
  },
@@ -946,7 +941,7 @@
946
941
  "value":{$BasicValue=extensionThreadPoolSettings.maxBackups},
947
942
  "componentParams":
948
943
  {
949
- "minimum":0,
944
+ "minimum":1,
950
945
  "maximum":10000
951
946
  }
952
947
  },
@@ -1021,36 +1016,6 @@
1021
1016
  "value":{$BasicValue=extensionThreadPoolSettings.logActivity}
1022
1017
  },
1023
1018
 
1024
- // EXTENSION FULL QUEUE WARNING INTERVAL
1025
- {
1026
- "name":"extensionThreadPoolSettings.queueFullWarningInterval",
1027
- "label":"Full queue warning interval",
1028
- "tooltip":"The interval, expressed in seconds, between two consecutive warnings being logged if the messages queue is full",
1029
- "category":"Thread pools",
1030
- "type":"NumericStepper",
1031
- "value":{$BasicValue=extensionThreadPoolSettings.queueFullWarningInterval},
1032
- "componentParams":
1033
- {
1034
- "minimum":1,
1035
- "maximum":10000
1036
- }
1037
- },
1038
-
1039
- // EXTENSION REQUEST QUEUE SIZE
1040
- {
1041
- "name":"extensionControllerRequestQueueSize",
1042
- "label":"Extensions Controller request queue size",
1043
- "tooltip":"Modifies the maximum size of the Extensions Controller messages queue",
1044
- "category":"Thread pools",
1045
- "type":"NumericStepper",
1046
- "value":{$BasicValue=serverSettings.extensionControllerRequestQueueSize},
1047
- "componentParams":
1048
- {
1049
- "minimum":10,
1050
- "maximum":2147483647
1051
- }
1052
- },
1053
-
1054
1019
  //-------------------------------------------
1055
1020
  // JVM SETTINGS
1056
1021
  //-------------------------------------------
@@ -20,8 +20,8 @@
20
20
  // USE ENCRYPTION
21
21
  {
22
22
  "name":"isEncrypted",
23
- "label":"Use Encryption",
24
- "tooltip":"When turned on the server will only accept encrypted connections for this Zone",
23
+ "label":"Use encryption",
24
+ "tooltip":"If turned on, the server will only accept encrypted connections for this Zone; otherwise either encrypted and non-encrypted connections are allowed",
25
25
  "type":"CheckBox",
26
26
  "value":{$BasicValue=zoneSettings.isEncrypted}
27
27
  },
@@ -30,7 +30,7 @@
30
30
  {
31
31
  "name":"isCustomLogin",
32
32
  "label":"Use custom login",
33
- "tooltip":"If turned on the login logic will be handled by the developer's Zone Extension",
33
+ "tooltip":"If turned on, the login logic will be handled by the developer's Zone Extension",
34
34
  "type":"CheckBox",
35
35
  "value":{$BasicValue=zoneSettings.isCustomLogin}
36
36
  },
@@ -44,6 +44,29 @@
44
44
  "value":{$BasicValue=zoneSettings.isForceLogout}
45
45
  },
46
46
 
47
+ // TOGGLE GEOLOCATION
48
+ {
49
+ "name":"geoLocationEnabled",
50
+ "label":"Enable geolocation",
51
+ "tooltip":"Toggles geolocation service, resolving the client IP address from a local database at minimal performance cost",
52
+ "type":"CheckBox",
53
+ "value":{$BasicValue=zoneSettings.geoLocationEnabled}
54
+ },
55
+
56
+ // MAX FAILED LOGIN ATTEMPTS
57
+ {
58
+ "name":"maxFailedLogins",
59
+ "label":"Maximum # of failed logins",
60
+ "tooltip":"The maximum number of login attempts (in the same session) allowed by the Zone",
61
+ "type":"NumericStepper",
62
+ "value":{$BasicValue=zoneSettings.maxFailedLogins},
63
+ "componentParams":
64
+ {
65
+ "minimum":1,
66
+ "maximum":30
67
+ }
68
+ },
69
+
47
70
  // MAX USERS
48
71
  {
49
72
  "name":"maxUsers",
@@ -259,6 +282,29 @@
259
282
  "value":{$BasicValue=zoneSettings.allowUploads}
260
283
  },
261
284
 
285
+ // ALLOW JOIN INVITATIONS FOR BUDDIES ONLY
286
+ {
287
+ "name":"allowInvitationsOnlyForBuddies",
288
+ "label":"Allow Join Invitations for Buddies only",
289
+ "tooltip":"If enabled, clients will only be able to invite Buddies via the JoinRoomInvitationRequest. If disabled they will be able to invite any online User.",
290
+ "type":"CheckBox",
291
+ "value":{$BasicValue=zoneSettings.allowInvitationsOnlyForBuddies}
292
+ },
293
+
294
+ // MAX USERS PER JOIN INVITATION
295
+ {
296
+ "name":"maxUsersPerJoinInvitationRequest",
297
+ "label":"Max Users per Join Invitation",
298
+ "tooltip":"The mamximum number of Users that can be invited at once via a client-side JoinRoomInvitationRequest",
299
+ "type":"NumericStepper",
300
+ "value":{$BasicValue=zoneSettings.maxUsersPerJoinInvitationRequest},
301
+ "componentParams":
302
+ {
303
+ "minimum":1,
304
+ "maximum":8
305
+ }
306
+ },
307
+
262
308
  //-------------------------------------------
263
309
  // ADVANCED
264
310
  //-------------------------------------------
@@ -227,6 +227,17 @@
227
227
  "edit":false
228
228
  },
229
229
 
230
+ // ALLOW JOIN INVITATIONS FOR ROOM OWNERS ONLY
231
+ {
232
+ "name":"allowOwnerInvitations",
233
+ "label":"Restrict JoinRoom invitations to Room owner",
234
+ "tooltip":"If enabled, only the Room's owner will be able to invite users in the Room. If disabled any User will be able to invite more users, with the exception of spectators in a game-type Room",
235
+ "category":"Runtime Room settings",
236
+ "type":"CheckBox",
237
+ "value":{$BasicValue=room.allowOwnerInvitations},
238
+ "edit":true
239
+ },
240
+
230
241
  //-------------------------------------------
231
242
  // PERMISSIONS AND EVENTS
232
243
  //-------------------------------------------
@@ -203,6 +203,21 @@
203
203
  "edit":false
204
204
  },
205
205
 
206
+ // USER RECONNECTION TIME
207
+ {
208
+ "name":"userReconnectionSeconds",
209
+ "label":"User reconnection timeframe",
210
+ "tooltip":"Maximum waiting-timeframe (in seconds) for transparent client reconnection",
211
+ "category":"Runtime Zone settings",
212
+ "type":"NumericStepper",
213
+ "value":{$BasicValue=zone.userReconnectionSeconds},
214
+ "componentParams":
215
+ {
216
+ "minimum":0,
217
+ "maximum":2147483647
218
+ }
219
+ },
220
+
206
221
  // USER MAX IDLE TIME
207
222
  {
208
223
  "name":"maxUserIdleTime",
@@ -0,0 +1,118 @@
1
+ import types
2
+ import sys
3
+
4
+ __CONSOLE_LOCK = False
5
+
6
+ import java
7
+ from com.smartfoxserver.v2.entities.data import *
8
+
9
+ __scripts = [
10
+ {'name':'version()', 'doc':'Shows the Console extension version'},
11
+ {'name':'reloadScripts()', 'doc':'Reload the dynamic server scripts'},
12
+ {'name':'execute()', 'doc':'Launches the last loaded script again'},
13
+ {'name':'files(path)', 'doc':'Shows the files at the specified path'},
14
+ {'name':'controller(id)', 'doc':'Obtain one of the controllers from its id. 0=System, 1=Extension, 2=Smasher'},
15
+ {'name':'zones()', 'doc':'List of active zones'}
16
+ ]
17
+
18
+ __shortcuts = [
19
+ {'name':'ESC', 'doc':'Clears current command'},
20
+ {'name':'UP ARROW', 'doc':'Previous command in history'},
21
+ {'name':'DOWN ARROW', 'doc':'Next command in history'},
22
+ {'name':'CTRL + SPACE', 'doc':'Show command history'},
23
+ {'name':'CTRL + BACKSPACE', 'doc':'Clear console text'}
24
+ ]
25
+
26
+ grid = None
27
+
28
+ if sfs.isGrid():
29
+ from com.smartfoxserver.grid import SFSGrid
30
+ grid = SFSGrid.manager()
31
+ _2XGlobals_['grid'] = grid
32
+
33
+
34
+ def help():
35
+ """Shows a list of useful global objects"""
36
+ text = ""
37
+ for (key, value) in _2XGlobals_.items():
38
+ if value != None:
39
+ cl = str(value.getClass())
40
+ text += "<font color='#FFCC00'>" + key + "</font>\t\t\t" + cl.split(".")[-1] + "\n"
41
+
42
+ text += "\n<font color='#FFCC00'>extras()</font>\t\tFor more custom function calls"
43
+ text += "\n<font color='#FFCC00'>shortcuts()</font>\tFor keyboard shortcuts details\n"
44
+ return text
45
+
46
+ def shortcuts():
47
+ """Shows list of useful keyboard shortcuts"""
48
+ return __showList__(__shortcuts)
49
+
50
+
51
+ def extras():
52
+ """Shows list of useful methods"""
53
+ return __showList__(__scripts)
54
+
55
+
56
+ def version():
57
+ return __parent__.VER
58
+
59
+ def controller(id):
60
+ from java.lang import Byte
61
+ bb = Byte(id)
62
+ return eng.controllerManager.getControllerById(bb)
63
+
64
+ def reloadScripts():
65
+ __parent__.init()
66
+ return "<font color='#ffCC00'>[[ Reload success! ]]</font>"
67
+
68
+ def files(path='.'):
69
+ import os
70
+ return os.listdir(path)
71
+
72
+ def zones():
73
+ return zm.getZoneList()
74
+
75
+
76
+
77
+ def __showList__(someList):
78
+ text = ""
79
+
80
+ for item in someList:
81
+ text += "<font color='#FFCC00'>" + item['name'] + "</font>"
82
+ text += ":" + __getSpacer__(item['name']) + item['doc'] + "\n"
83
+ return text
84
+
85
+ def __hints__(obj, target):
86
+ if obj == None:
87
+ return
88
+
89
+ hints = None
90
+
91
+ try:
92
+ hints = [item for item in dir(obj)]
93
+ except:
94
+ pass
95
+
96
+ # No hints available
97
+ if hints == None or len(hints) == 0:
98
+ hints = []
99
+
100
+ # Send hint list
101
+ from com.smartfoxserver.v2.entities.data import SFSObject
102
+
103
+ sfso = SFSObject()
104
+ sfso.putUtfStringArray('h', hints)
105
+
106
+ return sfso
107
+
108
+ def __getSpacer__(inputStr):
109
+ DEFAULT_SPACES = 25
110
+ spacer = " "
111
+
112
+ nSpaces = DEFAULT_SPACES - len(inputStr)
113
+ if nSpaces > 0:
114
+ spacer = " " * nSpaces
115
+
116
+ return spacer
117
+
118
+
@@ -1,9 +1,9 @@
1
1
  <!--
2
- SmartFoxServer 2X v.2.9.x
2
+ SmartFoxServer 2X v 2.12.x
3
3
  <<< Core Configuration >>>
4
4
 
5
- (c) gotoAndPlay 2009-2014
6
- www.smartfoxserver.com
5
+ (c) gotoAndPlay 2009-2016
6
+ - www.smartfoxserver.com -
7
7
  -->
8
8
 
9
9
  <coreSettings>
@@ -17,8 +17,8 @@
17
17
 
18
18
  <!-- Editable settings -->
19
19
 
20
- <!-- Max size of incoming packet -->
21
- <maxIncomingRequestSize>1000000</maxIncomingRequestSize>
20
+ <!-- Max size of incoming packet, in bytes -->
21
+ <maxIncomingRequestSize>500000</maxIncomingRequestSize>
22
22
 
23
23
  <!-- Max Size for read buffer -->
24
24
  <maxReadBufferSize>1024</maxReadBufferSize>
@@ -27,7 +27,7 @@
27
27
  <maxWriteBufferSize>32768</maxWriteBufferSize>
28
28
 
29
29
  <!-- Session Queue Size -->
30
- <sessionPacketQueueSize>160</sessionPacketQueueSize>
30
+ <sessionPacketQueueSize>150</sessionPacketQueueSize>
31
31
 
32
32
  <!-- Thread Pool Size of the 3 main stages of the Bitswarm Engine -->
33
33
  <socketAcceptorThreadPoolSize>1</socketAcceptorThreadPoolSize>
@@ -32,6 +32,7 @@
32
32
  <allowedRemoteAddresses>
33
33
  </allowedRemoteAddresses>
34
34
  <adminTcpPort>9933</adminTcpPort>
35
+ <useEncryption>false</useEncryption>
35
36
  </remoteAdmin>
36
37
  <bannedUserManager>
37
38
  <isAutoRemove>true</isAutoRemove>
@@ -55,7 +56,7 @@
55
56
  </webServer>
56
57
  <webSocket>
57
58
  <isActive>false</isActive>
58
- <bindAddress>127.0.0.1</bindAddress>
59
+ <bindAddress>0.0.0.0</bindAddress>
59
60
  <tcpPort>8888</tcpPort>
60
61
  <sslPort>8843</sslPort>
61
62
  <isSSL>false</isSSL>
@@ -75,7 +76,7 @@
75
76
  <systemThreadPoolSettings>
76
77
  <name>Sys</name>
77
78
  <coreThreads>4</coreThreads>
78
- <backupThreads>8</backupThreads>
79
+ <backupThreads>16</backupThreads>
79
80
  <maxBackups>16</maxBackups>
80
81
  <queueSizeTriggeringBackup>100</queueSizeTriggeringBackup>
81
82
  <secondsTriggeringBackup>50</secondsTriggeringBackup>
@@ -87,7 +88,7 @@
87
88
  <extensionThreadPoolSettings>
88
89
  <name>Ext</name>
89
90
  <coreThreads>4</coreThreads>
90
- <backupThreads>8</backupThreads>
91
+ <backupThreads>16</backupThreads>
91
92
  <maxBackups>16</maxBackups>
92
93
  <queueSizeTriggeringBackup>100</queueSizeTriggeringBackup>
93
94
  <secondsTriggeringBackup>50</secondsTriggeringBackup>
@@ -0,0 +1,42 @@
1
+ from com.smartfoxserver.v2.core import *
2
+ from com.smartfoxserver.v2.exceptions import *
3
+ from com.smartfoxserver.v2.entities import *
4
+ from com.smartfoxserver.v2.entities.data import *
5
+ from com.smartfoxserver.bitswarm.sessions import *
6
+ from com.smartfoxserver.v2.api import *
7
+ from com.smartfoxserver.v2.util import *
8
+
9
+ from java.lang import Thread
10
+
11
+ class ServerEventListener(ISFSEventListener):
12
+ def handleServerEvent(self, event):
13
+ trace("Event: " + event.toString())
14
+
15
+ sfsEventListener = None
16
+ VERSION = "1.0.1"
17
+
18
+ def init():
19
+ global sfsEventListener
20
+ from java.io import *
21
+
22
+ sfsEventListener = ServerEventListener()
23
+ _base.addEventListener(SFSEventType.SERVER_READY, sfsEventListener)
24
+
25
+ trace("Python extension started: ", _base, _sfsApi)
26
+ trace("Version: ", VERSION)
27
+ trace("Folder: ", _base.getCurrentFolder())
28
+
29
+ def destroy():
30
+ _base.removeEventListener(SFSEventType.SERVER_READY, sfsEventListener)
31
+ trace("Python extension destroyed: ", _base)
32
+
33
+ def handleClientRequest(cmd, sender, params):
34
+ trace("Request: ", cmd, sender, params)
35
+
36
+ if cmd == "hello":
37
+ response = SFSObject()
38
+ response.putUtfString("res", "Hello to you, " + sender.getName())
39
+ _base.send("hello", response, sender)
40
+
41
+
42
+
File without changes