rtml 1.2.2 → 2.0.0.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (584) hide show
  1. data/History.txt +2 -2
  2. data/Manifest.txt +199 -389
  3. data/PostInstall.txt +6 -1
  4. data/README.rdoc +111 -26
  5. data/Rakefile +29 -33
  6. data/app_generators/rtml/USAGE +2 -2
  7. data/app_generators/rtml/rtml_generator.rb +2 -2
  8. data/app_generators/rtml/templates/rtml_template.rb +26 -0
  9. data/bin/rtml +2 -2
  10. data/builtin/controllers/rtml_controller.rb +58 -0
  11. data/builtin/models/rtml/document.rb +150 -0
  12. data/builtin/models/rtml/dom/element.rb +196 -0
  13. data/builtin/models/rtml/dom/frontend_element.rb +48 -0
  14. data/builtin/models/rtml/dom/property.rb +71 -0
  15. data/builtin/models/rtml/dom/screen_element.rb +14 -0
  16. data/builtin/models/rtml/instruction.rb +52 -0
  17. data/builtin/models/rtml/instruction/follow_class_methods.rb +101 -0
  18. data/builtin/models/rtml/state.rb +20 -0
  19. data/builtin/models/rtml/state/variable_mapping.rb +13 -0
  20. data/builtin/models/rtml/view.rb +5 -0
  21. data/builtin/rtml_helpers/rtml/get_state.rb +23 -0
  22. data/builtin/rtml_helpers/rtml/rescue_action.rb +25 -0
  23. data/builtin/views/rtml/rescue_action_in_public.rtml.erb +1 -0
  24. data/builtin/views/rtml/rescue_action_locally.rtml.erb +29 -0
  25. data/builtin/widgets/default_document.rb +25 -0
  26. data/builtin/widgets/document_variable_processing.rb +133 -0
  27. data/builtin/widgets/element_builder.rb +148 -0
  28. data/builtin/widgets/event_listener.rb +41 -0
  29. data/builtin/widgets/frontend.rb +71 -0
  30. data/builtin/widgets/highlevel_variable_processing.rb +130 -0
  31. data/builtin/widgets/screen_variable_processing.rb +63 -0
  32. data/builtin/widgets/screen_variants.rb +110 -0
  33. data/builtin/widgets/screens.rb +73 -0
  34. data/builtin/widgets/shorthand.rb +49 -0
  35. data/builtin/widgets/static_content.rb +51 -0
  36. data/builtin/widgets/subroutine.rb +54 -0
  37. data/generators/rtml_widget/USAGE +19 -0
  38. data/generators/rtml_widget/rtml_widget_generator.rb +59 -0
  39. data/generators/rtml_widget/templates/default_widget.erb +10 -0
  40. data/generators/rtml_widget/templates/default_widget.feature.erb +11 -0
  41. data/generators/rtml_widget/templates/default_widget_spec.erb +13 -0
  42. data/generators/rtml_widget/templates/default_widget_test.erb +13 -0
  43. data/lib/extensions/action_controller/response.rb +30 -0
  44. data/lib/extensions/action_controller/routing/route_set.rb +42 -0
  45. data/lib/extensions/active_support/test_case.rb +3 -0
  46. data/lib/extensions/hpricot/doc.rb +5 -0
  47. data/lib/extensions/hpricot/elem.rb +5 -0
  48. data/lib/extensions/string.rb +35 -0
  49. data/lib/rtml.rb +88 -2
  50. data/lib/rtml/configuration.rb +40 -0
  51. data/lib/rtml/controller/before_filters.rb +51 -0
  52. data/lib/rtml/controller/cache_helpers.rb +26 -0
  53. data/lib/rtml/controller/class_methods/rtml_action_helpers.rb +18 -0
  54. data/lib/rtml/controller/document_generator.rb +60 -0
  55. data/lib/rtml/controller/render_helpers.rb +29 -0
  56. data/lib/rtml/controller/rtml_helpers.rb +37 -0
  57. data/lib/rtml/controller/state.rb +73 -0
  58. data/lib/rtml/controller/template_helpers.rb +21 -0
  59. data/lib/rtml/controller/url_helpers.rb +9 -0
  60. data/lib/rtml/dependencies.rb +27 -0
  61. data/lib/rtml/dsl.rb +81 -0
  62. data/lib/rtml/environment.rb +28 -0
  63. data/lib/rtml/errors/invalid_format.rb +4 -0
  64. data/lib/rtml/errors/invalid_operation.rb +4 -0
  65. data/lib/rtml/errors/invalid_option_error.rb +4 -0
  66. data/lib/rtml/errors/missing_document_error.rb +4 -0
  67. data/lib/rtml/errors/missing_variable_error.rb +4 -0
  68. data/lib/rtml/errors/multiple_roots_error.rb +4 -0
  69. data/lib/rtml/errors/processing_error.rb +4 -0
  70. data/lib/rtml/errors/rules_violation_error.rb +4 -0
  71. data/lib/rtml/errors/screen_not_found.rb +4 -0
  72. data/lib/rtml/errors/screen_variant_error.rb +4 -0
  73. data/lib/rtml/errors/sti_type_error.rb +4 -0
  74. data/lib/rtml/errors/subprocessing_not_supported.rb +4 -0
  75. data/lib/rtml/errors/unknown_rtml_action.rb +4 -0
  76. data/lib/rtml/high_level/managed_variable.rb +72 -0
  77. data/lib/rtml/high_level/subroutine.rb +22 -0
  78. data/lib/rtml/high_level/variable_manager.rb +35 -0
  79. data/lib/rtml/inherited_instance_variables.rb +25 -0
  80. data/lib/rtml/init.rb +82 -0
  81. data/lib/rtml/reverse_engineering/crawler.rb +58 -0
  82. data/lib/rtml/reverse_engineering/simulator.rb +269 -0
  83. data/lib/rtml/reverse_engineering/simulator/casting.rb +9 -0
  84. data/lib/rtml/reverse_engineering/simulator/snapshot.rb +18 -0
  85. data/lib/rtml/reverse_engineering/simulator/variable_lookup.rb +32 -0
  86. data/lib/rtml/reverse_engineering/simulator/variable_value.rb +105 -0
  87. data/lib/rtml/rules/dom_ruleset.rb +166 -0
  88. data/lib/rtml/rules/dom_tag.rb +43 -0
  89. data/lib/rtml/rules/dom_validation.rb +162 -0
  90. data/{app_generators/rtml/templates/rtml/lib/rtml → lib/rtml/rules}/tml_param_parser.rb +14 -15
  91. data/lib/rtml/test/spec.rb +14 -0
  92. data/lib/rtml/tmlized_conditions.rb +37 -0
  93. data/lib/rtml/version.rb +10 -0
  94. data/lib/rtml/widget.rb +150 -0
  95. data/lib/rtml/widget_core/class_methods.rb +193 -0
  96. data/lib/rtml/widget_core/gui_configuration.rb +94 -0
  97. data/lib/rtml/widget_core/widget_accessor_class_methods.rb +12 -0
  98. data/lib/rtml/widget_core/widget_accessor_instance_methods.rb +19 -0
  99. data/lib/rtml/widget_core/widget_proxy.rb +70 -0
  100. data/lib/rtml/widgets.rb +112 -0
  101. data/lib/rtml_routes.rb +3 -0
  102. data/rails/init.rb +6 -0
  103. data/rails_generators/rtml/USAGE +19 -0
  104. data/rails_generators/rtml/rtml_generator.rb +64 -0
  105. data/rails_generators/rtml/templates/config/initializers/rtml.rb +13 -0
  106. data/rails_generators/rtml/templates/config/tml_dom_ruleset.rb +81 -0
  107. data/rails_generators/rtml/templates/db/migrate/20100108163703_create_rtml_dom_elements.rb +16 -0
  108. data/rails_generators/rtml/templates/db/migrate/20100108163827_create_rtml_dom_properties.rb +16 -0
  109. data/rails_generators/rtml/templates/db/migrate/20100108165127_create_rtml_documents.rb +15 -0
  110. data/rails_generators/rtml/templates/db/migrate/20100110060124_create_rtml_instructions.rb +15 -0
  111. data/rails_generators/rtml/templates/db/migrate/20100110071920_add_parent_id_to_rtml_instructions.rb +9 -0
  112. data/rails_generators/rtml/templates/db/migrate/20100113131401_add_options_to_properties.rb +9 -0
  113. data/rails_generators/rtml/templates/db/migrate/20100127173146_add_parent_type_to_rtml_dom_elements.rb +9 -0
  114. data/rails_generators/rtml/templates/db/migrate/20100208114234_create_rtml_states.rb +20 -0
  115. data/rails_generators/rtml/templates/db/migrate/20100303021609_add_x_and_y_to_rtml_instructions.rb +12 -0
  116. data/rails_generators/rtml/templates/doc/io_tml-application-development-guidelines.pdf +0 -0
  117. data/rails_generators/rtml/templates/lib/tasks/rtml.rake +65 -0
  118. data/rails_generators/rtml_action/USAGE +15 -0
  119. data/rails_generators/rtml_action/rtml_action_generator.rb +51 -0
  120. data/rails_generators/rtml_action/templates/action.erb +12 -0
  121. data/rails_generators/rtml_action/templates/view.erb +2 -0
  122. data/rails_generators/widget/USAGE +19 -0
  123. data/rails_generators/widget/templates/default_widget.erb +10 -0
  124. data/rails_generators/widget/templates/default_widget.feature.erb +11 -0
  125. data/rails_generators/widget/templates/default_widget_spec.erb +13 -0
  126. data/rails_generators/widget/templates/default_widget_test.erb +13 -0
  127. data/rails_generators/widget/widget_generator.rb +48 -0
  128. data/script/console +5 -2
  129. data/script/server +3 -0
  130. data/spec/controllers/inherited_controller_spec.rb +19 -0
  131. data/spec/controllers/rtml_controller_spec.rb +94 -0
  132. data/spec/lib/extensions/hpricot/doc_spec.rb +6 -0
  133. data/spec/lib/extensions/hpricot/elem_spec.rb +6 -0
  134. data/spec/lib/extensions/string_spec.rb +5 -0
  135. data/spec/lib/rtml/extensions_spec.rb +12 -0
  136. data/spec/lib/rtml/reverse_engineering/crawler_spec.rb +24 -0
  137. data/spec/lib/rtml/reverse_engineering/simulator/variable_value_spec.rb +120 -0
  138. data/spec/lib/rtml/reverse_engineering/simulator_spec.rb +96 -0
  139. data/spec/lib/rtml/routes_spec.rb +51 -0
  140. data/spec/lib/rtml/rules/dom_ruleset_spec.rb +54 -0
  141. data/spec/lib/rtml/rules/dom_validation_spec.rb +112 -0
  142. data/spec/lib/rtml/widget_core/generic_widget_consumer_spec.rb +28 -0
  143. data/spec/lib/rtml/widget_core/gui_configuration_spec.rb +109 -0
  144. data/spec/lib/rtml/widget_core/widget_proxy_spec.rb +31 -0
  145. data/spec/lib/rtml/widget_spec.rb +57 -0
  146. data/spec/lib/rtml/widgets_spec.rb +7 -0
  147. data/spec/models/rtml/document_spec.rb +97 -0
  148. data/spec/models/rtml/dom/element_spec.rb +14 -0
  149. data/spec/models/rtml/dom/frontend_element_spec.rb +22 -0
  150. data/spec/models/rtml/dom/property_spec.rb +28 -0
  151. data/spec/models/rtml/dom/screen_element_spec.rb +11 -0
  152. data/spec/models/rtml/instruction_spec.rb +45 -0
  153. data/spec/models/rtml/state/variable_mapping_spec.rb +9 -0
  154. data/spec/models/rtml/state_spec.rb +8 -0
  155. data/spec/rcov.opts +3 -0
  156. data/spec/spec.opts +5 -0
  157. data/spec/spec_helper.rb +45 -0
  158. data/spec/support/app/controllers/application_controller.rb +2 -0
  159. data/spec/support/app/controllers/inherited_controller.rb +8 -0
  160. data/spec/support/app/rtml_helpers/inherited/index.rb +10 -0
  161. data/spec/support/app/rtml_helpers/rtml/index.rb +14 -0
  162. data/spec/support/app/views/README.txt +6 -0
  163. data/spec/support/app/views/layouts/layout.rtml.erb +3 -0
  164. data/spec/support/app/views/magcard/_partial.erb +1 -0
  165. data/spec/support/app/views/magcard/main.rtml.erb +1 -0
  166. data/spec/support/app/views/rtml/index.html.erb +9 -0
  167. data/spec/support/app/views/rtml/index/main.rtml.erb +1 -0
  168. data/spec/support/config/database.yml +17 -0
  169. data/spec/support/config/environment.rb +1 -0
  170. data/{app_generators/rtml/templates/rtml/public/stylesheets/rtml/charts.css → spec/support/config/environments/development.rb} +0 -0
  171. data/spec/support/config/initializers/rtml.rb +6 -0
  172. data/spec/support/config/routes.rb +3 -0
  173. data/spec/support/config/tml_dom_ruleset.rb +82 -0
  174. data/spec/support/db/rtml_test_db.sqlite3 +0 -0
  175. data/spec/support/db/schema.rb +14 -0
  176. data/spec/support/lib/rtml/widgets/test_widget1.rb +15 -0
  177. data/spec/support/lib/rtml/widgets/test_widget2.rb +4 -0
  178. data/spec/support/rails.rb +22 -0
  179. data/spec/support/raw_tml/valid_document.tml +108 -0
  180. data/spec/support/rspec/example_groups.rb +3 -0
  181. data/spec/support/rspec/matchers.rb +53 -0
  182. data/spec/support/vendor/gems/rtml-bootstrapper-2.0.0/.specification +61 -0
  183. data/spec/support/vendor/gems/rtml-bootstrapper-2.0.0/lib/init_rtml_working_copy.rb +1 -0
  184. data/spec/support/vendor/gems/rtml-bootstrapper-2.0.0/rtml.gemspec +11 -0
  185. data/spec/widgets/document_variable_processing_spec.rb +84 -0
  186. data/spec/widgets/element_builder_spec.rb +124 -0
  187. data/spec/widgets/event_listener_spec.rb +51 -0
  188. data/spec/widgets/frontend_spec.rb +59 -0
  189. data/spec/widgets/highlevel_variable_processing_spec.rb +149 -0
  190. data/spec/widgets/screen_variable_processing_spec.rb +57 -0
  191. data/spec/widgets/screen_variants_spec.rb +97 -0
  192. data/spec/widgets/screens_spec.rb +55 -0
  193. data/spec/widgets/static_content_spec.rb +43 -0
  194. data/spec/widgets/subroutine_spec.rb +109 -0
  195. data/tasks/db.rake +6 -0
  196. data/tasks/rspec.rake +20 -0
  197. data/tasks/rtml.rake +5 -0
  198. data/test/test_generator_helper.rb +22 -0
  199. data/test/test_helper.rb +1 -1
  200. data/test/test_rtml_action_generator.rb +65 -0
  201. data/test/test_rtml_generator.rb +24 -4
  202. data/test/test_rtml_widget_generator.rb +47 -0
  203. data/test/test_widget_generator.rb +49 -0
  204. data/update.rb +19 -0
  205. metadata +343 -428
  206. data/app_generators/rtml/templates/rails_template.rb +0 -36
  207. data/app_generators/rtml/templates/rtml/MIT-LICENSE +0 -20
  208. data/app_generators/rtml/templates/rtml/README +0 -109
  209. data/app_generators/rtml/templates/rtml/Rakefile +0 -38
  210. data/app_generators/rtml/templates/rtml/app/controllers/beryl_controller.rb +0 -70
  211. data/app_generators/rtml/templates/rtml/app/controllers/rtml/magcard_demo_controller.rb +0 -9
  212. data/app_generators/rtml/templates/rtml/app/controllers/rtml/oe/btmlpa_controller.rb +0 -158
  213. data/app_generators/rtml/templates/rtml/app/controllers/rtml/rtml_app_controller.rb +0 -252
  214. data/app_generators/rtml/templates/rtml/app/controllers/rtml/tml_app_controller.rb +0 -418
  215. data/app_generators/rtml/templates/rtml/app/helpers/beryl_helper.rb +0 -72
  216. data/app_generators/rtml/templates/rtml/app/helpers/beryl_tml_helpers/auth_result.rb +0 -56
  217. data/app_generators/rtml/templates/rtml/app/helpers/beryl_tml_helpers/common.rb +0 -19
  218. data/app_generators/rtml/templates/rtml/app/helpers/beryl_tml_helpers/index.rb +0 -82
  219. data/app_generators/rtml/templates/rtml/app/helpers/rtml/magcard_demo_helper.rb +0 -2
  220. data/app_generators/rtml/templates/rtml/app/helpers/rtml/magcard_demo_tml_helpers/authorized.rb +0 -10
  221. data/app_generators/rtml/templates/rtml/app/helpers/rtml/magcard_demo_tml_helpers/common.rb +0 -20
  222. data/app_generators/rtml/templates/rtml/app/helpers/rtml/magcard_demo_tml_helpers/index.rb +0 -33
  223. data/app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_helper.rb +0 -2
  224. data/app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_tml_helpers/auth_result.rb +0 -23
  225. data/app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_tml_helpers/common.rb +0 -23
  226. data/app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_tml_helpers/dynamic.rb +0 -11
  227. data/app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_tml_helpers/icc.rb +0 -384
  228. data/app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_tml_helpers/index.rb +0 -191
  229. data/app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_tml_helpers/receipt.rb +0 -152
  230. data/app_generators/rtml/templates/rtml/app/helpers/rtml/rtml_app_helper.rb +0 -74
  231. data/app_generators/rtml/templates/rtml/app/helpers/rtml/rtml_app_tml_helpers/common.rb +0 -9
  232. data/app_generators/rtml/templates/rtml/app/helpers/rtml/tml_app_helper.rb +0 -43
  233. data/app_generators/rtml/templates/rtml/app/models/rtml/card.rb +0 -83
  234. data/app_generators/rtml/templates/rtml/app/models/rtml/card_avs.rb +0 -14
  235. data/app_generators/rtml/templates/rtml/app/models/rtml/card_cvv.rb +0 -14
  236. data/app_generators/rtml/templates/rtml/app/models/rtml/card_parser.rb +0 -21
  237. data/app_generators/rtml/templates/rtml/app/models/rtml/card_pin.rb +0 -18
  238. data/app_generators/rtml/templates/rtml/app/models/rtml/emv_card_data.rb +0 -25
  239. data/app_generators/rtml/templates/rtml/app/models/rtml/mag_card_data.rb +0 -21
  240. data/app_generators/rtml/templates/rtml/app/models/rtml/reference_code.rb +0 -26
  241. data/app_generators/rtml/templates/rtml/app/models/rtml/state.rb +0 -12
  242. data/app_generators/rtml/templates/rtml/app/models/rtml/terminal.rb +0 -8
  243. data/app_generators/rtml/templates/rtml/app/models/rtml/transaction.rb +0 -68
  244. data/app_generators/rtml/templates/rtml/app/views/beryl/auth_result/another_rcpt.rtml.erb +0 -15
  245. data/app_generators/rtml/templates/rtml/app/views/beryl/auth_result/receipt.rtml.erb +0 -108
  246. data/app_generators/rtml/templates/rtml/app/views/beryl/auth_result/receipt_single_column.rtml.erb +0 -106
  247. data/app_generators/rtml/templates/rtml/app/views/beryl/index/about.rtml.erb +0 -8
  248. data/app_generators/rtml/templates/rtml/app/views/beryl/index/admin.rtml.erb +0 -4
  249. data/app_generators/rtml/templates/rtml/app/views/beryl/index/construction.rtml.erb +0 -10
  250. data/app_generators/rtml/templates/rtml/app/views/beryl/index/idle.rtml.erb +0 -13
  251. data/app_generators/rtml/templates/rtml/app/views/beryl/index/main_menu.rtml.erb +0 -12
  252. data/app_generators/rtml/templates/rtml/app/views/beryl/index/menu_credit.rtml.erb +0 -8
  253. data/app_generators/rtml/templates/rtml/app/views/beryl/index/menu_debit.rtml.erb +0 -3
  254. data/app_generators/rtml/templates/rtml/app/views/layouts/rtml/beryl_color.rtml.erb +0 -24
  255. data/app_generators/rtml/templates/rtml/app/views/layouts/rtml/beryl_mono.rtml.erb +0 -8
  256. data/app_generators/rtml/templates/rtml/app/views/layouts/rtml/magcard_demo_color.rtml.erb +0 -24
  257. data/app_generators/rtml/templates/rtml/app/views/layouts/rtml/magcard_demo_mono.rtml.erb +0 -3
  258. data/app_generators/rtml/templates/rtml/app/views/layouts/rtml/oe/btmlpa_i5100.rtml.erb +0 -3
  259. data/app_generators/rtml/templates/rtml/app/views/layouts/rtml/oe/btmlpa_i8550.rtml.erb +0 -17
  260. data/app_generators/rtml/templates/rtml/app/views/layouts/rtml/uml.html.erb +0 -11
  261. data/app_generators/rtml/templates/rtml/app/views/rtml/magcard_demo/authorized.html.erb +0 -15
  262. data/app_generators/rtml/templates/rtml/app/views/rtml/magcard_demo/authorized/main.rtml.erb +0 -5
  263. data/app_generators/rtml/templates/rtml/app/views/rtml/magcard_demo/index.html.erb +0 -15
  264. data/app_generators/rtml/templates/rtml/app/views/rtml/magcard_demo/index/_error.rtml.erb +0 -2
  265. data/app_generators/rtml/templates/rtml/app/views/rtml/magcard_demo/index/enter_amount.rtml.erb +0 -5
  266. data/app_generators/rtml/templates/rtml/app/views/rtml/magcard_demo/index/main.rtml.erb +0 -4
  267. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/dynamic/response.rtml.erb +0 -2
  268. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/icc.rtml.erb +0 -760
  269. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_enter_amount.rtml.erb +0 -4
  270. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_about.rtml.erb +0 -8
  271. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_duplicate.rtml.erb +0 -9
  272. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_examples.rtml.erb +0 -9
  273. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_logo.rtml.erb +0 -11
  274. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_other.rtml.erb +0 -20
  275. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_refund.rtml.erb +0 -8
  276. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_reversal.rtml.erb +0 -9
  277. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_sale.rtml.erb +0 -8
  278. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_sale_cashback.rtml.erb +0 -8
  279. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/about.rtml.erb +0 -1
  280. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/assert.rtml.erb +0 -2
  281. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/card_nmb.rtml.erb +0 -19
  282. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/compl_txn.rtml.erb +0 -1
  283. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/confirm_rev.rtml.erb +0 -3
  284. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/duplicate_na.rtml.erb +0 -1
  285. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/error_scr.rtml.erb +0 -4
  286. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/main_menu.rtml.bak +0 -31
  287. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/main_menu.rtml.erb +0 -40
  288. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/print_pf.rtml.erb +0 -1
  289. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/rd_sale_disp.rtml.erb +0 -1
  290. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/read_refund.rtml.erb +0 -1
  291. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/read_scb.rtml.erb +0 -10
  292. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/reject_trans.rtml.erb +0 -1
  293. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/remove_card.rtml.erb +0 -1
  294. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/rev_bad.rtml.erb +0 -1
  295. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/scb_check_f.rtml.erb +0 -2
  296. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/sign_check.rtml.erb +0 -3
  297. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/subm_err.rtml.erb +0 -2
  298. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/to_man_entry.rtml.erb +0 -2
  299. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/trans_abrt.rtml.erb +0 -1
  300. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/void_trans.rtml.erb +0 -1
  301. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/receipt/_receipt.rtml.erb +0 -29
  302. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/receipt/error_paper.rtml.erb +0 -3
  303. data/app_generators/rtml/templates/rtml/app/views/rtml/rtml_app/_default_development.html.erb +0 -167
  304. data/app_generators/rtml/templates/rtml/app/views/rtml/rtml_app/_default_header.html.erb +0 -12
  305. data/app_generators/rtml/templates/rtml/app/views/rtml/rtml_app/_default_production.html.erb +0 -8
  306. data/app_generators/rtml/templates/rtml/app/views/rtml/rtml_app/charts.html.erb +0 -14
  307. data/app_generators/rtml/templates/rtml/app/views/rtml/tml_app/do_tml_redirect.rtml.erb +0 -7
  308. data/app_generators/rtml/templates/rtml/app/views/rtml/tml_app/get_terminal_info.rtml.erb +0 -26
  309. data/app_generators/rtml/templates/rtml/app/views/rtml/tml_app/rescue_action_in_public.rtml.erb +0 -9
  310. data/app_generators/rtml/templates/rtml/app/views/rtml/tml_app/rescue_action_locally.rtml.erb +0 -42
  311. data/app_generators/rtml/templates/rtml/components/rtml/features/common.rb +0 -303
  312. data/app_generators/rtml/templates/rtml/components/rtml/features/force.rb +0 -46
  313. data/app_generators/rtml/templates/rtml/components/rtml/features/return.rb +0 -22
  314. data/app_generators/rtml/templates/rtml/components/rtml/features/sale.rb +0 -49
  315. data/app_generators/rtml/templates/rtml/components/rtml/features/views/_confirmation.rtml.erb +0 -10
  316. data/app_generators/rtml/templates/rtml/components/rtml/features/views/_receipt_agreement.rtml.erb +0 -3
  317. data/app_generators/rtml/templates/rtml/components/rtml/features/views/_receipt_footer.rtml.erb +0 -2
  318. data/app_generators/rtml/templates/rtml/components/rtml/features/views/_receipt_header.rtml.erb +0 -4
  319. data/app_generators/rtml/templates/rtml/components/rtml/features/views/ask_cashback.rtml.erb +0 -11
  320. data/app_generators/rtml/templates/rtml/components/rtml/features/views/card_imprint.rtml.erb +0 -7
  321. data/app_generators/rtml/templates/rtml/components/rtml/features/views/check_cb.rtml.erb +0 -11
  322. data/app_generators/rtml/templates/rtml/components/rtml/features/views/conf_debit.rtml.erb +0 -5
  323. data/app_generators/rtml/templates/rtml/components/rtml/features/views/confirm_sale.rtml.erb +0 -4
  324. data/app_generators/rtml/templates/rtml/components/rtml/features/views/confrm_force.rtml.erb +0 -4
  325. data/app_generators/rtml/templates/rtml/components/rtml/features/views/cvv_skipped.rtml.erb +0 -10
  326. data/app_generators/rtml/templates/rtml/components/rtml/features/views/disp_avs.rtml.erb +0 -8
  327. data/app_generators/rtml/templates/rtml/components/rtml/features/views/do_avs_zip.rtml.erb +0 -8
  328. data/app_generators/rtml/templates/rtml/components/rtml/features/views/enter_amount.rtml.erb +0 -12
  329. data/app_generators/rtml/templates/rtml/components/rtml/features/views/enter_card.rtml.erb +0 -8
  330. data/app_generators/rtml/templates/rtml/components/rtml/features/views/enter_cashbk.rtml.erb +0 -10
  331. data/app_generators/rtml/templates/rtml/components/rtml/features/views/enter_cvv2.rtml.erb +0 -8
  332. data/app_generators/rtml/templates/rtml/components/rtml/features/views/enter_expiry.rtml.erb +0 -9
  333. data/app_generators/rtml/templates/rtml/components/rtml/features/views/fraud_check1.rtml.erb +0 -6
  334. data/app_generators/rtml/templates/rtml/components/rtml/features/views/fraud_check2.rtml.erb +0 -8
  335. data/app_generators/rtml/templates/rtml/components/rtml/features/views/frc_aprvl.rtml.erb +0 -8
  336. data/app_generators/rtml/templates/rtml/components/rtml/features/views/frc_avs_zip.rtml.erb +0 -8
  337. data/app_generators/rtml/templates/rtml/components/rtml/features/views/frc_bad_aprv.rtml.erb +0 -5
  338. data/app_generators/rtml/templates/rtml/components/rtml/features/views/frd_chk_fail.rtml.erb +0 -5
  339. data/app_generators/rtml/templates/rtml/components/rtml/features/views/invalid_exp.rtml.erb +0 -1
  340. data/app_generators/rtml/templates/rtml/components/rtml/features/views/no_entr_crd.rtml.erb +0 -1
  341. data/app_generators/rtml/templates/rtml/components/rtml/features/views/remove_card.rtml.erb +0 -1
  342. data/app_generators/rtml/templates/rtml/components/rtml/features/views/swipe_card.rtml.erb +0 -7
  343. data/app_generators/rtml/templates/rtml/components/rtml/features/views/trans_abort.rtml.erb +0 -1
  344. data/app_generators/rtml/templates/rtml/components/rtml/features/views/trans_reject.rtml.erb +0 -1
  345. data/app_generators/rtml/templates/rtml/components/rtml/features/views/void_ref.rtml.erb +0 -10
  346. data/app_generators/rtml/templates/rtml/components/rtml/features/void.rb +0 -30
  347. data/app_generators/rtml/templates/rtml/components/rtml/widgets/card_parser_widget.rb +0 -90
  348. data/app_generators/rtml/templates/rtml/components/rtml/widgets/display_widget.rb +0 -66
  349. data/app_generators/rtml/templates/rtml/components/rtml/widgets/element_builder_widget.rb +0 -123
  350. data/app_generators/rtml/templates/rtml/components/rtml/widgets/emv_support_widget.rb +0 -365
  351. data/app_generators/rtml/templates/rtml/components/rtml/widgets/form_submit_widget.rb +0 -65
  352. data/app_generators/rtml/templates/rtml/components/rtml/widgets/get_transaction_variables_widget.rb +0 -33
  353. data/app_generators/rtml/templates/rtml/components/rtml/widgets/get_variable_widget.rb +0 -39
  354. data/app_generators/rtml/templates/rtml/components/rtml/widgets/receipt_widget.rb +0 -66
  355. data/app_generators/rtml/templates/rtml/components/rtml/widgets/screen_builder_widget.rb +0 -49
  356. data/app_generators/rtml/templates/rtml/db/migrate/20090825132217_create_rtml_states.rb +0 -15
  357. data/app_generators/rtml/templates/rtml/db/migrate/20090825132401_create_rtml_terminals.rb +0 -16
  358. data/app_generators/rtml/templates/rtml/db/migrate/20090825132530_create_rtml_transactions.rb +0 -24
  359. data/app_generators/rtml/templates/rtml/db/migrate/20090825134118_create_rtml_cards.rb +0 -23
  360. data/app_generators/rtml/templates/rtml/db/migrate/20090825134622_create_rtml_emv_card_data.rb +0 -20
  361. data/app_generators/rtml/templates/rtml/db/migrate/20090825134629_create_rtml_mag_card_data.rb +0 -17
  362. data/app_generators/rtml/templates/rtml/db/migrate/20090825135838_create_rtml_card_parsers.rb +0 -19
  363. data/app_generators/rtml/templates/rtml/db/migrate/20090826103509_create_reference_codes.rb +0 -14
  364. data/app_generators/rtml/templates/rtml/db/migrate/20090915030044_add_batch_to_rtml_transactions.rb +0 -10
  365. data/app_generators/rtml/templates/rtml/db/migrate/20090915031155_add_additional_data_to_rtml_transactions.rb +0 -10
  366. data/app_generators/rtml/templates/rtml/db/migrate/20090915031156_add_hidden_data_to_rtml_transactions.rb +0 -10
  367. data/app_generators/rtml/templates/rtml/db/migrate/20091016133313_create_rtml_card_avs.rb +0 -16
  368. data/app_generators/rtml/templates/rtml/db/migrate/20091016135800_create_rtml_card_cvvs.rb +0 -16
  369. data/app_generators/rtml/templates/rtml/db/migrate/20091016135810_create_rtml_card_pins.rb +0 -16
  370. data/app_generators/rtml/templates/rtml/db/migrate/20091016135820_reverse_card_transaction_relationship.rb +0 -11
  371. data/app_generators/rtml/templates/rtml/db/migrate/20100127115105_convert_rtml_migrations_to_rails_migrations.rb +0 -31
  372. data/app_generators/rtml/templates/rtml/generators/rtml_controller/USAGE +0 -25
  373. data/app_generators/rtml/templates/rtml/generators/rtml_controller/rtml_controller_generator.rb +0 -49
  374. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/common_tml_helper.rb +0 -20
  375. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/controller.rb +0 -3
  376. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/css_color.css +0 -37
  377. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/css_mono.css +0 -12
  378. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/functional_test.rb +0 -11
  379. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/helper.rb +0 -2
  380. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/layout_color.rtml.erb +0 -24
  381. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/layout_mono.rtml.erb +0 -3
  382. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/tml_helper.rb +0 -16
  383. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/view.html.erb +0 -15
  384. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/view.rtml.erb +0 -2
  385. data/app_generators/rtml/templates/rtml/generators/rtml_document/USAGE +0 -8
  386. data/app_generators/rtml/templates/rtml/generators/rtml_document/rtml_document_generator.rb +0 -45
  387. data/app_generators/rtml/templates/rtml/generators/rtml_document/templates/controller.rb +0 -7
  388. data/app_generators/rtml/templates/rtml/generators/rtml_document/templates/functional_test.rb +0 -10
  389. data/app_generators/rtml/templates/rtml/generators/rtml_document/templates/helper.rb +0 -2
  390. data/app_generators/rtml/templates/rtml/generators/rtml_document/templates/view.rtml.erb +0 -11
  391. data/app_generators/rtml/templates/rtml/generators/rtml_widget/USAGE +0 -8
  392. data/app_generators/rtml/templates/rtml/generators/rtml_widget/rtml_widget_generator.rb +0 -66
  393. data/app_generators/rtml/templates/rtml/generators/rtml_widget/templates/basic_widget.rb +0 -57
  394. data/app_generators/rtml/templates/rtml/generators/rtml_widget/templates/basic_widget_no_help.rb +0 -27
  395. data/app_generators/rtml/templates/rtml/init.rb +0 -40
  396. data/app_generators/rtml/templates/rtml/install.rb +0 -18
  397. data/app_generators/rtml/templates/rtml/lib/environment.rb +0 -61
  398. data/app_generators/rtml/templates/rtml/lib/extensions/action_controller/request.rb +0 -9
  399. data/app_generators/rtml/templates/rtml/lib/extensions/action_controller/routing/route_set.rb +0 -34
  400. data/app_generators/rtml/templates/rtml/lib/extensions/action_view/base.rb +0 -74
  401. data/app_generators/rtml/templates/rtml/lib/extensions/action_view/partial_template.rb +0 -24
  402. data/app_generators/rtml/templates/rtml/lib/extensions/active_record.rb +0 -13
  403. data/app_generators/rtml/templates/rtml/lib/extensions/active_support/dependencies.rb +0 -25
  404. data/app_generators/rtml/templates/rtml/lib/extensions/array.rb +0 -15
  405. data/app_generators/rtml/templates/rtml/lib/extensions/attr_boolean.rb +0 -10
  406. data/app_generators/rtml/templates/rtml/lib/extensions/hash.rb +0 -28
  407. data/app_generators/rtml/templates/rtml/lib/extensions/nil_class.rb +0 -20
  408. data/app_generators/rtml/templates/rtml/lib/extensions/rake.rb +0 -19
  409. data/app_generators/rtml/templates/rtml/lib/extensions/regexp.rb +0 -16
  410. data/app_generators/rtml/templates/rtml/lib/extensions/string.rb +0 -37
  411. data/app_generators/rtml/templates/rtml/lib/other_plugins.rb +0 -23
  412. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/MIT-LICENSE +0 -20
  413. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/README +0 -36
  414. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/Rakefile +0 -44
  415. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/init.rb +0 -25
  416. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/lib/action_controller/filters/before_render_filter.rb +0 -30
  417. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/lib/before_render.rb +0 -43
  418. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/lib/before_render_instance.rb +0 -45
  419. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/lib/filter_chain_has_many_types_of_filters.rb +0 -87
  420. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/lib/filter_has_before_render.rb +0 -26
  421. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/tasks/before_render_tasks.rake +0 -25
  422. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/test/before_render_test.rb +0 -29
  423. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/test/test_helper.rb +0 -24
  424. data/app_generators/rtml/templates/rtml/lib/rtml.rb +0 -77
  425. data/app_generators/rtml/templates/rtml/lib/rtml/beryl/constants.rb +0 -12
  426. data/app_generators/rtml/templates/rtml/lib/rtml/beryl/version.rb +0 -11
  427. data/app_generators/rtml/templates/rtml/lib/rtml/common/renderable.rb +0 -13
  428. data/app_generators/rtml/templates/rtml/lib/rtml/core/include.rb +0 -30
  429. data/app_generators/rtml/templates/rtml/lib/rtml/core/layout.rb +0 -59
  430. data/app_generators/rtml/templates/rtml/lib/rtml/core/next.rb +0 -188
  431. data/app_generators/rtml/templates/rtml/lib/rtml/core/screen.rb +0 -91
  432. data/app_generators/rtml/templates/rtml/lib/rtml/core/screen/iterators.rb +0 -63
  433. data/app_generators/rtml/templates/rtml/lib/rtml/core/screen/next_screen_methods.rb +0 -70
  434. data/app_generators/rtml/templates/rtml/lib/rtml/core/screen/variable_methods.rb +0 -73
  435. data/app_generators/rtml/templates/rtml/lib/rtml/core/support/importer.rb +0 -55
  436. data/app_generators/rtml/templates/rtml/lib/rtml/core/tml_document.rb +0 -318
  437. data/app_generators/rtml/templates/rtml/lib/rtml/core/tml_document/screen_methods.rb +0 -79
  438. data/app_generators/rtml/templates/rtml/lib/rtml/core/tml_document/variable_methods.rb +0 -83
  439. data/app_generators/rtml/templates/rtml/lib/rtml/core/variable.rb +0 -123
  440. data/app_generators/rtml/templates/rtml/lib/rtml/debug/browser_emulator.rb +0 -59
  441. data/app_generators/rtml/templates/rtml/lib/rtml/debug/rtml_controller_test_case.rb +0 -7
  442. data/app_generators/rtml/templates/rtml/lib/rtml/debug/rtml_core_unit_test.rb +0 -11
  443. data/app_generators/rtml/templates/rtml/lib/rtml/debug/unit_test.rb +0 -3
  444. data/app_generators/rtml/templates/rtml/lib/rtml/delegation.rb +0 -8
  445. data/app_generators/rtml/templates/rtml/lib/rtml/doc.rb +0 -12
  446. data/app_generators/rtml/templates/rtml/lib/rtml/element.rb +0 -75
  447. data/app_generators/rtml/templates/rtml/lib/rtml/errors/widget_accessor_failure.rb +0 -9
  448. data/app_generators/rtml/templates/rtml/lib/rtml/events/event_handler.rb +0 -79
  449. data/app_generators/rtml/templates/rtml/lib/rtml/events/event_processor.rb +0 -106
  450. data/app_generators/rtml/templates/rtml/lib/rtml/events/processors.rb +0 -10
  451. data/app_generators/rtml/templates/rtml/lib/rtml/events/processors/defaults_processor.rb +0 -18
  452. data/app_generators/rtml/templates/rtml/lib/rtml/events/processors/key_processor.rb +0 -21
  453. data/app_generators/rtml/templates/rtml/lib/rtml/feature.rb +0 -32
  454. data/app_generators/rtml/templates/rtml/lib/rtml/feature_config.rb +0 -195
  455. data/app_generators/rtml/templates/rtml/lib/rtml/features.rb +0 -18
  456. data/app_generators/rtml/templates/rtml/lib/rtml/features/array_of_feature_instances.rb +0 -17
  457. data/app_generators/rtml/templates/rtml/lib/rtml/features/controller_class_methods.rb +0 -30
  458. data/app_generators/rtml/templates/rtml/lib/rtml/features/controller_instance_methods.rb +0 -35
  459. data/app_generators/rtml/templates/rtml/lib/rtml/helpers.rb +0 -21
  460. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/controller_helpers.rb +0 -59
  461. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/controller_helpers/menu_helpers.rb +0 -193
  462. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/core_helpers/action_view_wrapper.rb +0 -23
  463. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/core_helpers/event_helpers.rb +0 -28
  464. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/core_helpers/layout_helpers.rb +0 -47
  465. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/core_helpers/widget_support.rb +0 -181
  466. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/core_helpers/widget_support/class_methods.rb +0 -28
  467. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/core_helpers/yield_helpers.rb +0 -33
  468. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/proxy_helpers/feature_helpers.rb +0 -17
  469. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/render_helper.rb +0 -71
  470. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/terminal_helpers.rb +0 -21
  471. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/test_helpers.rb +0 -6
  472. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/test_helpers/tml_validation_assertions.rb +0 -10
  473. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/test_helpers/variable_assertions.rb +0 -27
  474. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/view_helpers/form_helpers.rb +0 -70
  475. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/view_helpers/rtml_form_builder.rb +0 -174
  476. data/app_generators/rtml/templates/rtml/lib/rtml/oe/btmlpa_constants.rb +0 -48
  477. data/app_generators/rtml/templates/rtml/lib/rtml/proxying/method_missing_methods.rb +0 -14
  478. data/app_generators/rtml/templates/rtml/lib/rtml/proxying/rtml_interface.rb +0 -33
  479. data/app_generators/rtml/templates/rtml/lib/rtml/proxying/sandbox.rb +0 -18
  480. data/app_generators/rtml/templates/rtml/lib/rtml/text_utils.rb +0 -51
  481. data/app_generators/rtml/templates/rtml/lib/rtml/validation/dom_rule_parser.rb +0 -61
  482. data/app_generators/rtml/templates/rtml/lib/rtml/validation/dom_tag.rb +0 -52
  483. data/app_generators/rtml/templates/rtml/lib/rtml/validation/predefined_variable_rule_parser.rb +0 -97
  484. data/app_generators/rtml/templates/rtml/lib/rtml/validation/tml_validator.rb +0 -16
  485. data/app_generators/rtml/templates/rtml/lib/rtml/version.rb +0 -11
  486. data/app_generators/rtml/templates/rtml/lib/rtml/widgets/property.rb +0 -11
  487. data/app_generators/rtml/templates/rtml/lib/rtml/widgets/property_accessors.rb +0 -59
  488. data/app_generators/rtml/templates/rtml/lib/rtml/widgets/widget.rb +0 -251
  489. data/app_generators/rtml/templates/rtml/lib/rtml/widgets/widget_class_methods.rb +0 -213
  490. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/dot.gif +0 -0
  491. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_can.gif +0 -0
  492. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_cand.gif +0 -0
  493. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_en.gif +0 -0
  494. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_end.gif +0 -0
  495. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_i.gif +0 -0
  496. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_icd.gif +0 -0
  497. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_icl.gif +0 -0
  498. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_icr.gif +0 -0
  499. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_ics.gif +0 -0
  500. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_icsw.gif +0 -0
  501. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_icv.gif +0 -0
  502. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_int.gif +0 -0
  503. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_int2.gif +0 -0
  504. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_men.gif +0 -0
  505. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_mend.gif +0 -0
  506. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_next.gif +0 -0
  507. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_no.gif +0 -0
  508. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_nod.gif +0 -0
  509. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_ok.gif +0 -0
  510. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_okd.gif +0 -0
  511. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_pic1.gif +0 -0
  512. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_pic2.gif +0 -0
  513. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_pic3.gif +0 -0
  514. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_pic4.gif +0 -0
  515. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_top.gif +0 -0
  516. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_txn.gif +0 -0
  517. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_yes.gif +0 -0
  518. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_yesd.gif +0 -0
  519. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/btmlpa.gif +0 -0
  520. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/can_dn.gif +0 -0
  521. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/can_up.gif +0 -0
  522. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/conf.gif +0 -0
  523. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/iccemv.gif +0 -0
  524. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/images.lib +0 -0
  525. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/magcard.gif +0 -0
  526. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/no_dn.gif +0 -0
  527. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/no_up.gif +0 -0
  528. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/ok_dn.gif +0 -0
  529. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/ok_up.gif +0 -0
  530. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/top.gif +0 -0
  531. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/yes_dn.gif +0 -0
  532. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/yes_up.gif +0 -0
  533. data/app_generators/rtml/templates/rtml/public/stylesheets/rtml/beryl_color.css +0 -37
  534. data/app_generators/rtml/templates/rtml/public/stylesheets/rtml/beryl_mono.css +0 -17
  535. data/app_generators/rtml/templates/rtml/public/stylesheets/rtml/oe/btmlpa/i5100.css +0 -12
  536. data/app_generators/rtml/templates/rtml/public/stylesheets/rtml/oe/btmlpa/i8550.css +0 -37
  537. data/app_generators/rtml/templates/rtml/public/stylesheets/rtml/oe/btmlpa/receipt.css +0 -4
  538. data/app_generators/rtml/templates/rtml/public/stylesheets/rtml/oe/examples/i5100.css +0 -12
  539. data/app_generators/rtml/templates/rtml/public/stylesheets/rtml/oe/examples/i8550.css +0 -37
  540. data/app_generators/rtml/templates/rtml/reporting/110409 +0 -227
  541. data/app_generators/rtml/templates/rtml/reporting/linecount.rb +0 -42
  542. data/app_generators/rtml/templates/rtml/rules/predefined_tml_variables.rb +0 -63
  543. data/app_generators/rtml/templates/rtml/rules/tml_document_structure.rb +0 -84
  544. data/app_generators/rtml/templates/rtml/rules/varns/audio.rb +0 -30
  545. data/app_generators/rtml/templates/rtml/rules/varns/card.rb +0 -17
  546. data/app_generators/rtml/templates/rtml/rules/varns/card/emv.rb +0 -31
  547. data/app_generators/rtml/templates/rtml/rules/varns/card/mag.rb +0 -8
  548. data/app_generators/rtml/templates/rtml/rules/varns/card/parser.rb +0 -7
  549. data/app_generators/rtml/templates/rtml/rules/varns/card/pin.rb +0 -6
  550. data/app_generators/rtml/templates/rtml/rules/varns/cfgm.rb +0 -15
  551. data/app_generators/rtml/templates/rtml/rules/varns/com.rb +0 -9
  552. data/app_generators/rtml/templates/rtml/rules/varns/err.rb +0 -14
  553. data/app_generators/rtml/templates/rtml/rules/varns/gma/event.rb +0 -13
  554. data/app_generators/rtml/templates/rtml/rules/varns/gprs.rb +0 -8
  555. data/app_generators/rtml/templates/rtml/rules/varns/imager.rb +0 -8
  556. data/app_generators/rtml/templates/rtml/rules/varns/ip.rb +0 -15
  557. data/app_generators/rtml/templates/rtml/rules/varns/oebr.rb +0 -42
  558. data/app_generators/rtml/templates/rtml/rules/varns/oebr/3rdparty.rb +0 -7
  559. data/app_generators/rtml/templates/rtml/rules/varns/oebr/backlight.rb +0 -4
  560. data/app_generators/rtml/templates/rtml/rules/varns/oebr/cache.rb +0 -1
  561. data/app_generators/rtml/templates/rtml/rules/varns/oebr/connect.rb +0 -5
  562. data/app_generators/rtml/templates/rtml/rules/varns/oebr/connection.rb +0 -5
  563. data/app_generators/rtml/templates/rtml/rules/varns/oebr/offline.rb +0 -5
  564. data/app_generators/rtml/templates/rtml/rules/varns/oegw.rb +0 -12
  565. data/app_generators/rtml/templates/rtml/rules/varns/payment.rb +0 -21
  566. data/app_generators/rtml/templates/rtml/rules/varns/ppp.rb +0 -11
  567. data/app_generators/rtml/templates/rtml/rules/varns/terminal.rb +0 -29
  568. data/app_generators/rtml/templates/rtml/tasks/rtml_tasks.rake +0 -78
  569. data/app_generators/rtml/templates/rtml/template.rb +0 -64
  570. data/app_generators/rtml/templates/rtml/test/core/element_test.rb +0 -17
  571. data/app_generators/rtml/templates/rtml/test/core/screen_test.rb +0 -91
  572. data/app_generators/rtml/templates/rtml/test/core/tml_document_test.rb +0 -53
  573. data/app_generators/rtml/templates/rtml/test/functional/beryl_controller_test.rb +0 -13
  574. data/app_generators/rtml/templates/rtml/test/functional/btmlpa_controller_test.rb +0 -13
  575. data/app_generators/rtml/templates/rtml/test/functional/magcard_demo_controller_test.rb +0 -20
  576. data/app_generators/rtml/templates/rtml/test/functional/rtml_app_controller_test.rb +0 -9
  577. data/app_generators/rtml/templates/rtml/test/functional/rtml_routing_test.rb +0 -19
  578. data/app_generators/rtml/templates/rtml/test/functional/tml_controller_params_test.rb +0 -20
  579. data/app_generators/rtml/templates/rtml/test/rtml_test_helper.rb +0 -44
  580. data/app_generators/rtml/templates/rtml/test/validation/predefined_variable_rule_parser_test.rb +0 -11
  581. data/app_generators/rtml/templates/rtml/uninstall.rb +0 -1
  582. data/app_generators/rtml/templates/rtml/update.rb +0 -57
  583. data/tasks/reglob.rake +0 -28
  584. data/test/test_rtml.rb +0 -11
