files.com 1.1.219 → 1.1.221
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/folder.md +2 -0
- data/docs/sso_strategy.md +2 -2
- data/lib/files.com/models/folder.rb +2 -0
- data/lib/files.com/models/sso_strategy.rb +2 -2
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b769718dd879d09f543b86343ab0fc70ed7c4a0e6576338ea149f35dc7cbda89
|
4
|
+
data.tar.gz: 3dc79ce568c34523b24459ae60ef5de77077a2f8392aea62a662ea49c7538ac0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd5fd35f5b9d5563d48167351830860fb1d664ace965ce26dea9a640476835e4d264d80ac3c7350944976725d98d549a57bf0689d00bfd64641c99178da79173
|
7
|
+
data.tar.gz: 077c4fba80389305e441b8c9d1610f7fb77266a9736612226b0d3f49080fca24b862b3278e2e502049e1341b46c85571fc031b9c738d35e3c259dc61d996860c
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.221
|
data/docs/folder.md
CHANGED
@@ -100,6 +100,7 @@ Files::Dir is an alias of Files::Folder
|
|
100
100
|
```
|
101
101
|
Files::Folder.list_for(path,
|
102
102
|
search: "some-partial-filename",
|
103
|
+
search_custom_metadata_key: "some-metadata-key",
|
103
104
|
search_all: false,
|
104
105
|
with_previews: false,
|
105
106
|
with_priority_color: false
|
@@ -114,6 +115,7 @@ Files::Folder.list_for(path,
|
|
114
115
|
* `preview_size` (string): Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
|
115
116
|
* `sort_by` (object): Search by field and direction. Valid fields are `path`, `size`, `modified_at_datetime`, `provided_modified_at`. Valid directions are `asc` and `desc`. Defaults to `{"path":"asc"}`.
|
116
117
|
* `search` (string): If specified, will search the folders/files list by name. Ignores text before last `/`. This is the same API used by the search bar in the web UI when running 'Search This Folder'. Search results are a best effort, not real time, and not guaranteed to perfectly match the latest folder listing. Results may be truncated if more than 1,000 possible matches exist. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
|
118
|
+
* `search_custom_metadata_key` (string): If provided, the search string in `search` will search for files where this custom metadata key matches the value sent in `search`. Set this to `*` to allow any metadata key to match the value sent in `search`.
|
117
119
|
* `search_all` (boolean): Search entire site? If set, we will ignore the folder path provided and search the entire site. This is the same API used by the search bar in the web UI when running 'Search All Files'. Search results are a best effort, not real time, and not guaranteed to match every file. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
|
118
120
|
* `with_previews` (boolean): Include file previews?
|
119
121
|
* `with_priority_color` (boolean): Include file priority color information?
|
data/docs/sso_strategy.md
CHANGED
@@ -40,7 +40,7 @@
|
|
40
40
|
"provision_time_zone": "Eastern Time (US & Canada)",
|
41
41
|
"provision_company": "ACME Corp.",
|
42
42
|
"provision_require_2fa": "always_require",
|
43
|
-
"
|
43
|
+
"provider_identifier": "",
|
44
44
|
"ldap_base_dn": "example",
|
45
45
|
"ldap_domain": "mysite.com",
|
46
46
|
"enabled": true,
|
@@ -90,7 +90,7 @@
|
|
90
90
|
* `provision_time_zone` (string): Default time zone for auto provisioned users.
|
91
91
|
* `provision_company` (string): Default company for auto provisioned users.
|
92
92
|
* `provision_require_2fa` (string): 2FA required setting for auto provisioned users.
|
93
|
-
* `
|
93
|
+
* `provider_identifier` (string): URL-friendly, unique identifier for Azure SAML configuration
|
94
94
|
* `ldap_base_dn` (string): Base DN for looking up users in LDAP server
|
95
95
|
* `ldap_domain` (string): Domain name that will be appended to LDAP usernames
|
96
96
|
* `enabled` (boolean): Is strategy enabled? This may become automatically set to `false` after a high number and duration of failures.
|
@@ -483,6 +483,7 @@ module Files
|
|
483
483
|
# preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
|
484
484
|
# sort_by - object - Search by field and direction. Valid fields are `path`, `size`, `modified_at_datetime`, `provided_modified_at`. Valid directions are `asc` and `desc`. Defaults to `{"path":"asc"}`.
|
485
485
|
# search - string - If specified, will search the folders/files list by name. Ignores text before last `/`. This is the same API used by the search bar in the web UI when running 'Search This Folder'. Search results are a best effort, not real time, and not guaranteed to perfectly match the latest folder listing. Results may be truncated if more than 1,000 possible matches exist. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
|
486
|
+
# search_custom_metadata_key - string - If provided, the search string in `search` will search for files where this custom metadata key matches the value sent in `search`. Set this to `*` to allow any metadata key to match the value sent in `search`.
|
486
487
|
# search_all - boolean - Search entire site? If set, we will ignore the folder path provided and search the entire site. This is the same API used by the search bar in the web UI when running 'Search All Files'. Search results are a best effort, not real time, and not guaranteed to match every file. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
|
487
488
|
# with_previews - boolean - Include file previews?
|
488
489
|
# with_priority_color - boolean - Include file priority color information?
|
@@ -495,6 +496,7 @@ module Files
|
|
495
496
|
raise InvalidParameterError.new("Bad parameter: preview_size must be an String") if params[:preview_size] and !params[:preview_size].is_a?(String)
|
496
497
|
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
497
498
|
raise InvalidParameterError.new("Bad parameter: search must be an String") if params[:search] and !params[:search].is_a?(String)
|
499
|
+
raise InvalidParameterError.new("Bad parameter: search_custom_metadata_key must be an String") if params[:search_custom_metadata_key] and !params[:search_custom_metadata_key].is_a?(String)
|
498
500
|
raise MissingParameterError.new("Parameter missing: path") unless params[:path]
|
499
501
|
|
500
502
|
List.new(File, params) do
|
@@ -190,8 +190,8 @@ module Files
|
|
190
190
|
end
|
191
191
|
|
192
192
|
# string - URL-friendly, unique identifier for Azure SAML configuration
|
193
|
-
def
|
194
|
-
@attributes[:
|
193
|
+
def provider_identifier
|
194
|
+
@attributes[:provider_identifier]
|
195
195
|
end
|
196
196
|
|
197
197
|
# string - Base DN for looking up users in LDAP server
|
data/lib/files.com/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: files.com
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.221
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|