files.com 1.0.279 → 1.0.282

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f150a3b746d066c2ceed08a5fea04f9d48505ab5e5b2ed4f196b3e7f1b2e9dc
4
- data.tar.gz: 4866f9cbbfe9db7d7146555d95a34f738d9dabd0321601b014e321c200fdcbec
3
+ metadata.gz: b6cd0be1af416ad775c6479753c16bce22ecd24b4a6e5f89b0ec0868f1e2a282
4
+ data.tar.gz: 073edaa553a3e9a9a9f1ca4cb235073873913712b7a9700a909065b8734a3fe3
5
5
  SHA512:
6
- metadata.gz: 52615f94373ae49a77c1d5158048511ba5cc5c647a87d2e9385cef1085d2892a1f64980404914bad6e80b6fc0f3bed36c36630a95be3d44ebb770645af2081a6
7
- data.tar.gz: 6cda6840a077ef6ef12cfd96e93a4d409b185b5a0b084aa8ced77bae54bf73f79c333d59ac71968f68cc2ef06eae84473ad868650b8bdaeaa07520e77cf1877b
6
+ metadata.gz: 8ffb1c6f47d8ff7aad81d41c98f446306e15fac7ae48f77baed664ded604fc9869e1ccd7831a2d6b53b12851436feed7b6be453348a44f3469cbaa9c1b574454
7
+ data.tar.gz: 107989bb5c5d76a52d79b9a6041c1eee867e9008f4fa341c8541cd8b88dcfed1aee3b3697fcfdf52a8d22dc6a5c4e72c27c0505418f587e1f86bb89cedc48070
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.279
1
+ 1.0.282
data/docs/file.md CHANGED
@@ -11,6 +11,7 @@ may places where a Ruby File object can be used.
11
11
  "display_name": "file.txt",
12
12
  "type": "file",
13
13
  "size": 1024,
14
+ "created_at": "2000-01-01T01:00:00Z",
14
15
  "mtime": "2000-01-01T01:00:00Z",
15
16
  "provided_mtime": "2000-01-01T01:00:00Z",
16
17
  "crc32": "70976923",
@@ -36,6 +37,7 @@ may places where a Ruby File object can be used.
36
37
  * `display_name` (string): File/Folder display name
37
38
  * `type` (string): Type: `directory` or `file`.
38
39
  * `size` (int64): File/Folder size
40
+ * `created_at` (date-time): File created date/time
39
41
  * `mtime` (date-time): File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
40
42
  * `provided_mtime` (date-time): File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
41
43
  * `crc32` (string): File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
data/docs/folder.md CHANGED
@@ -13,6 +13,7 @@ Files::Dir is an alias of Files::Folder
13
13
  "display_name": "file.txt",
14
14
  "type": "file",
15
15
  "size": 1024,
16
+ "created_at": "2000-01-01T01:00:00Z",
16
17
  "mtime": "2000-01-01T01:00:00Z",
17
18
  "provided_mtime": "2000-01-01T01:00:00Z",
18
19
  "crc32": "70976923",
@@ -38,6 +39,7 @@ Files::Dir is an alias of Files::Folder
38
39
  * `display_name` (string): File/Folder display name
39
40
  * `type` (string): Type: `directory` or `file`.
40
41
  * `size` (int64): File/Folder size
42
+ * `created_at` (date-time): File created date/time
41
43
  * `mtime` (date-time): File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
42
44
  * `provided_mtime` (date-time): File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
43
45
  * `crc32` (string): File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
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.
@@ -158,6 +158,7 @@ module Files
158
158
 
159
159
  class ProcessingFailureError < APIError; end
160
160
  class BundleOnlyAllowsPreviewsError < ProcessingFailureError; end
161
+ class CouldNotCreateParentError < ProcessingFailureError; end
161
162
  class DestinationExistsError < ProcessingFailureError; end
162
163
  class DestinationFolderLimitedError < ProcessingFailureError; end
163
164
  class DestinationParentConflictError < ProcessingFailureError; end
@@ -628,6 +628,11 @@ module Files
628
628
  @attributes[:size] = value
629
629
  end
630
630
 
631
+ # date-time - File created date/time
632
+ def created_at
633
+ @attributes[:created_at]
634
+ end
635
+
631
636
  # date-time - File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
632
637
  def mtime
633
638
  @attributes[:mtime]
@@ -186,6 +186,11 @@ module Files
186
186
  @attributes[:size] = value
187
187
  end
188
188
 
189
+ # date-time - File created date/time
190
+ def created_at
191
+ @attributes[:created_at]
192
+ end
193
+
189
194
  # date-time - File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
190
195
  def mtime
191
196
  @attributes[:mtime]
@@ -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.279
4
+ version: 1.0.282
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-08 00:00:00.000000000 Z
11
+ date: 2022-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable