Wykres commitów

147 Commity (0.11.5)

Autor SHA1 Wiadomość Data
Andrew Mirsky 55bc7a6255
Yakifo/amqtt#174 : move current implementation to mqtt3 namespace and mark mqtt module as deprecated. allows for a namespace for mqtt 5 implementation 2025-08-12 10:16:21 -04:00
Andrew Mirsky a9f7adb3db
summarized 0.11.3 changes 2025-08-12 06:44:14 -04:00
Andrew Mirsky bfd2d86395
removing superfluous dependency, updating readthedocs build process, plugin doc cleanup 2025-08-11 20:28:27 -04:00
Andrew Mirsky b4d58c9130
prepare for 0.11.3 release (#292)
* updating docs, version # and changelog for release 0.11.3
2025-08-10 18:08:52 -04:00
Andrew Mirsky 0d678dfa7c
Plugin: jwt authentication and authorization (#289)
* Yakifo/amqtt#260 : plugin to verify a jwt and its claims including test cases. and docs.
2025-08-09 15:39:31 -04:00
Andrew Mirsky beb8672116
Plugin: authenticate against LDAP server (#287)
* Yakifo/amqtt#261 : plugin for authenticating a user with ldap.
* adding openldap dependencies
* updating ldap custom schema to include three ACL attributes, retrieve the correct topic list and check if topic is allowed
2025-08-09 15:27:44 -04:00
Andrew Mirsky f50e3b48f6
Plugin: device 'shadows' to bridge device online/offline states (#282)
* states, calculations and model for shadow plugin
* adding tests for shadow states and correcting use cases
* adding get/update message broadcast, adding json schema tests for shadow messages being received
* adding shadow plugin documentation
2025-08-09 15:01:10 -04:00
Andrew Mirsky 2fa0604547
Plugin: determine authentication based on X509 certificates (#264)
* plugin for authenticating clients based on certificates
* create ca, server and device keys and certificates. certificate auth plugin verification (non linted)
* adding documentation for the various cli scripts and the CertificateAuthPlugin
* post_init was not running on client config. cafile, keyfile, certfile are part of the connection section
* 'broker' section of client config can be empty, but connection will either be provided by the user or the default
2025-08-09 14:52:35 -04:00
Andrew Mirsky de40ca51d3
Plugin: rebuild of session persistence (#256)
* rebuild of the persistence plugin to handle storing / restoring sessions
* adding event for broker when a message is being retained
* adding retained message logic to persistence plugin and test cases
* updated documentation
* moving DataClassListJson field to common location for reuse
2025-08-09 14:15:45 -04:00
Andrew Mirsky ae6d772927
standardizing naming convention for new plugins 2025-08-06 14:08:45 -04:00
Andrew Mirsky 66ac74f3d2
clarifying documentation for plugins and client/broker configuration 2025-08-05 11:56:05 -04:00
Andrew Mirsky cee49ffba2
migrate config to use the mkdocs material custom style templates. expand content. 2025-07-30 11:54:20 -04:00
Andrew Mirsky f6ccdbc51c
splitting out contrib plugin documentation into separate pages 2025-07-30 09:32:56 -04:00
Andrew Mirsky 744827cdd5
Plugin: authentication against a relational database (#280)
* Yakifo/amqtt#259 : db schema (orm) and authentication of users plugin, initial

* expanding to include a simple admin interface

* create directory into module

* user management ui react app

* including research associated with session auth for the admin ui

* updating to handle username and acl datagrid

* multi cli optional approaches

* basic cli functions for manipulating users

* Yakifo/amqtt#259 : lint and type cleanup

* Yakifo/amqtt#259 : added tests for AuthDBPlugin as well as the UserManager. includes a command line interface for listing, adding, removing and updating users. added documentation.

* Yakifo/amqtt#259 : need to install the 'contrib' extra package for the workflows

* fixing class name change

* fixed incorrect install of optional library for ci. auth db test wasn't shutting down broker, causing subsequent tests to fail"

* test case not cleaning up after itself

* adding topic authentication to database plugin

* renamed command line script

* moved auth db ui to a different branch. added a temp directory to the temp file used for sqlite tests

* more renaming to leave space to expand to topic management

* updating dependencies

* renaming scripts

* adding topic filter and test cases

* Yakifo/amqtt#259
separate plugin for DB topic-based checking. additional topic auth testing
Yakifo/amqtt#259
updating uv.lock
fixing lint and typing errors
handling strenum for 3.10
updating documentation for topic and user auth plugins
update user and topic manager scripts, add tests and fix bugs
add tests for the user and topic mgr cli
client connection timeout should yield a connecterror

* adding 'receive' action, added along with the http plugin
2025-07-26 17:04:14 -04:00
Andrew Mirsky b7fd9e1afc
Determine auth & topic access via external http server (#262)
* initial structure of http acl

* progress

* Yakifo/amqtt#258 (in progress): a plugin which requests authentication via http

* Yakifo/amqtt#258 (in progress): a plugin which requests topic acl via http

* renaming plugin

* StrEnum support for python 3.10

* when using python 3.10, 'localhost' resolves to the wrong ip address, so we excplicitly use the loopback address. our polyfill for StrEnum in python 3.10, needs to get the value instead of its implicit converstion in other versions

* add documentation, expand functionality to handle  case including test cases

* refactoring test fixtures for HttpAuthAclPlugin

* further refactoring of test cases to eliminate duplicate code

* add comments to test code

* rename to more accurately describe user authentication and topic authorization

* config option name change

* cleaning up documentation on the Topic ACL Plugin

* simplificiation based on feedback

* updated doc

* incorporated feedback
2025-07-26 15:47:49 -04:00
Andrew Mirsky 9370ad7f9a
Structured broker and client configurations (#269)
* wip for structured configs

* updating docs to pull descriptions from structured configs

* display 'default_factory' in a field as the actual value

* finalizing the dataclass style, format and content of the documentation for the BrokerConfig.

* updated documentation for broker and client config including finalizing the griffe extension to get the output of the default_factory's of dataclasses

* all test cases working. most fixes were to make the dataclass config's backwards compatible with how the rest of the code was accessing config dictionaries

* type correction and linting fixes

* updates to support python 3.10

* fixes to handle wonky yaml files

* removing non-modified template files

* adding documentation on the custom griffe extension to render the 'default_factory' for dataclass's 'field'

* refining documentation

* removing duplicate logger
2025-07-26 12:37:25 -04:00
Andrew Mirsky fe64d011ec
Merge branch 'main' into 0.11.3-rc.1 2025-07-13 10:40:28 -04:00
Andrew Mirsky 06cf5f6535
updating changelog for 0.11.2 release 2025-07-10 13:22:49 -04:00
Andrew Mirsky 33ac8b8dd7
add additional documentation for custom plugins 2025-07-10 12:29:59 -04:00
Andrew Mirsky 98778416dc
structure needed as the basis for several 0.11.3 improvements 2025-07-10 11:23:56 -04:00
Andrew Mirsky ef73db9262
keep BrokerSysPlugin default consistent between default_broker config and plugin 2025-07-04 16:08:24 -04:00
Andrew Mirsky 1971af26a4
match yaml 'plugins' format as dictionary with python dictionary format; allow for list as well as dictionary, in case that format slips in 2025-07-04 16:05:55 -04:00
Andrew Mirsky d78c184f86
Merge remote-tracking branch 'source/0.11.2-rc' into issues/27 2025-07-03 11:36:44 -04:00
Andrew Mirsky 3d493b88ef
Merge branch '0.11.2-rc' into add_session_to_client_events 2025-07-02 19:05:36 -04:00
Andrew Mirsky 2ceb2ae43b
resolves Yakifo/amqtt#27 Yakifo/amqtt#246 Yakifo/amqtt#123: only retain messages for clients which specify clean session = 1 and messages are QoS 1 & 2. Also, clients which are completely anonymous, specifying no username, have no expectation of message retention. 2025-07-01 22:00:18 -04:00
Andrew Mirsky 043b6ac881
check for client connect/disconnect event needed change 2025-06-29 17:47:02 -04:00
Andrew Mirsky 31bd1638e7
update event callback signatures in documentation 2025-06-29 17:14:53 -04:00
Andrew Mirsky f80939ffb8
client connect/disconnect event callbacks now receive the client 'Session' 2025-06-29 12:07:43 -04:00
Andrew Mirsky 92141d9a54
updating broker and client config documentation. updating description on how to create a custom plugin. 2025-06-28 23:02:02 -04:00
Andrew Mirsky a8e1692631
updating existing plugins to use new plugin configuraiton format. adding deprecation warnings. updating existing tests and adding additional cases to check that both old and new config formats work correctly 2025-06-27 23:08:09 -04:00
Andrew Mirsky 82c59cff9a
Merge branch '0.11.1-rc' into refine_sample_tests 2025-06-26 13:19:37 -04:00
Andrew Mirsky 1608edff91
add setting for connection timeout 2025-06-26 13:00:40 -04:00
Andrew Mirsky bb76dbeec9
fixing config parameters for MQTTClient and updating docs to match. refining sample scripts to rely less on accessing external broker for successful completion 2025-06-25 22:24:14 -04:00
Andrew Mirsky 0973c63a34
Merge pull request #227 from ajmirsky/issues/225
update sample files
2025-06-25 19:11:58 -04:00
Andrew Mirsky 1307425495
Merge pull request #226 from ajmirsky/consolidating_plugin_base_classes
`BaseAuthPlugin` and `BaseTopicPlugin` into common file
2025-06-25 19:11:16 -04:00
Andrew Mirsky 1bb78ef5d2
release candidate version and changelog updates for 0.11.1 2025-06-25 19:04:52 -04:00
Andrew Mirsky 29e5a74dbc
fixes Yakifo/amqtt#225 : updating all samples, adding test coverage for samples. python 3.10 needs to explicitly catch asyncio.TimeoutError. correct 'topic-check' plugin list 2025-06-17 17:03:40 -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 89ccb857ed
update changelog for 0.11.0 release. minor cleanup of docker launch examples 2025-06-17 10:15:38 -04:00
Andrew Mirsky 8e60105a11
updating docs, version numbers and ssl 2025-06-16 15:24:23 -04:00
Andrew Mirsky e17cce0dd9
Merge branch 'rc' into release_prep 2025-06-16 12:26:21 -04:00
Andrew Mirsky 577e4771fc
update changelog 2025-06-16 09:00:38 -04:00
Andrew Mirsky 3d6e7a8364
added tests for plugin events and broker sys topics 2025-06-15 19:27:47 -04:00
Andrew Mirsky 4984927ea5
document the various data received for each event type, update methods instead of using just the generic *args and **kwargs 2025-06-15 18:34:50 -04:00
Andrew Mirsky 63b184b3e8
clarifying documentation 2025-06-13 07:11:49 -04:00
Andrew Mirsky 06053ce7ee
tweaking readthedocs configuration 2025-06-11 16:30:27 -04:00
Andrew Mirsky 09fa23dc22
adding configuration for readthedocs 2025-06-11 11:54:12 -04:00
Andrew Mirsky ee7a88fc72
amqtt.io (#206)
* ignoring all files and adding back was causing confusion

* adding in amqtt.io website

* adding amqtt logo

* removing mobile version of the dashboard menu

* minor change to naming of logo

* adding functionality to display statistics from amqtt broker

* adding content about configuration

* separating amqtt.io from test.amqtt.io

* adding link to the test server page

* remove unneeded state

* docker file for building image

* separating docker build into two phases to minimize image size. add documentation for docker launch / configure

* updating docs with references to docker image

* adding missing icons

* adding docker compose samples. updating classifiers and version

* fixing uv lock file version identifier

* tweaking test.amqtt.io page to include broker start and uptime. fix project links. add gitter icon

* missing image

* update to include 'client'
2025-06-11 11:49:09 -04:00
Andrew Mirsky 66eafd1e5c
separating docker build into two phases to minimize image size. add documentation for docker launch / configure 2025-06-09 14:32:55 -04:00
Andrew Mirsky eebec2e604
adding documentation for additional client configuration options 2025-06-03 11:11:07 -04:00