rhoconnect 5.1.1 → 5.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -8
  3. data/CREDITS +100 -100
  4. data/Gemfile +0 -2
  5. data/Gemfile.lock +56 -71
  6. data/LICENSE +5 -72
  7. data/README.md +0 -0
  8. data/Rakefile +0 -0
  9. data/bench/bench +0 -0
  10. data/bench/benchapp/settings/settings.yml +0 -3
  11. data/bench/blobapp/settings/settings.yml +0 -3
  12. data/bench/distr_bench/distr_bench +0 -0
  13. data/bench/distr_bench/distr_bench_main +0 -0
  14. data/bench/distr_bench/run_distr_client.sh +0 -0
  15. data/bench/distr_bench/run_test_query_script.sh +0 -0
  16. data/bench/lib/bench/bench_result_processor.rb +0 -0
  17. data/bench/lib/bench.rb +0 -8
  18. data/bench/lib/testdata/images/icon.ico +0 -0
  19. data/bench/lib/testdata/images/icon.png +0 -0
  20. data/bench/lib/testdata/images/loading-Landscape.png +0 -0
  21. data/bench/lib/testdata/images/loading-LandscapeLeft.png +0 -0
  22. data/bench/lib/testdata/images/loading-LandscapeRight.png +0 -0
  23. data/bench/lib/testdata/images/loading-Portrait.png +0 -0
  24. data/bench/lib/testdata/images/loading-PortraitUpsideDown.png +0 -0
  25. data/bench/lib/testdata/images/loading.png +0 -0
  26. data/bench/lib/testdata/images/loading@2x.png +0 -0
  27. data/bench/prepare_bench +0 -0
  28. data/bench/run_bench.sh +0 -0
  29. data/bench/run_blob_script.sh +0 -0
  30. data/bench/run_cud_script.sh +0 -0
  31. data/bench/run_query_md_script.sh +0 -0
  32. data/bench/run_query_only_script.sh +0 -0
  33. data/bench/run_query_script.sh +0 -0
  34. data/bench/run_test_query_script.sh +0 -0
  35. data/bench/run_test_source_script.sh +0 -0
  36. data/bin/rhoconnect-benchmark +0 -22
  37. data/commands/rhoconnect/restart.rb +0 -1
  38. data/commands/rhoconnect/start.rb +2 -14
  39. data/doc/adapters-crm.txt +1 -1
  40. data/doc/benchmarks-running.txt +1 -1
  41. data/doc/benchmarks.txt +0 -1
  42. data/doc/bulk-sync.txt +0 -1
  43. data/doc/command-line.txt +0 -6
  44. data/doc/java-plugin.txt +0 -6
  45. data/doc/preparing-production.txt +1 -7
  46. data/doc/public/cli.txt +0 -2
  47. data/doc/public/css/print.css +0 -0
  48. data/doc/public/css/screen.css +0 -0
  49. data/doc/public/css/style.css +0 -0
  50. data/doc/push-client-setup-android.txt +0 -1
  51. data/doc/push-client-setup-ios.txt +0 -1
  52. data/doc/push-client-setup-rps.txt +3 -3
  53. data/doc/push-server-setup.txt +1 -4
  54. data/doc/rails-plugin.txt +0 -5
  55. data/doc/rest-api.txt +2 -14
  56. data/doc/rhoconnect-redis-stack.txt +0 -1
  57. data/doc/settings.txt +0 -3
  58. data/doc/supported-platforms.txt +0 -1
  59. data/doc/tutorial.txt +0 -2
  60. data/examples/simple/config.ru +0 -0
  61. data/examples/simple/settings/settings.yml +1 -4
  62. data/generators/rhoconnect.rb +0 -1
  63. data/generators/templates/application/config.ru +0 -0
  64. data/generators/templates/application/rcgemfile +1 -0
  65. data/generators/templates/application/settings/settings.yml +0 -3
  66. data/install.sh +0 -0
  67. data/installer/utils/create_sha1.rb +0 -0
  68. data/installer/utils/delete_from_s3.rb +0 -0
  69. data/installer/utils/download_from_s3.rb +0 -0
  70. data/installer/utils/nix_install_test.rb +0 -0
  71. data/installer/utils/package_upload/repos.rake +2 -2
  72. data/installer/utils/package_upload/s3_single_file.rb +0 -0
  73. data/installer/utils/package_upload/s3_upload.rb +0 -0
  74. data/installer/utils/verify_checksum.rb +0 -0
  75. data/lib/rhoconnect/api_token.rb +0 -0
  76. data/lib/rhoconnect/app.rb +0 -0
  77. data/lib/rhoconnect/bulk_data/bulk_data.rb +0 -0
  78. data/lib/rhoconnect/bulk_data/syncdb.index.schema +0 -0
  79. data/lib/rhoconnect/bulk_data/syncdb.schema +0 -0
  80. data/lib/rhoconnect/bulk_data.rb +0 -0
  81. data/lib/rhoconnect/client.rb +0 -2
  82. data/lib/rhoconnect/controller/system_controller.rb +0 -9
  83. data/lib/rhoconnect/credential.rb +0 -0
  84. data/lib/rhoconnect/document.rb +0 -0
  85. data/lib/rhoconnect/middleware/cors.rb +209 -209
  86. data/lib/rhoconnect/middleware/x_domain_session_wrapper.rb +57 -57
  87. data/lib/rhoconnect/model/base.rb +0 -0
  88. data/lib/rhoconnect/read_state.rb +0 -0
  89. data/lib/rhoconnect/rho_indifferent_access.rb +0 -0
  90. data/lib/rhoconnect/server.rb +0 -0
  91. data/lib/rhoconnect/source.rb +0 -0
  92. data/lib/rhoconnect/store.rb +2 -0
  93. data/lib/rhoconnect/store_orm.rb +0 -0
  94. data/lib/rhoconnect/user.rb +0 -0
  95. data/lib/rhoconnect/version.rb +1 -1
  96. data/lib/rhoconnect/web-console/models/doc.js +0 -13
  97. data/lib/rhoconnect/web-console/models/source.js +0 -31
  98. data/lib/rhoconnect/web-console/public/logo.png +0 -0
  99. data/lib/rhoconnect/web-console/server.rb +0 -0
  100. data/lib/rhoconnect/web-console/templates/index.erb +1 -2
  101. data/lib/rhoconnect/web-console/views/home.js +4 -6
  102. data/lib/rhoconnect.rb +1 -3
  103. data/spec/api/api_helper.rb +0 -0
  104. data/spec/api/system/login_spec.rb +0 -0
  105. data/spec/api/system/reset_spec.rb +0 -0
  106. data/spec/api/user/create_user_spec.rb +0 -0
  107. data/spec/api/user/update_user_spec.rb +0 -0
  108. data/spec/api_token_spec.rb +0 -0
  109. data/spec/app_spec.rb +0 -0
  110. data/spec/apps/emptyapp/settings/settings.yml +1 -4
  111. data/spec/apps/jstestapp/settings/settings.yml +0 -3
  112. data/spec/apps/rhotestapp/controllers/ruby/application_controller.rb +0 -0
  113. data/spec/apps/rhotestapp/models/ruby/sample_adapter.rb +0 -0
  114. data/spec/apps/rhotestapp/models/ruby/simple_adapter.rb +0 -0
  115. data/spec/apps/rhotestapp/settings/settings.yml +0 -3
  116. data/spec/apps/rhotestapp/vendor/mygem-0.1.0/lib/mygem/mygem.rb +0 -0
  117. data/spec/apps/rhotestapp/vendor/mygem-0.1.0/lib/mygem.rb +0 -0
  118. data/spec/bulk_data/bulk_data_spec.rb +0 -0
  119. data/spec/client_spec.rb +0 -14
  120. data/spec/client_sync_spec.rb +0 -0
  121. data/spec/doc/base.html +0 -0
  122. data/spec/doc/doc_spec.rb +0 -0
  123. data/spec/doc/footer.html +0 -0
  124. data/spec/doc/header.html +0 -0
  125. data/spec/document_spec.rb +0 -0
  126. data/spec/generator/generator_spec.rb +1 -3
  127. data/spec/jobs/bulk_data_job_spec.rb +0 -0
  128. data/spec/perf/bulk_data_perf_spec.rb +0 -0
  129. data/spec/perf/perf_spec_helper.rb +0 -0
  130. data/spec/perf/store_perf_spec.rb +0 -0
  131. data/spec/read_state_spec.rb +0 -0
  132. data/spec/server/cors_spec.rb +283 -283
  133. data/spec/server/server_spec.rb +0 -15
  134. data/spec/server/x_domain_session_wrapper_spec.rb +150 -150
  135. data/spec/source_adapter_spec.rb +0 -0
  136. data/spec/source_spec.rb +0 -0
  137. data/spec/source_sync_spec.rb +0 -0
  138. data/spec/spec_helper.rb +0 -0
  139. data/spec/store_orm_spec.rb +0 -0
  140. data/spec/store_spec.rb +0 -0
  141. data/spec/sync_states_spec.rb +0 -0
  142. data/spec/testdata/1000-data.txt +0 -0
  143. data/spec/testdata/compressed/compress-data.txt +0 -0
  144. data/spec/user_spec.rb +0 -9
  145. metadata +116 -132
  146. data/bench/benchapp/settings/license.key +0 -1
  147. data/bench/blobapp/settings/license.key +0 -1
  148. data/doc/licensing.txt +0 -18
  149. data/examples/simple/settings/license.key +0 -1
  150. data/generators/templates/application/settings/license.key +0 -1
  151. data/lib/rhoconnect/license.rb +0 -94
  152. data/spec/api/system/get_license_info_spec.rb +0 -15
  153. data/spec/apps/emptyapp/settings/license.key +0 -1
  154. data/spec/apps/jstestapp/settings/license.key +0 -1
  155. data/spec/apps/rhotestapp/settings/license.key +0 -1
  156. data/spec/license_spec.rb +0 -67
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rhoconnect (5.1.1)
4
+ rhoconnect (5.5.0)
5
5
  bundler (~> 1.0)
