files.com 1.1.45 → 1.1.47

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72f3b43e44f4188afc6dba43a69bd5ef7458aaa3d3a150a914c5c2abebe680cf
4
- data.tar.gz: 73bc5a19787d23c0d761ced1f10e19b26073d96cda9ad5d9ea7817feadc79a1d
3
+ metadata.gz: 75cf90cc4284337a47423808d6343d2d384d23bf4fc183ea0197ca8ad7718fb8
4
+ data.tar.gz: 48b025abfcf8c52a27afd4c9582855005904ec795a4717ecde164cd7bbd6c1b4
5
5
  SHA512:
6
- metadata.gz: 22dcf358be504e49ba76ee812bee50ed48ae4bc998d7da6ab3ac95dde696105f6bd306a3d5bc2ef860dff60a5e368cbc6e9dc6cd32bd3c42798e7d958dd61f55
7
- data.tar.gz: bf0d4edfc582a84df95afa3ce9605ccec75ed50e5266f8c827bde8b7ca53c0e2fdf53d7966b8e2b89bdc6389bad6ae40e29c4582dbc44d985f04999fd77d704c
6
+ metadata.gz: 19848679abed422c9e8d9dfd4110703c691fa9d9d892fa1d573058bc530ef02c3d8f41372e2d5e9ce7278045917f0a2e11f3adfd083576bfad5550a14074d800
7
+ data.tar.gz: f2904a75e8f3d363386c1e30c28ae91f576050b45ceeb96d778f2b2a81d318a4fd1875773c0c88a9d3bca212dc8c49ec09f99fdc5cd2262cb06348e98ec1ccc7
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.45
1
+ 1.1.47
data/docs/email_log.md CHANGED
@@ -9,7 +9,10 @@
9
9
  "status": "example",
10
10
  "subject": "example",
11
11
  "to": "example",
12
- "cc": "example"
12
+ "cc": "example",
13
+ "delivery_method": "example",
14
+ "smtp_hostname": "example",
15
+ "smtp_ip": "example"
13
16
  }
