files.com 1.1.342 → 1.1.344
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/gpg_key.md +2 -0
- data/docs/partner.md +8 -0
- data/docs/site.md +1 -0
- data/docs/user.md +2 -0
- data/lib/files.com/models/gpg_key.rb +9 -0
- data/lib/files.com/models/partner.rb +12 -0
- data/lib/files.com/models/user.rb +9 -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: a8455c4d3b0e422dbf83001c67743bafdce668f483f4898733282b76cdeef365
|
|
4
|
+
data.tar.gz: 0e4e15bf5b3676892e9634daf5b2e400a4d4cb0790cde22fd29a284dc4222f01
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51bb5e31c7693dcd44daca482a846a525938051fe05ce42568558cb087dfe2acda00c126e38b815d04b077f10b72a8d9231b2628c557453bfde00dd1eedc5128
|
|
7
|
+
data.tar.gz: e5845a376f3cba5ff50ec57dc1f9c14d0f0e0b152bedf5f7f885d5d6ff01966a59fe4c58b49bac32ce9f6b6607d3cdb55f7bac8571e30ff1c51137f0f732dbe2
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.344
|
data/docs/gpg_key.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"expires_at": "2000-01-01T01:00:00Z",
|
|
9
9
|
"name": "key name",
|
|
10
10
|
"partner_id": 1,
|
|
11
|
+
"partner_name": "example",
|
|
11
12
|
"user_id": 1,
|
|
12
13
|
"public_key_md5": "7f8bc1210b09b9ddf469e6b6b8920e76",
|
|
13
14
|
"private_key_md5": "ab236cfe4a195f0226bc2e674afdd6b0",
|
|
@@ -21,6 +22,7 @@
|
|
|
21
22
|
* `expires_at` (date-time): Your GPG key expiration date.
|
|
22
23
|
* `name` (string): Your GPG key name.
|
|
23
24
|
* `partner_id` (int64): Partner ID who owns this GPG Key, if applicable.
|
|
25
|
+
* `partner_name` (string): Name of the Partner who owns this GPG Key, if applicable.
|
|
24
26
|
* `user_id` (int64): User ID who owns this GPG Key, if applicable.
|
|
25
27
|
* `public_key_md5` (string): MD5 hash of your GPG public key
|
|
26
28
|
* `private_key_md5` (string): MD5 hash of your GPG private key.
|
data/docs/partner.md
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
{
|
|
7
7
|
"allow_bypassing_2fa_policies": true,
|
|
8
8
|
"allow_credential_changes": true,
|
|
9
|
+
"allow_providing_gpg_keys": true,
|
|
9
10
|
"allow_user_creation": true,
|
|
10
11
|
"id": 1,
|
|
11
12
|
"name": "Acme Corp",
|
|
@@ -17,6 +18,7 @@
|
|
|
17
18
|
|
|
18
19
|
* `allow_bypassing_2fa_policies` (boolean): Allow users created under this Partner to bypass Two-Factor Authentication policies.
|
|
19
20
|
* `allow_credential_changes` (boolean): Allow Partner Admins to change or reset credentials for users belonging to this Partner.
|
|
21
|
+
* `allow_providing_gpg_keys` (boolean): Allow Partner Admins to provide GPG keys.
|
|
20
22
|
* `allow_user_creation` (boolean): Allow Partner Admins to create users.
|
|
21
23
|
* `id` (int64): The unique ID of the Partner.
|
|
22
24
|
* `name` (string): The name of the Partner.
|
|
@@ -62,6 +64,7 @@ Files::Partner.create(
|
|
|
62
64
|
name: "Acme Corp",
|
|
63
65
|
allow_bypassing_2fa_policies: false,
|
|
64
66
|
allow_credential_changes: false,
|
|
67
|
+
allow_providing_gpg_keys: false,
|
|
65
68
|
allow_user_creation: false,
|
|
66
69
|
notes: "This is a note about the partner.",
|
|
67
70
|
root_folder: "/AcmeCorp",
|
|
@@ -74,6 +77,7 @@ Files::Partner.create(
|
|
|
74
77
|
* `name` (string): The name of the Partner.
|
|
75
78
|
* `allow_bypassing_2fa_policies` (boolean): Allow users created under this Partner to bypass Two-Factor Authentication policies.
|
|
76
79
|
* `allow_credential_changes` (boolean): Allow Partner Admins to change or reset credentials for users belonging to this Partner.
|
|
80
|
+
* `allow_providing_gpg_keys` (boolean): Allow Partner Admins to provide GPG keys.
|
|
77
81
|
* `allow_user_creation` (boolean): Allow Partner Admins to create users.
|
|
78
82
|
* `notes` (string): Notes about this Partner.
|
|
79
83
|
* `root_folder` (string): The root folder path for this Partner.
|
|
@@ -89,6 +93,7 @@ Files::Partner.update(id,
|
|
|
89
93
|
name: "Acme Corp",
|
|
90
94
|
allow_bypassing_2fa_policies: false,
|
|
91
95
|
allow_credential_changes: false,
|
|
96
|
+
allow_providing_gpg_keys: false,
|
|
92
97
|
allow_user_creation: false,
|
|
93
98
|
notes: "This is a note about the partner.",
|
|
94
99
|
root_folder: "/AcmeCorp",
|
|
@@ -102,6 +107,7 @@ Files::Partner.update(id,
|
|
|
102
107
|
* `name` (string): The name of the Partner.
|
|
103
108
|
* `allow_bypassing_2fa_policies` (boolean): Allow users created under this Partner to bypass Two-Factor Authentication policies.
|
|
104
109
|
* `allow_credential_changes` (boolean): Allow Partner Admins to change or reset credentials for users belonging to this Partner.
|
|
110
|
+
* `allow_providing_gpg_keys` (boolean): Allow Partner Admins to provide GPG keys.
|
|
105
111
|
* `allow_user_creation` (boolean): Allow Partner Admins to create users.
|
|
106
112
|
* `notes` (string): Notes about this Partner.
|
|
107
113
|
* `root_folder` (string): The root folder path for this Partner.
|
|
@@ -132,6 +138,7 @@ partner.update(
|
|
|
132
138
|
name: "Acme Corp",
|
|
133
139
|
allow_bypassing_2fa_policies: false,
|
|
134
140
|
allow_credential_changes: false,
|
|
141
|
+
allow_providing_gpg_keys: false,
|
|
135
142
|
allow_user_creation: false,
|
|
136
143
|
notes: "This is a note about the partner.",
|
|
137
144
|
root_folder: "/AcmeCorp",
|
|
@@ -145,6 +152,7 @@ partner.update(
|
|
|
145
152
|
* `name` (string): The name of the Partner.
|
|
146
153
|
* `allow_bypassing_2fa_policies` (boolean): Allow users created under this Partner to bypass Two-Factor Authentication policies.
|
|
147
154
|
* `allow_credential_changes` (boolean): Allow Partner Admins to change or reset credentials for users belonging to this Partner.
|
|
155
|
+
* `allow_providing_gpg_keys` (boolean): Allow Partner Admins to provide GPG keys.
|
|
148
156
|
* `allow_user_creation` (boolean): Allow Partner Admins to create users.
|
|
149
157
|
* `notes` (string): Notes about this Partner.
|
|
150
158
|
* `root_folder` (string): The root folder path for this Partner.
|
data/docs/site.md
CHANGED
data/docs/user.md
CHANGED
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"office_integration_enabled": true,
|
|
49
49
|
"partner_admin": true,
|
|
50
50
|
"partner_id": 1,
|
|
51
|
+
"partner_name": "example",
|
|
51
52
|
"password_set_at": "2000-01-01T01:00:00Z",
|
|
52
53
|
"password_validity_days": 1,
|
|
53
54
|
"public_keys_count": 1,
|
|
@@ -121,6 +122,7 @@
|
|
|
121
122
|
* `office_integration_enabled` (boolean): Enable integration with Office for the web?
|
|
122
123
|
* `partner_admin` (boolean): Is this user a Partner administrator?
|
|
123
124
|
* `partner_id` (int64): Partner ID if this user belongs to a Partner
|
|
125
|
+
* `partner_name` (string): Name of the Partner if this user belongs to a Partner
|
|
124
126
|
* `password_set_at` (date-time): Last time the user's password was set
|
|
125
127
|
* `password_validity_days` (int64): Number of days to allow user to use the same password
|
|
126
128
|
* `public_keys_count` (int64): Number of public keys associated with this user
|
|
@@ -45,6 +45,15 @@ module Files
|
|
|
45
45
|
@attributes[:partner_id] = value
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
# string - Name of the Partner who owns this GPG Key, if applicable.
|
|
49
|
+
def partner_name
|
|
50
|
+
@attributes[:partner_name]
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def partner_name=(value)
|
|
54
|
+
@attributes[:partner_name] = value
|
|
55
|
+
end
|
|
56
|
+
|
|
48
57
|
# int64 - User ID who owns this GPG Key, if applicable.
|
|
49
58
|
def user_id
|
|
50
59
|
@attributes[:user_id]
|
|
@@ -27,6 +27,15 @@ module Files
|
|
|
27
27
|
@attributes[:allow_credential_changes] = value
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
# boolean - Allow Partner Admins to provide GPG keys.
|
|
31
|
+
def allow_providing_gpg_keys
|
|
32
|
+
@attributes[:allow_providing_gpg_keys]
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def allow_providing_gpg_keys=(value)
|
|
36
|
+
@attributes[:allow_providing_gpg_keys] = value
|
|
37
|
+
end
|
|
38
|
+
|
|
30
39
|
# boolean - Allow Partner Admins to create users.
|
|
31
40
|
def allow_user_creation
|
|
32
41
|
@attributes[:allow_user_creation]
|
|
@@ -85,6 +94,7 @@ module Files
|
|
|
85
94
|
# name - string - The name of the Partner.
|
|
86
95
|
# allow_bypassing_2fa_policies - boolean - Allow users created under this Partner to bypass Two-Factor Authentication policies.
|
|
87
96
|
# allow_credential_changes - boolean - Allow Partner Admins to change or reset credentials for users belonging to this Partner.
|
|
97
|
+
# allow_providing_gpg_keys - boolean - Allow Partner Admins to provide GPG keys.
|
|
88
98
|
# allow_user_creation - boolean - Allow Partner Admins to create users.
|
|
89
99
|
# notes - string - Notes about this Partner.
|
|
90
100
|
# root_folder - string - The root folder path for this Partner.
|
|
@@ -167,6 +177,7 @@ module Files
|
|
|
167
177
|
# name - string - The name of the Partner.
|
|
168
178
|
# allow_bypassing_2fa_policies - boolean - Allow users created under this Partner to bypass Two-Factor Authentication policies.
|
|
169
179
|
# allow_credential_changes - boolean - Allow Partner Admins to change or reset credentials for users belonging to this Partner.
|
|
180
|
+
# allow_providing_gpg_keys - boolean - Allow Partner Admins to provide GPG keys.
|
|
170
181
|
# allow_user_creation - boolean - Allow Partner Admins to create users.
|
|
171
182
|
# notes - string - Notes about this Partner.
|
|
172
183
|
# root_folder - string - The root folder path for this Partner.
|
|
@@ -185,6 +196,7 @@ module Files
|
|
|
185
196
|
# name - string - The name of the Partner.
|
|
186
197
|
# allow_bypassing_2fa_policies - boolean - Allow users created under this Partner to bypass Two-Factor Authentication policies.
|
|
187
198
|
# allow_credential_changes - boolean - Allow Partner Admins to change or reset credentials for users belonging to this Partner.
|
|
199
|
+
# allow_providing_gpg_keys - boolean - Allow Partner Admins to provide GPG keys.
|
|
188
200
|
# allow_user_creation - boolean - Allow Partner Admins to create users.
|
|
189
201
|
# notes - string - Notes about this Partner.
|
|
190
202
|
# root_folder - string - The root folder path for this Partner.
|
|
@@ -383,6 +383,15 @@ module Files
|
|
|
383
383
|
@attributes[:partner_id] = value
|
|
384
384
|
end
|
|
385
385
|
|
|
386
|
+
# string - Name of the Partner if this user belongs to a Partner
|
|
387
|
+
def partner_name
|
|
388
|
+
@attributes[:partner_name]
|
|
389
|
+
end
|
|
390
|
+
|
|
391
|
+
def partner_name=(value)
|
|
392
|
+
@attributes[:partner_name] = value
|
|
393
|
+
end
|
|
394
|
+
|
|
386
395
|
# date-time - Last time the user's password was set
|
|
387
396
|
def password_set_at
|
|
388
397
|
@attributes[:password_set_at]
|
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.344
|
|
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-
|
|
11
|
+
date: 2025-11-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|