files.com 1.0.280 → 1.0.281
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/site.md +2 -0
- data/docs/user.md +4 -0
- data/lib/files.com/models/user.rb +14 -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: a512e9a1cf5610592440cb28438807256e0ce1dd62ada21abf077decc9e7aad9
|
4
|
+
data.tar.gz: c42677f79f36faf398f7eced5cd36ddb97f1122ee29013d036f4e4ec975d3bee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98ddf1bf3441cf526e68e427f295004160323e83568f1185c0f825539bcac6910f7fef396f489807b8e7f11cec374912643a31f83ac04104fd5502e7d9a96474
|
7
|
+
data.tar.gz: 447eefd6bc63ac2df4431bf94976201fdf7533a5b21d3ff85a97e07cf9da7ca877cef82cb2f1af3b473da399923795623c2be2b57daf6f0d363f23b37f73aac4
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.281
|
data/docs/site.md
CHANGED
@@ -178,6 +178,7 @@
|
|
178
178
|
"dav_permission": true,
|
179
179
|
"disabled": true,
|
180
180
|
"email": "john.doe@files.com",
|
181
|
+
"first_login_at": "2000-01-01T01:00:00Z",
|
181
182
|
"ftp_permission": true,
|
182
183
|
"group_ids": "",
|
183
184
|
"header_text": "User-specific message.",
|
@@ -209,6 +210,7 @@
|
|
209
210
|
"externally_managed": true,
|
210
211
|
"time_zone": "Pacific Time (US & Canada)",
|
211
212
|
"type_of_2fa": "yubi",
|
213
|
+
"updated_at": "2000-01-01T01:00:00Z",
|
212
214
|
"user_root": ""
|
213
215
|
},
|
214
216
|
"user_lockout": true,
|
data/docs/user.md
CHANGED
@@ -22,6 +22,7 @@
|
|
22
22
|
"dav_permission": true,
|
23
23
|
"disabled": true,
|
24
24
|
"email": "john.doe@files.com",
|
25
|
+
"first_login_at": "2000-01-01T01:00:00Z",
|
25
26
|
"ftp_permission": true,
|
26
27
|
"group_ids": "",
|
27
28
|
"header_text": "User-specific message.",
|
@@ -53,6 +54,7 @@
|
|
53
54
|
"externally_managed": true,
|
54
55
|
"time_zone": "Pacific Time (US & Canada)",
|
55
56
|
"type_of_2fa": "yubi",
|
57
|
+
"updated_at": "2000-01-01T01:00:00Z",
|
56
58
|
"user_root": ""
|
57
59
|
}
|
58
60
|
```
|
@@ -73,6 +75,7 @@
|
|
73
75
|
* `dav_permission` (boolean): Can the user connect with WebDAV?
|
74
76
|
* `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.
|
75
77
|
* `email` (email): User email address
|
78
|
+
* `first_login_at` (date-time): User's first login time
|
76
79
|
* `ftp_permission` (boolean): Can the user access with FTP/FTPS?
|
77
80
|
* `group_ids` (string): Comma-separated list of group IDs of which this user is a member
|
78
81
|
* `header_text` (string): Text to display to the user in the header of the UI
|
@@ -104,6 +107,7 @@
|
|
104
107
|
* `externally_managed` (boolean): Is this user managed by a SsoStrategy?
|
105
108
|
* `time_zone` (string): User time zone
|
106
109
|
* `type_of_2fa` (string): Type(s) of 2FA methods in use. Will be either `sms`, `totp`, `u2f`, `yubi`, or multiple values sorted alphabetically and joined by an underscore.
|
110
|
+
* `updated_at` (date-time): User record last updated at. Note this may be incremented because of internal or external updates.
|
107
111
|
* `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set.) Note that this is not used for API, Desktop, or Web interface.
|
108
112
|
* `avatar_file` (file): An image file for your user avatar.
|
109
113
|
* `avatar_delete` (boolean): If true, the avatar will be deleted.
|
@@ -149,6 +149,15 @@ module Files
|
|
149
149
|
@attributes[:email] = value
|
150
150
|
end
|
151
151
|
|
152
|
+
# date-time - User's first login time
|
153
|
+
def first_login_at
|
154
|
+
@attributes[:first_login_at]
|
155
|
+
end
|
156
|
+
|
157
|
+
def first_login_at=(value)
|
158
|
+
@attributes[:first_login_at] = value
|
159
|
+
end
|
160
|
+
|
152
161
|
# boolean - Can the user access with FTP/FTPS?
|
153
162
|
def ftp_permission
|
154
163
|
@attributes[:ftp_permission]
|
@@ -428,6 +437,11 @@ module Files
|
|
428
437
|
@attributes[:type_of_2fa] = value
|
429
438
|
end
|
430
439
|
|
440
|
+
# date-time - User record last updated at. Note this may be incremented because of internal or external updates.
|
441
|
+
def updated_at
|
442
|
+
@attributes[:updated_at]
|
443
|
+
end
|
444
|
+
|
431
445
|
# string - Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set.) Note that this is not used for API, Desktop, or Web interface.
|
432
446
|
def user_root
|
433
447
|
@attributes[:user_root]
|
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.281
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|