14
17
  ```
15
18
 
@@ -19,6 +22,9 @@
19
22
  * `subject` (string): Subject line of E-Mail
20
23
  * `to` (string): To field of E-Mail
21
24
  * `cc` (string): CC field of E-Mail
25
+ * `delivery_method` (string): How was email deliered? `customer_smtp` or `files.com`
26
+ * `smtp_hostname` (string): Customer SMTP Hostname used.
27
+ * `smtp_ip` (string): Customer SMTP IP address as resolved for use (useful for troubleshooting DNS issues with customer SMTP).
22
28
 
23
29
 
24
30
  ---
data/docs/site.md CHANGED
@@ -260,6 +260,8 @@
260
260
  "user_lockout_within": 6,
261
261
  "user_requests_enabled": true,
262
262
  "user_requests_notify_admins": true,
263
+ "users_can_create_api_keys": true,
264
+ "users_can_create_ssh_keys": true,
263
265
  "welcome_custom_text": "Welcome to my site!",
264
266
  "welcome_email_cc": "example",
265
267
  "welcome_email_subject": "example",
@@ -416,6 +418,8 @@
416
418
  * `user_lockout_within` (int64): Number of hours for user lockout window
417
419
  * `user_requests_enabled` (boolean): Enable User Requests feature
418
420
  * `user_requests_notify_admins` (boolean): Send email to site admins when a user request is received?
421
+ * `users_can_create_api_keys` (boolean): Allow users to create their own API keys?
422
+ * `users_can_create_ssh_keys` (boolean): Allow users to create their own SSH keys?
419
423
  * `welcome_custom_text` (string): Custom text send in user welcome email
420
424
  * `welcome_email_cc` (email): Include this email in welcome emails if enabled
421
425
  * `welcome_email_subject` (string): Include this email subject in welcome emails if enabled
@@ -531,6 +535,8 @@ Files::Site.update(
531
535
  dav_enabled: true,
532
536
  ftp_enabled: true,
533
537
  sftp_enabled: true,
538
+ users_can_create_api_keys: true,
539
+ users_can_create_ssh_keys: true,
534
540
  sftp_host_key_type: "default",
535
541
  active_sftp_host_key_id: 1,
536
542
  protocol_access_groups_only: true,
@@ -674,6 +680,8 @@ Files::Site.update(
674
680
  * `dav_enabled` (boolean): Is WebDAV enabled?
675
681
  * `ftp_enabled` (boolean): Is FTP enabled?
676
682
  * `sftp_enabled` (boolean): Is SFTP enabled?
683
+ * `users_can_create_api_keys` (boolean): Allow users to create their own API keys?
684
+ * `users_can_create_ssh_keys` (boolean): Allow users to create their own SSH keys?
677
685
  * `sftp_host_key_type` (string): Sftp Host Key Type
678
686
  * `active_sftp_host_key_id` (int64): Id of the currently selected custom SFTP Host Key
679
687
  * `protocol_access_groups_only` (boolean): If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
@@ -175,6 +175,7 @@ module Files
175
175
  class FileTooBigToDecryptError < ProcessingFailureError; end
176
176
  class FileTooBigToEncryptError < ProcessingFailureError; end
177
177
  class FileUploadedToWrongRegionError < ProcessingFailureError; end
178
+ class FilenameTooLongError < ProcessingFailureError; end
178
179
  class FolderLockedError < ProcessingFailureError; end
179
180
  class FolderNotEmptyError < ProcessingFailureError; end
180
181
  class HistoryUnavailableError < ProcessingFailureError; end
@@ -39,6 +39,21 @@ module Files
39
39
  @attributes[:cc]
40
40
  end
41
41
 
42
+ # string - How was email deliered? `customer_smtp` or `files.com`
43
+ def delivery_method
44
+ @attributes[:delivery_method]
45
+ end
46
+
47
+ # string - Customer SMTP Hostname used.
48
+ def smtp_hostname
49
+ @attributes[:smtp_hostname]
50
+ end
51
+
52
+ # string - Customer SMTP IP address as resolved for use (useful for troubleshooting DNS issues with customer SMTP).
53
+ def smtp_ip
54
+ @attributes[:smtp_ip]
55
+ end
56
+
42
57
  # Parameters:
43
58
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
44
59
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
@@ -734,6 +734,16 @@ module Files
734
734
  @attributes[:user_requests_notify_admins]
735
735
  end
736
736
 
737
+ # boolean - Allow users to create their own API keys?
738
+ def users_can_create_api_keys
739
+ @attributes[:users_can_create_api_keys]
740
+ end
741
+
742
+ # boolean - Allow users to create their own SSH keys?
743
+ def users_can_create_ssh_keys
744
+ @attributes[:users_can_create_ssh_keys]
745
+ end
746
+
737
747
  # string - Custom text send in user welcome email
738
748
  def welcome_custom_text
739
749
  @attributes[:welcome_custom_text]
@@ -867,6 +877,8 @@ module Files
867
877
  # dav_enabled - boolean - Is WebDAV enabled?
868
878
  # ftp_enabled - boolean - Is FTP enabled?
869
879
  # sftp_enabled - boolean - Is SFTP enabled?
880
+ # users_can_create_api_keys - boolean - Allow users to create their own API keys?
881
+ # users_can_create_ssh_keys - boolean - Allow users to create their own SSH keys?
870
882
  # sftp_host_key_type - string - Sftp Host Key Type
871
883
  # active_sftp_host_key_id - int64 - Id of the currently selected custom SFTP Host Key
872
884
  # protocol_access_groups_only - boolean - If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.45"
4
+ VERSION = "1.1.47"
5
5
  end
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.45
4
+ version: 1.1.47
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-17 00:00:00.000000000 Z
11
+ date: 2024-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable