files.com 1.1.610 → 1.1.611

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c0cac3455ea7b93f2d5f3195ee1712d7cf0b89657e3dcffe33ca73ab909d141
4
- data.tar.gz: 7d55fc84ec33274ed4a7587a6704608944ac49d4b18e22bf547de96cc330c24c
3
+ metadata.gz: 3432e78be8fec703fb02df31bd3bef2b4569eaeb35e3b29e2de88bfe0c964826
4
+ data.tar.gz: 43c0c80c0e1f86defb2ab0b0f70f9333266173ccb73debac0e0e6add74aee253
5
5
  SHA512:
6
- metadata.gz: 1cac31e5c8b29c5f2ce578b75636b770f92b1de29a1ba71ba5823d9714db81b8527c0e2c5d0e945e3941e83df2ed494bc1b18afa5aa00e982858e925866d2499
7
- data.tar.gz: 84dfabfed5db8c2fc7b83b868adeca5a8d8e2b5a75b59db551c924edcdc3f15878670672af6daebd76c1f6142c4cb15707ac5d0d3c5c329a9d782aacef98a3e2
6
+ metadata.gz: 4d06f3db670f41c8c4c97f895a18a63bf672516680d63a2288a31451437ebef19267f766efdaead6f1d9c5b1b2f7917a42721c7dc5e32aa6ae9b101a1de5919d
7
+ data.tar.gz: 016e1a803fe86d1ba0c00e93627a520de9d86cc52cae0e9feed0e7e13bc5eb2b20ce7f9d63ad72913ed6b38aa6baeaea74a4f5261c10fb9bafb27be2a62689f7
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.610
1
+ 1.1.611
data/docs/bundle.md CHANGED
@@ -55,6 +55,7 @@
55
55
  "start_access_on_date": "2000-01-01T01:00:00Z",
56
56
  "skip_company": true,
57
57
  "id": 1,
58
+ "bypasses_site_expiration_rules": true,
58
59
  "created_at": "2000-01-01T01:00:00Z",
59
60
  "dont_separate_submissions_by_folder": true,
60
61
  "max_uses": 1,
@@ -112,6 +113,7 @@
112
113
  * `start_access_on_date` (date-time): Date when share will start to be accessible. If `nil` access granted right after create.
113
114
  * `skip_company` (boolean): BundleRegistrations can be saved without providing company?
114
115
  * `id` (int64): Bundle ID
116
+ * `bypasses_site_expiration_rules` (boolean): If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
115
117
  * `created_at` (date-time): Bundle created at date/time
116
118
  * `dont_separate_submissions_by_folder` (boolean): Do not create subfolders for files uploaded to this share. Note: there are subtle security pitfalls with allowing anonymous uploads from multiple users to live in the same folder. We strongly discourage use of this option unless absolutely required.
117
119
  * `max_uses` (int64): Maximum number of times bundle can be accessed
