diff --git a/_modules/index.html b/_modules/index.html
index 4b6b83b..f255ed4 100644
--- a/_modules/index.html
+++ b/_modules/index.html
@@ -7,7 +7,7 @@
-
[docs]def set_hosts(hosts, use_ssl=False, ssl_cert_path=None, timeout=60.0):
+
[docs]def set_hosts(hosts, use_ssl=False, ssl_cert_path=None,
+
username=None, password=None, timeout=60.0):
"""
Sets the Elasticsearch hosts to use
@@ -331,6 +332,8 @@
hosts (str): A single hostname or URL, or list of hostnames or URLs
use_ssl (bool): Use a HTTPS connection to the server
ssl_cert_path (str): Path to the certificate chain
+
username (str): The username to use for authentication
+
password (str): The password to use for authentication
timeout (float): Timeout in seconds
"""
if type(hosts) != list:
@@ -346,6 +349,8 @@
conn_params['ca_certs'] = ssl_cert_path
else:
conn_params['verify_certs'] = False
+
if username:
+
conn_params['http_auth'] = (username+":"+password)
connections.create_connection(**conn_params)
diff --git a/_modules/parsedmarc/splunk.html b/_modules/parsedmarc/splunk.html
index 46d262b..22c93d2 100644
--- a/_modules/parsedmarc/splunk.html
+++ b/_modules/parsedmarc/splunk.html
@@ -7,7 +7,7 @@
-
parsedmarc.splunk — parsedmarc 6.11.0 documentation
+
parsedmarc.splunk — parsedmarc 6.12.0 documentation
@@ -59,7 +59,7 @@
- 6.11.0
+ 6.12.0
diff --git a/_modules/parsedmarc/utils.html b/_modules/parsedmarc/utils.html
index 105641b..263980f 100644
--- a/_modules/parsedmarc/utils.html
+++ b/_modules/parsedmarc/utils.html
@@ -7,7 +7,7 @@
-
parsedmarc.utils — parsedmarc 6.11.0 documentation
+
parsedmarc.utils — parsedmarc 6.12.0 documentation
@@ -59,7 +59,7 @@
- 6.11.0
+ 6.12.0
@@ -430,8 +430,8 @@
"/usr/share/GeoIP/GeoLite2-Country.mmdb",
"/var/lib/GeoIP/GeoLite2-Country.mmdb",
"/var/local/lib/GeoIP/GeoLite2-Country.mmdb",
-
"%SystemDrive%\\ProgramData\\"
-
"MaxMind\\GeoIPUpdate\\GeoIP\\GeoLite2-Country.mmdb"
+
"%SystemDrive%\\ProgramData\\MaxMind\\GeoIPUpdate\\GeoIP\\"
+
"GeoLite2-Country.mmdb",
"C:\\GeoIP\\GeoLite2-Country.mmdb"
]
@@ -547,6 +547,8 @@
string = string.replace(char, "")
string = string.rstrip(".")
+
string = (string[:100]) if len(string) > 100 else string
+
return string
diff --git a/_sources/index.rst.txt b/_sources/index.rst.txt
index 769e44a..5bc6ae0 100644
--- a/_sources/index.rst.txt
+++ b/_sources/index.rst.txt
@@ -167,6 +167,8 @@ The full set of configuration options are:
.. note::
Special characters in the username or password must be `URL encoded`_.
- ``ssl`` - bool: Use an encrypted SSL/TLS connection (Default: True)
+ - ``user`` - str: Basic auth username
+ - ``password`` - str: Basic auth password
- ``cert_path`` - str: Path to a trusted certificates
- ``timeout`` - float: Timeout in seconds (Default: 60)
- ``index_suffix`` - str: A suffix to apply to the index names
diff --git a/_static/basic.css b/_static/basic.css
index 24bc73e..24a49f0 100644
--- a/_static/basic.css
+++ b/_static/basic.css
@@ -764,6 +764,7 @@ div.code-block-caption code {
}
table.highlighttable td.linenos,
+span.linenos,
div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */
user-select: none;
}
diff --git a/_static/doctools.js b/_static/doctools.js
index daccd20..7d88f80 100644
--- a/_static/doctools.js
+++ b/_static/doctools.js
@@ -285,9 +285,10 @@ var Documentation = {
initOnKeyListeners: function() {
$(document).keydown(function(event) {
var activeElementType = document.activeElement.tagName;
- // don't navigate when in search box or textarea
+ // don't navigate when in search box, textarea, dropdown or button
if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT'
- && !event.altKey && !event.ctrlKey && !event.metaKey && !event.shiftKey) {
+ && activeElementType !== 'BUTTON' && !event.altKey && !event.ctrlKey && !event.metaKey
+ && !event.shiftKey) {
switch (event.keyCode) {
case 37: // left
var prevHref = $('link[rel="prev"]').prop('href');
diff --git a/_static/documentation_options.js b/_static/documentation_options.js
index 53ebf4e..8015677 100644
--- a/_static/documentation_options.js
+++ b/_static/documentation_options.js
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
- VERSION: '6.11.0',
+ VERSION: '6.12.0',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
BUILDER: 'html',
diff --git a/_static/pygments.css b/_static/pygments.css
index 20c4814..f346859 100644
--- a/_static/pygments.css
+++ b/_static/pygments.css
@@ -1,5 +1,10 @@
+pre { line-height: 125%; margin: 0; }
+td.linenos pre { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; }
+span.linenos { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; }
+td.linenos pre.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
+span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
-.highlight { background: #eeffcc; }
+.highlight { background: #eeffcc; }
.highlight .c { color: #408090; font-style: italic } /* Comment */
.highlight .err { border: 1px solid #FF0000 } /* Error */
.highlight .k { color: #007020; font-weight: bold } /* Keyword */
diff --git a/_static/searchtools.js b/_static/searchtools.js
index 970d0d9..261ecaa 100644
--- a/_static/searchtools.js
+++ b/_static/searchtools.js
@@ -59,10 +59,10 @@ var Search = {
_pulse_status : -1,
htmlToText : function(htmlString) {
- var htmlElement = document.createElement('span');
- htmlElement.innerHTML = htmlString;
- $(htmlElement).find('.headerlink').remove();
- docContent = $(htmlElement).find('[role=main]')[0];
+ var virtualDocument = document.implementation.createHTMLDocument('virtual');
+ var htmlElement = $(htmlString, virtualDocument);
+ htmlElement.find('.headerlink').remove();
+ docContent = htmlElement.find('[role=main]')[0];
if(docContent === undefined) {
console.warn("Content block not found. Sphinx search tries to obtain it " +
"via '[role=main]'. Could you check your theme or template.");
diff --git a/genindex.html b/genindex.html
index 8b7b6ea..5e410e9 100644
--- a/genindex.html
+++ b/genindex.html
@@ -7,7 +7,7 @@