6
6
  connection_pool (~> 1.2.0)
7
7
  json (~> 1.8)
@@ -17,8 +17,9 @@ PATH
17
17
  GEM
18
18
  remote: https://rubygems.org/
19
19
  specs:
20
- addressable (2.3.7)
21
- arr-pm (0.0.9)
20
+ addressable (2.4.0)
21
+ archive-tar-minitar (0.5.2)
22
+ arr-pm (0.0.10)
22
23
  cabin (> 0)
23
24
  async-rack (0.5.1)
24
25
  rack (~> 1.1)
@@ -26,27 +27,22 @@ GEM
26
27
  builder
27
28
  mime-types
28
29
  xml-simple
29
- backports (3.6.4)
30
+ backports (3.6.8)
30
31
  builder (3.2.2)
31
- cabin (0.7.1)
32
- childprocess (0.5.5)
32
+ cabin (0.9.0)
33
+ childprocess (0.5.9)
33
34
  ffi (~> 1.0, >= 1.0.11)
34
- clamp (0.6.4)
35
- coffee-script (2.3.0)
36
- coffee-script-source
37
- execjs
38
- coffee-script-source (1.9.1)
35
+ clamp (1.0.0)
39
36
  connection_pool (1.2.0)
40
- crack (0.4.2)
37
+ crack (0.4.3)
41
38
  safe_yaml (~> 1.0.0)
42
- daemons (1.2.1)
39
+ daemons (1.2.4)
43
40
  diff-lcs (1.2.5)
44
41
  docile (1.1.5)
45
- eventmachine (1.0.7)
42
+ eventmachine (1.0.9.1)
46
43
  excon (0.22.1)
47
- execjs (2.4.0)
48
44
  ffaker (1.14.0)
49
- ffi (1.9.7)
45
+ ffi (1.9.14)
50
46
  fog (1.11.1)
51
47
  builder
52
48
  excon (~> 0.20)
@@ -58,57 +54,52 @@ GEM
58
54
  nokogiri (~> 1.5.0)
59
55
  ruby-hmac
60
56
  formatador (0.2.5)
61
- fpm (1.3.3)
62
- arr-pm (~> 0.0.9)
57
+ fpm (1.6.3)
58
+ archive-tar-minitar
59
+ arr-pm (~> 0.0.10)
63
60
  backports (>= 2.6.2)
64
61
  cabin (>= 0.6.0)
65
62
  childprocess
66
- clamp (~> 0.6)
63
+ clamp (~> 1.0.0)
67
64
  ffi
68
- json (>= 1.7.7)
69
- hike (1.2.3)
70
- jasmine (1.3.2)
71
- jasmine-core (~> 1.3.1)
72
- rack (~> 1.0)
73
- rspec (>= 1.3.1)
74
- selenium-webdriver (>= 0.1.3)
75
- jasmine-core (1.3.1)
76
- jasmine-headless-webkit (0.8.4)
77
- coffee-script
78
- jasmine-core (~> 1.1)
79
- multi_json
80
- rainbow
81
- sprockets (~> 2)
82
- json (1.8.2)
65
+ json (>= 1.7.7, < 2.0)
66
+ pleaserun (~> 0.0.24)
67
+ ruby-xz
68
+ insist (1.0.0)
69
+ io-like (0.3.0)
70
+ json (1.8.3)
83
71
  mime-types (1.25.1)
84
72
  mono_logger (1.1.0)
85
- multi_json (1.11.0)
73
+ multi_json (1.12.1)
74
+ mustache (0.99.8)
86
75
  net-scp (1.2.1)
87
76
  net-ssh (>= 2.6.5)
88
- net-ssh (2.9.2)
77
+ net-ssh (3.2.0)
89
78
  nokogiri (1.5.11)
90
- rack (1.5.2)
79
+ pleaserun (0.0.24)
80
+ cabin (> 0)
81
+ clamp
82
+ insist
83
+ mustache (= 0.99.8)
84
+ stud
85
+ rack (1.5.5)
91
86
  rack-fiber_pool (0.9.3)
92
87
  rack-protection (1.5.3)
93
88
  rack
94
89
  rack-test (0.6.3)
95
90
  rack (>= 1.0)
96
- rainbow (2.0.0)
97
91
  rake (10.4.2)
98
- rdoc (4.2.0)
99
- json (~> 1.4)
100
- redis (3.2.1)
101
- redis-namespace (1.5.1)
92
+ redis (3.3.1)
93
+ redis-namespace (1.5.2)
102
94
  redis (~> 3.0, >= 3.0.4)
103
- resque (1.25.2)
95
+ resque (1.26.0)
104
96
  mono_logger (~> 1.0)
105
97
  multi_json (~> 1.0)
106
98
  redis-namespace (~> 1.3)
107
99
  sinatra (>= 0.9.2)
108
100
  vegas (~> 0.1.2)
109
- rest-client (1.6.8)
101
+ rest-client (1.6.9)
110
102
  mime-types (~> 1.16)
111
- rdoc (>= 2.4.2)
112
103
  rspec (2.14.1)
113
104
  rspec-core (~> 2.14.0)
114
105
  rspec-expectations (~> 2.14.0)
@@ -118,42 +109,35 @@ GEM
118
109
  diff-lcs (>= 1.1.3, < 2.0)
119
110
  rspec-mocks (2.14.6)
120
111
  ruby-hmac (0.4.0)
121
- rubyzip (1.1.7)
112
+ ruby-xz (0.2.3)
113
+ ffi (~> 1.9)
114
+ io-like (~> 0.3)
115
+ rubyzip (1.2.0)
122
116
  safe_yaml (1.0.4)
123
- selenium-webdriver (2.45.0)
124
- childprocess (~> 0.5)
125
- multi_json (~> 1.0)
126
- rubyzip (~> 1.0)
127
- websocket (~> 1.0)
128
- simplecov (0.9.2)
117
+ simplecov (0.12.0)
129
118
  docile (~> 1.1.0)
130
- multi_json (~> 1.0)
131
- simplecov-html (~> 0.9.0)
132
- simplecov-html (0.9.0)
119
+ json (>= 1.8, < 3)
120
+ simplecov-html (~> 0.10.0)
121
+ simplecov-html (0.10.0)
133
122
  simplecov-rcov (0.2.3)
134
123
  simplecov (>= 0.4.1)
135
- sinatra (1.4.5)
136
- rack (~> 1.4)
124
+ sinatra (1.4.7)
125
+ rack (~> 1.5)
137
126
  rack-protection (~> 1.4)
