libervia-backend/libervia/backend/plugins
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Goffi c5396f0acf backend: Tor integration:
- Add the `txtorcon` optional dependency, used with `tor` extra.
- Add settings for Tor.
- Use Tor endpoint when an `.onion` XMPP domain is used, of when Tor is explicitely
  enabled in conf.
- Disable WebRTC, for now it's the safer option as WebRTC can leak IP. It should be
  possible to use it over Tor by forcing the use of a .onion relay, but this is to be
  explored later (A/V should be to slow to be usable, but that stay relevant for file
  transfer or other WebRTC powered things).
- A new `treq` instance using Tor WebAgent is used when Tor is enabled. Properties has
  been added to SatXMPPEntity to conveniently get the right instance.
- Another `tor_mode` property has been added with corresponding bridge methods, to see if
  Tor is activated and in which mode for a given profile. For now there are only two modes
  (disabled, and enabled with WebRTC disabled), but in the future it may be possible to
  activate WebRTC over Tor, or to use Tor only to connect to XMPP server, while using
  clearnet for other connections.
- Tor dedicated models have been added, and bridge methods have been added to build and
  get them.
- Fix tests.

rel 473
2025-12-15 11:35:19 +01:00
..
plugin_app_manager_docker core: Replace legacy INI config system with Pydantic-based TOML configuration. 2025-11-30 12:27:35 +01:00
plugin_comp_ap_gateway black reformatting. 2025-12-03 17:49:34 +01:00
plugin_comp_conferences core: Replace legacy INI config system with Pydantic-based TOML configuration. 2025-11-30 12:27:35 +01:00
plugin_comp_email_gateway black reformatting. 2025-12-03 17:49:34 +01:00
plugin_misc_app_manager core: Replace legacy INI config system with Pydantic-based TOML configuration. 2025-11-30 12:27:35 +01:00
plugin_xep_0166 remove uses of twisted.internet.defer.returnValue 2024-12-11 01:17:09 +02:00
plugin_xep_0167 backend: Tor integration: 2025-12-15 11:35:19 +01:00
__init__.py refactoring: renamed sat package to libervia.backend 2023-06-02 11:49:51 +02:00
plugin_adhoc_dbus.py plugin XEP-0050: Some more refactoring: 2025-10-10 17:44:04 +02:00
plugin_adhoc_registration.py plugin XEP-0050: Some more refactoring: 2025-10-10 17:44:04 +02:00
plugin_blog_import.py remove uses of twisted.internet.defer.returnValue 2024-12-11 01:17:09 +02:00
plugin_blog_import_dokuwiki.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_blog_import_dotclear.py plugin blog import dotclear: repalce deprecated cgi by html 2024-11-20 14:35:09 +01:00
plugin_comp_file_sharing.py tests (unit): Fix tests. 2025-12-03 17:43:06 +01:00
plugin_comp_file_sharing_management.py plugin XEP-0050: Some more refactoring: 2025-10-10 17:44:04 +02:00
plugin_dbg_manhole.py core: Replace legacy INI config system with Pydantic-based TOML configuration. 2025-11-30 12:27:35 +01:00
plugin_exp_command_export.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_exp_data_policy.py plugin data policy: Data Policy implementation: 2025-06-26 17:02:33 +02:00
plugin_exp_gre.py plugin GRE: implements Gateway Relayed Encryption: 2025-01-13 01:23:22 +01:00
plugin_exp_invitation.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_exp_invitation_file.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_exp_invitation_pubsub.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_exp_jingle_stream.py add type hints + minor reformatting. 2025-10-01 17:57:48 +02:00
plugin_exp_lang_detect.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_exp_list_of_interest.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_exp_parrot.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_exp_pubsub_admin.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_exp_pubsub_hook.py add type hints + minor reformatting. 2025-10-01 17:57:48 +02:00
plugin_import.py add type hints + minor reformatting. 2025-10-01 17:57:48 +02:00
plugin_merge_req_mercurial.py add type hints + minor reformatting. 2025-10-01 17:57:48 +02:00
plugin_misc_account.py core: Replace legacy INI config system with Pydantic-based TOML configuration. 2025-11-30 12:27:35 +01:00
plugin_misc_android.py core: Replace legacy INI config system with Pydantic-based TOML configuration. 2025-11-30 12:27:35 +01:00
plugin_misc_attach.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_misc_debug.py refactoring: renamed sat package to libervia.backend 2023-06-02 11:49:51 +02:00
plugin_misc_download.py backend: Tor integration: 2025-12-15 11:35:19 +01:00
plugin_misc_email_invitation.py core: Replace legacy INI config system with Pydantic-based TOML configuration. 2025-11-30 12:27:35 +01:00
plugin_misc_extra_pep.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_misc_file.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_misc_forums.py plugin forums: parsing fix + formatting: 2023-12-12 12:17:15 +01:00
plugin_misc_groupblog.py Global reformatting with black. 2025-09-13 10:46:10 +02:00
plugin_misc_identity.py plugin identity: add a timeout when getting identities. 2025-05-15 17:45:19 +02:00
plugin_misc_ip.py core (main): renamed hasFeature to has_feature to fix inconsistency. 2025-09-05 19:31:50 +02:00
plugin_misc_jid_search.py Global reformatting with black. 2025-09-13 10:46:10 +02:00
plugin_misc_lists.py plugin misc list: Comments node creation can now be specified with comments field in extra. 2024-06-20 14:36:09 +02:00
plugin_misc_merge_requests.py remove uses of twisted.internet.defer.returnValue 2024-12-11 01:17:09 +02:00
plugin_misc_nat_port.py plugin NAT port: disable the plugin for tests: 2025-12-03 17:48:43 +01:00
plugin_misc_quiz.py refactoring: renamed sat package to libervia.backend 2023-06-02 11:49:51 +02:00
plugin_misc_radiocol.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_misc_register_account.py refactoring: renamed sat package to libervia.backend 2023-06-02 11:49:51 +02:00
plugin_misc_remote_control.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_misc_room_game.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_misc_tarot.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_misc_text_commands.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_misc_text_syntaxes.py Global reformatting with black. 2025-09-13 10:46:10 +02:00
plugin_misc_upload.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_misc_uri_finder.py plugins XEP-0300, XEP-0446, XEP-0447, XEP0448 and others: Refactoring to use Pydantic: 2024-12-03 00:12:38 +01:00
plugin_misc_url_preview.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_misc_watched.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_misc_welcome.py refactoring: renamed sat package to libervia.backend 2023-06-02 11:49:51 +02:00
plugin_misc_xmllog.py refactoring: renamed sat package to libervia.backend 2023-06-02 11:49:51 +02:00
plugin_pubsub_cache.py plugin cache: removed forgotten breakpoint. 2025-12-04 12:18:08 +01:00
plugin_sec_aesgcm.py backend: Tor integration: 2025-12-15 11:35:19 +01:00
plugin_sec_autocrypt.py Global reformatting with black. 2025-09-13 10:46:10 +02:00
plugin_sec_gre_encrypter_openpgp.py Global reformatting with black. 2025-09-13 10:46:10 +02:00
plugin_sec_gre_formatter_mime.py plugin GRE formatter MIME: implements GRE Formatter: MIME: 2025-01-13 01:23:22 +01:00
plugin_sec_otr.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_sec_oxps.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_sec_pte.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_sec_pubsub_signing.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_syntax_wiki_dotclear.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_tickets_import.py remove uses of twisted.internet.defer.returnValue 2024-12-11 01:17:09 +02:00
plugin_tickets_import_bugzilla.py refactoring: renamed sat package to libervia.backend 2023-06-02 11:49:51 +02:00
plugin_tmp_directory_subscription.py refactoring: renamed sat package to libervia.backend 2023-06-02 11:49:51 +02:00
plugin_xep_0004.py plugin XEP-0050: Some more refactoring: 2025-10-10 17:44:04 +02:00
plugin_xep_0020.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0033.py plugin XEP-0033: formatting. 2024-09-28 15:52:14 +02:00
plugin_xep_0045.py core: Replace legacy INI config system with Pydantic-based TOML configuration. 2025-11-30 12:27:35 +01:00
plugin_xep_0047.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0048.py remove uses of twisted.internet.defer.returnValue 2024-12-11 01:17:09 +02:00
plugin_xep_0049.py core: fix wrong calls to addElement. 2025-10-29 12:12:25 +01:00
plugin_xep_0050.py black reformatting 2025-11-20 14:50:03 +01:00
plugin_xep_0054.py core: fix wrong calls to addElement. 2025-10-29 12:12:25 +01:00
plugin_xep_0055.py core: Replace legacy INI config system with Pydantic-based TOML configuration. 2025-11-30 12:27:35 +01:00
plugin_xep_0059.py Global reformatting with black. 2025-09-13 10:46:10 +02:00
plugin_xep_0060.py core: Replace legacy INI config system with Pydantic-based TOML configuration. 2025-11-30 12:27:35 +01:00
plugin_xep_0065.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0070.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0071.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0077.py core: Replace legacy INI config system with Pydantic-based TOML configuration. 2025-11-30 12:27:35 +01:00
plugin_xep_0080.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0082.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0084.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0085.py core: fix wrong calls to addElement. 2025-10-29 12:12:25 +01:00
plugin_xep_0092.py refactoring: renamed sat package to libervia.backend 2023-06-02 11:49:51 +02:00
plugin_xep_0095.py refactoring: renamed sat package to libervia.backend 2023-06-02 11:49:51 +02:00
plugin_xep_0096.py core (main): renamed hasFeature to has_feature to fix inconsistency. 2025-09-05 19:31:50 +02:00
plugin_xep_0100.py plugin XEP-0077, XEP-0100: Adapt to component, and modernize: 2024-09-06 18:01:31 +02:00
plugin_xep_0103.py plugins XEP-0300, XEP-0446, XEP-0447, XEP0448 and others: Refactoring to use Pydantic: 2024-12-03 00:12:38 +01:00
plugin_xep_0106.py plugin XEP-0106, tools (common/email): type hints. 2024-09-06 17:44:08 +02:00
plugin_xep_0115.py core (main): renamed hasFeature to has_feature to fix inconsistency. 2025-09-05 19:31:50 +02:00
plugin_xep_0131.py backend: various fixes, and type hints improvments. 2025-08-03 23:36:22 +02:00
plugin_xep_0163.py plugin XEP-0048, XEP-0402; CLI (bookmarks): implement XEP-0402 (PEP Native Bookmarks): 2024-11-20 11:43:27 +01:00
plugin_xep_0176.py black reformatting 2025-11-20 14:50:03 +01:00
plugin_xep_0184.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0191.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0198.py core: Replace legacy INI config system with Pydantic-based TOML configuration. 2025-11-30 12:27:35 +01:00
plugin_xep_0199.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0203.py refactoring: renamed sat package to libervia.backend 2023-06-02 11:49:51 +02:00
plugin_xep_0215.py plugin XEP-0215, XEP-0376: fix bad calls to hasFeature: 2024-09-30 14:14:38 +02:00
plugin_xep_0231.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0234.py backend: Tor integration: 2025-12-15 11:35:19 +01:00
plugin_xep_0249.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0260.py core (main): renamed hasFeature to has_feature to fix inconsistency. 2025-09-05 19:31:50 +02:00
plugin_xep_0261.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0264.py plugin XEP-0050: Some more refactoring: 2025-10-10 17:44:04 +02:00
plugin_xep_0272.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0277.py componenent AP Gateway, plugin XEP-0277: fix MbData use: 2025-12-03 17:41:10 +01:00
plugin_xep_0280.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0292.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0293.py refactoring: renamed sat package to libervia.backend 2023-06-02 11:49:51 +02:00
plugin_xep_0294.py refactoring: renamed sat package to libervia.backend 2023-06-02 11:49:51 +02:00
plugin_xep_0297.py Global reformatting with black. 2025-09-13 10:46:10 +02:00
plugin_xep_0298.py component conferences, plugin XEP-0167, XEP-0298: add stream user metadata: 2024-08-06 23:43:11 +02:00
plugin_xep_0300.py core (main): renamed hasFeature to has_feature to fix inconsistency. 2025-09-05 19:31:50 +02:00
plugin_xep_0308.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0313.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0320.py refactoring: renamed sat package to libervia.backend 2023-06-02 11:49:51 +02:00
plugin_xep_0329.py core: Replace legacy INI config system with Pydantic-based TOML configuration. 2025-11-30 12:27:35 +01:00
plugin_xep_0334.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0338.py plugin XEP-0167: Let use a call_setup_cb method in session: 2024-07-05 17:18:37 +02:00
plugin_xep_0339.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0343.py plugin XEP-0167: handle conferences: 2024-07-29 03:31:09 +02:00
plugin_xep_0346.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0352.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0353.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0358.py plugin XEP-0358: "Publishing Available Jingle Sessions" implementation: 2024-12-03 00:13:07 +01:00
plugin_xep_0359.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0363.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0372.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0373.py Global reformatting with black. 2025-09-13 10:46:10 +02:00
plugin_xep_0374.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0376.py Global reformatting with black. 2025-09-13 10:46:10 +02:00
plugin_xep_0380.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0384.py core (types): Renamed libervia.backend.core.core_types.MessageData to MessageDataLegacy: 2025-07-04 12:28:00 +02:00
plugin_xep_0391.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0402.py various minor fixes. 2025-04-11 18:19:28 +02:00
plugin_xep_0420.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0422.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0424.py plugin XEP-0428: Add missing "for" attribute: 2025-07-04 12:30:20 +02:00
plugin_xep_0428.py Global reformatting with black. 2025-09-13 10:46:10 +02:00
plugin_xep_0433.py core: Replace legacy INI config system with Pydantic-based TOML configuration. 2025-11-30 12:27:35 +01:00
plugin_xep_0444.py plugin XEP-0444, storage: move get_history_from_xmpp_id to storage as it is generally useful. 2025-05-06 00:33:57 +02:00
plugin_xep_0446.py plugins XEP-0300, XEP-0446, XEP-0447, XEP0448 and others: Refactoring to use Pydantic: 2024-12-03 00:12:38 +01:00
plugin_xep_0447.py backend: Tor integration: 2025-12-15 11:35:19 +01:00
plugin_xep_0448.py backend: Tor integration: 2025-12-15 11:35:19 +01:00
plugin_xep_0461.py Global reformatting with black. 2025-09-13 10:46:10 +02:00
plugin_xep_0465.py Reformatted code base using black. 2024-06-19 18:44:57 +02:00
plugin_xep_0470.py plugin XEP-0277: Make MbData a Pydantic model: 2025-08-03 23:35:21 +02:00
plugin_xep_0471.py tests (unit): Fix tests. 2025-12-03 17:43:06 +01:00
plugin_xep_0498.py plugin XEP-0498: "Pubsub File Sharing" implementation: 2024-12-03 00:13:23 +01:00
plugin_xep_0499.py plugin XEP-0499 Pubsub Extended Discovery implementation: 2025-08-31 12:34:30 +02:00