Fix ping for component (Thank you mathieui and MattJ).

Fix information.toml.
Add context "all" to command.toml.
This commit is contained in:
Schimon Jehudah 2024-03-12 19:46:50 +00:00
parent b1a1955545
commit 322e893d61
5 changed files with 12 additions and 6 deletions

View file

@ -122,7 +122,7 @@ class JabberComponent:
xmpp.register_plugin('xep_0115') # Entity Capabilities xmpp.register_plugin('xep_0115') # Entity Capabilities
xmpp.register_plugin('xep_0122') # Data Forms Validation xmpp.register_plugin('xep_0122') # Data Forms Validation
xmpp.register_plugin('xep_0153') # vCard-Based Avatars xmpp.register_plugin('xep_0153') # vCard-Based Avatars
xmpp.register_plugin('xep_0199', {'keepalive': True}) # XMPP Ping xmpp.register_plugin('xep_0199') # XMPP Ping
xmpp.register_plugin('xep_0203') # Delayed Delivery xmpp.register_plugin('xep_0203') # Delayed Delivery
xmpp.register_plugin('xep_0249') # Direct MUC Invitations xmpp.register_plugin('xep_0249') # Direct MUC Invitations
xmpp.register_plugin('xep_0297') # Stanza Forwarding xmpp.register_plugin('xep_0297') # Stanza Forwarding

View file

@ -1003,7 +1003,7 @@ async def scan_json(self, jid_bare, db_file, url):
"{} {} {}" "{} {} {}"
).format( ).format(
title, summary, pathname) title, summary, pathname)
if int(self.settings['default']['filter']): if self.settings['default']['filter']:
print('Filter is now processing data.') print('Filter is now processing data.')
allow_list = config.is_include_keyword(db_file, allow_list = config.is_include_keyword(db_file,
"allow", string) "allow", string)
@ -1292,7 +1292,7 @@ async def scan(self, jid_bare, db_file, url):
"{} {} {}" "{} {} {}"
).format( ).format(
title, summary, pathname) title, summary, pathname)
if int(self.settings['default']['filter']): if self.settings['default']['filter']:
print('Filter is now processing data.') print('Filter is now processing data.')
allow_list = config.is_include_keyword(db_file, allow_list = config.is_include_keyword(db_file,
"allow", string) "allow", string)

View file

@ -1,3 +1,9 @@
[all]
all = """
all
Show all options.
"""
[action] [action]
url = """ url = """
<url> <url>

View file

@ -14,7 +14,7 @@ https://gitgud.io/sjehuda/slixfeed
""" """
[note] [note]
note = """ info = """
You can run your own Slixfeed instance as a client, from your own \ You can run your own Slixfeed instance as a client, from your own \
computer, server, and even from a Linux phone (i.e. Droidian, Kupfer, \ computer, server, and even from a Linux phone (i.e. Droidian, Kupfer, \
Mobian, NixOS, postmarketOS), as well as from Termux. Mobian, NixOS, postmarketOS), as well as from Termux.

View file

@ -1,2 +1,2 @@
__version__ = '0.1.37' __version__ = '0.1.38'
__version_info__ = (0, 1, 37) __version_info__ = (0, 1, 38)