138
- tilt (~> 1.3, >= 1.3.4)
139
- sprockets (2.12.3)
140
- hike (~> 1.2)
141
- multi_json (~> 1.0)
142
- rack (~> 1.0)
143
- tilt (~> 1.1, != 1.3.0)
144
- sqlite3 (1.3.10)
145
- thin (1.6.3)
127
+ tilt (>= 1.3, < 3)
128
+ sqlite3 (1.3.11)
129
+ stud (0.0.22)
130
+ thin (1.7.0)
146
131
  daemons (~> 1.0, >= 1.0.9)
147
- eventmachine (~> 1.0)
148
- rack (~> 1.0)
132
+ eventmachine (~> 1.0, >= 1.0.4)
133
+ rack (>= 1, < 3)
149
134
  thor (0.18.1)
150
- tilt (1.4.1)
135
+ tilt (2.0.5)
151
136
  vegas (0.1.11)
152
137
  rack (>= 1.0.0)
153
138
  webmock (1.9.3)
154
139
  addressable (>= 2.2.7)
155
140
  crack (>= 0.3.2)
156
- websocket (1.2.1)
157
141
  xml-simple (1.1.5)
158
142
 
159
143
  PLATFORMS
@@ -169,8 +153,6 @@ DEPENDENCIES
169
153
  ffaker (~> 1.14.0)
170
154
  fog (~> 1.11.1)
171
155
  fpm (>= 0.4.26)
172
- jasmine
173
- jasmine-headless-webkit
174
156
  jdbc-sqlite3 (>= 3.7.2)
175
157
  jruby-openssl (>= 0.7.4)
176
158
  puma (~> 1.6.3)
@@ -185,3 +167,6 @@ DEPENDENCIES
185
167
  warbler
186
168
  webmock (~> 1.9.0)
187
169
  win32-process
170
+
171
+ BUNDLED WITH
172
+ 1.13.1
data/LICENSE CHANGED
@@ -1,75 +1,8 @@
1
- An online copy of the following license is available here: http://rhomobile.com/products/rhoconnect/license/
1
+ The MIT License (MIT)
2
+ Copyright (c) 2011-2016 Symbol Technologies LLC
2
3
 
3
- This RhoConnect Commercial License Agreement is a legal agreement between Rhomobile Inc. ("Rhomobile"), and Licensee (either an individual or a legal entity, hereafter referred to as "Licensee") for the Licensed Software (as defined below). The Licensed Software is not open source software and this is not an open source license.
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
5
 
5
- 1. DEFINITIONS
6
- Affiliate of a Party shall mean an entity (i) which is directly or indirectly controlling such Party; (ii) which is under the same direct or indirect ownership or control as such Party; or (iii) which is directly or indirectly owned or controlled by such Party.
6
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7
7
 