@@ -156,7 +158,7 @@ Files::Bundle.list(
156
158
  * `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
157
159
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
158
160
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
159
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
161
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code`, `user_id` or `bypasses_site_expiration_rules`. Valid field combinations are `[ user_id, expires_at ]`.
160
162
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
161
163
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
162
164
  * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -186,6 +188,7 @@ Files::Bundle.create(
186
188
  user_id: 1,
187
189
  paths: ["file.txt"],
188
190
  password: "Password",
191
+ bypasses_site_expiration_rules: true,
189
192
  form_field_set_id: 1,
190
193
  create_snapshot: false,
191
194
  dont_separate_submissions_by_folder: true,
@@ -218,6 +221,7 @@ Files::Bundle.create(
218
221
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
219
222
  * `paths` (array(string)): Required - A list of paths to include in this bundle.
220
223
  * `password` (string): Password for this bundle.
224
+ * `bypasses_site_expiration_rules` (boolean): If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
221
225
  * `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
222
226
  * `create_snapshot` (boolean): If true, create a snapshot of this bundle's contents.
223
227
  * `dont_separate_submissions_by_folder` (boolean): Do not create subfolders for files uploaded to this share. Note: there are subtle security pitfalls with allowing anonymous uploads from multiple users to live in the same folder. We strongly discourage use of this option unless absolutely required.
@@ -273,6 +277,7 @@ Files::Bundle.share(id,
273
277
  Files::Bundle.update(id,
274
278
  paths: ["file.txt"],
275
279
  password: "Password",
280
+ bypasses_site_expiration_rules: true,
276
281
  form_field_set_id: 1,
277
282
  clickwrap_id: 1,
278
283
  code: "abc123",
@@ -306,6 +311,7 @@ Files::Bundle.update(id,
306
311
  * `id` (int64): Required - Bundle ID.
307
312
  * `paths` (array(string)): A list of paths to include in this bundle.
308
313
  * `password` (string): Password for this bundle.
314
+ * `bypasses_site_expiration_rules` (boolean): If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
309
315
  * `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
310
316
  * `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
311
317
  * `code` (string): Bundle code. This code forms the end part of the Public URL.
@@ -379,6 +385,7 @@ bundle = Files::Bundle.find(id)
379
385
  bundle.update(
380
386
  paths: ["file.txt"],
381
387
  password: "Password",
388
+ bypasses_site_expiration_rules: true,
382
389
  form_field_set_id: 1,
383
390
  clickwrap_id: 1,
384
391
  code: "abc123",
@@ -412,6 +419,7 @@ bundle.update(
412
419
  * `id` (int64): Required - Bundle ID.
413
420
  * `paths` (array(string)): A list of paths to include in this bundle.
414
421
  * `password` (string): Password for this bundle.
422
+ * `bypasses_site_expiration_rules` (boolean): If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
415
423
  * `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
416
424
  * `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
417
425
  * `code` (string): Bundle code. This code forms the end part of the Public URL.
data/docs/sso_strategy.md CHANGED
@@ -46,6 +46,7 @@
46
46
  "ldap_base_dn": "example",
47
47
  "ldap_domain": "mysite.com",
48
48
  "enabled": true,
49
+ "display_on_login_page": true,
49
50
  "ldap_host": "ldap.site.com",
50
51
  "ldap_host_2": "ldap2.site.com",
51
52
  "ldap_host_3": "ldap3.site.com",
@@ -98,6 +99,7 @@
98
99
  * `ldap_base_dn` (string): Base DN for looking up users in LDAP server
99
100
  * `ldap_domain` (string): Domain name that will be appended to LDAP usernames
100
101
  * `enabled` (boolean): Is strategy enabled? This may become automatically set to `false` after a high number and duration of failures.
102
+ * `display_on_login_page` (boolean): Should this strategy be displayed on the login page?
101
103
  * `ldap_host` (string): LDAP host
102
104
  * `ldap_host_2` (string): LDAP backup host
103
105
  * `ldap_host_3` (string): LDAP backup host
@@ -207,6 +207,15 @@ module Files
207
207
  @attributes[:id] = value
208
208
  end
209
209
 
210
+ # boolean - If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
211
+ def bypasses_site_expiration_rules
212
+ @attributes[:bypasses_site_expiration_rules]
213
+ end
214
+
215
+ def bypasses_site_expiration_rules=(value)
216
+ @attributes[:bypasses_site_expiration_rules] = value
217
+ end
218
+
210
219
  # date-time - Bundle created at date/time
211
220
  def created_at
212
221
  @attributes[:created_at]
@@ -459,6 +468,7 @@ module Files
459
468
  # Parameters:
460
469
  # paths - array(string) - A list of paths to include in this bundle.
461
470
  # password - string - Password for this bundle.
471
+ # bypasses_site_expiration_rules - boolean - If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
462
472
  # form_field_set_id - int64 - Id of Form Field Set to use with this bundle
463
473
  # clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
464
474
  # code - string - Bundle code. This code forms the end part of the Public URL.
@@ -542,7 +552,7 @@ module Files
542
552
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
543
553
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
544
554
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
545
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
555
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code`, `user_id` or `bypasses_site_expiration_rules`. Valid field combinations are `[ user_id, expires_at ]`.
546
556
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
547
557
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
548
558
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -589,6 +599,7 @@ module Files
589
599
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
590
600
  # paths (required) - array(string) - A list of paths to include in this bundle.
591
601
  # password - string - Password for this bundle.
602
+ # bypasses_site_expiration_rules - boolean - If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
592
603
  # form_field_set_id - int64 - Id of Form Field Set to use with this bundle
593
604
  # create_snapshot - boolean - If true, create a snapshot of this bundle's contents.
594
605
  # dont_separate_submissions_by_folder - boolean - Do not create subfolders for files uploaded to this share. Note: there are subtle security pitfalls with allowing anonymous uploads from multiple users to live in the same folder. We strongly discourage use of this option unless absolutely required.
@@ -660,6 +671,7 @@ module Files
660
671
  # Parameters:
661
672
  # paths - array(string) - A list of paths to include in this bundle.
662
673
  # password - string - Password for this bundle.
674
+ # bypasses_site_expiration_rules - boolean - If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
663
675
  # form_field_set_id - int64 - Id of Form Field Set to use with this bundle
664
676
  # clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
665
677
  # code - string - Bundle code. This code forms the end part of the Public URL.
@@ -219,6 +219,11 @@ module Files
219
219
  @attributes[:enabled]
220
220
  end
221
221
 
222
+ # boolean - Should this strategy be displayed on the login page?
223
+ def display_on_login_page
224
+ @attributes[:display_on_login_page]
225
+ end
226
+
222
227
  # string - LDAP host
223
228
  def ldap_host
224
229
  @attributes[:ldap_host]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.610"
4
+ VERSION = "1.1.611"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.610
4
+ version: 1.1.611
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com