files.com 1.1.242 → 1.1.243
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/remote_server.md +8 -0
- data/docs/site.md +4 -0
- data/lib/files.com/models/remote_server.rb +15 -0
- data/lib/files.com/models/site.rb +6 -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: 23d33b690e85a02e8bb30bf2175b5329ea7d15c0561a7783e6a6ca5c96c5df43
|
4
|
+
data.tar.gz: 5eec2e1efafab6fddc0ed99927987be32ee1675e75d5113eb88f9af42e65d1ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 642d23e8655e500ff0c08b57773141ae5c0bc949a579204e89d29afe23021669e01970ffecd672c9c3d6cb6909689011b679e375ff9a0fe008d2d0e114cc467e
|
7
|
+
data.tar.gz: 5a24fa36359bd5e946b51ac31ab40c657f749ad90600c5928f04bd64e4558945721b2fed9bfc4ae0bae63547cd2aba99ae621670fead945404cd05d5764531f6
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.243
|
data/docs/remote_server.md
CHANGED
@@ -38,6 +38,7 @@
|
|
38
38
|
"azure_blob_storage_account": "storage-account-name",
|
39
39
|
"azure_blob_storage_container": "container-name",
|
40
40
|
"azure_blob_storage_hierarchical_namespace": true,
|
41
|
+
"azure_blob_storage_dns_suffix": "usgovcloudapi.net",
|
41
42
|
"azure_files_storage_account": "storage-account-name",
|
42
43
|
"azure_files_storage_share_name": "share-name",
|
43
44
|
"azure_files_storage_dns_suffix": "file.core.windows.net",
|
@@ -97,6 +98,7 @@
|
|
97
98
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
98
99
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
99
100
|
* `azure_blob_storage_hierarchical_namespace` (boolean): Enable when storage account has hierarchical namespace feature enabled
|
101
|
+
* `azure_blob_storage_dns_suffix` (string): Custom DNS suffix
|
100
102
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
101
103
|
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
102
104
|
* `azure_files_storage_dns_suffix` (string): Custom DNS suffix
|
@@ -217,6 +219,7 @@ Files::RemoteServer.create(
|
|
217
219
|
azure_blob_storage_account: "storage-account-name",
|
218
220
|
azure_blob_storage_container: "container-name",
|
219
221
|
azure_blob_storage_hierarchical_namespace: true,
|
222
|
+
azure_blob_storage_dns_suffix: "usgovcloudapi.net",
|
220
223
|
azure_files_storage_account: "storage-account-name",
|
221
224
|
azure_files_storage_share_name: "share-name",
|
222
225
|
azure_files_storage_dns_suffix: "file.core.windows.net",
|
@@ -283,6 +286,7 @@ Files::RemoteServer.create(
|
|
283
286
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
284
287
|
* `azure_blob_storage_hierarchical_namespace` (boolean): Enable when storage account has hierarchical namespace feature enabled
|
285
288
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
289
|
+
* `azure_blob_storage_dns_suffix` (string): Custom DNS suffix
|
286
290
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
287
291
|
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
288
292
|
* `azure_files_storage_dns_suffix` (string): Custom DNS suffix
|
@@ -380,6 +384,7 @@ Files::RemoteServer.update(id,
|
|
380
384
|
azure_blob_storage_account: "storage-account-name",
|
381
385
|
azure_blob_storage_container: "container-name",
|
382
386
|
azure_blob_storage_hierarchical_namespace: true,
|
387
|
+
azure_blob_storage_dns_suffix: "usgovcloudapi.net",
|
383
388
|
azure_files_storage_account: "storage-account-name",
|
384
389
|
azure_files_storage_share_name: "share-name",
|
385
390
|
azure_files_storage_dns_suffix: "file.core.windows.net",
|
@@ -447,6 +452,7 @@ Files::RemoteServer.update(id,
|
|
447
452
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
448
453
|
* `azure_blob_storage_hierarchical_namespace` (boolean): Enable when storage account has hierarchical namespace feature enabled
|
449
454
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
455
|
+
* `azure_blob_storage_dns_suffix` (string): Custom DNS suffix
|
450
456
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
451
457
|
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
452
458
|
* `azure_files_storage_dns_suffix` (string): Custom DNS suffix
|
@@ -561,6 +567,7 @@ remote_server.update(
|
|
561
567
|
azure_blob_storage_account: "storage-account-name",
|
562
568
|
azure_blob_storage_container: "container-name",
|
563
569
|
azure_blob_storage_hierarchical_namespace: true,
|
570
|
+
azure_blob_storage_dns_suffix: "usgovcloudapi.net",
|
564
571
|
azure_files_storage_account: "storage-account-name",
|
565
572
|
azure_files_storage_share_name: "share-name",
|
566
573
|
azure_files_storage_dns_suffix: "file.core.windows.net",
|
@@ -628,6 +635,7 @@ remote_server.update(
|
|
628
635
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
629
636
|
* `azure_blob_storage_hierarchical_namespace` (boolean): Enable when storage account has hierarchical namespace feature enabled
|
630
637
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
638
|
+
* `azure_blob_storage_dns_suffix` (string): Custom DNS suffix
|
631
639
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
632
640
|
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
633
641
|
* `azure_files_storage_dns_suffix` (string): Custom DNS suffix
|
data/docs/site.md
CHANGED
@@ -203,6 +203,7 @@
|
|
203
203
|
"smtp_username": "mail",
|
204
204
|
"session_expiry": 6.0,
|
205
205
|
"session_expiry_minutes": 360,
|
206
|
+
"snapshot_sharing_enabled": true,
|
206
207
|
"ssl_required": true,
|
207
208
|
"subdomain": "mysite",
|
208
209
|
"switch_to_plan_date": "2000-01-01T01:00:00Z",
|
@@ -445,6 +446,7 @@
|
|
445
446
|
* `smtp_username` (string): SMTP server username
|
446
447
|
* `session_expiry` (double): Session expiry in hours
|
447
448
|
* `session_expiry_minutes` (int64): Session expiry in minutes
|
449
|
+
* `snapshot_sharing_enabled` (boolean): Allow snapshot share links creation
|
448
450
|
* `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
|
449
451
|
* `subdomain` (string): Site subdomain
|
450
452
|
* `switch_to_plan_date` (date-time): If switching plans, when does the new plan take effect?
|
@@ -583,6 +585,7 @@ Files::Site.update(
|
|
583
585
|
non_sso_groups_allowed: false,
|
584
586
|
non_sso_users_allowed: false,
|
585
587
|
sharing_enabled: false,
|
588
|
+
snapshot_sharing_enabled: false,
|
586
589
|
user_requests_enabled: false,
|
587
590
|
user_requests_notify_admins: false,
|
588
591
|
dav_enabled: false,
|
@@ -741,6 +744,7 @@ Files::Site.update(
|
|
741
744
|
* `non_sso_groups_allowed` (boolean): If true, groups can be manually created / modified / deleted by Site Admins. Otherwise, groups can only be managed via your SSO provider.
|
742
745
|
* `non_sso_users_allowed` (boolean): If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
|
743
746
|
* `sharing_enabled` (boolean): Allow bundle creation
|
747
|
+
* `snapshot_sharing_enabled` (boolean): Allow snapshot share links creation
|
744
748
|
* `user_requests_enabled` (boolean): Enable User Requests feature
|
745
749
|
* `user_requests_notify_admins` (boolean): Send email to site admins when a user request is received?
|
746
750
|
* `dav_enabled` (boolean): Is WebDAV enabled?
|
@@ -315,6 +315,15 @@ module Files
|
|
315
315
|
@attributes[:azure_blob_storage_hierarchical_namespace] = value
|
316
316
|
end
|
317
317
|
|
318
|
+
# string - Custom DNS suffix
|
319
|
+
def azure_blob_storage_dns_suffix
|
320
|
+
@attributes[:azure_blob_storage_dns_suffix]
|
321
|
+
end
|
322
|
+
|
323
|
+
def azure_blob_storage_dns_suffix=(value)
|
324
|
+
@attributes[:azure_blob_storage_dns_suffix] = value
|
325
|
+
end
|
326
|
+
|
318
327
|
# string - Azure File Storage Account name
|
319
328
|
def azure_files_storage_account
|
320
329
|
@attributes[:azure_files_storage_account]
|
@@ -761,6 +770,7 @@ module Files
|
|
761
770
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
762
771
|
# azure_blob_storage_hierarchical_namespace - boolean - Enable when storage account has hierarchical namespace feature enabled
|
763
772
|
# azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
773
|
+
# azure_blob_storage_dns_suffix - string - Custom DNS suffix
|
764
774
|
# azure_files_storage_account - string - Azure File Storage Account name
|
765
775
|
# azure_files_storage_share_name - string - Azure File Storage Share name
|
766
776
|
# azure_files_storage_dns_suffix - string - Custom DNS suffix
|
@@ -829,6 +839,7 @@ module Files
|
|
829
839
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params[:azure_blob_storage_account] and !params[:azure_blob_storage_account].is_a?(String)
|
830
840
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params[:azure_blob_storage_container] and !params[:azure_blob_storage_container].is_a?(String)
|
831
841
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params[:azure_blob_storage_sas_token] and !params[:azure_blob_storage_sas_token].is_a?(String)
|
842
|
+
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_dns_suffix must be an String") if params[:azure_blob_storage_dns_suffix] and !params[:azure_blob_storage_dns_suffix].is_a?(String)
|
832
843
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params[:azure_files_storage_account] and !params[:azure_files_storage_account].is_a?(String)
|
833
844
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params[:azure_files_storage_share_name] and !params[:azure_files_storage_share_name].is_a?(String)
|
834
845
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_dns_suffix must be an String") if params[:azure_files_storage_dns_suffix] and !params[:azure_files_storage_dns_suffix].is_a?(String)
|
@@ -975,6 +986,7 @@ module Files
|
|
975
986
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
976
987
|
# azure_blob_storage_hierarchical_namespace - boolean - Enable when storage account has hierarchical namespace feature enabled
|
977
988
|
# azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
989
|
+
# azure_blob_storage_dns_suffix - string - Custom DNS suffix
|
978
990
|
# azure_files_storage_account - string - Azure File Storage Account name
|
979
991
|
# azure_files_storage_share_name - string - Azure File Storage Share name
|
980
992
|
# azure_files_storage_dns_suffix - string - Custom DNS suffix
|
@@ -1039,6 +1051,7 @@ module Files
|
|
1039
1051
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params[:azure_blob_storage_account] and !params[:azure_blob_storage_account].is_a?(String)
|
1040
1052
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params[:azure_blob_storage_container] and !params[:azure_blob_storage_container].is_a?(String)
|
1041
1053
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params[:azure_blob_storage_sas_token] and !params[:azure_blob_storage_sas_token].is_a?(String)
|
1054
|
+
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_dns_suffix must be an String") if params[:azure_blob_storage_dns_suffix] and !params[:azure_blob_storage_dns_suffix].is_a?(String)
|
1042
1055
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params[:azure_files_storage_account] and !params[:azure_files_storage_account].is_a?(String)
|
1043
1056
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params[:azure_files_storage_share_name] and !params[:azure_files_storage_share_name].is_a?(String)
|
1044
1057
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_dns_suffix must be an String") if params[:azure_files_storage_dns_suffix] and !params[:azure_files_storage_dns_suffix].is_a?(String)
|
@@ -1144,6 +1157,7 @@ module Files
|
|
1144
1157
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
1145
1158
|
# azure_blob_storage_hierarchical_namespace - boolean - Enable when storage account has hierarchical namespace feature enabled
|
1146
1159
|
# azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
1160
|
+
# azure_blob_storage_dns_suffix - string - Custom DNS suffix
|
1147
1161
|
# azure_files_storage_account - string - Azure File Storage Account name
|
1148
1162
|
# azure_files_storage_share_name - string - Azure File Storage Share name
|
1149
1163
|
# azure_files_storage_dns_suffix - string - Custom DNS suffix
|
@@ -1211,6 +1225,7 @@ module Files
|
|
1211
1225
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params[:azure_blob_storage_account] and !params[:azure_blob_storage_account].is_a?(String)
|
1212
1226
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params[:azure_blob_storage_container] and !params[:azure_blob_storage_container].is_a?(String)
|
1213
1227
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_sas_token must be an String") if params[:azure_blob_storage_sas_token] and !params[:azure_blob_storage_sas_token].is_a?(String)
|
1228
|
+
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_dns_suffix must be an String") if params[:azure_blob_storage_dns_suffix] and !params[:azure_blob_storage_dns_suffix].is_a?(String)
|
1214
1229
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_account must be an String") if params[:azure_files_storage_account] and !params[:azure_files_storage_account].is_a?(String)
|
1215
1230
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_share_name must be an String") if params[:azure_files_storage_share_name] and !params[:azure_files_storage_share_name].is_a?(String)
|
1216
1231
|
raise InvalidParameterError.new("Bad parameter: azure_files_storage_dns_suffix must be an String") if params[:azure_files_storage_dns_suffix] and !params[:azure_files_storage_dns_suffix].is_a?(String)
|
@@ -729,6 +729,11 @@ module Files
|
|
729
729
|
@attributes[:session_expiry_minutes]
|
730
730
|
end
|
731
731
|
|
732
|
+
# boolean - Allow snapshot share links creation
|
733
|
+
def snapshot_sharing_enabled
|
734
|
+
@attributes[:snapshot_sharing_enabled]
|
735
|
+
end
|
736
|
+
|
732
737
|
# boolean - Is SSL required? Disabling this is insecure.
|
733
738
|
def ssl_required
|
734
739
|
@attributes[:ssl_required]
|
@@ -953,6 +958,7 @@ module Files
|
|
953
958
|
# non_sso_groups_allowed - boolean - If true, groups can be manually created / modified / deleted by Site Admins. Otherwise, groups can only be managed via your SSO provider.
|
954
959
|
# non_sso_users_allowed - boolean - If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
|
955
960
|
# sharing_enabled - boolean - Allow bundle creation
|
961
|
+
# snapshot_sharing_enabled - boolean - Allow snapshot share links creation
|
956
962
|
# user_requests_enabled - boolean - Enable User Requests feature
|
957
963
|
# user_requests_notify_admins - boolean - Send email to site admins when a user request is received?
|
958
964
|
# dav_enabled - boolean - Is WebDAV enabled?
|
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.243
|
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-04-
|
11
|
+
date: 2025-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|