8
- Licensee Application shall mean an application (a) developed using a license under Rhomobile's Rhodes framework and (b) which runs on a Mobile Device and synchronizes through the Licensed Software running on a server.
9
-
10
- Licensed Software shall mean the RhoConnect computer software, online or electronic documentation, associated media and printed materials, including the source code, example programs and the documentation delivered by Rhomobile to Licensee in conjunction with this Agreement.
11
-
12
- Support shall mean standard developer support that is provided by Rhomobile to assist eligible Designated Users in using the Licensed Software in accordance with its established standard support procedures.
13
-
14
- Updates shall mean a release or version of the Licensed Software containing enhancements, new features, bug fixes, error corrections and other changes that are generally made available to users of the Licensed Software that have contracted for maintenance and support.
15
-
16
- Device shall mean a specific physical mobile device that interacts with the Licensed Software
17
-
18
- 2. OWNERSHIP
19
- The Licensed Software is protected by copyright laws and international copyright treaties, as well as other intellectual property laws and treaties. The Licensed Software is licensed, not sold.
20
-
21
- Rhomobile shall own all right, title and interest including the intellectual property rights in and to the information on bug fixes or error corrections relating to the Licensed Software that are submitted by Licensee to Rhomobile as well as any intellectual property rights to the correction of any errors, if any. To the extent any rights do not automatically vest in Rhomobile, Licensee assigns, and shall ensure that all of its Affiliates, agents, subcontractors and employees assign, all such rights to Rhomobile.
22
-
23
- 3. VALIDITY OF THE AGREEMENT
24
- By installing, copying, or otherwise using the Licensed Software, Licensee agrees to be bound by the terms of this Agreement. If Licensee does not agree to the terms of this Agreement, Licensee may not install, copy, or otherwise use the Licensed Software. In addition, by installing, copying, or otherwise using any Updates or other components of the Licensed Software that Licensee receives separately as part of the Licensed Software, Licensee agrees to be bound by any additional license terms that accompany such Updates, if any. If Licensee does not agree to the additional license terms that accompany such Updates, Licensee may not install, copy, or otherwise use such Updates. Upon Licensee's acceptance of the terms and conditions of this Agreement and payment of the licensee fee, Rhomobile grants Licensee the right to use the Licensed Software in the manner provided below.
25
-
26
- 4. LICENSE GRANT
27
-
28
- 4.1 Grant
29
- Subject to the terms and conditions of this Agreement, Rhomobile grants to Licensee a non-exclusive, non-transferable, non-sublicensable license to install and use the Licensed Software as contemplated in the applicable documentation and the applicable invoice for the Licensed Software. Licensee is not granted any rights or licenses in the Licensed Software other than those rights expressly granted in this Agreement. Unless otherwise provided in an invoice from Rhomobile or Rhomobile authorized third party sublicensor, Licensee may only install and use the Licensed Software on a single computer ("Server"). If Licensee is explicitly granted a multiple Server license by Rhomobile, or Rhomobile authorized third party sublicensor in an invoice, Licensee may install and use the Licensed Software on not more than the number of Servers listed in the applicable invoice. All uses of the Licensed Software must be in accordance with the documentation provided for the Licensed Software. The Licensed Software is licensed only to Licensee and may not be transferred to any other person or entity without Rhomobile's prior written authorization. Any authorized transferee of the Licensed Software shall be bound in writing by the terms and conditions of this Agreement. In no event may Licensee transfer, assign, rent, lease, sell, or otherwise dispose of the Licensed Software on a temporary or permanent basis except as expressly provided herein. The license granted herein will automatically terminate in the event of any violation of this Agreement by Licensee.
30
-
31
- 4.2 Capacity Restrictions
32
- The Licensed Software shall only be used to support the number of Devices and the number of Licensee Applications set forth in the applicable invoice and paid for. To replace a Device with a new Device for purposes of determining how many Devices are being supported at any one time, the replaced Device must be removed from the RhoConnect directory. Increases in the number of Devices and/or the number of Licensee Applications being supported by the Licenses Software must be purchased in advance.
33
-
34
- 5 LIMITED WARRANTY AND WARRANTY DISCLAIMER
35
- Rhomobile warrants to Licensee for a period of ninety (90) days from the date of Licensee's receipt of the Licensed Software (the "Warranty Period") that the Licensed Software as delivered will conform substantially to Rhomobile's then-current published functional specifications set forth in the documentation for the Licensed Software when installed and operated as contemplated in such documentation. In the event of any nonconformity, Rhomobile (or its designee) may, in its sole discretion, either (i) remedy the nonconformity within a reasonable period after notice and verification thereof or (ii) refund the amount Licensee paid for the Software and terminate this Agreement and the license granted herein; provided, however, that Licensee must return the original and all copies of the Licensed Software to Rhomobile or its authorized representative before Licensee will be entitled to receive any such refund. THIS SECTION 5 STATES LICENSEE'S SOLE REMEDY FOR A BREACH OF THE LIMITED WARRANTY OF THE LICENSED SOFTWARE.
36
-
37
- EXCEPT AS SET FORTH IN SECTION 6, THE LICENSED SOFTWARE IS PROVIDED BY RHOMOBILE AND ITS LICENSORS "AS IS" WITHOUT ANY WARRANTY OF ANY KIND INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. NEITHER RHOMOBILE NOR ITS LICENSORS WARRANT THAT THE LICENSED SOFTWARE IS ERROR-FREE OR THAT IT WILL OPERATE WITHOUT INTERRUPTION. NEITHER RHOMOBILE NOR ITS LICENSORS WARRANT, GUARANTEE OR MAKE ANY REPRESENTATION REGARDING THE USE, OR THE RESULTS OF THE USE OF THE LICENSED SOFTWARE INCLUDING, WITHOUT LIMITATION, THE CORRECTNESS, ACCURACY OR RELIABILITY OF SUCH USE OR RESULTS. LICENSEE ACKNOWLEDGES AND AGREES THAT RHOMOBILE IS NOT RESPONSIBLE FOR AND WILL HAVE NO LIABILITY FOR HARDWARE, SOFTWARE, CONTENT OR OTHER ITEMS OR ANY SERVICES PROVIDED BY ANY PERSONS OTHER THAN RHOMOBILE.
38
-
39
- 6. LIMITATION OF LIABILITY
40
- TO THE MAXIMUM EXTENT PERMITTED BY LAW, RHOMOBILE AND ITS LICENSORS WILL NOT BE LIABLE WITH RESPECT TO ANY SUBJECT MATTER OF THIS AGREEMENT UNDER ANY CONTRACT, NEGLIGENCE, STRICT LIABILITY OR OTHER LEGAL OR EQUITABLE THEORY FOR: (I) ANY AMOUNTS IN EXCESS IN THE AGGREGATE OF THE AMOUNTS YOU PAID FOR THE LICENSED SOFTWARE; (II) ANY LOST DATA OR OTHER EXEMPLARY, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, LOSS OF DATA, OR ANY AND ALL LOST PROFITS, EVEN IF RHOMOBILE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES; OR (III) THE COST OF PROCURING SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY. THE LIMITATION OF LIABILITY SET FORTH IN THIS SECTION 6 SHALL NOT APPLY TO THE EXTENT PROHIBITED BY APPLICABLE LAW.
41
-
42
- 7. SUPPORT AND UPDATES
43
- Licensee shall be eligible to receive Support and Updates for one year from the date of the delivery of the Licensed Software to Licensee, in accordance with Rhomobile's then current policies and procedures, if any. After that time period the customer shall be entitled to execute a maintenance agreement which will entitle them to ongoing support and updates. Licensee may purchase additional Support and Updates following the Initial Term at 18% of the original price of the Licensed Software.
44
-
45
- 8. EXPORT
46
-
47
- Licensee acknowledges that the Licensed Software may be subject to the export and import control laws of the United States and any country where the Licensed Software is manufactured or received. Licensee agrees not to violate any such laws. Licensee further agrees not to export the Licensed Software to any prohibited country, entity or person for which an export license or other governmental approval is required. Obtaining any necessary governmental approval or licenses is solely the obligation of Licensee.
48
-
49
- 9. GENERAL PROVISIONS
50
-
51
- 9.1 Marketing
52
- Rhomobile may include Licensee's company name and logo in a publicly available list of Rhomobile Licensees and in its public communications.
53
-
54
- 9.2 No Assignment
55
- Licensee shall not be entitled to assign or transfer all or any of its rights, benefits and obligations under this Agreement without the prior written consent of Rhomobile, which shall not be unreasonably withheld.
56
-
57
- 9.3 Termination
58
- This Agreement will remain in force until terminated. Licensee may terminate this Agreement at any time upon providing written notice thirty days in advance of the termination. Rhomobile may terminate this Agreement if Licensee breaches any of the terms or conditions hereunder. Licensee agrees to destroy or return to Rhomobile the original and all copies of the Licensed Software immediately upon any termination of this Agreement, and certify the same in writing if requested.
59
-
60
- 9.4 Surviving Sections
61
- Any terms and conditions that by their nature or otherwise reasonably should survive a cancellation or termination of this Agreement shall also be deemed to survive. Such terms and conditions include, but are not limited to the following Sections: 2, 4, 5, 6, 7, 8, 9, 11, and 12of this Agreement. Notwithstanding the foregoing, Section 4.1 shall not survive if the Agreement is terminated for material breach.
62
-
63
- 9.5 Entire Agreement
64
- This Agreement constitutes the complete agreement between the parties and supersedes all prior or contemporaneous discussions, representations, and proposals, written or oral, with respect to the subject matters discussed herein No modification of this Agreement shall be effective unless contained in a writing executed by an authorized representative of each party. No term or condition contained in Licensee's purchase order shall apply unless expressly accepted by Rhomobile in writing. If any provision of the Agreement is found void or unenforceable, the remainder shall remain valid and enforceable according to its terms. If any remedy provided is determined to have failed for its essential purpose, all limitations of liability and exclusions of damages set forth in this Agreement shall remain in effect.
65
-
66
- 9.6 Notices
67
- Any notice given by one party to the other shall be deemed properly given and deemed received if specifically acknowledged by the receiving party in writing or when successfully delivered to the recipient by hand, fax, or special courier during normal business hours on a business day to the addresses specified below. Each communication and document made or delivered by one party to the other party pursuant to this Agreement shall be in the English language or accompanied by a translation thereof.
68
- Notices to Rhomobile shall be given to:
69
-
70
- Rhomobile, Inc.
71
- 3031 Tisch Way Suite 1002
72
- San Jose, CA 95128
73
-
74
- 9.7 Governing Law and Legal Venue
75
- This Agreement shall be governed by and construed in accordance with the federal laws of the United States of America and the internal laws of the State of California without giving effect to any choice of law rule that would result in the application of the laws of any other jurisdiction. The United Nations Convention on Contracts for the International Sale of Goods (CISG) shall not apply. Each Party (a) hereby irrevocably submits itself to and consents to the jurisdiction of the United States District Court for the Northern District of California (or if such court lacks jurisdiction, the state courts of the State of California) for the purposes of any action, claim, suit or proceeding between the Parties in connection with any controversy, claim, or dispute arising out of or relating to this Agreement; and (b) hereby waives, and agrees not to assert by way of motion, as a defense or otherwise, in any such action, claim, suit or proceeding, any claim that is not personally subject to the jurisdiction of such court(s), that the action, claim, suit or proceeding is brought in an inconvenient forum or that the venue of the action, claim, suit or proceeding is improper.
8
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
data/bench/bench CHANGED
File without changes
@@ -8,15 +8,12 @@
8
8
 
9
9
  :test:
10
10
  :syncserver: http://localhost:9292/application/
11
- :licensefile: settings/license.key
12
11
  :redis: localhost:6379
13
12
  :log_disabled: true
14
13
  :development:
15
14
  :syncserver: http://localhost:9292/application/
16
- :licensefile: settings/license.key
17
15
  :redis: localhost:6379
18
16
  :log_disabled: true
19
17
  :production:
20
18
  :syncserver: http://localhost:9292/application/
21
- :licensefile: settings/license.key
22
19
  :redis: localhost:6379
@@ -6,13 +6,10 @@
6
6
  :test:
7
7
  :redis: localhost:6379
8
8
  :syncserver: http://localhost:9292/application/
9
- :licensefile: settings/license.key
10
9
  :development:
11
10
  :redis: localhost:6379
12
11
  :syncserver: http://localhost:9292/application/
13
- :licensefile: settings/license.key
14
12
  :log_disabled: true
15
13
  :production:
16
14
  :redis: localhost:6379
17
15
  :syncserver: http://localhost:9292/application/
18
- :licensefile: settings/license.key
File without changes
File without changes
File without changes
File without changes
File without changes
data/bench/lib/bench.rb CHANGED
@@ -55,14 +55,6 @@ module Bench
55
55
  end
56
56
  end
57
57
 
58
- def get_server_license_info
59
- token = get_token
60
- @body = RestClient.get(
61
- "#{@host}/rc/#{Rhoconnect::API_VERSION}/system/license",
62
- {'X-RhoConnect-API-TOKEN' => token, :content_type => :json})
63
- JSON.parse(@body.to_s)
64
- end
65
-
66
58
  def get_server_state(doc)
67
59
  token = get_token
68
60
  @body = RestClient.get(
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/bench/prepare_bench CHANGED
File without changes
data/bench/run_bench.sh CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -156,28 +156,6 @@ begin
156
156
  exit 10
157
157
  end
158
158
 
159
- # get license info from the server
160
- rc_license_info = Bench.get_server_license_info
161
-
162
- if options[:num_clients] == 0
163
- n_clients = rc_license_info['seats'].to_i / options[:num_iterations]
164
- if n_clients > 20
165
- n_clients = 20
166
- end
167
- options[:num_clients] = n_clients
168
- end
169
- # calculate appropriate numbers for concurrency
170
- total_num_clients = options[:num_iterations].to_i*options[:num_clients].to_i
171
- if total_num_clients > rc_license_info['seats']
172
- puts ""
173
- puts " In order to run benchmark tests with #{options[:num_clients]} concurrent clients"
174
- puts " for #{options[:num_iterations]} iterations you need to have a license with at least #{total_num_clients} seats."
175
- puts " Your application have only #{rc_license_info['seats']} seats available."
176
- puts " Adjust the number of concurrent clients or number of iterations to fit within the available license."
177
- puts ""
178
- exit 10
179
- end
180
-
181
159
  # run test in a loop from 1 to max_clients concurrency
182
160
  concurrency_array = []
183
161
  if options[:max_clients].to_i > 1
@@ -5,7 +5,6 @@ Execute.define_task do
5
5
  method_option :push_server, :aliases => "-P", :type => :string, :desc => "Push server settings (default: #{PUSH_SERVER_URL})"
6
6
  method_option :api_token, :aliases => "-t", :type => :string, :desc => "API token (default: #{API_TOKEN})"
7
7
  method_option :config, :aliases => "-f", :type => :string, :desc => "/path/to/rhoconnect/settings.yml file"
8
- method_option :licenseflie, :aliases => "-l", :type => :string, :desc => "/path/to/license.key file"
9
8
  def restart
10
9
  puts "Stop rhoconnect server ..."
11
10
  stop
@@ -5,7 +5,6 @@ Execute.define_task do
5
5
  method_option :push_server, :aliases => "-P", :type => :string, :desc => "Push server settings (default: #{PUSH_SERVER_URL})"
6
6
  method_option :api_token, :aliases => "-t", :type => :string, :desc => "API token (default: #{API_TOKEN})"
7
7
  method_option :config, :aliases => "-f", :type => :string, :desc => "/path/to/rhoconnect/settings.yml file"
8
- method_option :licenseflie, :aliases => "-l", :type => :string, :desc => "/path/to/license.key file"
9
8
  def start(params = {})
10
9
  # if this command called from 'restart', then params not emply
11
10
  params = options if params.empty?
@@ -16,13 +15,7 @@ Execute.define_task do
16
15
  exit(-1)
17
16
  end
18
17
  end
19
- if options[:licenseflie] # -l license.key
20
- unless File.exist?(params[:licenseflie])
21
- puts "#{options[:licenseflie]}: No such file"
22
- exit(-1)
23
- end
24
- licensefile = File.expand_path(options[:licenseflie])
25
- end
18
+
26
19
  settings = config(options[:config])
27
20
 
28
21
  port = (params[:port]) ? params[:port] : URI.parse(settings[:syncserver]).port
@@ -43,7 +36,6 @@ Execute.define_task do
43
36
  token = (params[:api_token]) ? params[:api_token] : API_TOKEN
44
37
  options = { :syncserver => "http://localhost:#{port}", :redis => redis_url,
45
38
  :push_server => push_server, :api_token => token }
46
- options[:licensefile] = licensefile if licensefile
47
39
  begin
48
40
  require 'securerandom'
49
41
  options[:secret] = SecureRandom.hex(64)
@@ -60,7 +52,7 @@ Execute.define_task do
60
52
  command = "bundle exec rackup -s #{defined?(JRUBY_VERSION) ? 'puma' : 'thin'}"
61
53
  rackup_config = settings[:rackup]
62
54
  command.sub!(/bundle exec /, '') if(rackup_config != "config.ru")
63
- # Set environment varialbes: 'API_TOKEN', 'REDIS_URL', 'RHOCONNECT_LICENSE'
55
+ # Set environment varialbes: 'API_TOKEN', 'REDIS_URL'
64
56
  env = {}
65
57
  if params[:api_token]
66
58
  env["API_TOKEN"] = params[:api_token]
@@ -68,10 +60,6 @@ Execute.define_task do
68
60
  if params[:redis]
69
61
  env["REDIS_URL"] = params[:redis]
70
62
  end
71
- if licensefile
72
- license = IO.read(licensefile).strip
73
- env["RHOCONNECT_LICENSE"] = license
74
- end
75
63
 
76
64
  if jruby?
77
65
  puts 'Starting rhoconnect in jruby environment...'
data/doc/adapters-crm.txt CHANGED
@@ -226,6 +226,6 @@ Type the following command in the CRM application's root directory:
226
226
 
227
227
 
228
228
  ## Meta
229
- Created and maintained by Rhomobile Inc.
229
+ Created and maintained by Symbol Technologies, Inc.
230
230
 
231
231
  Released under the [MIT License](http://www.opensource.org/licenses/mit-license.php).
@@ -32,7 +32,7 @@ To execute the Rhoconnect Benchmark test, use the `rhoconnect-benchmark` command
32
32
  <tr>
33
33
  <td width="20">-C</td>
34
34
  <td width="200"><code>--nclients NUMBER</code></td>
35
- <td>Specifies how many concurrent clients to emulate during the test. If this option is omitted, then the number of simulated clients will be determined based on the number of available seats in your Rhoconnect application's license.</td>
35
+ <td>Specifies how many concurrent clients to emulate during the test.</td>
36
36
  </tr>
37
37
  <tr>
38
38
  <td width="20">-R</td>
data/doc/benchmarks.txt CHANGED
@@ -157,7 +157,6 @@ Before running bench scripts you need configure bench application settings prope
157
157
  Edit rhoconnect/bench/benchapp/settings/settings.yml and set redis and syncserver properties:
158
158
  <pre>
159
159
  :development:
160
- :licensefile: settings/license.key
161
160
  :redis: server_ip_address:6379
162
161
  :syncserver: http://server_dns_public_name:80/api/application/
163
162
  </pre>
data/doc/bulk-sync.txt CHANGED
@@ -60,7 +60,6 @@ By default, bulk sync data files will be stored in the application's root folder
60
60
  :::yaml
61
61
  :development:
62
62
  :redis: localhost:6379
63
- :licensefile: settings/license.key
64
63
  :syncserver: http://localhost:9292/application/
65
64
  :bulk_sync_poll_interval: 3600
66
65
 
data/doc/command-line.txt CHANGED
@@ -34,7 +34,6 @@ For example:
34
34
  Generating with app generator:
35
35
  [ADDED] storeserver/config.ru
36
36
  [ADDED] storeserver/settings/settings.yml
37
- [ADDED] storeserver/settings/license.key
38
37
  [ADDED] storeserver/application.rb
39
38
  [ADDED] storeserver/Rakefile
40
39
  [ADDED] storeserver/Gemfile
@@ -45,7 +44,6 @@ Here's a basic rundown of each of the files that were just generated:
45
44
 
46
45
  * **config.ru** - This is a rackup file which will load your application. RhoConnect uses the excellent [sinatra](http://www.sinatrarb.com/) web framework to run the application.
47
46
  * **settings/settings.yml** - This contains settings such as your redis connection, which source adapters exist and their parameters. You can also put custom settings here.
48
- * **settings/license.key** - The RhoConnect [license](/rhoconnect/licensing) associated with your application. The default license allows up to 10 devices to synchronize with the application.
49
47
  * **application.rb** - The RhoConnect application class where you can implement authentication. You can also add other custom methods here to use in your application. This class is a singleton, so all methods should be added to the `class << self` block.
50
48
  * **Rakefile** - This contains tasks that can be run from the terminal.
51
49
  * **Gemfile** - This file specifies application's dependencies using [bundler](http://gembundler.com/).
@@ -102,7 +100,6 @@ rhoconnect, type `rhoconnect` or `rhoconnect help`.
102
100
  -P, [--push-server=PUSH_SERVER] # Push server settings (default: http://someappname@localhost:8675/)
103
101
  -t, [--api-token=API_TOKEN] # API token (default: my-rhoconnect-token)
104
102
  -f, [--config=CONFIG] # /path/to/rhoconnect/settings.yml file
105
- -l, [--licenseflie=LICENSEFLIE] # /path/to/license.key file
106
103
 
107
104
  ### Installing DTach (Mac OS / Linux only)
108
105
 
@@ -131,7 +128,6 @@ with an array of redis servers you are going to use:
131
128
  :::yaml
132
129
  # ...
133
130
  :production:
134
- :licensefile: settings/license.key
135
131
  :syncserver: http://localhost:9292/api/application/
136
132
  :push_server: http://appname:secret@localhost:8675/
137
133
  # One or more redis servers
@@ -172,8 +168,6 @@ When you start RhoConnect in a directory that does not contain a rhoconnect sour
172
168
 
173
169
  Once .rhoconnect.yml has been created in your user home directory, you can manually modify it for the next time you start RhoConnect. For example, you could change the port upon which the syncserver runs.
174
170
 
175
- Running RhoConnect this way uses the default license key in the RhoConnect gem. You can use other license keys by using the `-l` option in the `rhoconnect start` command.
176
-
177
171
  #### Opening the Web Console
178
172
 
179
173
  If everything went well when you started RhoConnect, you should see the following in your console:
data/doc/java-plugin.txt CHANGED
@@ -375,12 +375,6 @@ Reset the server: flush db and re-bootstrap server.
375
375
  :::java
376
376
  public static ClientResponse reset(String url, String token);
377
377
 
378
- #### `GET /rc/v1/system/license`
379
- Returns license information of the currently used license.
380
-
381
- :::java
382
- public static ClientResponse license(String url, String token);
383
-
384
378
  #### `GET /rc/v1/system/appserver`
385
379
  Returns the url of the plugin’s backend from the RhoConnect server.
386
380
 
@@ -73,10 +73,4 @@ This file contains all source adapter options and settings, such as the redis se
73
73
 
74
74
  :production:
75
75
  :redis: myredishost:6379
76
- :licensefile: settings/license.key
77
- :syncserver: http://localhost:9292/application/
78
-
79
- ## settings/license.key
80
- This contains your RhoConnect license key text. By default, a RhoConnect application comes with a 10 device license. Please see the [licensing page](/rhoconnect/licensing) for more details.
81
-
82
-
76
+ :syncserver: http://localhost:9292/application/
data/doc/public/cli.txt CHANGED
@@ -34,7 +34,6 @@ For example:
34
34
  Generating with app generator:
35
35
  [ADDED] storeserver/config.ru
36
36
  [ADDED] storeserver/settings/settings.yml
37
- [ADDED] storeserver/settings/license.key
38
37
  [ADDED] storeserver/application.rb
39
38
  [ADDED] storeserver/Rakefile
40
39
  [ADDED] storeserver/Gemfile
@@ -45,7 +44,6 @@ Here's a basic rundown of each of the files that were just generated:
45
44
 
46
45
  * **config.ru** - This is a rackup file which will load your application. RhoConnect uses the excellent [sinatra](http://www.sinatrarb.com/) web framework to run the application.
47
46
  * **settings/settings.yml** - This contains settings such as your redis connection, which source adapters exist and their parameters. You can also put custom settings here.
48
- * **settings/license.key** - The RhoConnect [license](/rhoconnect/licensing) associated with your application. The default license allows up to 10 devices to synchronize with the application.
49
47
  * **application.rb** - The RhoConnect application class where you can implement authentication. You can also add other custom methods here to use in your application. This class is a singleton, so all methods should be added to the `class << self` block.
50
48
  * **Rakefile** - This contains tasks that can be run from the terminal.
51
49
  * **Gemfile** - This file specifies application's dependencies using [bundler](http://gembundler.com/).
File without changes
File without changes
File without changes