Conversation
find . -name "*.py" -exec pyupgrade --py3-only --py37-plus {} +
|
Test setup is broken: Testrunner and LDAP (slapd) not found. |
|
I have done a few minor fixes on the Two problems remain, as @jensens already mentioned: no tests found and slapd not found. When you run What works for me instead: If we fix that, the second problem is that I did run This is with Python 3.11 on Ubuntu 22.04. @jensens @rnixx Does this give you enough hints to pick this up again? |
|
In other news, the Using these versions next to an internal release of I don't think we are using groups from LDAP in this site. But authentication works, and search works. Control panel could be a bit better: fieldsets are not shown in tabs, but simply everything below each other. But that is a minor point for me. |
…nk> should be removed, at line 7, column 66" message
…d load_zcml
- Regenerate Makefile with `uvx mxmake update` (mxmake 2.2.0). New Makefile
fixes the mxdev offline-mode error in CI: SOURCES_TARGET now runs online
to populate `.mxdev_cache` before FILES_TARGET reads it offline.
- Workflow: pass `PRIMARY_PYTHON=\${{ matrix.python }}` to make so the matrix
Python is actually used. The previous `VENV=off` had no effect (the
variable is `VENV_ENABLED`), so uv created the venv with system Python 3.12
regardless of the matrix value.
- instance.yaml: replace deprecated `load_zcml: {package_includes: [...]}`
with `zcml_package_includes: [...]` (cookiecutter-zope-instance >=2.0).
- .gitignore: ignore generated `/.mxdev_cache/`.
`ldaptesting.props` (upstream node.ext.ldap LDAPProps) has no `roles` attribute, so reading it raised AttributeError. Inside the `_ldap_props` property getter this gets re-wrapped by Python as `AttributeError: _ldap_props`, which cascaded to the 25 test failures. Hardcode the test fixture to `["Member"]` (the same value as `DEFAULTS["server.roles"]`).
|
@macagua I fixed the branch - what is missing are some basic manual tests if everything is working fine in a real Plone site with user and groups and if the ZMI UI works. |
|
@szakitibi Thanks to @jensens's work, this branch is now up to date with the @jensens, is there something can I help you? in addition to testing your changes in the
|
|
@jensens, I added more improvements about UX for the Plone Control Panel, it looks like the following screenshot:
I’ve split the entire form into four tabs, much like the I added full unit test support for this add-on Also I updated the README file for the general documentation. |
|
@macagua This is awesome! I merge it now, but I do not have time today for a release. |
According to https://pypi.org/project/pas.plugins.ldap/#history no release has been created since. |

No description provided.