files.com 1.1.577 → 1.1.579
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/form_field_set.md +7 -0
- data/docs/site.md +5 -0
- data/lib/files.com/models/form_field_set.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: 61cb71129a9604587ea0d4b33b03dc17b492baa399cf6582b763115d3a64229a
|
|
4
|
+
data.tar.gz: 00053cccce3be908d7eacbc6816d97a6f47a13881473cdd6172c259d995c92e5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3784e0710bace937b575970cb01147518253b61b65c0c87d1d5268218aacde2d2c1a36911b17f40365a50c9d40321a41a17ba508bd41120a5307de86944f88f4
|
|
7
|
+
data.tar.gz: e84ed4f684a08208f38fb78aac013a4897879ba63c2f9cc02ab8cf28a2e011385c63a7e4d3a4b50745713a802c58dc28d8a886404f9637bb8f252e654412d9f2
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.579
|
data/docs/form_field_set.md
CHANGED
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
* `skip_company` (boolean): Any associated InboxRegistrations or BundleRegistrations can be saved without providing company
|
|
45
45
|
* `in_use` (boolean): Form Field Set is in use by an active Inbox / Bundle / Inbox Registration / Bundle Registration
|
|
46
46
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
|
47
|
+
* `workspace_id` (int64): Workspace ID
|
|
47
48
|
|
|
48
49
|
|
|
49
50
|
---
|
|
@@ -84,6 +85,7 @@ Files::FormFieldSet.find(id)
|
|
|
84
85
|
Files::FormFieldSet.create(
|
|
85
86
|
user_id: 1,
|
|
86
87
|
title: "Sample Form Title",
|
|
88
|
+
workspace_id: 1,
|
|
87
89
|
skip_email: false,
|
|
88
90
|
skip_name: false,
|
|
89
91
|
skip_company: false,
|
|
@@ -95,6 +97,7 @@ Files::FormFieldSet.create(
|
|
|
95
97
|
|
|
96
98
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
|
97
99
|
* `title` (string): Title to be displayed
|
|
100
|
+
* `workspace_id` (int64): Workspace ID
|
|
98
101
|
* `skip_email` (boolean): Skip validating form email
|
|
99
102
|
* `skip_name` (boolean): Skip validating form name
|
|
100
103
|
* `skip_company` (boolean): Skip validating company
|
|
@@ -108,6 +111,7 @@ Files::FormFieldSet.create(
|
|
|
108
111
|
```
|
|
109
112
|
Files::FormFieldSet.update(id,
|
|
110
113
|
title: "Sample Form Title",
|
|
114
|
+
workspace_id: 1,
|
|
111
115
|
skip_email: false,
|
|
112
116
|
skip_name: false,
|
|
113
117
|
skip_company: false,
|
|
@@ -119,6 +123,7 @@ Files::FormFieldSet.update(id,
|
|
|
119
123
|
|
|
120
124
|
* `id` (int64): Required - Form Field Set ID.
|
|
121
125
|
* `title` (string): Title to be displayed
|
|
126
|
+
* `workspace_id` (int64): Workspace ID
|
|
122
127
|
* `skip_email` (boolean): Skip validating form email
|
|
123
128
|
* `skip_name` (boolean): Skip validating form name
|
|
124
129
|
* `skip_company` (boolean): Skip validating company
|
|
@@ -147,6 +152,7 @@ form_field_set = Files::FormFieldSet.find(id)
|
|
|
147
152
|
|
|
148
153
|
form_field_set.update(
|
|
149
154
|
title: "Sample Form Title",
|
|
155
|
+
workspace_id: 1,
|
|
150
156
|
skip_email: false,
|
|
151
157
|
skip_name: false,
|
|
152
158
|
skip_company: false,
|
|
@@ -158,6 +164,7 @@ form_field_set.update(
|
|
|
158
164
|
|
|
159
165
|
* `id` (int64): Required - Form Field Set ID.
|
|
160
166
|
* `title` (string): Title to be displayed
|
|
167
|
+
* `workspace_id` (int64): Workspace ID
|
|
161
168
|
* `skip_email` (boolean): Skip validating form email
|
|
162
169
|
* `skip_name` (boolean): Skip validating form name
|
|
163
170
|
* `skip_company` (boolean): Skip validating company
|
data/docs/site.md
CHANGED
|
@@ -187,12 +187,14 @@
|
|
|
187
187
|
"calculate_file_checksums_sha1": true,
|
|
188
188
|
"calculate_file_checksums_sha256": true,
|
|
189
189
|
"legacy_checksums_mode": true,
|
|
190
|
+
"finalize_partial_uploads": true,
|
|
190
191
|
"use_provided_modified_at": true,
|
|
191
192
|
"windows_mode_ftp": false,
|
|
192
193
|
"user_belongs_to_parent_site": false,
|
|
193
194
|
"impersonator_user_id": 1
|
|
194
195
|
},
|
|
195
196
|
"sftp_enabled": true,
|
|
197
|
+
"sftp_finalize_partial_uploads": true,
|
|
196
198
|
"sftp_host_key_type": "default",
|
|
197
199
|
"active_sftp_host_key_id": 1,
|
|
198
200
|
"sftp_insecure_ciphers": true,
|
|
@@ -451,6 +453,7 @@
|
|
|
451
453
|
* `require_logout_from_bundles_and_inboxes` (boolean): If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
|
|
452
454
|
* `session` (Session): Current session
|
|
453
455
|
* `sftp_enabled` (boolean): Is SFTP enabled?
|
|
456
|
+
* `sftp_finalize_partial_uploads` (boolean): Finalize partial SFTP uploads from interrupted connections? Default: true.
|
|
454
457
|
* `sftp_host_key_type` (string): Sftp Host Key Type
|
|
455
458
|
* `active_sftp_host_key_id` (int64): Id of the currently selected custom SFTP Host Key
|
|
456
459
|
* `sftp_insecure_ciphers` (boolean): If true, we will allow weak and known insecure ciphers to be used for SFTP connections. Enabling this setting severely weakens the security of your site and it is not recommend, except as a last resort for compatibility.
|
|
@@ -615,6 +618,7 @@ Files::Site.update(
|
|
|
615
618
|
dav_enabled: false,
|
|
616
619
|
ftp_enabled: false,
|
|
617
620
|
sftp_enabled: false,
|
|
621
|
+
sftp_finalize_partial_uploads: false,
|
|
618
622
|
users_can_create_api_keys: false,
|
|
619
623
|
users_can_create_ssh_keys: false,
|
|
620
624
|
show_user_notifications_log_in_link: false,
|
|
@@ -779,6 +783,7 @@ Files::Site.update(
|
|
|
779
783
|
* `dav_enabled` (boolean): Is WebDAV enabled?
|
|
780
784
|
* `ftp_enabled` (boolean): Is FTP enabled?
|
|
781
785
|
* `sftp_enabled` (boolean): Is SFTP enabled?
|
|
786
|
+
* `sftp_finalize_partial_uploads` (boolean): Finalize partial SFTP uploads from interrupted connections? Default: true.
|
|
782
787
|
* `users_can_create_api_keys` (boolean): Allow users to create their own API keys?
|
|
783
788
|
* `users_can_create_ssh_keys` (boolean): Allow users to create their own SSH keys?
|
|
784
789
|
* `show_user_notifications_log_in_link` (boolean): Show log in link in user notifications?
|
|
@@ -90,8 +90,18 @@ module Files
|
|
|
90
90
|
@attributes[:user_id] = value
|
|
91
91
|
end
|
|
92
92
|
|
|
93
|
+
# int64 - Workspace ID
|
|
94
|
+
def workspace_id
|
|
95
|
+
@attributes[:workspace_id]
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
def workspace_id=(value)
|
|
99
|
+
@attributes[:workspace_id] = value
|
|
100
|
+
end
|
|
101
|
+
|
|
93
102
|
# Parameters:
|
|
94
103
|
# title - string - Title to be displayed
|
|
104
|
+
# workspace_id - int64 - Workspace ID
|
|
95
105
|
# skip_email - boolean - Skip validating form email
|
|
96
106
|
# skip_name - boolean - Skip validating form name
|
|
97
107
|
# skip_company - boolean - Skip validating company
|
|
@@ -102,6 +112,7 @@ module Files
|
|
|
102
112
|
raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
|
|
103
113
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
104
114
|
raise InvalidParameterError.new("Bad parameter: title must be an String") if params[:title] and !params[:title].is_a?(String)
|
|
115
|
+
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
105
116
|
raise InvalidParameterError.new("Bad parameter: form_fields must be an Array") if params[:form_fields] and !params[:form_fields].is_a?(Array)
|
|
106
117
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
107
118
|
|
|
@@ -171,6 +182,7 @@ module Files
|
|
|
171
182
|
# Parameters:
|
|
172
183
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
173
184
|
# title - string - Title to be displayed
|
|
185
|
+
# workspace_id - int64 - Workspace ID
|
|
174
186
|
# skip_email - boolean - Skip validating form email
|
|
175
187
|
# skip_name - boolean - Skip validating form name
|
|
176
188
|
# skip_company - boolean - Skip validating company
|
|
@@ -178,6 +190,7 @@ module Files
|
|
|
178
190
|
def self.create(params = {}, options = {})
|
|
179
191
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
180
192
|
raise InvalidParameterError.new("Bad parameter: title must be an String") if params[:title] and !params[:title].is_a?(String)
|
|
193
|
+
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
181
194
|
raise InvalidParameterError.new("Bad parameter: form_fields must be an Array") if params[:form_fields] and !params[:form_fields].is_a?(Array)
|
|
182
195
|
|
|
183
196
|
response, options = Api.send_request("/form_field_sets", :post, params, options)
|
|
@@ -186,6 +199,7 @@ module Files
|
|
|
186
199
|
|
|
187
200
|
# Parameters:
|
|
188
201
|
# title - string - Title to be displayed
|
|
202
|
+
# workspace_id - int64 - Workspace ID
|
|
189
203
|
# skip_email - boolean - Skip validating form email
|
|
190
204
|
# skip_name - boolean - Skip validating form name
|
|
191
205
|
# skip_company - boolean - Skip validating company
|
|
@@ -195,6 +209,7 @@ module Files
|
|
|
195
209
|
params[:id] = id
|
|
196
210
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
197
211
|
raise InvalidParameterError.new("Bad parameter: title must be an String") if params[:title] and !params[:title].is_a?(String)
|
|
212
|
+
raise InvalidParameterError.new("Bad parameter: workspace_id must be an Integer") if params[:workspace_id] and !params[:workspace_id].is_a?(Integer)
|
|
198
213
|
raise InvalidParameterError.new("Bad parameter: form_fields must be an Array") if params[:form_fields] and !params[:form_fields].is_a?(Array)
|
|
199
214
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
200
215
|
|
|
@@ -679,6 +679,11 @@ module Files
|
|
|
679
679
|
@attributes[:sftp_enabled]
|
|
680
680
|
end
|
|
681
681
|
|
|
682
|
+
# boolean - Finalize partial SFTP uploads from interrupted connections? Default: true.
|
|
683
|
+
def sftp_finalize_partial_uploads
|
|
684
|
+
@attributes[:sftp_finalize_partial_uploads]
|
|
685
|
+
end
|
|
686
|
+
|
|
682
687
|
# string - Sftp Host Key Type
|
|
683
688
|
def sftp_host_key_type
|
|
684
689
|
@attributes[:sftp_host_key_type]
|
|
@@ -1001,6 +1006,7 @@ module Files
|
|
|
1001
1006
|
# dav_enabled - boolean - Is WebDAV enabled?
|
|
1002
1007
|
# ftp_enabled - boolean - Is FTP enabled?
|
|
1003
1008
|
# sftp_enabled - boolean - Is SFTP enabled?
|
|
1009
|
+
# sftp_finalize_partial_uploads - boolean - Finalize partial SFTP uploads from interrupted connections? Default: true.
|
|
1004
1010
|
# users_can_create_api_keys - boolean - Allow users to create their own API keys?
|
|
1005
1011
|
# users_can_create_ssh_keys - boolean - Allow users to create their own SSH keys?
|
|
1006
1012
|
# show_user_notifications_log_in_link - boolean - Show log in link in user notifications?
|
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.579
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|