@@ -1,17 +0,0 @@
1
- perms 'rwxrw'
2
- desc 'These variables are used to store card-related data read by parsers.'
3
-
4
- cardholder_name :type => :string
5
- effective_date :type => :date
6
- expiry_date :type => :date
7
- input_type 'Specifies how card details are entered. 1 - magnetic card swiped; 2 - card details are read from ICC EMV; 3 - card details are entered manually. When parser is called with the command "read_data", this variable should be set to 1. If the parser is called with the command "risk_mgmt", the variable value should be checked, and if it is 3, card number and expiration date should be verified and card.pan should be filled.', :type => :integer, :values => [ 1, 2, 3 ]
8
- issue_number :type => :integer
9
- issuer_name :type => :string
10
- pan 'Primary Account Number in ASCII.', :type => :string
11
- scheme :type => :string
12
- pin 'A cryptogram containing the PIN entered by a smart card holder.', :type => :string, :perms => 'rwxr-'
13
-
14
- namespace :emv
15
- namespace :pin
16
- namespace :mag
17
- namespace :parser
@@ -1,31 +0,0 @@
1
- type :opaque
2
- desc "These variables are used to store the 'icc_emv' card parser-related data. Refer to 'EMV Specification Book 3' for explanations of ICC EMV terms."
3
-
4
- aac 'AAC - Application Authentication Cryptogram generated during risk management'
5
- aid 'Application Identifier', :type => :string
6
- aip 'Application Interchange Profile', :type => :integer
7
- app_pan_seq 'Application PAN Sequence Number', :type => :integer
8
- arqc 'Authorization Request Cryptogram generated during risk management'
9
- atc 'Application Transaction Counter', :type => :integer
10
- auc 'Application Usage Control', :type => :integer
11
- cvmr 'Cardholder Verification Method Result'
12
- iac_default 'Issuer Action Code (default)'
13
- iac_denial 'Issuer Action Code (denial)'
14
- iac_online 'Issuer Action Code (online)'
15
- iad 'Issuer Application Data'
16
- iso_track2 'Contents of the Track 2 on the card.'
17
- last_attempt 'If set to 1, indicates the last PIN entry attempt.', :type => :integer
18
- signature 'If non-zero, the customer\'s signature should be verified offline, using the printed receipt.', :type => :integer
19
- tc 'Transaction Certificate generated during risk management'
20
- tvr 'Terminal Verification Results'
21
- unumber 'Unpredictable Number', :type => :integer
22
-
23
- # TODO: Make sure these are legal?? They're not in the 2.1.3.0 docs, but they're used in the BTMLPA.
24
- # That they're even strings is an assumption on my part.
25
- type :string
26
- selected_app
27
- app_status_list
28
- app_list
29
- aid_list
30
- selected_aid
31
- apdu_list
@@ -1,8 +0,0 @@
1
- desc 'These variables are used to store the "mag" card parser-related data.'
2
- perms 'rwxrw'
3
- type :string
4
-
5
- iso1_track 'ISO 1 track as read from the card.'
6
- iso2_track 'ISO 2 track as read from the card.'
7
- iso3_track 'ISO 3 track as read from the card.'
8
- service_code 'The service code read from track two of the magnetic card.'
@@ -1,7 +0,0 @@
1
- desc 'These variables are used to store the card parser-related data.'
2
-
3
- _vardcl :type, :desc => 'Specifies the card parser used: "mag" or "icc_emv".'
4
- reject_reason 'Reason for transaction rejection.'
5
- verdict 'Risk management verdict: "online", "offline", or "reject".'
6
- cvm 'Cardholder Verification Method.'
7
- cvr 'Cardholder Verification Result.'
@@ -1,6 +0,0 @@
1
- desc 'These variables are used to store the data required for online validation of a smart card holder\'s PIN (Persinal Identification Number).'
2
- perms 'rwxr-'
3
-
4
- length 'The number of characters in the entered PIN.', :type => :integer
5
- smid 'SMID for PIN\'s DUKPT.', :type => :string
6
- array 'This variable is used to select the key array for DUKPT and 3DES encryption.', :type => :integer, :perms => 'rwxrw'
@@ -1,15 +0,0 @@
1
- desc 'This section describes predefined TML variables used to manage updates of configuration data in use by the terminal ICC EMV and magnetic card parsers and to check if the versions of these data are up-to-date and correspond to the most recent ones available at the server. The values of most of these variables are set by the server.'
2
- perms 'rwxr-'
3
- type :integer
4
-
5
- namespace :emv do
6
- timestamp "The variable used to keep track of the version of configuration data in use by the terminal ICC EMV card parser.", :default => 0
7
- end
8
-
9
- namespace :mag do
10
- timestamp "The variable used to keep track of the version of configuration data in use by the terminal magnetic card parser.", :default => 0
11
- end
12
-
13
- namespace :scan do
14
- interval "The minimum amount of time in seconds between subsequent configuration requests sent to Gateway when the connection between the terminal and Gateway is active.", :default => 1, :perms => 'rwx--'
15
- end
@@ -1,9 +0,0 @@
1
- desc 'This section describes predefined TML variables related to transmission of data via the terminal\'s COM (RS232) port.'
2
- perms 'rwxr-'
3
- type :string
4
-
5
- data_size 'COM Data Size - an asynchronous connection parameter defining how many bits of data there are in one byte.', :values => %W(5 6 7 8), :default => '8'
6
- _vardcl :name, :desc => 'COM Name - the name of the terminal\'s COM port used for data transfer.', :values => %W(COM1 COM2), :default => 'COM1'
7
- parity 'COM Parity - an asynchronous connection parameter - one of the parameters used to control the data transfer via a COM port.', :values => %W(none odd even), :default => 'none'
8
- speed 'COM Speed - an asynchronous connection parameter defining the pseed of data transfer in bits per second.', :values => %W(115200 57600 9600), :default => '115200'
9
- stop_bits 'COM Stop Bits - an asynchronous connection parameter - one of the parameters used to control the data transfer via a COM port.', :values => %W(1 2), :default => '1'
@@ -1,14 +0,0 @@
1
- desc 'This section describes predefined TML variables related to error handling.'
2
- type :string
3
- perms 'rwxrw'
4
-
5
- baddata_reason 'A reason returned by the terminal if the data entered by the user is invalid.'
6
- description 'A brief textual description of the last error occurred in the system. The value of this variable is set by the module in which the error occurred.'
7
-
8
- namespace :code do
9
- type :integer
10
- perms 'rwxr-'
11
-
12
- high 'Numeric code of the last error detected by the MicroBrowser. The value of this variable is set by the main module of the Microbrowser.'
13
- low 'The numeric code of the "previous", that is, the last but one error detected by the MicroBrowser. The value of this variable is set by the main module of the Microbrowser.'
14
- end
@@ -1,13 +0,0 @@
1
- type :string
2
- perms 'rwxrw'
3
- subscribed 'Variable containing the list of GMA events you want the MicroBrowser to be informed of. This is a semicolon-delimited list of "anykey", "mag", and/or "icc".'
4
- perms 'rwxr-'
5
- occured 'The name of a GMA event that took place.', :values => %W(menu anykey mag icc), :default => 'menu'
6
-
7
- namespace :key do
8
- pressed 'Variable whose value tells which of the keypad keys was pressed (if the MicroBrowser is subscribed to key presses and one of the keys was in fact just pressed).', :values => %W(enter stop 00 cancel sys lfeed f1 f2 f3 f4 f5 f6 f7 f8 f9), :default => ''
9
- end
10
-
11
- namespace :icc do
12
- card_answer 'If the event with the name "icc" takes place, this variable will contain the smart card answer. Internal use only. You MUST NOT use this variable in your TML applications.', :perms => 'rwx--', :type => :opaque, :values => []
13
- end
@@ -1,8 +0,0 @@
1
- desc 'This section describes predefined TML variables used to store the settings for modem connections over GPRS (General Packet Radio Service) communications channels.'
2
- type :string
3
- perms 'rwxr-'
4
-
5
- apn 'APN - Access Point Name', :default => 'internet.msk'
6
- gsm_pin1 "GSM PIN1 - The Global System for Mobile Communications Personal Identification Number that the terminal uses to prove its identity when trying to establish a connection with mobile (GSM/GPRS) communications service providers.", :default => '0000'
7
- gsm_puk1 'GSM PUK1 - The Global System for Mobile Communications Personal Unblocking Key - a numeric code used to unblock a SIM card after incorrect entry of GSM PIN1.', :default => '00000000'
8
- selection_to 'Selection Timeout - the amount of time in seconds within which the terminal is waiting for registration in mobile communications service provider\'s network.', :type => :integer, :default => 60
@@ -1,8 +0,0 @@
1
- desc 'This section describes predefined TML variables used when working with a bar code scanner (imager).'
2
- type :string
3
- perms 'rwxrw'
4
-
5
- aim_id 'AIM Code Character - the second character in the symbology identifier string according to "International Technical Specification - Symbology Identifiers" by AIM Inc.'
6
- aim_modifier 'AIM Modifier Character - the third character in the symbology identifier string according to "International Technical Specification - Symbology Identifiers" by AIM Inc.'
7
- code_id "Single-character symbology identifier according to the coding systme used by Hand Held Products, Inc., the company manufacturing bar code scanners that are used in Ingenico terminals."
8
- data "The data contained in a bar code."
@@ -1,15 +0,0 @@
1
- type :string
2
- perms 'rwxr-'
3
- desc 'This section describes predefined IP (Internet Protocol)-related TML variables.'
4
-
5
- default_gateway 'Default Gateway IP - an IP address of the gateway, a router or host computer, that routes TCP packets from the terminal to the Internet and to the Gateway.', :default => '192.168.0.1'
6
- dns1 'IP address of a DNS (Domain Name Server) - a server that translates hostnames (domain names) into IP addresses', :default => '0.0.0.0'
7
- dns2 'IP address of a DNS (Domain Name Server) - a server that translates hostnames (domain names) into IP addresses', :default => '0.0.0.0'
8
- local_addr 'The variable used to store the terminal\'s IP address which the terminal receives from the server.', :default => '0.0.0.0'
9
- media 'Media Type - the type of communications channel used by the terminal for data transmission.', :values => %W(com dsl ethernet gprs modem), :default => 'com'
10
- net_conn_timeout "The amount of time in seconds within which the terminal is waiting for the receipt of the network settings (for example, an IP address) from the server.", :default => 120, :type => :integer
11
- net_mask 'Net Mask - the net mask of the network to which the terminal is connected.', :default => '255.255.255.0'
12
- persistent 'Persistent Connection - parameter that defines whether or not the connection with the Internet service provider (ISP)\'s server should be kept active after the terminal disconnects from the Gatway.', :values => %W(yes no), :default => "yes"
13
- so_timeout 'Socket Timeout - the amount of time in seconds within which the terminal is waiting for the receipt of data from the host.', :type => :integer, :default => 30
14
- static_addr 'Static IP Address - the static IP address of the terminal; the one used by the terminal when the value of the ip.term_ip variable is set to "static".', :default => '192.168.0.10'
15
- term_ip 'Defines which of the IP addresses the terminal uses: the dynamic IP address received from the server or the static IP address defined by the value of the variable ip.static_addr.', :values => %W(dynamic static), :default => "dynamic"
@@ -1,42 +0,0 @@
1
- desc 'This section describes predefined TML variables related to the MicroBrowser and various aspects of its behavior including its interaction with other terminal applications, terminal memory management, etc.'
2
- perms 'rwxr-'
3
- type :string
4
-
5
- appversion 'MicroBrowser version as seen by the terminal OS.', :type => :string, :perms => 'r-xr-'
6
- cache_update_policy 'Cache update policy defines how the resources cached in the terminal memory (TML pages, images, etc.) are updated. If "all", all the resources cached in the terminal are requested from the server each time the terminal connects to the Gateway. If "expired", only those that have expired are requested from the server when the terminal goes online. If the connection with the Gateway is initiated by a call to the "connect_to_server" C function, the value of this variable does not matter: all the resources cached in the terminal are requested from the server.', :values => %W(all expired), :default => 'expired'
7
- current_uri 'Current URI. The value of this variable is updated each time the application switches onto the next screen.'
8
- econn 'Reason for failure when submitting data; filled by the HTTP client.', :type => :integer, :perms => 'rwxrw'
9
- indicators 'Defines the positions of the indicators on the terminal display. Four different indicators may be present showing radio signal strength, main terminal battery usage, external power supply connection, secondary terminal battery charge.', :values => %W(none default top-left top-middle top-right bottom-left bottom-middle bottom-right left-top left-middle left-bottom right-top right-middle right-bottom), :default => "default"
10
- languages 'The list of supported languages. Value is a semicolon-delimeted list consisting of "english", "french" and/or "spanish".', :default => "english;french;spanish", :perms => 'rwxrw'
11
- last_connection_dt 'Last date and time when the terminal connected to the Gateway host.', :perms => 'rwxrw', :type => :date
12
- pin_init 'Security Key to be sent to the Gateway during initialization of the terminal.', :default => '100', :perms => "rwx--"
13
- post_id 'Identifier of the postponed terminal transaction to be cancelled.', :perms => 'rwxrw', :type => :integer
14
- posts_number 'Total number of postponed terminal transactions currently stored in the terminal memory.', :type => :integer, :perms => 'rwxr-'
15
- posts_number_tmp 'Temporary offilne posts count.', :type => :integer, :perms => 'rwxr-'
16
- posts_print_mode 'Defines what information should be included when the contents of offline posts are printed out.', :values => %W(header name value), :default => "header"
17
- prev_screen "The uRI of the last rendered screen."
18
- run_on_reboot "Run on Reboot - parameter whose value defines whether or not MicroBrowser should start automatically after terminal is rebooted.", :values => %W(yes no), :default => "yes", :perms => "rwx--"
19
- run_on_reboot_str "Auxiliary variable used to store intermediate results of working with the Run on Reboot parameter.", :values => %W(yes no), :default => "yes", :perms => "rwx--"
20
- start_page "The URI of the MicroBrowser start page. Default value is '/' which is the URI of the default TML page on the application server.", :default => "/", :perms => "rwxrw"
21
- submit_mode "This variable defines one of the two possible ways of submitting the transaction data.", :perms => "rwxrw", :values => %W(online offline), :default => "online"
22
- supervisor_password "The terminal administrator's password.", :default => '123', :perms => "rwx--"
23
- time_zone "Time zone of the terminal location.", :default => '0'
24
- transid 'Unique numeric transaction identifier which is set for each transaction.', :perms => 'rwxrw', :default => 1, :type => :integer
25
- unique_id 'Variable used for generating a unique positive integer number. Each reference of this variable in TML code updates its value.', :type => :integer, :perms => 'r-xr-'
26
- version 'MicroBworser version in use by the terminal.', :perms => 'r-xr-'
27
- # log variables
28
- perms 'rwx--'
29
- log_descr 'Error description.'
30
- log_id 'This variable defines the name of the log that is to be cleared when the "clear_log" function is called. The value of this variable should be properly set prior to performing the function call.', :perms => 'rwxrw'
31
- log_module 'The name of the software module that originated the error.'
32
- log_severity 'Error severity, e.g. FATAL, ERROR, WARNING, etc.'
33
- log_size 'The total size (in bytes) of all log files being used in the system.', :type => :integer
34
- log_size_limit 'This variable sets the maximum possible size (in kilobytes) of all log files.', :default => 128, :type => :integer
35
- ulog_cntr "Auxiliary log counter.", :type => :integer
36
-
37
- namespace :offline
38
- namsepace :connection
39
- namespace :connect
40
- namespace :cache
41
- namespace :backlight
42
- namespace '3rdparty'
@@ -1,7 +0,0 @@
1
- desc 'These variables are used to store the information necessary for data exchange with third-party UNICAPT32 applications running on the terminal.'
2
- type :string
3
- perms 'rwxrw'
4
-
5
- app_name 'The name of an application (assigned to it in IngeDev) to which the data are to be sent.', :default => 'GB000400_Ima'
6
- _vardcl :timeout, :desc => 'Timeout in tens of milliseconds. This is an auxiliary variable whose value does not affect the data exchange per se. Its purpose is to pass a third-party application a recommended amount of time within which the third-party aopplication may stay idle. it is assumed that if there is no user activity in the third-party application and the timeout elapses, the control should be passed back to the MicroBrowser. The third-party application may just ignore this variable (as well as take it into account).', :default => 0, :type => :integer
7
- var_list 'The list of variables to be sent to an application defined by oebr.3rdparty.app_name. Names of variables in the list should be separated with a semicolon.', :default => 'oebr.3rdparty.app_name;oebr.3rdparty.timeout;card.emv.aac;oebr.last_connection_dt'
@@ -1,4 +0,0 @@
1
- type :integer
2
-
3
- off_strength 'The variable whose value defines how bright the terminal screen is when the backlight is off. The higher the value the brighter the screen is. When set to 100, the screen is as bright as when the backlight is on.', :default => 0
4
- _vardcl :timeout, :desc => 'The amount of time in seconds within which the terminal screen backlight stays on after a user performs some action with the terminal (for example, pressing a key on the keypad, etc.). When this time expires, the backlight goes off, and stays off until the user does something with the terminal again.', :default => 600
@@ -1 +0,0 @@
1
- storage 'The size of terminal memory cache (in kilobytes) reserved for storing HTTP/TML resources (TML pages, image and CSS files, etc.). This variable is used to limit the total size of all HTTP/TML resources downloaded by the terminal from the application server and cached in the terminal memory. The limit defined by this variable is checked only when "new" resources are being downloaded by the terminal. That is, this limit is not checked when the resources that have once been downloaded are updated. When 75% of the limit set by this variable is reached, the MicroBrowser will try to remove from the terminal cache all TML pages with the "cache" attribute set to "deny". As soon as the limit defined by this variable is reached, no new resource will be downloaded. It is worth mentioning that the number of files stored in HTTP cache cannot exceed 192. This number is fixed and cannot be controlled via a TML application.', :default => 256, :type => :integer
@@ -1,5 +0,0 @@
1
- type :string
2
- perms 'rwxrw'
3
- pool_off 'Defines whether or not all transactions performed offline and currently stored in the terminal memory should be sent to the Gateway when the "connect_to_server" C function is called.', :values => %W(yes no), :default => "yes"
4
- sync_cache 'Defines whether or not all the resources cached in the terminal memory should be requested when the "connect_to_server" C function is called.', :values => %W(yes no), :default => "yes"
5
- sync_config 'Defines whether or not the confugration data in use by ICC EMV and magnetic card parsers should be requested from the Gateway when the "connect_to_server" C function is called. See also cfgm.scan.interval', :values => %W(yes no), :default => "yes"
@@ -1,5 +0,0 @@
1
- type :string
2
- perms 'rwxrw'
3
-
4
- endstate 'Variable whose value specifies what should be the state of the connection between the terminal/MicroBrowser and Gateway host after the MicroBrowser and Gateway have completed the data exchange.', :values => %W(up down connected), :default => 'up'
5
- state 'Variable used to monitor and control the state of the connection between the terminal/MicroBrowser and the Gateway host. "down" - the network interface is down which means that the terminal is in offline mode and is not trying to connect to the network; "going_up" - the terminal is in transition from "down" to "up" which means taht the terminal is trying to connect to the network; "up" - the network interface is up which means that the terminal has connected to the Gateway host; "connecting" - the MicroBrowser is in transition from "up" to "connected" which means that the terminal has already connected to the host and the MicroBrowser is trying to establish the socket connection with the Gateway; "connected" - the MicroBrowser has connected to the Gateway and the applications are ready to start exchanging the data; "error" - connection error occurred. By changing the value of this variable a TML application tells the MicroBrowser which connection state should be achieved. The MicroBrowser, in turn, uses this variable to reflect the current connection state of the terminal. A TML application can then check the variable value and take the appropriate actions.', :values => %W(down up connected)
@@ -1,5 +0,0 @@
1
- type :integer
2
- perms 'rwxr-'
3
-
4
- size 'The total size (in kilobytes) of all offline posts currently stored in the terminal memory.'
5
- storage 'The size of terminal memory (in kilobytes) reserved for storing offline posts. As soon as the total size of postponed transactions in the terminal memory reaches the limit defined by the value of this parameter, the terminal goes online, sends the postponed transactions to the Gateway, and then deletes them from the terminal memory.', :default => 64
@@ -1,12 +0,0 @@
1
- type :string
2
- perms 'rwxr-'
3
- certificate 'Gateway\'s X.509 public key certificate. By default, this variable stores the default Gateway certificate.', :perms => 'rwx--'
4
- init_port 'Gateway Initialization Service port number', :type => :integer, :default => 61001
5
- init_resp_timeout 'Gateway Initialization Service response timeout in seconds', :type => :integer, :default => 25
6
- ip 'Gateway\'s hostname (domain name) or the IP address of the computer on which the Gateway runs. The value of this variable must be the same as the Common Name (CN) of certificate owner in the Gateway\'s X.509 public key certificate.', :default => '127.0.0.1'
7
- port 'Data port number', :default => 61000, :type => :integer
8
- resp_timeout 'Gateway response timeout in seconds', :default => 25, :type => :integer
9
-
10
- namespace :ip do
11
- resolved 'Gateway\'s IP address received from a DNS (Domain Name Server) as a result of translation of the Gateway\'s hostname (domain name) into an IP address.', :default => 'unknown'
12
- end
@@ -1,21 +0,0 @@
1
- desc 'This section describes predefined TML variables related to payment processing.'
2
- type :integer
3
- perms 'rwxrw'
4
-
5
- amount 'Transaction amount'
6
- amount_other "Transaction cashback amount"
7
- auth_code 'Contains Authorization Code; used for ICC online authorization.', :type => :string
8
- auth_resp_code 'Contains Authorization Response Code; used for ICC online authorization.', :default => 0
9
-
10
- namespace :emv do
11
- type :opaque
12
- arpc 'Authorization Response Cryptogram'
13
- issuer_auth 'Used during online authorization; contains Issuer Authentication Data'
14
- issuer_script1 'Used during online ICC authorization; contains an issuer\'s script which should be executed on the ICC EMV to update the card data, change application or block the card.'
15
- issuer_script2 'Contains an issuer\'s script which should be executed on the ICC EMV to update the card data, change application or block the card.'
16
- issuer_script_results 'Used during online authorization; contains the results returned by ICC EMV after executing an issuer\'s script.'
17
- end
18
-
19
- merchant_number 'Merchant\'s phone number.', :perms => 'rwxr-'
20
- trans_type 'This variable is used by the card parsers. To perform a transaction, it should be set to one of the generic transaction types.'
21
- txn_result 'Indicates the transaction authorization result: 1 - approved, 0 - declined.', :values => [1,0]
@@ -1,11 +0,0 @@
1
- desc 'This section describes predefined TML variables related to PPP connections.'
2
- type :string
3
- perms 'rwxr-'
4
-
5
- authtype 'PPP Authentication Type – the type of authentication used to check the terminal\'s identity when the terminal tries to establish the PPP connection with a server using the PSTN modem.',
6
- :values => %W(PAP CHAP), :default => 'PAP'
7
- conn_timeout 'The amount of time in seconds within which the terminal is trying to establish the connection with the service provider\'s server via the PSTN modem.', :default => 120, :type => :integer
8
- login 'The name that the terminal uses to identify itself when connecting to the Internet service provider\'s server via a modem.', :perms => 'rwx--', :default => 'ingenico_oe'
9
- password 'The password that the terminal provides to prove its identity when connecting to the Internet service provider\'s server via a modem.', :default => '1234567890', :perms => 'rwx--'
10
- phone 'The phone number that the terminal\'s PSTN modem dials to establish the connection with the service provider\'s server.', :default => '908450885336'
11
- retries 'The number of times the terminal is trying to establish the connection with the service provider\'s server via the PSTN modem.', :type => :integer, :default => 3
@@ -1,29 +0,0 @@
1
- desc 'This section describes predefined TML variables related to a terminal.'
2
-
3
- type :date
4
- perms 'r-xr-'
5
- datetime "System local date and time."
6
- datetime_start "An auxiliary variable used for checking whether or not the terminal date and time have been set.", :default => '2006/01/01'
7
-
8
- type :string
9
- perms 'r-xr-'
10
- itid 'ITID - Ingenico Terminal Identifier', :default => '100', :perms => 'rwxr-'
11
- os 'The version of the terminal operating system'
12
- part_number
13
- serial_number
14
- serial_number_default 'A serial number assigned to a development terminal. This is an auxiliary variable used for checking whether or not the terminal is a development one.', :default => '123456789012'
15
-
16
- type :string
17
- perms 'rwx--'
18
- certificate 'Terminal\'s X.509 public key certificate corresponding to the private key stored in the variable terminal.privkey.'
19
- password 'The password used for authentication of a terminal by the Gateway. Received from the Gateway as a result of terminal initialization.'
20
- privkey 'Terminal\'s RSA private (asymmetric cryptographic) key.'
21
-
22
- type :integer
23
- perms 'rwx--'
24
- sn_check 'Defines whether or not the terminal serial number should be checked to make sure that the terminal is not a development one. 1 means the number should be checked.', :default => 1, :values => %W(0 1)
25
-
26
- type :integer
27
- perms 'r-xr-'
28
- model 'The model of the terminal; for example, 8550, 5100, etc.'
29
- pinpad_present 'The variable whose value defines whether or not the terminal has a PIN pad attached to it. 1 if present.', :values => %W(0 1), :default => 0, :perms => 'r-x--'
@@ -1,78 +0,0 @@
1
- require 'rake'
2
- require 'rake/testtask'
3
- require 'rake/packagetask'
4
- require 'rake/rdoctask'
5
- require 'find'
6
- require 'vendor/plugins/rtml/lib/extensions/rake'
7
- require 'rdoc/rdoc'
8
-
9
-
10
- namespace :doc do
11
- namespace :plugins do
12
- desc "Generate documentation for the RTML plugin"
13
- plugin = 'rtml'
14
- Rake.override_task(plugin => :environment) do
15
- plugin_base = "vendor/plugins/#{plugin}"
16
- options = []
17
- files = Rake::FileList.new
18
- accessors = Rtml::Doc::AccessorList.collect { |accessor| "#{accessor}=#{Rtml::Doc::AccessorText[accessor]}" }.join(",")
19
- options << "-o" << "doc/plugins/#{plugin}"
20
- options << "--title" << "'#{plugin.titlecase} Plugin Documentation'"
21
- options << '--line-numbers' << '--inline-source'
22
- options << '--charset' << 'utf-8'
23
- options << "--accessor" << accessors #"#property,accessor,accessor_alias'#=text replaces [r,w,rw]
24
- options << '-T' << 'html'
25
-
26
- files.include("#{plugin_base}/lib/**/*.rb")
27
- if File.exist?("#{plugin_base}/README")
28
- files.include("#{plugin_base}/README")
29
- options << "--main" << "#{plugin_base}/README"
30
- end
31
- files.include("#{plugin_base}/CHANGELOG") if File.exist?("#{plugin_base}/CHANGELOG")
32
-
33
- options.concat files.to_a#to_s.split(/ /)
34
-
35
- RDoc::RDoc::new.document options
36
- #sh %(rdoc #{options * ' '})
37
- end
38
- end
39
- end
40
-
41
- namespace :rtml do
42
- desc "Run all available tests of the RTML framework"
43
- Rake::TestTask.new(:test) do |t|
44
- t.pattern = 'vendor/plugins/rtml/test/**/*_test.rb'
45
- t.test_files = ["vendor/plugins/rtml/test/rtml_test_helper.rb"]
46
- t.verbose = true
47
- end
48
-
49
- desc "Sets up RTML database tables"
50
- task :setup => :environment do
51
- start = Time.now
52
- puts "Setting up RTML database tables..."
53
- ActiveRecord::Migrator.up(File.join(PLUGIN_BASE, "db/migrate/"), nil)
54
- puts "RTML database tables have been created. (Duration: #{(Time.now - start).to_f} sec)"
55
- end
56
-
57
- desc "Brings all RTML database migrations up to date"
58
- task :migrate => :environment do
59
- ActiveRecord::Migrator.up(File.join(PLUGIN_BASE, "db/migrate/"), nil)
60
- puts
61
- puts "RTML database tables have been updated to version #{Rtml::VERSION::STRING}" # or else an error was raised.
62
- end
63
-
64
- desc "Removes RTML database tables"
65
- task :destroy => :environment do
66
- start = Time.now
67
- ActiveRecord::Migrator.down(File.join(PLUGIN_BASE, "db/migrate/"), nil)
68
- puts "RTML database tables have been destroyed. (Duration: #{(Time.now - start).to_f} sec)"
69
- end
70
-
71
- desc "Removes and then rebuilds the RTML database tables"
72
- task :reset => :environment do
73
- start = Time.now
74
- Rake::Task['rtml:destroy'].invoke
75
- Rake::Task['rtml:setup'].invoke
76
- puts "RTML: Reset complete. (Duration: #{(Time.now - start).to_f} sec)"
77
- end
78
- end
@@ -1,64 +0,0 @@
1
- #HELPERS
2
- def win_env?
3
- RUBY_PLATFORM=~ /win32/
4
- end
5
-
6
- def rake(command, options = {})
7
- env = options[:env] || 'development'
8
- log 'rake', "#{command} in #{env} "
9
- sudo = win_env? ? '' : (options[:sudo] ? 'sudo' : '')
10
- rake_cmd = win_env? ? "rake.bat" : 'rake'
11
- in_root { run("#{sudo} #{rake_cmd} #{command} RAILS_ENV=#{env}", false) }
12
- end
13
-
14
- # OPTIONS
15
- controller_name = ask("Controller name [skip]: ").chomp
16
- if controller_name.length > 0
17
- controller_name.gsub!(/_./) { |i| i[1].chr.upcase }
18
- actions = ask("Actions (separate with space) [index]: ").chomp.split(/\s/)
19
- actions = [ 'index' ] if actions.length == 0
20
- default_action = ((actions.include? "index") ? "index" : actions.first)
21
- end
22
- use_git = yes?("Use git?")
23
- if use_git
24
- use_submodule = yes?("Install RTML as a git submodule?")
25
- end
26
- rake_rtml_setup = yes?("Rake rtml:setup?")
27
- freeze_rails_gems = yes?("Freeze rails gems?")
28
-
29
- # GENERATE
30
- run "rm public/index.html"
31
- gem "hpricot"
32
- rake "gems:install"
33
- rake "rails:freeze:gems" if freeze_rails_gems
34
-
35
- if use_git
36
- git :init
37
- # if use_submodule
38
- # plugin 'rtml', :git => 'git://github.com/sinisterchipmunk/rtml.git', :submodule => true
39
- # else
40
- # plugin 'rtml', :git => 'git://github.com/sinisterchipmunk/rtml.git'
41
- # end
42
- git :add => '.'
43
- git :commit => '-a -m "Initial commit"'
44
- else
45
- # plugin 'rtml', :git => 'git://github.com/sinisterchipmunk/rtml.git'
46
- end
47
-
48
- inside("vendor/plugins") do
49
- run "git clone git://github.com/sinisterchipmunk/rtml.git"
50
- end
51
-
52
- if controller_name.length > 0
53
- run "ruby script/generate rtml_controller #{controller_name} #{actions.join(" ")}"
54
- # generate(:rtml_controller, controller_name, *actions)
55
- route "map.connect_rtml :controller => '#{controller_name}', :action => '#{default_action}'"
56
- else
57
- route 'map.connect_rtml'
58
- end
59
-
60
- if rake_rtml_setup
61
- run "rake rtml:setup"
62
- #rake "rtml:setup"
63
- end
64
-