files.com 1.0.257 → 1.0.260

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: 32640bbe2bb21cc9636ff18287956c9393e402edb8353eca80e4f59301d833f8
4
- data.tar.gz: 9cb6dd1d3c8cd1ac6c5305d423d5988f60250cc2a099096befa6584b3ec1fb3f
3
+ metadata.gz: 4c8cab32ed97e2d6b88de5da06fa5926be7a1e31dd7daf2411e2d5397ed6021b
4
+ data.tar.gz: d112e7aaa786680a3d8b8d8d469a435247d927fd65c97040df388af9cf6bb06f
5
5
  SHA512:
6
- metadata.gz: 9fec2e59687bfa91484e45a98a1111dcde6d3240d424c9ed2f5c3d9ade23c01a96c64e11601fe1c3af18059b4540300d74b8919cae3472d7cf16e774b0befdf2
7
- data.tar.gz: be174255d64d8f04c692f5de596cff8dfcad45d785c185c289102c3be022b9b58cac7ef5fce025b9c3d0ad2422c77681c186a291a99797ab017ec093944d5e7a
6
+ metadata.gz: 00b69c9796654f39ab39a72a589a0cafd16529a6e31e39b2e89ec7ec7f023674a54694edb52743e868ebeb1689e191670a66cd89e21a5a461764747ffadf06c2
7
+ data.tar.gz: b63249367bd7246570c9646a753a8a24f3c249a982a7c7a910e15195648cfcfefbb49092438497a465b2a9002cd25399c02347855b06c509cac65f714bf4d93a
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.257
1
+ 1.0.260
@@ -18,12 +18,16 @@
18
18
  "as2_from": "",
19
19
  "message_id": "",
20
20
  "subject": "",
21
+ "date": "",
21
22
  "body_size": "",
22
23
  "attachment_filename": "",
23
24
  "ip": "",
24
25
  "created_at": "2000-01-01T01:00:00Z",
25
26
  "http_response_code": "",
26
27
  "http_response_headers": "",
28
+ "recipient_serial": "",
29
+ "hex_recipient_serial": "A5:EB:C1:95:DC:D8:2B:E7",
30
+ "recipient_issuer": "",
27
31
  "message_received": true,
28
32
  "message_decrypted": true,
29
33
  "message_signature_verified": true,
@@ -51,12 +55,16 @@
51
55
  * `as2_from` (string): AS2 FROM header of message
52
56
  * `message_id` (string): AS2 Message Id
53
57
  * `subject` (string): AS2 Subject Header
58
+ * `date` (string): Date Header
54
59
  * `body_size` (string): Encrypted Payload Body Size
55
60
  * `attachment_filename` (string): Filename of the file being received.
56
61
  * `ip` (string): IP Address of the Sender
57
62
  * `created_at` (date-time): Message creation date/time
58
63
  * `http_response_code` (string): HTTP Response Code sent for this message
59
64
  * `http_response_headers` (object): HTTP Headers sent for this message.
65
+ * `recipient_serial` (string): Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial
66
+ * `hex_recipient_serial` (string): Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial in hex format.
67
+ * `recipient_issuer` (string): Incoming Message Recipient(the Client Cert used to encrypt this message)'s issuer
60
68
  * `message_received` (boolean): Message body received?
61
69
  * `message_decrypted` (boolean): Message decrypted successfully?
62
70
  * `message_signature_verified` (boolean): Message signature verified?
@@ -15,6 +15,7 @@
15
15
  "mic_sha_256": "",
16
16
  "as2_to": "",
17
17
  "as2_from": "",
18
+ "date": "",
18
19
  "message_id": "",
19
20
  "body_size": "",
20
21
  "attachment_filename": "",
@@ -46,6 +47,7 @@
46
47
  * `mic_sha_256` (string): AS2 Message Integrity Check SHA256
47
48
  * `as2_to` (string): AS2 TO
48
49
  * `as2_from` (string): AS2 FROM
50
+ * `date` (string): Date Header
49
51
  * `message_id` (string): AS2 Message Id
50
52
  * `body_size` (string): Encrypted Payload Body Size
51
53
  * `attachment_filename` (string): Filename of the file being sent.
data/docs/site.md CHANGED
@@ -217,6 +217,7 @@
217
217
  "user_requests_enabled": true,
218
218
  "welcome_custom_text": "Welcome to my site!",
219
219
  "welcome_email_cc": "",
220
+ "welcome_email_subject": "",
220
221
  "welcome_email_enabled": true,
221
222
  "welcome_screen": "user_controlled",
222
223
  "windows_mode_ftp": true,
@@ -347,6 +348,7 @@
347
348
  * `user_requests_enabled` (boolean): Enable User Requests feature
348
349
  * `welcome_custom_text` (string): Custom text send in user welcome email
349
350
  * `welcome_email_cc` (email): Include this email in welcome emails if enabled
