files.com 1.0.203 → 1.0.204

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: 8fa0199352b4e0f590b26eece8da9642e04f7d55845d2c2826865a9a8fc91917
4
- data.tar.gz: 6d210b0734dd4fcfca49ab8422edd4b5dd15eac65b4709d747ff8ae83d6c20ae
3
+ metadata.gz: e0e82209172b911aa6a0684f772f5a90fcd0eead72b2615a0a5bbddcf638d70a
4
+ data.tar.gz: 7ede5974d909d76411728fb000727c31868d2865f60bd6827b425b3a6ad9a08f
5
5
  SHA512:
6
- metadata.gz: 1bd23773fb6fd91109d59e96364ea507fb511912e8201c2e8d62bc1ac71946121641a98227e31797feceda33d758b81ccb6cc20e947a7276f3dbc822f55d81b1
7
- data.tar.gz: f4b941961517054bfd6bb0af0abe3914c34fdf3b409701505bb1114bcd9a030fa1647cd939aa09ac53d39f7bb5ba73ffb7949f7058c4ac1f52eeafb2c09fcf39
6
+ metadata.gz: c4cefad86f8defb470be3f879609d1f20cd8defa24eb2318f657195e9b0a152e66e024c5ca06dcc93b1c78a417aba821ef038e128913e2b2440b9756b88e75b7
7
+ data.tar.gz: d5a5b9599ffbe4e928b5c7c2f9c8f16fe12f28c62c8446e02e553f29697a66b7325442e4746c1454c531f628078016a346e95405b9a24c59f89814d4d01fe60d
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.203
1
+ 1.0.204
data/docs/site.md CHANGED
@@ -39,6 +39,7 @@
39
39
  "disable_password_reset": true,
40
40
  "domain": "my-custom-domain.com",
41
41
  "email": "john.doe@files.com",
42
+ "ftp_enabled": true,
42
43
  "reply_to_email": "jane.doe@files.com",
43
44
  "non_sso_groups_allowed": true,
44
45
  "non_sso_users_allowed": true,
@@ -126,6 +127,7 @@
126
127
  "windows_mode_ftp": false
127
128
  },
128
129
  "session_pinned_by_ip": true,
130
+ "sftp_enabled": true,
129
131
  "sftp_user_root_enabled": true,
130
132
  "sharing_enabled": true,
131
133
  "show_request_access_link": true,
@@ -245,6 +247,7 @@
245
247
  * `disable_password_reset` (boolean): Is password reset disabled?
246
248
  * `domain` (string): Custom domain
247
249
  * `email` (email): Main email for this site
250
+ * `ftp_enabled` (boolean): Is FTP enabled?
248
251
  * `reply_to_email` (email): Reply-to email for this site
249
252
  * `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.
250
253
  * `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.
@@ -298,6 +301,7 @@
298
301
  * `require_2fa_user_type` (string): What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
299
302
  * `session`: Current session
300
303
  * `session_pinned_by_ip` (boolean): Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
304
+ * `sftp_enabled` (boolean): Is SFTP enabled?
301
305
  * `sftp_user_root_enabled` (boolean): Use user FTP roots also for SFTP?
302
306
  * `sharing_enabled` (boolean): Allow bundle creation
303
307
  * `show_request_access_link` (boolean): Show request access link for users without access? Currently unused.
@@ -413,6 +417,8 @@ Files::Site.update(
413
417
  non_sso_users_allowed: true,
414
418
  sharing_enabled: true,
415
419
  user_requests_enabled: true,
420
+ ftp_enabled: true,
421
+ sftp_enabled: true,
416
422
  allowed_2fa_method_sms: true,
417
423
  allowed_2fa_method_u2f: true,
418
424
  allowed_2fa_method_totp: true,
@@ -513,6 +519,8 @@ Files::Site.update(
513
519
  * `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.
514
520
  * `sharing_enabled` (boolean): Allow bundle creation
515
521
  * `user_requests_enabled` (boolean): Enable User Requests feature
522
+ * `ftp_enabled` (boolean): Is FTP enabled?
523
+ * `sftp_enabled` (boolean): Is SFTP enabled?
516
524
  * `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
517
525
  * `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
518
526
  * `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
@@ -184,6 +184,11 @@ module Files
184
184
  @attributes[:email]
185
185
  end
186
186
 
187
+ # boolean - Is FTP enabled?
188
+ def ftp_enabled
189
+ @attributes[:ftp_enabled]
190
+ end
191
+
187
192
  # email - Reply-to email for this site
188
193
  def reply_to_email
189
194
  @attributes[:reply_to_email]
@@ -449,6 +454,11 @@ module Files
449
454
  @attributes[:session_pinned_by_ip]
450
455
  end
451
456
 
457
+ # boolean - Is SFTP enabled?
458
+ def sftp_enabled
459
+ @attributes[:sftp_enabled]
460
+ end
461
+
452
462
  # boolean - Use user FTP roots also for SFTP?
453
463
  def sftp_user_root_enabled
454
464
  @attributes[:sftp_user_root_enabled]
@@ -675,6 +685,8 @@ module Files
675
685
  # 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.
676
686
  # sharing_enabled - boolean - Allow bundle creation
677
687
  # user_requests_enabled - boolean - Enable User Requests feature
688
+ # ftp_enabled - boolean - Is FTP enabled?
689
+ # sftp_enabled - boolean - Is SFTP enabled?
678
690
  # allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
679
691
  # allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
680
692
  # allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
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.203
4
+ version: 1.0.204
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-27 00:00:00.000000000 Z
11
+ date: 2021-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable