files.com 1.0.53 → 1.0.54

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: a363686b90e3e1673bf9f7b47d9368dd514f05d680000195651de99f0889b310
4
- data.tar.gz: d73ee31b349dc91f5a5b92b76a2acc94f52b4622509df03afdfc3caf76c4a337
3
+ metadata.gz: 64936e0a59491caee7612a381f60ec80fa668fd0521f5128c9399968c5f61a68
4
+ data.tar.gz: 46feb771395fe8493fa2b9899dd1d30efac1e764186d2300ffe256dd74b0c6d3
5
5
  SHA512:
6
- metadata.gz: 55bef934d42e9c1d2843b4d9a84851d1bb2c64e3fb5f2ed53d61b06936abd8ca0199f87345acf9820985ceca6d9952be51ede738e906fb219e762f81d5cce4b5
7
- data.tar.gz: 4f4bb4f7af296041691fdc12f84e51a1751cb0ca6ec8a6f890ba20b919ced709fc3dce9a5399a967d2ec86a6f9c73046def7ebcb8f2d0ef50db3015ff3886fb3
6
+ metadata.gz: e538fff261ea6b9b2352577d193800bf2f29178307bf5fbabd9b5f3f96df339ad86e0d1aaa7dfd3f40d75056dd050836bd6e3ba26b0e0e88b8eb18dcb77b4b61
7
+ data.tar.gz: 4c2df44929c18b57ab43e0d30df5fdc6045251a4bc6366859943f57cae522b69d5f3d5516347b7675b637ee80573067ab0a424f39ecd9b60039621389303948b
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.53
1
+ 1.0.54
data/docs/site.md CHANGED
@@ -11,7 +11,6 @@
11
11
  "allowed_2fa_method_yubi": true,
12
12
  "admin_user_id": 1,
13
13
  "allow_bundle_names": true,
14
- "allowed_file_types": "",
15
14
  "allowed_ips": "",
16
15
  "ask_about_overwrites": true,
17
16
  "bundle_expiration": 1,
@@ -120,7 +119,6 @@
120
119
  * `allowed_2fa_method_yubi` (boolean): Is yubikey two factor authentication allowed?
121
120
  * `admin_user_id` (int64): User ID for the main site administrator
122
121
  * `allow_bundle_names` (boolean): Are manual Bundle names allowed?
123
- * `allowed_file_types` (string): List of allowed file types
124
122
  * `allowed_ips` (string): List of allowed IP addresses
125
123
  * `ask_about_overwrites` (boolean): If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
126
124
  * `bundle_expiration` (int64): Site-wide Bundle expiration in days
@@ -359,7 +357,6 @@ Files::Site.update(
359
357
  * `user_lockout_within` (int64): Number of hours for user lockout window
360
358
  * `user_lockout_lock_period` (int64): How many hours to lock user out for failed password?
361
359
  * `include_password_in_welcome_email` (boolean): Include password in emails to new users?
362
- * `allowed_file_types` (string): List of allowed file types
363
360
  * `allowed_ips` (string): List of allowed IP addresses
364
361
  * `days_to_retain_backups` (int64): Number of days to keep deleted files
365
362
  * `max_prior_passwords` (int64): Number of prior passwords to disallow
@@ -44,11 +44,6 @@ module Files
44
44
  @attributes[:allow_bundle_names]
45
45
  end
46
46
 
47
- # string - List of allowed file types
48
- def allowed_file_types
49
- @attributes[:allowed_file_types]
50
- end
51
-
52
47
  # string - List of allowed IP addresses
53
48
  def allowed_ips
54
49
  @attributes[:allowed_ips]
@@ -578,7 +573,6 @@ module Files
578
573
  # user_lockout_within - integer - Number of hours for user lockout window
579
574
  # user_lockout_lock_period - integer - How many hours to lock user out for failed password?
580
575
  # include_password_in_welcome_email - boolean - Include password in emails to new users?
581
- # allowed_file_types - string - List of allowed file types
582
576
  # allowed_ips - string - List of allowed IP addresses
583
577
  # days_to_retain_backups - integer - Number of days to keep deleted files
584
578
  # max_prior_passwords - integer - Number of prior passwords to disallow
@@ -663,7 +657,6 @@ module Files
663
657
  raise InvalidParameterError.new("Bad parameter: user_lockout_tries must be an Integer") if params.dig(:user_lockout_tries) and !params.dig(:user_lockout_tries).is_a?(Integer)
664
658
  raise InvalidParameterError.new("Bad parameter: user_lockout_within must be an Integer") if params.dig(:user_lockout_within) and !params.dig(:user_lockout_within).is_a?(Integer)
665
659
  raise InvalidParameterError.new("Bad parameter: user_lockout_lock_period must be an Integer") if params.dig(:user_lockout_lock_period) and !params.dig(:user_lockout_lock_period).is_a?(Integer)
666
- raise InvalidParameterError.new("Bad parameter: allowed_file_types must be an String") if params.dig(:allowed_file_types) and !params.dig(:allowed_file_types).is_a?(String)
667
660
  raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params.dig(:allowed_ips) and !params.dig(:allowed_ips).is_a?(String)
668
661
  raise InvalidParameterError.new("Bad parameter: days_to_retain_backups must be an Integer") if params.dig(:days_to_retain_backups) and !params.dig(:days_to_retain_backups).is_a?(Integer)
669
662
  raise InvalidParameterError.new("Bad parameter: max_prior_passwords must be an Integer") if params.dig(:max_prior_passwords) and !params.dig(:max_prior_passwords).is_a?(Integer)
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.53
4
+ version: 1.0.54
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-21 00:00:00.000000000 Z
11
+ date: 2020-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday