files.com 1.1.333 → 1.1.334
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 +4 -4
- data/_VERSION +1 -1
- data/docs/site.md +1 -0
- data/docs/sso_strategy.md +4 -2
- data/docs/user.md +8 -0
- data/lib/files.com/models/sso_strategy.rb +6 -1
- data/lib/files.com/models/user.rb +15 -0
- 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: f9488cfb5b22f57a1844d34b93def327e31405e10072458227754a4282ccd7bb
|
4
|
+
data.tar.gz: ad460ec7456e52ae77ab04bfb2ba4f3ac6d4acad893f9c6e5e8db19efe87148d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b39d39032a8d48a88a8cef3c897e4ba0be8af21a526dc7783a86ab69eb493d18518d2f1bcfc186009ae700d16c61202e8dcd4f156617f2b0da06b7c68929004
|
7
|
+
data.tar.gz: 111dc8e5298f71d990bd7923cb67680880872ce4dc94423935abadce07fa4df127d21ad68a4c73b2ae25feff86c5f76d3f02fef341f4e1561a6149beee8f5a3d
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.334
|
data/docs/site.md
CHANGED
data/docs/sso_strategy.md
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
"scim_username": "example",
|
21
21
|
"scim_oauth_access_token": "example",
|
22
22
|
"scim_oauth_access_token_expires_at": "example",
|
23
|
-
"subdomain": "
|
23
|
+
"subdomain": "",
|
24
24
|
"provision_users": true,
|
25
25
|
"provision_groups": true,
|
26
26
|
"deprovision_users": true,
|
@@ -41,6 +41,7 @@
|
|
41
41
|
"provision_time_zone": "Eastern Time (US & Canada)",
|
42
42
|
"provision_company": "ACME Corp.",
|
43
43
|
"provision_require_2fa": "always_require",
|
44
|
+
"provision_filesystem_layout": "integration_centric",
|
44
45
|
"provider_identifier": "",
|
45
46
|
"ldap_base_dn": "example",
|
46
47
|
"ldap_domain": "mysite.com",
|
@@ -71,7 +72,7 @@
|
|
71
72
|
* `scim_username` (string): SCIM username.
|
72
73
|
* `scim_oauth_access_token` (string): SCIM OAuth Access Token.
|
73
74
|
* `scim_oauth_access_token_expires_at` (string): SCIM OAuth Access Token Expiration Time.
|
74
|
-
* `subdomain` (string): Subdomain
|
75
|
+
* `subdomain` (string): Subdomain or domain name for your auth provider. Example: `https://[subdomain].okta.com/`
|
75
76
|
* `provision_users` (boolean): Auto-provision users?
|
76
77
|
* `provision_groups` (boolean): Auto-provision group membership based on group memberships on the SSO side?
|
77
78
|
* `deprovision_users` (boolean): Auto-deprovision users?
|
@@ -92,6 +93,7 @@
|
|
92
93
|
* `provision_time_zone` (string): Default time zone for auto provisioned users.
|
93
94
|
* `provision_company` (string): Default company for auto provisioned users.
|
94
95
|
* `provision_require_2fa` (string): 2FA required setting for auto provisioned users.
|
96
|
+
* `provision_filesystem_layout` (string): File System layout to use for auto provisioned users.
|
95
97
|
* `provider_identifier` (string): URL-friendly, unique identifier for Azure SAML configuration
|
96
98
|
* `ldap_base_dn` (string): Base DN for looking up users in LDAP server
|
97
99
|
* `ldap_domain` (string): Domain name that will be appended to LDAP usernames
|
data/docs/user.md
CHANGED
@@ -24,6 +24,7 @@
|
|
24
24
|
"disabled": true,
|
25
25
|
"disabled_expired_or_inactive": true,
|
26
26
|
"email": "john.doe@files.com",
|
27
|
+
"filesystem_layout": "site_root",
|
27
28
|
"first_login_at": "2000-01-01T01:00:00Z",
|
28
29
|
"ftp_permission": true,
|
29
30
|
"group_ids": "example",
|
@@ -93,6 +94,7 @@
|
|
93
94
|
* `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
|
94
95
|
* `disabled_expired_or_inactive` (boolean): Computed property that returns true if user disabled or expired or inactive.
|
95
96
|
* `email` (email): User email address
|
97
|
+
* `filesystem_layout` (string): File system layout
|
96
98
|
* `first_login_at` (date-time): User's first login time
|
97
99
|
* `ftp_permission` (boolean): Can the user access with FTP/FTPS?
|
98
100
|
* `group_ids` (string): Comma-separated list of group IDs of which this user is a member
|
@@ -213,6 +215,7 @@ Files::User.create(
|
|
213
215
|
bypass_site_allowed_ips: false,
|
214
216
|
dav_permission: true,
|
215
217
|
disabled: true,
|
218
|
+
filesystem_layout: "site_root",
|
216
219
|
ftp_permission: true,
|
217
220
|
header_text: "User-specific message.",
|
218
221
|
language: "en",
|
@@ -265,6 +268,7 @@ Files::User.create(
|
|
265
268
|
* `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
|
266
269
|
* `dav_permission` (boolean): Can the user connect with WebDAV?
|
267
270
|
* `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
|
271
|
+
* `filesystem_layout` (string): File system layout
|
268
272
|
* `ftp_permission` (boolean): Can the user access with FTP/FTPS?
|
269
273
|
* `header_text` (string): Text to display to the user in the header of the UI
|
270
274
|
* `language` (string): Preferred language
|
@@ -352,6 +356,7 @@ Files::User.update(id,
|
|
352
356
|
bypass_site_allowed_ips: false,
|
353
357
|
dav_permission: true,
|
354
358
|
disabled: true,
|
359
|
+
filesystem_layout: "site_root",
|
355
360
|
ftp_permission: true,
|
356
361
|
header_text: "User-specific message.",
|
357
362
|
language: "en",
|
@@ -406,6 +411,7 @@ Files::User.update(id,
|
|
406
411
|
* `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
|
407
412
|
* `dav_permission` (boolean): Can the user connect with WebDAV?
|
408
413
|
* `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
|
414
|
+
* `filesystem_layout` (string): File system layout
|
409
415
|
* `ftp_permission` (boolean): Can the user access with FTP/FTPS?
|
410
416
|
* `header_text` (string): Text to display to the user in the header of the UI
|
411
417
|
* `language` (string): Preferred language
|
@@ -518,6 +524,7 @@ user.update(
|
|
518
524
|
bypass_site_allowed_ips: false,
|
519
525
|
dav_permission: true,
|
520
526
|
disabled: true,
|
527
|
+
filesystem_layout: "site_root",
|
521
528
|
ftp_permission: true,
|
522
529
|
header_text: "User-specific message.",
|
523
530
|
language: "en",
|
@@ -572,6 +579,7 @@ user.update(
|
|
572
579
|
* `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
|
573
580
|
* `dav_permission` (boolean): Can the user connect with WebDAV?
|
574
581
|
* `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
|
582
|
+
* `filesystem_layout` (string): File system layout
|
575
583
|
* `ftp_permission` (boolean): Can the user access with FTP/FTPS?
|
576
584
|
* `header_text` (string): Text to display to the user in the header of the UI
|
577
585
|
* `language` (string): Preferred language
|
@@ -89,7 +89,7 @@ module Files
|
|
89
89
|
@attributes[:scim_oauth_access_token_expires_at]
|
90
90
|
end
|
91
91
|
|
92
|
-
# string - Subdomain
|
92
|
+
# string - Subdomain or domain name for your auth provider. Example: `https://[subdomain].okta.com/`
|
93
93
|
def subdomain
|
94
94
|
@attributes[:subdomain]
|
95
95
|
end
|
@@ -194,6 +194,11 @@ module Files
|
|
194
194
|
@attributes[:provision_require_2fa]
|
195
195
|
end
|
196
196
|
|
197
|
+
# string - File System layout to use for auto provisioned users.
|
198
|
+
def provision_filesystem_layout
|
199
|
+
@attributes[:provision_filesystem_layout]
|
200
|
+
end
|
201
|
+
|
197
202
|
# string - URL-friendly, unique identifier for Azure SAML configuration
|
198
203
|
def provider_identifier
|
199
204
|
@attributes[:provider_identifier]
|
@@ -167,6 +167,15 @@ module Files
|
|
167
167
|
@attributes[:email] = value
|
168
168
|
end
|
169
169
|
|
170
|
+
# string - File system layout
|
171
|
+
def filesystem_layout
|
172
|
+
@attributes[:filesystem_layout]
|
173
|
+
end
|
174
|
+
|
175
|
+
def filesystem_layout=(value)
|
176
|
+
@attributes[:filesystem_layout] = value
|
177
|
+
end
|
178
|
+
|
170
179
|
# date-time - User's first login time
|
171
180
|
def first_login_at
|
172
181
|
@attributes[:first_login_at]
|
@@ -753,6 +762,7 @@ module Files
|
|
753
762
|
# bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
|
754
763
|
# dav_permission - boolean - Can the user connect with WebDAV?
|
755
764
|
# disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
|
765
|
+
# filesystem_layout - string - File system layout
|
756
766
|
# ftp_permission - boolean - Can the user access with FTP/FTPS?
|
757
767
|
# header_text - string - Text to display to the user in the header of the UI
|
758
768
|
# language - string - Preferred language
|
@@ -797,6 +807,7 @@ module Files
|
|
797
807
|
raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params[:allowed_ips] and !params[:allowed_ips].is_a?(String)
|
798
808
|
raise InvalidParameterError.new("Bad parameter: authenticate_until must be an String") if params[:authenticate_until] and !params[:authenticate_until].is_a?(String)
|
799
809
|
raise InvalidParameterError.new("Bad parameter: authentication_method must be an String") if params[:authentication_method] and !params[:authentication_method].is_a?(String)
|
810
|
+
raise InvalidParameterError.new("Bad parameter: filesystem_layout must be an String") if params[:filesystem_layout] and !params[:filesystem_layout].is_a?(String)
|
800
811
|
raise InvalidParameterError.new("Bad parameter: header_text must be an String") if params[:header_text] and !params[:header_text].is_a?(String)
|
801
812
|
raise InvalidParameterError.new("Bad parameter: language must be an String") if params[:language] and !params[:language].is_a?(String)
|
802
813
|
raise InvalidParameterError.new("Bad parameter: notification_daily_send_time must be an Integer") if params[:notification_daily_send_time] and !params[:notification_daily_send_time].is_a?(Integer)
|
@@ -919,6 +930,7 @@ module Files
|
|
919
930
|
# bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
|
920
931
|
# dav_permission - boolean - Can the user connect with WebDAV?
|
921
932
|
# disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
|
933
|
+
# filesystem_layout - string - File system layout
|
922
934
|
# ftp_permission - boolean - Can the user access with FTP/FTPS?
|
923
935
|
# header_text - string - Text to display to the user in the header of the UI
|
924
936
|
# language - string - Preferred language
|
@@ -958,6 +970,7 @@ module Files
|
|
958
970
|
raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params[:allowed_ips] and !params[:allowed_ips].is_a?(String)
|
959
971
|
raise InvalidParameterError.new("Bad parameter: authenticate_until must be an String") if params[:authenticate_until] and !params[:authenticate_until].is_a?(String)
|
960
972
|
raise InvalidParameterError.new("Bad parameter: authentication_method must be an String") if params[:authentication_method] and !params[:authentication_method].is_a?(String)
|
973
|
+
raise InvalidParameterError.new("Bad parameter: filesystem_layout must be an String") if params[:filesystem_layout] and !params[:filesystem_layout].is_a?(String)
|
961
974
|
raise InvalidParameterError.new("Bad parameter: header_text must be an String") if params[:header_text] and !params[:header_text].is_a?(String)
|
962
975
|
raise InvalidParameterError.new("Bad parameter: language must be an String") if params[:language] and !params[:language].is_a?(String)
|
963
976
|
raise InvalidParameterError.new("Bad parameter: notification_daily_send_time must be an Integer") if params[:notification_daily_send_time] and !params[:notification_daily_send_time].is_a?(Integer)
|
@@ -1034,6 +1047,7 @@ module Files
|
|
1034
1047
|
# bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
|
1035
1048
|
# dav_permission - boolean - Can the user connect with WebDAV?
|
1036
1049
|
# disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
|
1050
|
+
# filesystem_layout - string - File system layout
|
1037
1051
|
# ftp_permission - boolean - Can the user access with FTP/FTPS?
|
1038
1052
|
# header_text - string - Text to display to the user in the header of the UI
|
1039
1053
|
# language - string - Preferred language
|
@@ -1077,6 +1091,7 @@ module Files
|
|
1077
1091
|
raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params[:allowed_ips] and !params[:allowed_ips].is_a?(String)
|
1078
1092
|
raise InvalidParameterError.new("Bad parameter: authenticate_until must be an String") if params[:authenticate_until] and !params[:authenticate_until].is_a?(String)
|
1079
1093
|
raise InvalidParameterError.new("Bad parameter: authentication_method must be an String") if params[:authentication_method] and !params[:authentication_method].is_a?(String)
|
1094
|
+
raise InvalidParameterError.new("Bad parameter: filesystem_layout must be an String") if params[:filesystem_layout] and !params[:filesystem_layout].is_a?(String)
|
1080
1095
|
raise InvalidParameterError.new("Bad parameter: header_text must be an String") if params[:header_text] and !params[:header_text].is_a?(String)
|
1081
1096
|
raise InvalidParameterError.new("Bad parameter: language must be an String") if params[:language] and !params[:language].is_a?(String)
|
1082
1097
|
raise InvalidParameterError.new("Bad parameter: notification_daily_send_time must be an Integer") if params[:notification_daily_send_time] and !params[:notification_daily_send_time].is_a?(Integer)
|
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.334
|
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-10-
|
11
|
+
date: 2025-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|