351
+ * `welcome_email_subject` (string): Include this email subject in welcome emails if enabled
350
352
  * `welcome_email_enabled` (boolean): Will the welcome email be sent to new users?
351
353
  * `welcome_screen` (string): Does the welcome screen appear?
352
354
  * `windows_mode_ftp` (boolean): Does FTP user Windows emulation mode?
@@ -495,6 +497,7 @@ Files::Site.update(
495
497
  * `ask_about_overwrites` (boolean): If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
496
498
  * `show_request_access_link` (boolean): Show request access link for users without access? Currently unused.
497
499
  * `welcome_email_cc` (string): Include this email in welcome emails if enabled
500
+ * `welcome_email_subject` (string): Include this email subject in welcome emails if enabled
498
501
  * `welcome_custom_text` (string): Custom text send in user welcome email
499
502
  * `language` (string): Site default language
500
503
  * `windows_mode_ftp` (boolean): Does FTP user Windows emulation mode?
@@ -79,6 +79,11 @@ module Files
79
79
  @attributes[:subject]
80
80
  end
81
81
 
82
+ # string - Date Header
83
+ def date
84
+ @attributes[:date]
85
+ end
86
+
82
87
  # string - Encrypted Payload Body Size
83
88
  def body_size
84
89
  @attributes[:body_size]
@@ -109,6 +114,21 @@ module Files
109
114
  @attributes[:http_response_headers]
110
115
  end
111
116
 
117
+ # string - Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial
118
+ def recipient_serial
119
+ @attributes[:recipient_serial]
120
+ end
121
+
122
+ # string - Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial in hex format.
123
+ def hex_recipient_serial
124
+ @attributes[:hex_recipient_serial]
125
+ end
126
+
127
+ # string - Incoming Message Recipient(the Client Cert used to encrypt this message)'s issuer
128
+ def recipient_issuer
129
+ @attributes[:recipient_issuer]
130
+ end
131
+
112
132
  # boolean - Message body received?
113
133
  def message_received
114
134
  @attributes[:message_received]
@@ -64,6 +64,11 @@ module Files
64
64
  @attributes[:as2_from]
65
65
  end
66
66
 
67
+ # string - Date Header
68
+ def date
69
+ @attributes[:date]
70
+ end
71
+
67
72
  # string - AS2 Message Id
68
73
  def message_id
69
74
  @attributes[:message_id]
@@ -624,6 +624,11 @@ module Files
624
624
  @attributes[:welcome_email_cc]
625
625
  end
626
626
 
627
+ # string - Include this email subject in welcome emails if enabled
628
+ def welcome_email_subject
629
+ @attributes[:welcome_email_subject]
630
+ end
631
+
627
632
  # boolean - Will the welcome email be sent to new users?
628
633
  def welcome_email_enabled
629
634
  @attributes[:welcome_email_enabled]
@@ -669,6 +674,7 @@ module Files
669
674
  # ask_about_overwrites - boolean - If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
670
675
  # show_request_access_link - boolean - Show request access link for users without access? Currently unused.
671
676
  # welcome_email_cc - string - Include this email in welcome emails if enabled
677
+ # welcome_email_subject - string - Include this email subject in welcome emails if enabled
672
678
  # welcome_custom_text - string - Custom text send in user welcome email
673
679
  # language - string - Site default language
674
680
  # windows_mode_ftp - boolean - Does FTP user Windows emulation mode?
@@ -781,6 +787,7 @@ module Files
781
787
  raise InvalidParameterError.new("Bad parameter: reply_to_email must be an String") if params.dig(:reply_to_email) and !params.dig(:reply_to_email).is_a?(String)
782
788
  raise InvalidParameterError.new("Bad parameter: bundle_expiration must be an Integer") if params.dig(:bundle_expiration) and !params.dig(:bundle_expiration).is_a?(Integer)
783
789
  raise InvalidParameterError.new("Bad parameter: welcome_email_cc must be an String") if params.dig(:welcome_email_cc) and !params.dig(:welcome_email_cc).is_a?(String)
790
+ raise InvalidParameterError.new("Bad parameter: welcome_email_subject must be an String") if params.dig(:welcome_email_subject) and !params.dig(:welcome_email_subject).is_a?(String)
784
791
  raise InvalidParameterError.new("Bad parameter: welcome_custom_text must be an String") if params.dig(:welcome_custom_text) and !params.dig(:welcome_custom_text).is_a?(String)
785
792
  raise InvalidParameterError.new("Bad parameter: language must be an String") if params.dig(:language) and !params.dig(:language).is_a?(String)
786
793
  raise InvalidParameterError.new("Bad parameter: default_time_zone must be an String") if params.dig(:default_time_zone) and !params.dig(:default_time_zone).is_a?(String)
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.257
4
+ version: 1.0.260
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-11 00:00:00.000000000 Z
11
+ date: 2022-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable