files.com 1.1.46 → 1.1.47

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: 6797666d267b563e34c8e4b1dadc5050974bc0957524d6a30356c9e19cbe53c8
4
- data.tar.gz: 343195aed7e8c94858f0b74aa422f04e7116bfbe82acea08b7ad343ad7e382f0
3
+ metadata.gz: 75cf90cc4284337a47423808d6343d2d384d23bf4fc183ea0197ca8ad7718fb8
4
+ data.tar.gz: 48b025abfcf8c52a27afd4c9582855005904ec795a4717ecde164cd7bbd6c1b4
5
5
  SHA512:
6
- metadata.gz: f25e0a5e7699e2f41dff2ea5da689c3d94a9f2a6b5b10c1b910e9426e04c4bde3bbb217ffc64a3a31ca8c8037846a56658d13be882b2de7b06cb714cf6816937
7
- data.tar.gz: 37aad33f6b8bc3d3b6ff2e92065fce9551f665783a894199b345e1eba4fd256a0ea001f7ebb9a01e9fbf074b7e5077599209e01c426875ad0e0b85881fa78e09
6
+ metadata.gz: 19848679abed422c9e8d9dfd4110703c691fa9d9d892fa1d573058bc530ef02c3d8f41372e2d5e9ce7278045917f0a2e11f3adfd083576bfad5550a14074d800
7
+ data.tar.gz: f2904a75e8f3d363386c1e30c28ae91f576050b45ceeb96d778f2b2a81d318a4fd1875773c0c88a9d3bca212dc8c49ec09f99fdc5cd2262cb06348e98ec1ccc7
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.46
1
+ 1.1.47
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
@@ -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.46"
4
+ VERSION = "1.1.47"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.46
4
+ version: 1.1.47
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com