files.com 1.0.325 → 1.0.327
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 +22 -4
- data/docs/site.md +4 -0
- data/lib/files.com/models/remote_server.rb +36 -0
- data/lib/files.com/models/site.rb +6 -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: 46b3b7307dfbf0193a8551e766399086d3fd50d5d4ed20e6bcd18de9b2994f62
|
|
4
|
+
data.tar.gz: 2fcf418d9db66c81fca431bc20fca9ccfae4876b16364494c883cc83c416741a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a45c9546973cefa7e2c67ad3e4411e104204071cc80912b00b52eefe789cd57ff783e634d8192fb0c154ca46d227ff0d9b1fea6917d47561086170d5abd37c3
|
|
7
|
+
data.tar.gz: 0a01dbfafe9a1a2128230b7589d9f6837bfd692d56a512069ed775c53d45f9e2ab4f2efee9f73ee06337654c5ed41c4245401b0541904eef0d98198828f29879
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.327
|
data/docs/remote_server.md
CHANGED
|
@@ -50,7 +50,8 @@
|
|
|
50
50
|
"files_agent_permission_set": "read_write",
|
|
51
51
|
"files_agent_root": "example",
|
|
52
52
|
"files_agent_api_token": "example",
|
|
53
|
-
"filebase_bucket": "my-bucket"
|
|
53
|
+
"filebase_bucket": "my-bucket",
|
|
54
|
+
"filebase_access_key": "example"
|
|
54
55
|
}
|
|
55
56
|
```
|
|
56
57
|
|
|
@@ -101,6 +102,7 @@
|
|
|
101
102
|
* `files_agent_root` (string): Agent local root path
|
|
102
103
|
* `files_agent_api_token` (string): Files Agent API Token
|
|
103
104
|
* `filebase_bucket` (string): Filebase Bucket name
|
|
105
|
+
* `filebase_access_key` (string): Filebase Access Key.
|
|
104
106
|
* `aws_secret_key` (string): AWS secret key.
|
|
105
107
|
* `password` (string): Password if needed.
|
|
106
108
|
* `private_key` (string): Private key if needed.
|
|
@@ -115,6 +117,7 @@
|
|
|
115
117
|
* `azure_blob_storage_access_key` (string): Azure Blob Storage secret key.
|
|
116
118
|
* `azure_files_storage_access_key` (string): Azure File Storage access key.
|
|
117
119
|
* `s3_compatible_secret_key` (string): S3-compatible secret key
|
|
120
|
+
* `filebase_secret_key` (string): Filebase secret key
|
|
118
121
|
|
|
119
122
|
|
|
120
123
|
---
|
|
@@ -202,7 +205,9 @@ Files::RemoteServer.create(
|
|
|
202
205
|
enable_dedicated_ips: true,
|
|
203
206
|
s3_compatible_access_key: "example",
|
|
204
207
|
files_agent_root: "example",
|
|
205
|
-
files_agent_permission_set: "read_write"
|
|
208
|
+
files_agent_permission_set: "read_write",
|
|
209
|
+
filebase_access_key: "example",
|
|
210
|
+
filebase_bucket: "my-bucket"
|
|
206
211
|
)
|
|
207
212
|
```
|
|
208
213
|
|
|
@@ -259,6 +264,9 @@ Files::RemoteServer.create(
|
|
|
259
264
|
* `s3_compatible_secret_key` (string): S3-compatible secret key
|
|
260
265
|
* `files_agent_root` (string): Agent local root path
|
|
261
266
|
* `files_agent_permission_set` (string): Local permissions for files agent. read_only, write_only, or read_write
|
|
267
|
+
* `filebase_access_key` (string): Filebase Access Key.
|
|
268
|
+
* `filebase_secret_key` (string): Filebase secret key
|
|
269
|
+
* `filebase_bucket` (string): Filebase Bucket name
|
|
262
270
|
|
|
263
271
|
|
|
264
272
|
---
|
|
@@ -340,7 +348,9 @@ Files::RemoteServer.update(id,
|
|
|
340
348
|
enable_dedicated_ips: true,
|
|
341
349
|
s3_compatible_access_key: "example",
|
|
342
350
|
files_agent_root: "example",
|
|
343
|
-
files_agent_permission_set: "read_write"
|
|
351
|
+
files_agent_permission_set: "read_write",
|
|
352
|
+
filebase_access_key: "example",
|
|
353
|
+
filebase_bucket: "my-bucket"
|
|
344
354
|
)
|
|
345
355
|
```
|
|
346
356
|
|
|
@@ -398,6 +408,9 @@ Files::RemoteServer.update(id,
|
|
|
398
408
|
* `s3_compatible_secret_key` (string): S3-compatible secret key
|
|
399
409
|
* `files_agent_root` (string): Agent local root path
|
|
400
410
|
* `files_agent_permission_set` (string): Local permissions for files agent. read_only, write_only, or read_write
|
|
411
|
+
* `filebase_access_key` (string): Filebase Access Key.
|
|
412
|
+
* `filebase_secret_key` (string): Filebase secret key
|
|
413
|
+
* `filebase_bucket` (string): Filebase Bucket name
|
|
401
414
|
|
|
402
415
|
|
|
403
416
|
---
|
|
@@ -496,7 +509,9 @@ remote_server.update(
|
|
|
496
509
|
enable_dedicated_ips: true,
|
|
497
510
|
s3_compatible_access_key: "example",
|
|
498
511
|
files_agent_root: "example",
|
|
499
|
-
files_agent_permission_set: "read_write"
|
|
512
|
+
files_agent_permission_set: "read_write",
|
|
513
|
+
filebase_access_key: "example",
|
|
514
|
+
filebase_bucket: "my-bucket"
|
|
500
515
|
)
|
|
501
516
|
```
|
|
502
517
|
|
|
@@ -554,6 +569,9 @@ remote_server.update(
|
|
|
554
569
|
* `s3_compatible_secret_key` (string): S3-compatible secret key
|
|
555
570
|
* `files_agent_root` (string): Agent local root path
|
|
556
571
|
* `files_agent_permission_set` (string): Local permissions for files agent. read_only, write_only, or read_write
|
|
572
|
+
* `filebase_access_key` (string): Filebase Access Key.
|
|
573
|
+
* `filebase_secret_key` (string): Filebase secret key
|
|
574
|
+
* `filebase_bucket` (string): Filebase Bucket name
|
|
557
575
|
|
|
558
576
|
|
|
559
577
|
---
|
data/docs/site.md
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"bundle_watermark_value": {
|
|
27
27
|
"key": "example value"
|
|
28
28
|
},
|
|
29
|
+
"uploads_via_email_authentication": true,
|
|
29
30
|
"color2_left": "#0066a7",
|
|
30
31
|
"color2_link": "#d34f5d",
|
|
31
32
|
"color2_text": "#0066a7",
|
|
@@ -171,6 +172,7 @@
|
|
|
171
172
|
* `bundle_upload_receipt_notifications` (string): Do Bundle uploaders receive upload confirmation notifications?
|
|
172
173
|
* `bundle_watermark_attachment` (Image): Preview watermark image applied to all bundle items.
|
|
173
174
|
* `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
175
|
+
* `uploads_via_email_authentication` (boolean): Do incoming emails in the Inboxes require checking for SPF/DKIM/DMARC?
|
|
174
176
|
* `color2_left` (string): Page link and button color
|
|
175
177
|
* `color2_link` (string): Top bar link color
|
|
176
178
|
* `color2_text` (string): Page link and button color
|
|
@@ -435,6 +437,7 @@ Files::Site.update(
|
|
|
435
437
|
ldap_group_exclusion: "example",
|
|
436
438
|
ldap_group_inclusion: "example",
|
|
437
439
|
ldap_base_dn: "example",
|
|
440
|
+
uploads_via_email_authentication: true,
|
|
438
441
|
icon16_delete: true,
|
|
439
442
|
icon32_delete: true,
|
|
440
443
|
icon48_delete: true,
|
|
@@ -564,6 +567,7 @@ Files::Site.update(
|
|
|
564
567
|
* `ldap_group_exclusion` (string): Comma or newline separated list of group names (with optional wildcards) to exclude when syncing.
|
|
565
568
|
* `ldap_group_inclusion` (string): Comma or newline separated list of group names (with optional wildcards) to include when syncing.
|
|
566
569
|
* `ldap_base_dn` (string): Base DN for looking up users in LDAP server
|
|
570
|
+
* `uploads_via_email_authentication` (boolean): Do incoming emails in the Inboxes require checking for SPF/DKIM/DMARC?
|
|
567
571
|
* `icon16_file` (file):
|
|
568
572
|
* `icon16_delete` (boolean): If true, will delete the file stored in icon16
|
|
569
573
|
* `icon32_file` (file):
|
|
@@ -432,6 +432,15 @@ module Files
|
|
|
432
432
|
@attributes[:filebase_bucket] = value
|
|
433
433
|
end
|
|
434
434
|
|
|
435
|
+
# string - Filebase Access Key.
|
|
436
|
+
def filebase_access_key
|
|
437
|
+
@attributes[:filebase_access_key]
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
def filebase_access_key=(value)
|
|
441
|
+
@attributes[:filebase_access_key] = value
|
|
442
|
+
end
|
|
443
|
+
|
|
435
444
|
# string - AWS secret key.
|
|
436
445
|
def aws_secret_key
|
|
437
446
|
@attributes[:aws_secret_key]
|
|
@@ -558,6 +567,15 @@ module Files
|
|
|
558
567
|
@attributes[:s3_compatible_secret_key] = value
|
|
559
568
|
end
|
|
560
569
|
|
|
570
|
+
# string - Filebase secret key
|
|
571
|
+
def filebase_secret_key
|
|
572
|
+
@attributes[:filebase_secret_key]
|
|
573
|
+
end
|
|
574
|
+
|
|
575
|
+
def filebase_secret_key=(value)
|
|
576
|
+
@attributes[:filebase_secret_key] = value
|
|
577
|
+
end
|
|
578
|
+
|
|
561
579
|
# Post local changes, check in, and download configuration file (used by some Remote Server integrations, such as the Files.com Agent)
|
|
562
580
|
#
|
|
563
581
|
# Parameters:
|
|
@@ -645,6 +663,9 @@ module Files
|
|
|
645
663
|
# s3_compatible_secret_key - string - S3-compatible secret key
|
|
646
664
|
# files_agent_root - string - Agent local root path
|
|
647
665
|
# files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
|
|
666
|
+
# filebase_access_key - string - Filebase Access Key.
|
|
667
|
+
# filebase_secret_key - string - Filebase secret key
|
|
668
|
+
# filebase_bucket - string - Filebase Bucket name
|
|
648
669
|
def update(params = {})
|
|
649
670
|
params ||= {}
|
|
650
671
|
params[:id] = @attributes[:id]
|
|
@@ -698,6 +719,9 @@ module Files
|
|
|
698
719
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params[:s3_compatible_secret_key] and !params[:s3_compatible_secret_key].is_a?(String)
|
|
699
720
|
raise InvalidParameterError.new("Bad parameter: files_agent_root must be an String") if params[:files_agent_root] and !params[:files_agent_root].is_a?(String)
|
|
700
721
|
raise InvalidParameterError.new("Bad parameter: files_agent_permission_set must be an String") if params[:files_agent_permission_set] and !params[:files_agent_permission_set].is_a?(String)
|
|
722
|
+
raise InvalidParameterError.new("Bad parameter: filebase_access_key must be an String") if params[:filebase_access_key] and !params[:filebase_access_key].is_a?(String)
|
|
723
|
+
raise InvalidParameterError.new("Bad parameter: filebase_secret_key must be an String") if params[:filebase_secret_key] and !params[:filebase_secret_key].is_a?(String)
|
|
724
|
+
raise InvalidParameterError.new("Bad parameter: filebase_bucket must be an String") if params[:filebase_bucket] and !params[:filebase_bucket].is_a?(String)
|
|
701
725
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
702
726
|
|
|
703
727
|
Api.send_request("/remote_servers/#{@attributes[:id]}", :patch, params, @options)
|
|
@@ -822,6 +846,9 @@ module Files
|
|
|
822
846
|
# s3_compatible_secret_key - string - S3-compatible secret key
|
|
823
847
|
# files_agent_root - string - Agent local root path
|
|
824
848
|
# files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
|
|
849
|
+
# filebase_access_key - string - Filebase Access Key.
|
|
850
|
+
# filebase_secret_key - string - Filebase secret key
|
|
851
|
+
# filebase_bucket - string - Filebase Bucket name
|
|
825
852
|
def self.create(params = {}, options = {})
|
|
826
853
|
raise InvalidParameterError.new("Bad parameter: aws_access_key must be an String") if params[:aws_access_key] and !params[:aws_access_key].is_a?(String)
|
|
827
854
|
raise InvalidParameterError.new("Bad parameter: aws_secret_key must be an String") if params[:aws_secret_key] and !params[:aws_secret_key].is_a?(String)
|
|
@@ -871,6 +898,9 @@ module Files
|
|
|
871
898
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params[:s3_compatible_secret_key] and !params[:s3_compatible_secret_key].is_a?(String)
|
|
872
899
|
raise InvalidParameterError.new("Bad parameter: files_agent_root must be an String") if params[:files_agent_root] and !params[:files_agent_root].is_a?(String)
|
|
873
900
|
raise InvalidParameterError.new("Bad parameter: files_agent_permission_set must be an String") if params[:files_agent_permission_set] and !params[:files_agent_permission_set].is_a?(String)
|
|
901
|
+
raise InvalidParameterError.new("Bad parameter: filebase_access_key must be an String") if params[:filebase_access_key] and !params[:filebase_access_key].is_a?(String)
|
|
902
|
+
raise InvalidParameterError.new("Bad parameter: filebase_secret_key must be an String") if params[:filebase_secret_key] and !params[:filebase_secret_key].is_a?(String)
|
|
903
|
+
raise InvalidParameterError.new("Bad parameter: filebase_bucket must be an String") if params[:filebase_bucket] and !params[:filebase_bucket].is_a?(String)
|
|
874
904
|
|
|
875
905
|
response, options = Api.send_request("/remote_servers", :post, params, options)
|
|
876
906
|
RemoteServer.new(response.data, options)
|
|
@@ -963,6 +993,9 @@ module Files
|
|
|
963
993
|
# s3_compatible_secret_key - string - S3-compatible secret key
|
|
964
994
|
# files_agent_root - string - Agent local root path
|
|
965
995
|
# files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
|
|
996
|
+
# filebase_access_key - string - Filebase Access Key.
|
|
997
|
+
# filebase_secret_key - string - Filebase secret key
|
|
998
|
+
# filebase_bucket - string - Filebase Bucket name
|
|
966
999
|
def self.update(id, params = {}, options = {})
|
|
967
1000
|
params ||= {}
|
|
968
1001
|
params[:id] = id
|
|
@@ -1015,6 +1048,9 @@ module Files
|
|
|
1015
1048
|
raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params[:s3_compatible_secret_key] and !params[:s3_compatible_secret_key].is_a?(String)
|
|
1016
1049
|
raise InvalidParameterError.new("Bad parameter: files_agent_root must be an String") if params[:files_agent_root] and !params[:files_agent_root].is_a?(String)
|
|
1017
1050
|
raise InvalidParameterError.new("Bad parameter: files_agent_permission_set must be an String") if params[:files_agent_permission_set] and !params[:files_agent_permission_set].is_a?(String)
|
|
1051
|
+
raise InvalidParameterError.new("Bad parameter: filebase_access_key must be an String") if params[:filebase_access_key] and !params[:filebase_access_key].is_a?(String)
|
|
1052
|
+
raise InvalidParameterError.new("Bad parameter: filebase_secret_key must be an String") if params[:filebase_secret_key] and !params[:filebase_secret_key].is_a?(String)
|
|
1053
|
+
raise InvalidParameterError.new("Bad parameter: filebase_bucket must be an String") if params[:filebase_bucket] and !params[:filebase_bucket].is_a?(String)
|
|
1018
1054
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
1019
1055
|
|
|
1020
1056
|
response, options = Api.send_request("/remote_servers/#{params[:id]}", :patch, params, options)
|
|
@@ -109,6 +109,11 @@ module Files
|
|
|
109
109
|
@attributes[:bundle_watermark_value]
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
+
# boolean - Do incoming emails in the Inboxes require checking for SPF/DKIM/DMARC?
|
|
113
|
+
def uploads_via_email_authentication
|
|
114
|
+
@attributes[:uploads_via_email_authentication]
|
|
115
|
+
end
|
|
116
|
+
|
|
112
117
|
# string - Page link and button color
|
|
113
118
|
def color2_left
|
|
114
119
|
@attributes[:color2_left]
|
|
@@ -846,6 +851,7 @@ module Files
|
|
|
846
851
|
# ldap_group_exclusion - string - Comma or newline separated list of group names (with optional wildcards) to exclude when syncing.
|
|
847
852
|
# ldap_group_inclusion - string - Comma or newline separated list of group names (with optional wildcards) to include when syncing.
|
|
848
853
|
# ldap_base_dn - string - Base DN for looking up users in LDAP server
|
|
854
|
+
# uploads_via_email_authentication - boolean - Do incoming emails in the Inboxes require checking for SPF/DKIM/DMARC?
|
|
849
855
|
# icon16_file - file
|
|
850
856
|
# icon16_delete - boolean - If true, will delete the file stored in icon16
|
|
851
857
|
# icon32_file - file
|
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.327
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-02-
|
|
11
|
+
date: 2023-02-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|