groupdocs 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (324) hide show
  1. checksums.yaml +7 -0
  2. data/.travis.yml +9 -9
  3. data/CHANGELOG.md +482 -477
  4. data/Gemfile +3 -3
  5. data/LICENSE.txt +21 -21
  6. data/README.md +94 -94
  7. data/Rakefile +9 -9
  8. data/examples/README.md +12 -12
  9. data/examples/api-samples/Gemfile +5 -5
  10. data/examples/api-samples/Gemfile.lock +49 -49
  11. data/examples/api-samples/README.md +23 -23
  12. data/examples/api-samples/public/css/style.css +229 -229
  13. data/examples/api-samples/public/docs/annotation-sample.html +167 -167
  14. data/examples/api-samples/public/docs/docco.css +500 -500
  15. data/examples/api-samples/public/docs/envelope-sample.html +374 -374
  16. data/examples/api-samples/public/docs/sample01.html +181 -181
  17. data/examples/api-samples/public/docs/sample02.html +199 -199
  18. data/examples/api-samples/public/docs/sample03.html +318 -318
  19. data/examples/api-samples/public/docs/sample04.html +217 -217
  20. data/examples/api-samples/public/docs/sample05.html +296 -296
  21. data/examples/api-samples/public/docs/sample06.html +347 -347
  22. data/examples/api-samples/public/docs/sample07.html +209 -209
  23. data/examples/api-samples/public/docs/sample08.html +277 -277
  24. data/examples/api-samples/public/docs/sample09.html +314 -314
  25. data/examples/api-samples/public/docs/sample10.html +270 -270
  26. data/examples/api-samples/public/docs/sample11.html +462 -462
  27. data/examples/api-samples/public/docs/sample12.html +199 -199
  28. data/examples/api-samples/public/docs/sample13.html +201 -201
  29. data/examples/api-samples/public/docs/sample14.html +204 -204
  30. data/examples/api-samples/public/docs/sample15.html +182 -182
  31. data/examples/api-samples/public/docs/sample16.html +234 -234
  32. data/examples/api-samples/public/docs/sample17.html +309 -309
  33. data/examples/api-samples/public/docs/sample18.html +721 -721
  34. data/examples/api-samples/public/docs/sample19.html +631 -631
  35. data/examples/api-samples/public/docs/sample20.html +230 -230
  36. data/examples/api-samples/public/docs/sample21.html +790 -790
  37. data/examples/api-samples/public/docs/sample22.html +408 -408
  38. data/examples/api-samples/public/docs/sample25.html +550 -550
  39. data/examples/api-samples/public/templates/base-simple_source.html +191 -191
  40. data/examples/api-samples/public/templates/testdocument.html +100 -100
  41. data/examples/api-samples/public/templates/welcome.htm +137 -137
  42. data/examples/api-samples/samples/annotation-sample.rb +56 -56
  43. data/examples/api-samples/samples/envelope-sample.rb +133 -133
  44. data/examples/api-samples/samples/sample01.rb +44 -44
  45. data/examples/api-samples/samples/sample02.rb +50 -50
  46. data/examples/api-samples/samples/sample03.rb +79 -79
  47. data/examples/api-samples/samples/sample04.rb +54 -54
  48. data/examples/api-samples/samples/sample05.rb +83 -83
  49. data/examples/api-samples/samples/sample06.rb +86 -86
  50. data/examples/api-samples/samples/sample07.rb +59 -59
  51. data/examples/api-samples/samples/sample08.rb +76 -76
  52. data/examples/api-samples/samples/sample09.rb +85 -85
  53. data/examples/api-samples/samples/sample10.rb +70 -70
  54. data/examples/api-samples/samples/sample11.rb +132 -132
  55. data/examples/api-samples/samples/sample12.rb +48 -48
  56. data/examples/api-samples/samples/sample13.rb +49 -49
  57. data/examples/api-samples/samples/sample14.rb +54 -54
  58. data/examples/api-samples/samples/sample15.rb +43 -43
  59. data/examples/api-samples/samples/sample16.rb +57 -57
  60. data/examples/api-samples/samples/sample17.rb +70 -70
  61. data/examples/api-samples/samples/sample18.rb +190 -190
  62. data/examples/api-samples/samples/sample19.rb +188 -188
  63. data/examples/api-samples/samples/sample20.rb +68 -68
  64. data/examples/api-samples/samples/sample21.rb +212 -212
  65. data/examples/api-samples/samples/sample22.rb +109 -109
  66. data/examples/api-samples/samples/sample25.rb +127 -127
  67. data/examples/api-samples/views/_others_samples.haml +233 -233
  68. data/examples/api-samples/views/annotation_sample.haml +63 -63
  69. data/examples/api-samples/views/envelope_sample.haml +72 -72
  70. data/examples/api-samples/views/index.haml +235 -235
  71. data/examples/api-samples/views/layout.haml +3 -3
  72. data/examples/api-samples/views/sample01.haml +63 -63
  73. data/examples/api-samples/views/sample02.haml +52 -52
  74. data/examples/api-samples/views/sample03.haml +87 -87
  75. data/examples/api-samples/views/sample04.haml +55 -55
  76. data/examples/api-samples/views/sample05.haml +86 -86
  77. data/examples/api-samples/views/sample06.haml +58 -58
  78. data/examples/api-samples/views/sample07.haml +52 -52
  79. data/examples/api-samples/views/sample08.haml +100 -100
  80. data/examples/api-samples/views/sample09.haml +95 -95
  81. data/examples/api-samples/views/sample10.haml +93 -93
  82. data/examples/api-samples/views/sample11.haml +140 -140
  83. data/examples/api-samples/views/sample12.haml +68 -68
  84. data/examples/api-samples/views/sample13.haml +64 -64
  85. data/examples/api-samples/views/sample14.haml +60 -60
  86. data/examples/api-samples/views/sample15.haml +51 -51
  87. data/examples/api-samples/views/sample16.haml +50 -50
  88. data/examples/api-samples/views/sample17.haml +54 -54
  89. data/examples/api-samples/views/sample18.haml +143 -143
  90. data/examples/api-samples/views/sample19.haml +92 -92
  91. data/examples/api-samples/views/sample20.haml +54 -54
  92. data/examples/api-samples/views/sample21.haml +123 -123
  93. data/examples/api-samples/views/sample22.haml +106 -106
  94. data/examples/api-samples/views/sample25.haml +101 -101
  95. data/examples/api-samples/views/sample31.haml +2 -2
  96. data/examples/api-samples/web.rb +20 -20
  97. data/examples/viewer/Gemfile +5 -5
  98. data/examples/viewer/app.rb +52 -52
  99. data/groupdocs.gemspec +31 -31
  100. data/lib/groupdocs.rb +62 -62
  101. data/lib/groupdocs/api.rb +6 -6
  102. data/lib/groupdocs/api/entity.rb +112 -112
  103. data/lib/groupdocs/api/helpers.rb +11 -11
  104. data/lib/groupdocs/api/helpers/access_mode_helper.rb +27 -27
  105. data/lib/groupdocs/api/helpers/access_rights_helper.rb +55 -55
  106. data/lib/groupdocs/api/helpers/accessor_helper.rb +30 -30
  107. data/lib/groupdocs/api/helpers/byte_flag_helper.rb +49 -49
  108. data/lib/groupdocs/api/helpers/credentials_helper.rb +35 -35
  109. data/lib/groupdocs/api/helpers/mime_helper.rb +21 -21
  110. data/lib/groupdocs/api/helpers/path_helper.rb +28 -28
  111. data/lib/groupdocs/api/helpers/rest_helper.rb +99 -99
  112. data/lib/groupdocs/api/helpers/signature_public_helper.rb +22 -22
  113. data/lib/groupdocs/api/helpers/status_helper.rb +27 -27
  114. data/lib/groupdocs/api/helpers/url_helper.rb +101 -101
  115. data/lib/groupdocs/api/request.rb +91 -91
  116. data/lib/groupdocs/datasource.rb +249 -249
  117. data/lib/groupdocs/datasource/field.rb +39 -39
  118. data/lib/groupdocs/document.rb +1550 -1550
  119. data/lib/groupdocs/document/annotation.rb +421 -421
  120. data/lib/groupdocs/document/annotation/reply.rb +173 -173
  121. data/lib/groupdocs/document/annotation/reviewer.rb +66 -66
  122. data/lib/groupdocs/document/change.rb +56 -56
  123. data/lib/groupdocs/document/field.rb +53 -53
  124. data/lib/groupdocs/document/metadata.rb +32 -32
  125. data/lib/groupdocs/document/rectangle.rb +18 -18
  126. data/lib/groupdocs/document/view.rb +36 -36
  127. data/lib/groupdocs/errors.rb +8 -8
  128. data/lib/groupdocs/job.rb +468 -468
  129. data/lib/groupdocs/questionnaire.rb +530 -530
  130. data/lib/groupdocs/questionnaire/collector.rb +335 -335
  131. data/lib/groupdocs/questionnaire/execution.rb +181 -181
  132. data/lib/groupdocs/questionnaire/page.rb +43 -43
  133. data/lib/groupdocs/questionnaire/question.rb +108 -108
  134. data/lib/groupdocs/questionnaire/question/answer.rb +15 -15
  135. data/lib/groupdocs/signature.rb +380 -380
  136. data/lib/groupdocs/signature/contact.rb +181 -181
  137. data/lib/groupdocs/signature/envelope.rb +747 -747
  138. data/lib/groupdocs/signature/envelope/log.rb +20 -20
  139. data/lib/groupdocs/signature/field.rb +286 -286
  140. data/lib/groupdocs/signature/field/location.rb +71 -71
  141. data/lib/groupdocs/signature/form.rb +804 -804
  142. data/lib/groupdocs/signature/list.rb +92 -92
  143. data/lib/groupdocs/signature/recipient.rb +79 -79
  144. data/lib/groupdocs/signature/role.rb +54 -54
  145. data/lib/groupdocs/signature/shared.rb +6 -6
  146. data/lib/groupdocs/signature/shared/document_methods.rb +158 -158
  147. data/lib/groupdocs/signature/shared/entity_fields.rb +76 -76
  148. data/lib/groupdocs/signature/shared/entity_methods.rb +144 -144
  149. data/lib/groupdocs/signature/shared/field_methods.rb +354 -354
  150. data/lib/groupdocs/signature/shared/recipient_methods.rb +75 -75
  151. data/lib/groupdocs/signature/shared/resource_methods.rb +65 -65
  152. data/lib/groupdocs/signature/template.rb +124 -124
  153. data/lib/groupdocs/storage.rb +44 -44
  154. data/lib/groupdocs/storage/file.rb +432 -432
  155. data/lib/groupdocs/storage/folder.rb +288 -288
  156. data/lib/groupdocs/storage/package.rb +48 -48
  157. data/lib/groupdocs/storage/provider.rb +32 -32
  158. data/lib/groupdocs/subscription.rb +323 -323
  159. data/lib/groupdocs/subscription/limit.rb +20 -20
  160. data/lib/groupdocs/user.rb +955 -930
  161. data/lib/groupdocs/version.rb +3 -3
  162. data/spec/groupdocs/api/entity_spec.rb +55 -55
  163. data/spec/groupdocs/api/helpers/access_mode_helper_spec.rb +21 -21
  164. data/spec/groupdocs/api/helpers/access_rights_helper_spec.rb +43 -43
  165. data/spec/groupdocs/api/helpers/accessor_helper_spec.rb +16 -16
  166. data/spec/groupdocs/api/helpers/byte_flag_helper_spec.rb +23 -23
  167. data/spec/groupdocs/api/helpers/credentials_helpers_spec.rb +48 -48
  168. data/spec/groupdocs/api/helpers/mime_helper_spec.rb +16 -16
  169. data/spec/groupdocs/api/helpers/path_helper_spec.rb +15 -15
  170. data/spec/groupdocs/api/helpers/rest_helper_spec.rb +161 -161
  171. data/spec/groupdocs/api/helpers/signature_public_helper_spec.rb +21 -21
  172. data/spec/groupdocs/api/helpers/status_helper_spec.rb +22 -22
  173. data/spec/groupdocs/api/helpers/url_helper_spec.rb +112 -112
  174. data/spec/groupdocs/api/request_spec.rb +112 -112
  175. data/spec/groupdocs/datasource/field_spec.rb +29 -29
  176. data/spec/groupdocs/datasource_spec.rb +145 -145
  177. data/spec/groupdocs/document/annotation/reply_spec.rb +154 -154
  178. data/spec/groupdocs/document/annotation/reviewer_spec.rb +51 -51
  179. data/spec/groupdocs/document/annotation_spec.rb +234 -234
  180. data/spec/groupdocs/document/change_spec.rb +39 -39
  181. data/spec/groupdocs/document/field_spec.rb +28 -28
  182. data/spec/groupdocs/document/metadata_spec.rb +21 -21
  183. data/spec/groupdocs/document/rectangle_spec.rb +14 -14
  184. data/spec/groupdocs/document/view_spec.rb +33 -33
  185. data/spec/groupdocs/document_spec.rb +859 -859
  186. data/spec/groupdocs/errors_spec.rb +7 -7
  187. data/spec/groupdocs/job_spec.rb +323 -323
  188. data/spec/groupdocs/questionnaire/collector_spec.rb +197 -197
  189. data/spec/groupdocs/questionnaire/execution_spec.rb +162 -162
  190. data/spec/groupdocs/questionnaire/page_spec.rb +47 -47
  191. data/spec/groupdocs/questionnaire/question/answer_spec.rb +9 -9
  192. data/spec/groupdocs/questionnaire/question_spec.rb +75 -75
  193. data/spec/groupdocs/questionnaire_spec.rb +295 -295
  194. data/spec/groupdocs/signature/contact_spec.rb +142 -142
  195. data/spec/groupdocs/signature/envelope/log_spec.rb +15 -15
  196. data/spec/groupdocs/signature/envelope_spec.rb +384 -384
  197. data/spec/groupdocs/signature/field/location_spec.rb +40 -40
  198. data/spec/groupdocs/signature/field_spec.rb +235 -235
  199. data/spec/groupdocs/signature/form_spec.rb +205 -205
  200. data/spec/groupdocs/signature/list_spec.rb +87 -87
  201. data/spec/groupdocs/signature/recipient_spec.rb +26 -26
  202. data/spec/groupdocs/signature/role_spec.rb +47 -47
  203. data/spec/groupdocs/signature/template_spec.rb +80 -80
  204. data/spec/groupdocs/signature_spec.rb +194 -194
  205. data/spec/groupdocs/storage/file_spec.rb +303 -303
  206. data/spec/groupdocs/storage/folder_spec.rb +270 -270
  207. data/spec/groupdocs/storage/package_spec.rb +38 -38
  208. data/spec/groupdocs/storage/provider_spec.rb +21 -21
  209. data/spec/groupdocs/storage_spec.rb +27 -27
  210. data/spec/groupdocs/subscription/limit_spec.rb +16 -16
  211. data/spec/groupdocs/subscription_spec.rb +74 -74
  212. data/spec/groupdocs/user_spec.rb +257 -257
  213. data/spec/groupdocs_spec.rb +63 -63
  214. data/spec/spec_helper.rb +73 -73
  215. data/spec/support/json/annotation_access_set.json +11 -11
  216. data/spec/support/json/annotation_collaborators_get.json +16 -16
  217. data/spec/support/json/annotation_collaborators_set.json +16 -16
  218. data/spec/support/json/annotation_create.json +12 -12
  219. data/spec/support/json/annotation_list.json +32 -32
  220. data/spec/support/json/annotation_marker_move.json +10 -10
  221. data/spec/support/json/annotation_move.json +8 -8
  222. data/spec/support/json/annotation_remove.json +9 -9
  223. data/spec/support/json/annotation_replies_create.json +9 -9
  224. data/spec/support/json/annotation_replies_get.json +25 -25
  225. data/spec/support/json/annotation_reviewers_get.json +18 -18
  226. data/spec/support/json/comparison_changes.json +46 -46
  227. data/spec/support/json/comparison_compare.json +8 -8
  228. data/spec/support/json/comparison_document.json +10 -10
  229. data/spec/support/json/contact_add.json +12 -12
  230. data/spec/support/json/contacts_get.json +19 -19
  231. data/spec/support/json/contacts_import.json +8 -8
  232. data/spec/support/json/datasource_add.json +8 -8
  233. data/spec/support/json/datasource_get.json +22 -22
  234. data/spec/support/json/datasource_remove.json +8 -8
  235. data/spec/support/json/datasource_update.json +8 -8
  236. data/spec/support/json/delete_account.json +9 -9
  237. data/spec/support/json/document_access_info_get.json +14 -14
  238. data/spec/support/json/document_convert.json +8 -8
  239. data/spec/support/json/document_datasource.json +10 -10
  240. data/spec/support/json/document_fields.json +34 -34
  241. data/spec/support/json/document_formats.json +8 -8
  242. data/spec/support/json/document_metadata.json +15 -15
  243. data/spec/support/json/document_page_images_get.json +20 -20
  244. data/spec/support/json/document_questionnaire_create.json +9 -9
  245. data/spec/support/json/document_questionnaires.json +23 -23
  246. data/spec/support/json/document_sharers_remove.json +8 -8
  247. data/spec/support/json/document_sharers_set.json +16 -16
  248. data/spec/support/json/document_thumbnails.json +24 -24
  249. data/spec/support/json/document_views.json +32 -32
  250. data/spec/support/json/envelope_get.json +46 -46
  251. data/spec/support/json/envelope_logs.json +16 -16
  252. data/spec/support/json/envelope_recipient_add.json +26 -26
  253. data/spec/support/json/envelopes_all.json +48 -48
  254. data/spec/support/json/envelopes_resources.json +31 -31
  255. data/spec/support/json/file_compress.json +8 -8
  256. data/spec/support/json/file_copy.json +14 -14
  257. data/spec/support/json/file_delete.json +5 -5
  258. data/spec/support/json/file_move.json +14 -14
  259. data/spec/support/json/file_upload.json +8 -8
  260. data/spec/support/json/folder_create.json +8 -8
  261. data/spec/support/json/folder_delete.json +5 -5
  262. data/spec/support/json/folder_list.json +22 -22
  263. data/spec/support/json/folder_move.json +8 -8
  264. data/spec/support/json/folder_sharers_get.json +16 -16
  265. data/spec/support/json/folder_sharers_remove.json +8 -8
  266. data/spec/support/json/folder_sharers_set.json +16 -16
  267. data/spec/support/json/form_get.json +21 -21
  268. data/spec/support/json/forms_all.json +23 -23
  269. data/spec/support/json/job_add_url.json +8 -8
  270. data/spec/support/json/job_create.json +8 -8
  271. data/spec/support/json/job_documents.json +40 -40
  272. data/spec/support/json/job_file_add.json +8 -8
  273. data/spec/support/json/job_get.json +30 -30
  274. data/spec/support/json/job_update.json +7 -7
  275. data/spec/support/json/jobs_get.json +58 -58
  276. data/spec/support/json/list_add.json +12 -12
  277. data/spec/support/json/lists_get.json +19 -19
  278. data/spec/support/json/package_create.json +7 -7
  279. data/spec/support/json/questionnaire_collector.json +17 -17
  280. data/spec/support/json/questionnaire_collectors.json +38 -38
  281. data/spec/support/json/questionnaire_collectors_add.json +10 -10
  282. data/spec/support/json/questionnaire_create.json +10 -10
  283. data/spec/support/json/questionnaire_datasources.json +26 -26
  284. data/spec/support/json/questionnaire_execution_add.json +9 -9
  285. data/spec/support/json/questionnaire_execution_status_set.json +8 -8
  286. data/spec/support/json/questionnaire_execution_update.json +8 -8
  287. data/spec/support/json/questionnaire_executions.json +28 -28
  288. data/spec/support/json/questionnaire_get.json +17 -17
  289. data/spec/support/json/questionnaire_remove.json +8 -8
  290. data/spec/support/json/questionnaire_update.json +8 -8
  291. data/spec/support/json/questionnaires_get.json +40 -40
  292. data/spec/support/json/sign_documents.json +16 -16
  293. data/spec/support/json/signature_create.json +12 -12
  294. data/spec/support/json/signature_field_add.json +25 -25
  295. data/spec/support/json/signature_fields_get.json +27 -27
  296. data/spec/support/json/signature_roles_get.json +17 -17
  297. data/spec/support/json/signatures_get.json +19 -19
  298. data/spec/support/json/storage_info.json +10 -10
  299. data/spec/support/json/subscription_plan_get.json +9 -9
  300. data/spec/support/json/subscription_plans_get.json +17 -17
  301. data/spec/support/json/template_get.json +35 -35
  302. data/spec/support/json/template_get_documents.json +15 -15
  303. data/spec/support/json/template_get_recipients.json +20 -20
  304. data/spec/support/json/templates_all.json +37 -37
  305. data/spec/support/json/templates_get.json +21 -21
  306. data/spec/support/json/update_account.json +10 -10
  307. data/spec/support/json/user_area.json +67 -67
  308. data/spec/support/json/user_embed_key.json +38 -38
  309. data/spec/support/json/user_get_embed_key.json +67 -67
  310. data/spec/support/json/user_login.json +67 -67
  311. data/spec/support/json/user_profile_get.json +24 -24
  312. data/spec/support/json/user_providers.json +31 -31
  313. data/spec/support/json/user_roles.json +25 -25
  314. data/spec/support/json/user_users_get.json +27 -27
  315. data/spec/support/shared_examples/api/entity.rb +39 -39
  316. data/spec/support/shared_examples/api/helpers/access_mode_helper.rb +11 -11
  317. data/spec/support/shared_examples/api/helpers/status_helper.rb +11 -11
  318. data/spec/support/shared_examples/signature/shared/document_methods.rb +68 -68
  319. data/spec/support/shared_examples/signature/shared/entity_fields.rb +56 -56
  320. data/spec/support/shared_examples/signature/shared/entity_methods.rb +116 -116
  321. data/spec/support/shared_examples/signature/shared/field_methods.rb +220 -220
  322. data/spec/support/shared_examples/signature/shared/recipient_methods.rb +46 -46
  323. data/spec/support/shared_examples/signature/shared/resource_methods.rb +46 -46
  324. metadata +35 -55
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a88171fbbbbe502e408a73866d1c183650c6824d
4
+ data.tar.gz: cb94298ca62310b7513c33df98011a413fbc071b
5
+ SHA512:
6
+ metadata.gz: c1245a8ef94d2578cac953fd464382565c36a1c2ce774b3952d3392468a5967de9591336586d04ca5861e18820e2566d9e3705b84ee8bc7b27b091e4a79fdce1
7
+ data.tar.gz: 14f5c75fafc7c54f14c0bbd6bc38411d6859a7835a1c3e745564a41ca7c46a679f46f03096185b93cd73108fa67349d9df3ca51932d0c049523774b34487a330
@@ -1,9 +1,9 @@
1
- language: ruby
2
- rvm:
3
- - 1.8.7
4
- - 1.9.3
5
- - 2.0.0
6
- matrix:
7
- allow_failures:
8
- # TODO: splats are not nice in Ruby 1.8 (see FieldMethods spec)
9
- - rvm: 1.8.7
1
+ language: ruby
2
+ rvm:
3
+ - 1.8.7
4
+ - 1.9.3
5
+ - 2.0.0
6
+ matrix:
7
+ allow_failures:
8
+ # TODO: splats are not nice in Ruby 1.8 (see FieldMethods spec)
9
+ - rvm: 1.8.7
@@ -1,477 +1,482 @@
1
- ## v.2.2.0
2
-
3
- **Changes**
4
- *`Storage::File.upload_google!` changed the required parameters
5
- *`Storage.info!` added new parameters of response
6
-
7
- **New**
8
- *`Signature::Form#modify_form_field!` new method
9
- * Added new attribute `Signature::Field` - "page", "locationX", "locationY", "locationWidth", "locationHeight", "forceNewField"
10
-
11
-
12
- ## v.2.1.0
13
-
14
- **Changes**
15
- *`Document.editor_fields!` return the all json
16
- *`Document.update_changes!` the changes should be array
17
- * Deleted attribute `Document::Annotation::Reviewer` - "full_name"
18
-
19
-
20
- **New**
21
- * Added new attributes `Document::Annotation::Reviewer` - "first_name", "last_name'
22
- * Added new `Document::Page`
23
- * Added new attributes `Document::Change` - "type", "typeStr", "action', "actionStr"
24
-
25
- ## v.2.0.0
26
-
27
- **Changes**
28
- *`Signature::Form#fields!` renamed to `Signature::Form#get_fields!`
29
- *`Signature::Form#get_fields!` the updates in request path
30
- *`Document.self.metadata!` added
31
-
32
- **New**
33
- * Added new attribute `Document` - "documentDescription"
34
- * Added new attribute `Document::MetaData` - "type" and "url"
35
- * Added new attribute `Document::Annotation` - "text"
36
- * Added new attributes `Document::TemplateEditorFields` - "tableNumber" "tableRow" "tableColumn" "tableCell"
37
-
38
- ## v.1.9.0
39
-
40
- **Changes**
41
- * Deleted `Document#page_fixed_html!`
42
- * Deleted `Document#page_html!`
43
- * Deleted `Document#page_html_urls!`
44
- * Deleted `Document#representations!`
45
-
46
- **New**
47
- * Added new attributes `User`
48
- * Added new attribute `Signature::Envelope` - "lockDuringSign"
49
-
50
- ## v1.8.1
51
-
52
- **New**
53
- * Added new attribute "email" to `Signature`
54
-
55
- **Changes**
56
- * `Document#sign_documents!` added new requere parameter for signer "email"
57
-
58
- ## v1.8.0
59
- **New**
60
-
61
- * Added `Document#add_questionnaire_template!`
62
- * Added `Document#update_questionnaire_template!`
63
- * Added `Document#delete_questionnaire_template!`
64
- * Added `Signature::Form#get_participants!`
65
-
66
- ## v1.7.0
67
-
68
- **Changes**
69
-
70
- * `Document::Annotation` updated types of annotation
71
- * `Document#templates!` added parameter<Hash> "settings"
72
- * `Signature::Envelope#sign!` added parameter<Hash> "settings"
73
- * `Signature::Form#sign!` added parameter<Hash> settings and parameter<String> "filepath"
74
- * `Signature::Form#fields!` delete parameter "documentGuid"
75
-
76
- **New**
77
-
78
- * Added `Document#editor_fields!`
79
- * Added `Document#questionnaire_template!`
80
- * Added `Job.get_conversions!`
81
- * Added new attributes `User`
82
- * Added new attributes `DataSource::Field`
83
- * Added new attributes `Document::Annotation`
84
- * Added `Document::TemplateEditorFields`
85
- * Added new attributes `Document::Field`
86
- * Added `Document::TemplateEditorFieldStyle`
87
- * Added `Questionnaire::Collector#decorate!`
88
- * Added `Questionnaire::Collector#get_decorate!`
89
- * Added `Questionnaire::QuestionnaireCollectorStyle`
90
- * Added new attributes `Questionnaire::Question`
91
- * Added new attributes `Signature::Envelope`
92
- * Added `Signature::Form#update_partipicant!`
93
- * Added `Signature::Form#validate_partipicant!`
94
- * Added `Signature::Form#document_fields!`
95
- * Added `Signature::Form#get_logs!`
96
- * Added new attributes `Signature::Recipient`
97
- * Added new attributes `Signature::Template`
98
-
99
-
100
- ## v1.6.0
101
-
102
- **Changes**
103
-
104
- * `Document::Annotation` updated types of annotation
105
- * `Signature::FieldMethods#modify_field!` added parament "recipientGuid"
106
-
107
- **New**
108
-
109
- * Added `Documet::Annotation#remove_annotations!`
110
- * Added `Document::Annotation` attributes
111
- * Added `Document::Annotation::Reply` attributes
112
- * Added `Document` attributes
113
- * Added `Signature.public_get_default_email_template!`
114
- * Added `Signature` template fields
115
- * Added `Signature::Form` attribute
116
- * Added `Signature::Envelope#resend!`
117
-
118
- ## v1.5.9
119
-
120
- **Changes**
121
-
122
- * `Api::Helpers::URL#sign_url` changes an initialize library OpenSSL
123
- * `Api::Helpers::AccessRights` changes an array ACCESS_RIGHTS
124
- * `Document#changes` updates in request path
125
-
126
-
127
- ## v1.5.8
128
-
129
- **Changes**
130
-
131
- * `Api::Helpers::REST#send_request!` new functionality for request type :DELETE
132
- * `Document#access_mode_set!` updates in request path
133
- * `Document#details!` updates in request path
134
- * `Document#compare!` updates in request path
135
- * `Document#update_changes!` updates in request path
136
- * `Document#changes` updates in request path
137
- * `Document#download!` updates in request path. Fixed bugs
138
- * `Signature#get_document_fields!` renamed to `Document#public_fields!`
139
- * `Signature#sign_document!` renamed to `Document#public_sign_document!`
140
- * `Document::Annotation.remove!` renamed to `Document::Annotation#remove!`
141
- * Fixed bugs `Document::Annotation#move_marker!`
142
- * Fixed bugs `Document::Annotation#resize!`
143
- * Fixed bugs `Questionnaire#collectors!`
144
- * Fixed bugs `Questionnaire#copy_to_templates!`
145
- * Fixed bugs `Signature.verify!`
146
- * Fixed bugs `Signature.sign_document_status!`
147
- * `Signature::Envelope#add_recipient!` returns GroupDosc::Signature::Recipient
148
- * `Signature#get_sign_envelope!` renamed to `Signature::Envelope#public_get!`
149
- * `Signature#get_signed_documents!` renamed to `Signature::Envelope#public_signed_documents! `
150
- * `Signature#field_envelope_date!` renamed to `Signature::Envelope#date!`
151
- * `Signature::Form#fields!` updated
152
- * Fixed bugs `Signature::Form#assign_field!`
153
- * `Subscription.self.list!` updated
154
-
155
- **New**
156
-
157
- * Added `Document#hyperlinks!`
158
- * Added `Document::Annotation` attributes
159
- * Added `Document::Annotation::MarkerPosition` class
160
- * Added `Document::Annotation::Reply` attributes
161
- * Added `Document::Field` attributes
162
- * Added `Questionnaire` attributes
163
- * Added `Questionnaire#get_document!`
164
- * Added `Questionnaire.get_by_name!`
165
- * Added `Questionnaire#delete_list!`
166
- * Added `Questionnaire#delete_collectors_list!`
167
- * Added `Questionnaire#delete_executions_list!`
168
- * Added `Questionnaire#delete_datasources_list!`
169
- * Added `Questionnaire::Collector#get_questionnaire!`
170
- * Added `Questionnaire::Question` attributes
171
- * Added `Questionnaire::Question::Conditions` class
172
- * Added `Questionnaire::Question::Answer` attribute
173
- * Added `Signature::Field` attributes
174
- * Added `Signature::Field::Location` attributes
175
- * Added `Storage::File#upload_cancel!`
176
- * Added `User` attributes
177
-
178
- ## v1.5.3
179
-
180
- **Changes**
181
-
182
- * Fixes critical issue with unauthorized requests.
183
-
184
- ## v1.5.2
185
-
186
- **Changes**
187
-
188
- * Do not replace `{{client_id}}` if `:sign` is `false`.
189
-
190
- ## v1.5.1
191
-
192
- **New**
193
-
194
- * Added `:sign` flag `Api::Request.options` allowing request not to be signed
195
-
196
- ## v1.5.0
197
-
198
- **New**
199
-
200
- * Added `Signature.get_for_recipients!`
201
- * Added `Signature#create_for_recipient!`
202
- * Added `Signature#signature_data!`
203
- * Added `Signature#initials_data!`
204
-
205
- **Changes**
206
-
207
- * `Signature::Envelope#fill_field!` supports `:public` flag
208
- * `Signature::Envelope#sign!` supports `:public` flag
209
- * `Signature::Form.get!` supports `:public` flag
210
- * `Signature::Form#documents!` supports `:public` flag
211
- * `Signature::Envelope#documents!` supports `:public` flag
212
- * `Signature::Envelope#recipients!` supports `:public` flag
213
-
214
- ## v1.4.2
215
-
216
- **New**
217
-
218
- * Added new `Document` attributes
219
-
220
- **Changes**
221
-
222
- * Fixed `Signature` attributes
223
- * Fixed `Document` access modes
224
-
225
- ## v1.4.1
226
-
227
- **Changes**
228
-
229
- * Fixed file guid lookup in `Form#documents!`
230
- * URI now can handle `[]` corrrectly
231
- * `Package#create!` now properly handles objects in sub-directories
232
-
233
- ## v1.4
234
-
235
- **New**
236
-
237
- * Added watermark support to `Signature::EntityFields` and `Signature::Form`
238
- * Added signature and initials data support to `Signature`
239
- * Added `Signature::Envelope#is_demo`
240
- * Added `:scheduled` status for `Envelope`
241
- * Added `Envelope#delegate_recipient!`
242
- * Added `Envelope#signed_document!`
243
- * Added `Signature::FieldMethods#assign_field!` support in templates and envelopes
244
- * Added `Signature::Contact#add_integration!`
245
- * `Signature::Form` now supports document methods
246
- * `Signature::Form` now supports field methods
247
-
248
- **Changes**
249
-
250
- * Fixed `#owner_should_sign` and `#ordered_signature` in `Signature::EntityFields` as API now return boolean values
251
- * Fixed `Signature::Role#can*` methods as API now return boolean values
252
- * `Signature::Field#acceptable_values` should properly handle arrays
253
- * `Signature::Form#fields_in_final_file_name` should properly handle arrays
254
- * `Signature::DocumentMethods#documents!` now find documents both by `:documentId` and `:id`
255
- * `Signature::Form#create!` now can be created without template
256
-
257
- ## v1.3
258
-
259
- **New**
260
-
261
- * Added Ruby 1.8 support
262
- * Added Ruby 2.0 support
263
- * Added `Document#thumbnails!`
264
-
265
- ## v1.2
266
-
267
- **New**
268
-
269
- * Added `Annotation::Collector` class
270
- * Added `Collector.get!`
271
- * Added `Collector#add!`
272
- * Added `Collector#update!`
273
- * Added `Collector#remove!`
274
- * Added `Collector#executions!`
275
- * Added `Collector#add_execution!`
276
- * Added `Collector#fill!`
277
- * Added `Document.templates!`
278
- * Added `Questionnaire#executions!`
279
- * Added `Questionnaire#collectors!`
280
- * Added `Questionnaire#metadata!`
281
- * Added `Questionnaire#update_metadata!`
282
- * Added `Questionnaire#fields!`
283
- * Added `Execution.get!`
284
- * Added `Execution#delete!`
285
- * Added `Execution#fill!`
286
- * Added `Document.sign_documents!`
287
- * Added `Document#page_images!`
288
- * Added MIME helper
289
-
290
- **Changes**
291
-
292
- * Fixed `Questionnaire#create!`
293
- * Fixed `Field#rectangle=`
294
- * Fixed `File#download!`
295
- * Fixed `Folder#list!` params handling (see issue #30)
296
- * Fixed coordinates-related responses (they now have downcased fields)
297
- * Fixed `Job#add_datasource!`
298
- * `Questionnaire.all!` now accepts optional paging and status filter params
299
- * New attributes for a lot of entities
300
-
301
- **Removed**
302
-
303
- * Removed `Questionnaire#create_execution!`
304
-
305
-
306
- ## v1.1
307
-
308
- **New**
309
-
310
- * Added `Annotation::Reviewer` class
311
- * Added `Reviewer.all!`
312
- * Added `Reviewer.set!`
313
- * Added `Job#delete!`
314
- * Added `Document#shared_link_access_rights!`
315
- * Added `Document#set_shared_link_access_rights!`
316
- * Added `Document#set_reviewers!`
317
- * Added `Document#add_collaborotor!`
318
- * More attributes for `User` class
319
- * Added `Annotation#move_marker!`
320
- * Added new `Job` action - `:compare`
321
-
322
- **Changes**
323
-
324
- * Moved `Annotation#collaborators!` and `Annotation#set_collaborators!` to `Document` class as it makes more sense
325
- * `Document#set_collaborators!` now accepts options `version` parameter (default to `1`)
326
-
327
-
328
- ## v1.0
329
-
330
- **New**
331
-
332
- * Added fully-featured Signature API
333
- * Added API to retrieve subscription plans
334
- * Added `Annotation#set_access!` to control annotation access: public or private
335
- * Added `Job.get!` to retrieve job by its identifier
336
- * Added `Job#delete_document!`
337
- * Added `File.upload_web!` to convert webpages to documents
338
- * Added `File#move_to_trash!`
339
- * Added `User.users!` to retrieve my account's users
340
-
341
- **Changes**
342
-
343
- * `File` and `Folder` has changed the way paths are handled. Path should no longer start with `/`
344
- * `File.upload!` now accept hash of options as argument: `:path` to upload to, `:name` to rename file, `:description` to add description to file
345
- * `File#move!` now accept hash of options as argument: `:name` to rename file
346
- * `File#copy!` now accept hash of options as argument: `:name` to rename file
347
-
348
- **Removed**
349
-
350
- * `Document.all!` is removed (slow recursive implementation)
351
- * `Document.find!` is removed (slow recursive implementation)
352
- * `Document.find_all!` is removed (slow recursive implementation)
353
- * `File.all!` is removed (slow recursive implementation)
354
- * `File.find!` is removed (slow recursive implementation)
355
- * `File.find_all!` is removed (slow recursive implementation)
356
- * `Folder.all!` is removed (slow recursive implementation)
357
- * `Folder.find!` is removed (slow recursive implementation)
358
- * `Folder.find_all!` is removed (slow recursive implementation)
359
- * `Extensions::LookUp` is removed (slow recursive implementation)
360
- * `File#upload!` is removed (not really needed, use `File.upload!`)
361
- * `Folder#rename!` is removed (has some quirks due to API, use `Folder#move!` instead)
362
-
363
- ## v0.3.11
364
-
365
- * Fix for critical bug in `Entity#to_hash`
366
-
367
- ## v0.3.10
368
-
369
- * Updated `Document#metadata!`
370
- * Fixed `Folder#move!`
371
- * Fixed `Folder#copy!`
372
-
373
- ## v0.3.9
374
-
375
- * Added `File#upload!`
376
- * Proper handling of `File#file_type`
377
- * More annotation types
378
- * `Document#datasource!` options are now optional
379
-
380
- ## v0.3.8
381
-
382
- * Updated `Datasource for new API
383
- * Updated `Datasource::Field` for new API
384
- * Some minor fixes
385
-
386
- ## v0.3.7
387
-
388
- * More flexible `Execution#owner=` and specs for it
389
- * More flexible `Execution#executive=` and specs for it
390
- * More flexible `Execution#approver=` and specs for it
391
-
392
- ## v0.3.6
393
-
394
- * `Questionnaire::Execution` now returns objects for`owner`, `executive` and `approver`
395
-
396
- ## v0.3.5
397
-
398
- * Methods to retrieve and update user profile information
399
-
400
- ## v0.3
401
-
402
- **This release breaks backwards compatibility**
403
-
404
- New API version uses strings for job actions, access modes, statuses, file types, etc. This release reflects corresponding changes.
405
-
406
- ## v0.2.11
407
-
408
- * Added `Questionnaire#default_answer` and `Questionnaire#default_answer=`
409
-
410
- ## v0.2.10
411
-
412
- * Added `Annotation#collaborators!`
413
-
414
- ## v0.2.9
415
-
416
- * Added `Annotation#position`
417
- * Added `Annotation#move!`
418
-
419
- ## v0.2.8
420
-
421
- * Human-readable `Annotation#access`
422
- * Machine-readable `Annotation#access=`
423
- * `Document#annotations!` now handles `null` in "annotations" response
424
-
425
- ## v0.2.7
426
-
427
- * `Job#documents!` now updates job status
428
-
429
- ## v0.2.6
430
-
431
- * Minor `Job` and `Document` fixes
432
-
433
- ## v0.2.5
434
-
435
- * `Document` now parses `outputs` to `Storage::File` object
436
- * `Document` now has `output_formats` with corresponding parser
437
- * `Document#convert!` URI was changed
438
- * Job API methods were returning job documents in different format
439
-
440
- ## v0.2.4
441
-
442
- * `Job` has now more attributes
443
- * `Job#documents=` should not raise error when `nil` is passed
444
- * Timestamps are being returned in milliseconds, while we were parsing them as seconds
445
-
446
- ## v0.2.3
447
-
448
- * Fixed `Entity#variable_to_accessor` bugs
449
- * Updated `Document#fields!` to always include geometry
450
- * Added more accessors to `Rectange` (fixes `#inspect` issues)
451
-
452
- ## v0.2.2
453
-
454
- * Updated `Folder.list!` for response changes
455
-
456
- ## v0.2.1
457
-
458
- * `Sugar` namespace is now `Extensions`
459
- * Removed `File#delete!` workaround
460
-
461
- ## v0.2
462
-
463
- * `File#compress!` supports only zip, so parameter was removed
464
- * `Errors` namespace was removed
465
- * `BadRequestError` now shows only error message
466
- * `File#upload!` no longer uses description, so parameter was removed
467
- * Added `File#file_type`
468
- * Added `File::DOCUMENT_TYPES`. `File#type` now returns document type in human-readable format
469
- * `Folder#list!` capitalizes `:order_by` option
470
- * Introduced `URLHelper#normalize_path`. Path is now normalized before sending request.
471
- * HTTP methods as strings are now allowed
472
- * Workaround for `File#delete!`
473
- * Updated gems
474
-
475
- ## v0.1
476
-
477
- Initial release
1
+ ## v.2.3.0
2
+ **Changes**
3
+ * Added new attribute `User` - "is_viewer_search_widget_enabled"
4
+ *`User#delete_account!` new method
5
+
6
+ ## v.2.2.0
7
+
8
+ **Changes**
9
+ *`Storage::File.upload_google!` changed the required parameters
10
+ *`Storage.info!` added new parameters of response
11
+
12
+ **New**
13
+ *`Signature::Form#modify_form_field!` new method
14
+ * Added new attribute `Signature::Field` - "page", "locationX", "locationY", "locationWidth", "locationHeight", "forceNewField"
15
+
16
+
17
+ ## v.2.1.0
18
+
19
+ **Changes**
20
+ *`Document.editor_fields!` return the all json
21
+ *`Document.update_changes!` the changes should be array
22
+ * Deleted attribute `Document::Annotation::Reviewer` - "full_name"
23
+
24
+
25
+ **New**
26
+ * Added new attributes `Document::Annotation::Reviewer` - "first_name", "last_name'
27
+ * Added new `Document::Page`
28
+ * Added new attributes `Document::Change` - "type", "typeStr", "action', "actionStr"
29
+
30
+ ## v.2.0.0
31
+
32
+ **Changes**
33
+ *`Signature::Form#fields!` renamed to `Signature::Form#get_fields!`
34
+ *`Signature::Form#get_fields!` the updates in request path
35
+ *`Document.self.metadata!` added
36
+
37
+ **New**
38
+ * Added new attribute `Document` - "documentDescription"
39
+ * Added new attribute `Document::MetaData` - "type" and "url"
40
+ * Added new attribute `Document::Annotation` - "text"
41
+ * Added new attributes `Document::TemplateEditorFields` - "tableNumber" "tableRow" "tableColumn" "tableCell"
42
+
43
+ ## v.1.9.0
44
+
45
+ **Changes**
46
+ * Deleted `Document#page_fixed_html!`
47
+ * Deleted `Document#page_html!`
48
+ * Deleted `Document#page_html_urls!`
49
+ * Deleted `Document#representations!`
50
+
51
+ **New**
52
+ * Added new attributes `User`
53
+ * Added new attribute `Signature::Envelope` - "lockDuringSign"
54
+
55
+ ## v1.8.1
56
+
57
+ **New**
58
+ * Added new attribute "email" to `Signature`
59
+
60
+ **Changes**
61
+ * `Document#sign_documents!` added new requere parameter for signer "email"
62
+
63
+ ## v1.8.0
64
+ **New**
65
+
66
+ * Added `Document#add_questionnaire_template!`
67
+ * Added `Document#update_questionnaire_template!`
68
+ * Added `Document#delete_questionnaire_template!`
69
+ * Added `Signature::Form#get_participants!`
70
+
71
+ ## v1.7.0
72
+
73
+ **Changes**
74
+
75
+ * `Document::Annotation` updated types of annotation
76
+ * `Document#templates!` added parameter<Hash> "settings"
77
+ * `Signature::Envelope#sign!` added parameter<Hash> "settings"
78
+ * `Signature::Form#sign!` added parameter<Hash> settings and parameter<String> "filepath"
79
+ * `Signature::Form#fields!` delete parameter "documentGuid"
80
+
81
+ **New**
82
+
83
+ * Added `Document#editor_fields!`
84
+ * Added `Document#questionnaire_template!`
85
+ * Added `Job.get_conversions!`
86
+ * Added new attributes `User`
87
+ * Added new attributes `DataSource::Field`
88
+ * Added new attributes `Document::Annotation`
89
+ * Added `Document::TemplateEditorFields`
90
+ * Added new attributes `Document::Field`
91
+ * Added `Document::TemplateEditorFieldStyle`
92
+ * Added `Questionnaire::Collector#decorate!`
93
+ * Added `Questionnaire::Collector#get_decorate!`
94
+ * Added `Questionnaire::QuestionnaireCollectorStyle`
95
+ * Added new attributes `Questionnaire::Question`
96
+ * Added new attributes `Signature::Envelope`
97
+ * Added `Signature::Form#update_partipicant!`
98
+ * Added `Signature::Form#validate_partipicant!`
99
+ * Added `Signature::Form#document_fields!`
100
+ * Added `Signature::Form#get_logs!`
101
+ * Added new attributes `Signature::Recipient`
102
+ * Added new attributes `Signature::Template`
103
+
104
+
105
+ ## v1.6.0
106
+
107
+ **Changes**
108
+
109
+ * `Document::Annotation` updated types of annotation
110
+ * `Signature::FieldMethods#modify_field!` added parament "recipientGuid"
111
+
112
+ **New**
113
+
114
+ * Added `Documet::Annotation#remove_annotations!`
115
+ * Added `Document::Annotation` attributes
116
+ * Added `Document::Annotation::Reply` attributes
117
+ * Added `Document` attributes
118
+ * Added `Signature.public_get_default_email_template!`
119
+ * Added `Signature` template fields
120
+ * Added `Signature::Form` attribute
121
+ * Added `Signature::Envelope#resend!`
122
+
123
+ ## v1.5.9
124
+
125
+ **Changes**
126
+
127
+ * `Api::Helpers::URL#sign_url` changes an initialize library OpenSSL
128
+ * `Api::Helpers::AccessRights` changes an array ACCESS_RIGHTS
129
+ * `Document#changes` updates in request path
130
+
131
+
132
+ ## v1.5.8
133
+
134
+ **Changes**
135
+
136
+ * `Api::Helpers::REST#send_request!` new functionality for request type :DELETE
137
+ * `Document#access_mode_set!` updates in request path
138
+ * `Document#details!` updates in request path
139
+ * `Document#compare!` updates in request path
140
+ * `Document#update_changes!` updates in request path
141
+ * `Document#changes` updates in request path
142
+ * `Document#download!` updates in request path. Fixed bugs
143
+ * `Signature#get_document_fields!` renamed to `Document#public_fields!`
144
+ * `Signature#sign_document!` renamed to `Document#public_sign_document!`
145
+ * `Document::Annotation.remove!` renamed to `Document::Annotation#remove!`
146
+ * Fixed bugs `Document::Annotation#move_marker!`
147
+ * Fixed bugs `Document::Annotation#resize!`
148
+ * Fixed bugs `Questionnaire#collectors!`
149
+ * Fixed bugs `Questionnaire#copy_to_templates!`
150
+ * Fixed bugs `Signature.verify!`
151
+ * Fixed bugs `Signature.sign_document_status!`
152
+ * `Signature::Envelope#add_recipient!` returns GroupDosc::Signature::Recipient
153
+ * `Signature#get_sign_envelope!` renamed to `Signature::Envelope#public_get!`
154
+ * `Signature#get_signed_documents!` renamed to `Signature::Envelope#public_signed_documents! `
155
+ * `Signature#field_envelope_date!` renamed to `Signature::Envelope#date!`
156
+ * `Signature::Form#fields!` updated
157
+ * Fixed bugs `Signature::Form#assign_field!`
158
+ * `Subscription.self.list!` updated
159
+
160
+ **New**
161
+
162
+ * Added `Document#hyperlinks!`
163
+ * Added `Document::Annotation` attributes
164
+ * Added `Document::Annotation::MarkerPosition` class
165
+ * Added `Document::Annotation::Reply` attributes
166
+ * Added `Document::Field` attributes
167
+ * Added `Questionnaire` attributes
168
+ * Added `Questionnaire#get_document!`
169
+ * Added `Questionnaire.get_by_name!`
170
+ * Added `Questionnaire#delete_list!`
171
+ * Added `Questionnaire#delete_collectors_list!`
172
+ * Added `Questionnaire#delete_executions_list!`
173
+ * Added `Questionnaire#delete_datasources_list!`
174
+ * Added `Questionnaire::Collector#get_questionnaire!`
175
+ * Added `Questionnaire::Question` attributes
176
+ * Added `Questionnaire::Question::Conditions` class
177
+ * Added `Questionnaire::Question::Answer` attribute
178
+ * Added `Signature::Field` attributes
179
+ * Added `Signature::Field::Location` attributes
180
+ * Added `Storage::File#upload_cancel!`
181
+ * Added `User` attributes
182
+
183
+ ## v1.5.3
184
+
185
+ **Changes**
186
+
187
+ * Fixes critical issue with unauthorized requests.
188
+
189
+ ## v1.5.2
190
+
191
+ **Changes**
192
+
193
+ * Do not replace `{{client_id}}` if `:sign` is `false`.
194
+
195
+ ## v1.5.1
196
+
197
+ **New**
198
+
199
+ * Added `:sign` flag `Api::Request.options` allowing request not to be signed
200
+
201
+ ## v1.5.0
202
+
203
+ **New**
204
+
205
+ * Added `Signature.get_for_recipients!`
206
+ * Added `Signature#create_for_recipient!`
207
+ * Added `Signature#signature_data!`
208
+ * Added `Signature#initials_data!`
209
+
210
+ **Changes**
211
+
212
+ * `Signature::Envelope#fill_field!` supports `:public` flag
213
+ * `Signature::Envelope#sign!` supports `:public` flag
214
+ * `Signature::Form.get!` supports `:public` flag
215
+ * `Signature::Form#documents!` supports `:public` flag
216
+ * `Signature::Envelope#documents!` supports `:public` flag
217
+ * `Signature::Envelope#recipients!` supports `:public` flag
218
+
219
+ ## v1.4.2
220
+
221
+ **New**
222
+
223
+ * Added new `Document` attributes
224
+
225
+ **Changes**
226
+
227
+ * Fixed `Signature` attributes
228
+ * Fixed `Document` access modes
229
+
230
+ ## v1.4.1
231
+
232
+ **Changes**
233
+
234
+ * Fixed file guid lookup in `Form#documents!`
235
+ * URI now can handle `[]` corrrectly
236
+ * `Package#create!` now properly handles objects in sub-directories
237
+
238
+ ## v1.4
239
+
240
+ **New**
241
+
242
+ * Added watermark support to `Signature::EntityFields` and `Signature::Form`
243
+ * Added signature and initials data support to `Signature`
244
+ * Added `Signature::Envelope#is_demo`
245
+ * Added `:scheduled` status for `Envelope`
246
+ * Added `Envelope#delegate_recipient!`
247
+ * Added `Envelope#signed_document!`
248
+ * Added `Signature::FieldMethods#assign_field!` support in templates and envelopes
249
+ * Added `Signature::Contact#add_integration!`
250
+ * `Signature::Form` now supports document methods
251
+ * `Signature::Form` now supports field methods
252
+
253
+ **Changes**
254
+
255
+ * Fixed `#owner_should_sign` and `#ordered_signature` in `Signature::EntityFields` as API now return boolean values
256
+ * Fixed `Signature::Role#can*` methods as API now return boolean values
257
+ * `Signature::Field#acceptable_values` should properly handle arrays
258
+ * `Signature::Form#fields_in_final_file_name` should properly handle arrays
259
+ * `Signature::DocumentMethods#documents!` now find documents both by `:documentId` and `:id`
260
+ * `Signature::Form#create!` now can be created without template
261
+
262
+ ## v1.3
263
+
264
+ **New**
265
+
266
+ * Added Ruby 1.8 support
267
+ * Added Ruby 2.0 support
268
+ * Added `Document#thumbnails!`
269
+
270
+ ## v1.2
271
+
272
+ **New**
273
+
274
+ * Added `Annotation::Collector` class
275
+ * Added `Collector.get!`
276
+ * Added `Collector#add!`
277
+ * Added `Collector#update!`
278
+ * Added `Collector#remove!`
279
+ * Added `Collector#executions!`
280
+ * Added `Collector#add_execution!`
281
+ * Added `Collector#fill!`
282
+ * Added `Document.templates!`
283
+ * Added `Questionnaire#executions!`
284
+ * Added `Questionnaire#collectors!`
285
+ * Added `Questionnaire#metadata!`
286
+ * Added `Questionnaire#update_metadata!`
287
+ * Added `Questionnaire#fields!`
288
+ * Added `Execution.get!`
289
+ * Added `Execution#delete!`
290
+ * Added `Execution#fill!`
291
+ * Added `Document.sign_documents!`
292
+ * Added `Document#page_images!`
293
+ * Added MIME helper
294
+
295
+ **Changes**
296
+
297
+ * Fixed `Questionnaire#create!`
298
+ * Fixed `Field#rectangle=`
299
+ * Fixed `File#download!`
300
+ * Fixed `Folder#list!` params handling (see issue #30)
301
+ * Fixed coordinates-related responses (they now have downcased fields)
302
+ * Fixed `Job#add_datasource!`
303
+ * `Questionnaire.all!` now accepts optional paging and status filter params
304
+ * New attributes for a lot of entities
305
+
306
+ **Removed**
307
+
308
+ * Removed `Questionnaire#create_execution!`
309
+
310
+
311
+ ## v1.1
312
+
313
+ **New**
314
+
315
+ * Added `Annotation::Reviewer` class
316
+ * Added `Reviewer.all!`
317
+ * Added `Reviewer.set!`
318
+ * Added `Job#delete!`
319
+ * Added `Document#shared_link_access_rights!`
320
+ * Added `Document#set_shared_link_access_rights!`
321
+ * Added `Document#set_reviewers!`
322
+ * Added `Document#add_collaborotor!`
323
+ * More attributes for `User` class
324
+ * Added `Annotation#move_marker!`
325
+ * Added new `Job` action - `:compare`
326
+
327
+ **Changes**
328
+
329
+ * Moved `Annotation#collaborators!` and `Annotation#set_collaborators!` to `Document` class as it makes more sense
330
+ * `Document#set_collaborators!` now accepts options `version` parameter (default to `1`)
331
+
332
+
333
+ ## v1.0
334
+
335
+ **New**
336
+
337
+ * Added fully-featured Signature API
338
+ * Added API to retrieve subscription plans
339
+ * Added `Annotation#set_access!` to control annotation access: public or private
340
+ * Added `Job.get!` to retrieve job by its identifier
341
+ * Added `Job#delete_document!`
342
+ * Added `File.upload_web!` to convert webpages to documents
343
+ * Added `File#move_to_trash!`
344
+ * Added `User.users!` to retrieve my account's users
345
+
346
+ **Changes**
347
+
348
+ * `File` and `Folder` has changed the way paths are handled. Path should no longer start with `/`
349
+ * `File.upload!` now accept hash of options as argument: `:path` to upload to, `:name` to rename file, `:description` to add description to file
350
+ * `File#move!` now accept hash of options as argument: `:name` to rename file
351
+ * `File#copy!` now accept hash of options as argument: `:name` to rename file
352
+
353
+ **Removed**
354
+
355
+ * `Document.all!` is removed (slow recursive implementation)
356
+ * `Document.find!` is removed (slow recursive implementation)
357
+ * `Document.find_all!` is removed (slow recursive implementation)
358
+ * `File.all!` is removed (slow recursive implementation)
359
+ * `File.find!` is removed (slow recursive implementation)
360
+ * `File.find_all!` is removed (slow recursive implementation)
361
+ * `Folder.all!` is removed (slow recursive implementation)
362
+ * `Folder.find!` is removed (slow recursive implementation)
363
+ * `Folder.find_all!` is removed (slow recursive implementation)
364
+ * `Extensions::LookUp` is removed (slow recursive implementation)
365
+ * `File#upload!` is removed (not really needed, use `File.upload!`)
366
+ * `Folder#rename!` is removed (has some quirks due to API, use `Folder#move!` instead)
367
+
368
+ ## v0.3.11
369
+
370
+ * Fix for critical bug in `Entity#to_hash`
371
+
372
+ ## v0.3.10
373
+
374
+ * Updated `Document#metadata!`
375
+ * Fixed `Folder#move!`
376
+ * Fixed `Folder#copy!`
377
+
378
+ ## v0.3.9
379
+
380
+ * Added `File#upload!`
381
+ * Proper handling of `File#file_type`
382
+ * More annotation types
383
+ * `Document#datasource!` options are now optional
384
+
385
+ ## v0.3.8
386
+
387
+ * Updated `Datasource for new API
388
+ * Updated `Datasource::Field` for new API
389
+ * Some minor fixes
390
+
391
+ ## v0.3.7
392
+
393
+ * More flexible `Execution#owner=` and specs for it
394
+ * More flexible `Execution#executive=` and specs for it
395
+ * More flexible `Execution#approver=` and specs for it
396
+
397
+ ## v0.3.6
398
+
399
+ * `Questionnaire::Execution` now returns objects for`owner`, `executive` and `approver`
400
+
401
+ ## v0.3.5
402
+
403
+ * Methods to retrieve and update user profile information
404
+
405
+ ## v0.3
406
+
407
+ **This release breaks backwards compatibility**
408
+
409
+ New API version uses strings for job actions, access modes, statuses, file types, etc. This release reflects corresponding changes.
410
+
411
+ ## v0.2.11
412
+
413
+ * Added `Questionnaire#default_answer` and `Questionnaire#default_answer=`
414
+
415
+ ## v0.2.10
416
+
417
+ * Added `Annotation#collaborators!`
418
+
419
+ ## v0.2.9
420
+
421
+ * Added `Annotation#position`
422
+ * Added `Annotation#move!`
423
+
424
+ ## v0.2.8
425
+
426
+ * Human-readable `Annotation#access`
427
+ * Machine-readable `Annotation#access=`
428
+ * `Document#annotations!` now handles `null` in "annotations" response
429
+
430
+ ## v0.2.7
431
+
432
+ * `Job#documents!` now updates job status
433
+
434
+ ## v0.2.6
435
+
436
+ * Minor `Job` and `Document` fixes
437
+
438
+ ## v0.2.5
439
+
440
+ * `Document` now parses `outputs` to `Storage::File` object
441
+ * `Document` now has `output_formats` with corresponding parser
442
+ * `Document#convert!` URI was changed
443
+ * Job API methods were returning job documents in different format
444
+
445
+ ## v0.2.4
446
+
447
+ * `Job` has now more attributes
448
+ * `Job#documents=` should not raise error when `nil` is passed
449
+ * Timestamps are being returned in milliseconds, while we were parsing them as seconds
450
+
451
+ ## v0.2.3
452
+
453
+ * Fixed `Entity#variable_to_accessor` bugs
454
+ * Updated `Document#fields!` to always include geometry
455
+ * Added more accessors to `Rectange` (fixes `#inspect` issues)
456
+
457
+ ## v0.2.2
458
+
459
+ * Updated `Folder.list!` for response changes
460
+
461
+ ## v0.2.1
462
+
463
+ * `Sugar` namespace is now `Extensions`
464
+ * Removed `File#delete!` workaround
465
+
466
+ ## v0.2
467
+
468
+ * `File#compress!` supports only zip, so parameter was removed
469
+ * `Errors` namespace was removed
470
+ * `BadRequestError` now shows only error message
471
+ * `File#upload!` no longer uses description, so parameter was removed
472
+ * Added `File#file_type`
473
+ * Added `File::DOCUMENT_TYPES`. `File#type` now returns document type in human-readable format
474
+ * `Folder#list!` capitalizes `:order_by` option
475
+ * Introduced `URLHelper#normalize_path`. Path is now normalized before sending request.
476
+ * HTTP methods as strings are now allowed
477
+ * Workaround for `File#delete!`
478
+ * Updated gems
479
+
480
+ ## v0.1
481
+
482
+ Initial release