files.com 1.0.51 → 1.0.52

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 153c562598745e63891e8a91ef392a2c0807be4421aba02425466f63a364e8ff
4
- data.tar.gz: da035c5eda67df5893e38cabbaddb62e15b43b6e690ca3751523ca418486701b
3
+ metadata.gz: 695e9e40b7f3014c90d26aa30ef23517ab6ddcf9bbf3026c161acfabb0382c44
4
+ data.tar.gz: 3223db2b7fc3a290a7e9e90103115181d16bf8331f3095e184fd6d9177449f85
5
5
  SHA512:
6
- metadata.gz: f0c8ff95b2a38ecc6500623b9215f0c6711e736969bf9dd72a2243518680b5cd3e2253b55efd40be10ac993c2a13d5a184a13e3ede11600ee8f8505176eea4d9
7
- data.tar.gz: c01d2d03ee6e81c513af643bb74e201eb81e0c4a00749bb1b14c0c7e1585472cf9cde9d1aa9b4106f82b0ce3ae3663aae1927b2748fa16fd691f8e7e958b282c
6
+ metadata.gz: 0d3bfa42ae786e7c7ecf7ae82e926fc05dd2ee15eaa928cf0570e58487bd9325d20986a180c907a4e33c48b942dc66e45258984b78534bc96fff43659589617a
7
+ data.tar.gz: 25d9d61bc718ba29b73f0bd57dfddfb7827e8a642c32d48046c023346c3e7dc386a1b98969bc91565f0ed375714a8cc6ec64d3ceda02b2db84db0681e3cb25a2
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.51
1
+ 1.0.52
data/docs/user.md CHANGED
@@ -17,6 +17,7 @@
17
17
  "avatar_url": "",
18
18
  "billing_permission": true,
19
19
  "bypass_site_allowed_ips": true,
20
+ "bypass_inactive_disable": true,
20
21
  "created_at": "2000-01-01T01:00:00Z",
21
22
  "dav_permission": true,
22
23
  "disabled": true,
@@ -64,6 +65,7 @@
64
65
  * `avatar_url` (string): URL holding the user's avatar
65
66
  * `billing_permission` (boolean): Allow this user to perform operations on the account, payments, and invoices?
66
67
  * `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
68
+ * `bypass_inactive_disable` (boolean): Exempt this user from being disabled based on inactivity?
67
69
  * `created_at` (date-time): When this user was created
68
70
  * `dav_permission` (boolean): Can the user connect with WebDAV?
69
71
  * `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.
@@ -160,6 +162,7 @@ Files::User.create(
160
162
  authenticate_until: "2000-01-01T01:00:00Z",
161
163
  authentication_method: "password",
162
164
  billing_permission: true,
165
+ bypass_inactive_disable: true,
163
166
  bypass_site_allowed_ips: true,
164
167
  dav_permission: true,
165
168
  disabled: true,
@@ -202,6 +205,7 @@ Files::User.create(
202
205
  * `authenticate_until` (string): Scheduled Date/Time at which user will be deactivated
203
206
  * `authentication_method` (string): How is this user authenticated?
204
207
  * `billing_permission` (boolean): Allow this user to perform operations on the account, payments, and invoices?
208
+ * `bypass_inactive_disable` (boolean): Exempt this user from being disabled based on inactivity?
205
209
  * `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
206
210
  * `dav_permission` (boolean): Can the user connect with WebDAV?
207
211
  * `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.
@@ -280,6 +284,7 @@ Files::User.update(id,
280
284
  authenticate_until: "2000-01-01T01:00:00Z",
281
285
  authentication_method: "password",
282
286
  billing_permission: true,
287
+ bypass_inactive_disable: true,
283
288
  bypass_site_allowed_ips: true,
284
289
  dav_permission: true,
285
290
  disabled: true,
@@ -323,6 +328,7 @@ Files::User.update(id,
323
328
  * `authenticate_until` (string): Scheduled Date/Time at which user will be deactivated
324
329
  * `authentication_method` (string): How is this user authenticated?
325
330
  * `billing_permission` (boolean): Allow this user to perform operations on the account, payments, and invoices?
331
+ * `bypass_inactive_disable` (boolean): Exempt this user from being disabled based on inactivity?
326
332
  * `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
327
333
  * `dav_permission` (boolean): Can the user connect with WebDAV?
328
334
  * `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.
@@ -418,6 +424,7 @@ user.update(
418
424
  authenticate_until: "2000-01-01T01:00:00Z",
419
425
  authentication_method: "password",
420
426
  billing_permission: true,
427
+ bypass_inactive_disable: true,
421
428
  bypass_site_allowed_ips: true,
422
429
  dav_permission: true,
423
430
  disabled: true,
@@ -461,6 +468,7 @@ user.update(
461
468
  * `authenticate_until` (string): Scheduled Date/Time at which user will be deactivated
462
469
  * `authentication_method` (string): How is this user authenticated?
463
470
  * `billing_permission` (boolean): Allow this user to perform operations on the account, payments, and invoices?
471
+ * `bypass_inactive_disable` (boolean): Exempt this user from being disabled based on inactivity?
464
472
  * `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
465
473
  * `dav_permission` (boolean): Can the user connect with WebDAV?
466
474
  * `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.
@@ -108,6 +108,15 @@ module Files
108
108
  @attributes[:bypass_site_allowed_ips] = value
109
109
  end
110
110
 
111
+ # boolean - Exempt this user from being disabled based on inactivity?
112
+ def bypass_inactive_disable
113
+ @attributes[:bypass_inactive_disable]
114
+ end
115
+
116
+ def bypass_inactive_disable=(value)
117
+ @attributes[:bypass_inactive_disable] = value
118
+ end
119
+
111
120
  # date-time - When this user was created
112
121
  def created_at
113
122
  @attributes[:created_at]
@@ -514,6 +523,7 @@ module Files
514
523
  # authenticate_until - string - Scheduled Date/Time at which user will be deactivated
515
524
  # authentication_method - string - How is this user authenticated?
516
525
  # billing_permission - boolean - Allow this user to perform operations on the account, payments, and invoices?
526
+ # bypass_inactive_disable - boolean - Exempt this user from being disabled based on inactivity?
517
527
  # bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
518
528
  # dav_permission - boolean - Can the user connect with WebDAV?
519
529
  # disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.
@@ -648,6 +658,7 @@ module Files
648
658
  # authenticate_until - string - Scheduled Date/Time at which user will be deactivated
649
659
  # authentication_method - string - How is this user authenticated?
650
660
  # billing_permission - boolean - Allow this user to perform operations on the account, payments, and invoices?
661
+ # bypass_inactive_disable - boolean - Exempt this user from being disabled based on inactivity?
651
662
  # bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
652
663
  # dav_permission - boolean - Can the user connect with WebDAV?
653
664
  # disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.
@@ -747,6 +758,7 @@ module Files
747
758
  # authenticate_until - string - Scheduled Date/Time at which user will be deactivated
748
759
  # authentication_method - string - How is this user authenticated?
749
760
  # billing_permission - boolean - Allow this user to perform operations on the account, payments, and invoices?
761
+ # bypass_inactive_disable - boolean - Exempt this user from being disabled based on inactivity?
750
762
  # bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
751
763
  # dav_permission - boolean - Can the user connect with WebDAV?
752
764
  # disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting.
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.51
4
+ version: 1.0.52
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-19 00:00:00.000000000 Z
11
+ date: 2020-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday