files.com 1.0.350 → 1.0.352
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 +4 -0
- data/docs/snapshot.md +2 -1
- data/docs/sso_strategy.md +2 -0
- data/lib/files.com/models/site.rb +6 -0
- data/lib/files.com/models/snapshot.rb +9 -9
- data/lib/files.com/models/sso_strategy.rb +5 -0
- 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: 18a1c17dca4c9b5d72b9d7268c50b12d0f053406e44eccb496d36c545b3dc2b4
|
|
4
|
+
data.tar.gz: 7909a2ad4c46c27410ed71c4ee87eb3fef369a46e81d9d924622024e0eeb42db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f8830f0915d8ab26a68cf91b8dc71688ac100d34507e45dd583128970056666df43df5be4dc599f912511d60218951ebc81b624fb1f97aa1632e742b575fd26
|
|
7
|
+
data.tar.gz: 508b5c73daff23da85effee27daf8d9163025d078d1af69bfeac9092e22c2ab8b676dcb1e7907037ec614653f56277e76510b1df4aafdb44673f0a0050738dd6
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.352
|
data/docs/site.md
CHANGED
|
@@ -108,6 +108,7 @@
|
|
|
108
108
|
"require_2fa": true,
|
|
109
109
|
"require_2fa_stop_time": "2000-01-01T01:00:00Z",
|
|
110
110
|
"require_2fa_user_type": "`site_admins`",
|
|
111
|
+
"require_logout_from_bundles_and_inboxes": true,
|
|
111
112
|
"session": {
|
|
112
113
|
"id": "60525f92e859c4c3d74cb02fd176b1525901b525",
|
|
113
114
|
"language": "en",
|
|
@@ -321,6 +322,7 @@
|
|
|
321
322
|
* `require_2fa` (boolean): Require two-factor authentication for all users?
|
|
322
323
|
* `require_2fa_stop_time` (date-time): If set, requirement for two-factor authentication has been scheduled to end on this date-time.
|
|
323
324
|
* `require_2fa_user_type` (string): What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
|
|
325
|
+
* `require_logout_from_bundles_and_inboxes` (boolean): If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
|
|
324
326
|
* `session` (Session): Current session
|
|
325
327
|
* `session_pinned_by_ip` (boolean): Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
|
|
326
328
|
* `sftp_enabled` (boolean): Is SFTP enabled?
|
|
@@ -442,6 +444,7 @@ Files::Site.update(
|
|
|
442
444
|
password_require_special: true,
|
|
443
445
|
password_require_number: true,
|
|
444
446
|
password_require_unbreached: true,
|
|
447
|
+
require_logout_from_bundles_and_inboxes: true,
|
|
445
448
|
sftp_user_root_enabled: true,
|
|
446
449
|
disable_password_reset: true,
|
|
447
450
|
immutable_files: true,
|
|
@@ -573,6 +576,7 @@ Files::Site.update(
|
|
|
573
576
|
* `password_require_special` (boolean): Require special characters in password?
|
|
574
577
|
* `password_require_number` (boolean): Require a number in passwords?
|
|
575
578
|
* `password_require_unbreached` (boolean): Require passwords that have not been previously breached? (see https://haveibeenpwned.com/)
|
|
579
|
+
* `require_logout_from_bundles_and_inboxes` (boolean): If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
|
|
576
580
|
* `sftp_user_root_enabled` (boolean): Use user FTP roots also for SFTP?
|
|
577
581
|
* `disable_password_reset` (boolean): Is password reset disabled?
|
|
578
582
|
* `immutable_files` (boolean): Are files protected from modification?
|
data/docs/snapshot.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
```
|
|
6
6
|
{
|
|
7
|
+
"id": 1,
|
|
7
8
|
"expires_at": "2000-01-01T01:00:00Z",
|
|
8
9
|
"finalized_at": "2000-01-01T01:00:00Z",
|
|
9
10
|
"name": "My Snapshot",
|
|
@@ -12,13 +13,13 @@
|
|
|
12
13
|
}
|
|
13
14
|
```
|
|
14
15
|
|
|
16
|
+
* `id` (int64): The snapshot's unique ID.
|
|
15
17
|
* `expires_at` (date-time): When the snapshot expires.
|
|
16
18
|
* `finalized_at` (date-time): When the snapshot was finalized.
|
|
17
19
|
* `name` (string): A name for the snapshot.
|
|
18
20
|
* `user_id` (int64): The user that created this snapshot, if applicable.
|
|
19
21
|
* `bundle_id` (int64): The bundle using this snapshot, if applicable.
|
|
20
22
|
* `paths` (array(string)): An array of paths to add to the snapshot.
|
|
21
|
-
* `id` (int64): Snapshot ID.
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
---
|
data/docs/sso_strategy.md
CHANGED
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"provision_group_required": "example",
|
|
32
32
|
"provision_email_signup_groups": "Employees",
|
|
33
33
|
"provision_site_admin_groups": "Employees",
|
|
34
|
+
"provision_group_admin_groups": "Employees",
|
|
34
35
|
"provision_attachments_permission": true,
|
|
35
36
|
"provision_dav_permission": true,
|
|
36
37
|
"provision_ftp_permission": true,
|
|
@@ -77,6 +78,7 @@
|
|
|
77
78
|
* `provision_group_required` (string): Comma or newline separated list of group names (with optional wildcards) to require membership for user provisioning.
|
|
78
79
|
* `provision_email_signup_groups` (string): Comma-separated list of group names whose members will be created with email_signup authentication.
|
|
79
80
|
* `provision_site_admin_groups` (string): Comma-separated list of group names whose members will be created as Site Admins.
|
|
81
|
+
* `provision_group_admin_groups` (string): Comma-separated list of group names whose members will be provisioned as Group Admins.
|
|
80
82
|
* `provision_attachments_permission` (boolean): DEPRECATED: Auto-provisioned users get Sharing permission. Use a Group with the Bundle permission instead.
|
|
81
83
|
* `provision_dav_permission` (boolean): Auto-provisioned users get WebDAV permission?
|
|
82
84
|
* `provision_ftp_permission` (boolean): Auto-provisioned users get FTP permission?
|
|
@@ -519,6 +519,11 @@ module Files
|
|
|
519
519
|
@attributes[:require_2fa_user_type]
|
|
520
520
|
end
|
|
521
521
|
|
|
522
|
+
# boolean - If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
|
|
523
|
+
def require_logout_from_bundles_and_inboxes
|
|
524
|
+
@attributes[:require_logout_from_bundles_and_inboxes]
|
|
525
|
+
end
|
|
526
|
+
|
|
522
527
|
# Session - Current session
|
|
523
528
|
def session
|
|
524
529
|
@attributes[:session]
|
|
@@ -789,6 +794,7 @@ module Files
|
|
|
789
794
|
# password_require_special - boolean - Require special characters in password?
|
|
790
795
|
# password_require_number - boolean - Require a number in passwords?
|
|
791
796
|
# password_require_unbreached - boolean - Require passwords that have not been previously breached? (see https://haveibeenpwned.com/)
|
|
797
|
+
# require_logout_from_bundles_and_inboxes - boolean - If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
|
|
792
798
|
# sftp_user_root_enabled - boolean - Use user FTP roots also for SFTP?
|
|
793
799
|
# disable_password_reset - boolean - Is password reset disabled?
|
|
794
800
|
# immutable_files - boolean - Are files protected from modification?
|
|
@@ -9,6 +9,15 @@ module Files
|
|
|
9
9
|
@options = options || {}
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
+
# int64 - The snapshot's unique ID.
|
|
13
|
+
def id
|
|
14
|
+
@attributes[:id]
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
def id=(value)
|
|
18
|
+
@attributes[:id] = value
|
|
19
|
+
end
|
|
20
|
+
|
|
12
21
|
# date-time - When the snapshot expires.
|
|
13
22
|
def expires_at
|
|
14
23
|
@attributes[:expires_at]
|
|
@@ -63,15 +72,6 @@ module Files
|
|
|
63
72
|
@attributes[:paths] = value
|
|
64
73
|
end
|
|
65
74
|
|
|
66
|
-
# int64 - Snapshot ID.
|
|
67
|
-
def id
|
|
68
|
-
@attributes[:id]
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
def id=(value)
|
|
72
|
-
@attributes[:id] = value
|
|
73
|
-
end
|
|
74
|
-
|
|
75
75
|
# Parameters:
|
|
76
76
|
# expires_at - string - When the snapshot expires.
|
|
77
77
|
# name - string - A name for the snapshot.
|
|
@@ -144,6 +144,11 @@ module Files
|
|
|
144
144
|
@attributes[:provision_site_admin_groups]
|
|
145
145
|
end
|
|
146
146
|
|
|
147
|
+
# string - Comma-separated list of group names whose members will be provisioned as Group Admins.
|
|
148
|
+
def provision_group_admin_groups
|
|
149
|
+
@attributes[:provision_group_admin_groups]
|
|
150
|
+
end
|
|
151
|
+
|
|
147
152
|
# boolean - DEPRECATED: Auto-provisioned users get Sharing permission. Use a Group with the Bundle permission instead.
|
|
148
153
|
def provision_attachments_permission
|
|
149
154
|
@attributes[:provision_attachments_permission]
|
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.0.
|
|
4
|
+
version: 1.0.352
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-05-
|
|
11
|
+
date: 2023-05-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|