Wykres commitów

30 Commity (8a43153cb3ff8e00c23a75e8dffb1c57a1739e7c)

Autor SHA1 Wiadomość Data
Andrew Mirsky 03bf1c34d9
provide plugin manager context so that it identifies auth and topic check plugins correctly 2025-07-02 12:24:41 -04:00
Andrew Mirsky ee7250c720
fixes Yakifo/amqtt#187 : explicitly declaring auth plugins as an empty list (entry points configuration style) or not including a BaseAuthPlugin in loaded plugins, still allowed clients to connect to broker. security risk as explicit omission (former) or inadvertent omission (latter) might allow anonymous connections 2025-06-30 14:08:01 -04:00
Andrew Mirsky fb0404321d
Merge branch 'main' into alt_plugin_config 2025-06-27 13:59:39 -04:00
Andrew Mirsky b7ccc458e9
moving base classes for auth and topic plugins into common file 2025-06-17 12:53:37 -04:00
Andrew Mirsky f55d7feab8
resolving type-hinting conflicts 2025-06-17 12:48:31 -04:00
Andrew Mirsky c6a7715ddc
fixes Yakifo/amqtt#35 : gather event callbacks upon plugin load so don't have to check all plugins on every fire_event 2025-06-15 20:17:40 -04:00
Andrew Mirsky 43efa4c829
instead of filtering upon call of the plugin's coro, filter upon plugin loading 2025-06-12 19:12:33 -04:00
MVladislav 1a72fa8e39 refactor: formatting 2024-12-29 19:23:27 +01:00
MVladislav 7c001d69b2 refactor: bigger code upgrade and improves
- add github workflows
- update project.toml by disable multi parts to not see every needed fix now
- improve tests cases
- improve code quality
- ...
2024-12-21 11:52:26 +01:00
Florian Ludwig 9628a1ce3e remove deprecated loop parameter from tests 2022-01-11 12:55:04 +01:00
Florian Ludwig 86cec6d2a5 remove hbmqtt plugin namespace compatibility 2021-08-17 17:01:58 +02:00
Florian Ludwig 478a2d18c8 entrypoint transition code 2021-03-27 17:49:55 +01:00
Florian Ludwig e1c73fc53a update imports in tests 2021-03-27 17:49:55 +01:00
Florian Ludwig 8237912a3b re-enable plugin manager tests 2021-03-21 19:02:02 +01:00
Florian Ludwig 69a7992b66 rename TestPlugin to so it is ignored by pytest 2021-03-21 19:02:02 +01:00
Marius Kriegerowski 7921e2cc22 linter project with black at default line length 88 2021-03-15 10:18:00 +01:00
Marius Kriegerowski db3dffa857 use black linter with 96 char line length 2021-03-14 21:44:41 +01:00
Florian Ludwig b430cc8487 replace assertTrue 2021-03-09 19:13:32 +01:00
Marius Kriegerowski e0fabc0bc3 Refactor to comply python3.8 2021-03-09 19:13:32 +01:00
Florian Ludwig bd58685028 mark failing tasts as allowed to fail 2021-03-08 21:08:35 +01:00
Stein Magnus Jodal 6435e4239c flake8: Fix all F401 unused imports warnings 2017-08-07 01:23:21 +02:00
Nico 4dcf8eb477 Revert to 3.4 coroutine syntax 2015-11-01 15:58:20 +01:00
Nico 52e3160995 #HBMQTT-35
Refactor yield from -> await
2015-10-16 22:13:37 +02:00
nico 933e0065fa map() accepts a filter_plugin argument which can be used to filter effective plugin called 2015-08-21 13:37:57 +02:00
nico b0007676fb map() method now returns a map of result
{plugin1: ret1, plugin2: ret2...} for each plugin called
2015-08-21 13:08:52 +02:00
Nicolas Jouanin 22c7ef674e Init plugin logger in context 2015-08-20 21:43:18 +02:00
nico 97bb250427 Add wait paramter to fire_event 2015-08-19 13:54:09 +02:00
Nicolas Jouanin 883b230855 change test formatting options 2015-08-17 21:52:26 +02:00
Nicolas Jouanin 2a82d102d7 Disable debug logging 2015-08-16 21:39:53 +02:00
Nicolas Jouanin a732a5ee72 Implement core PluginManager 2015-08-16 21:37:18 +02:00