Commit graph

14 commits

Author SHA1 Message Date
Firstyear adb575947f
Adjust output of claim maps for better parsing (#2566)
* Adjust output of claim maps for better parsing
* Update python tests for OAuth2 bits
* fixing workflows for container builds

---------

Co-authored-by: James Hodgkinson <james@terminaloutcomes.com>
2024-02-26 13:33:32 +10:00
James Hodgkinson c8bd1739f9
PyKanidm updates and testing (#2301)
* otel can eprintln kthx

* started python integration tests, features

* more tests more things

* adding heaps more things

* updating docs

* fixing python test

* fixing errors, updating integration test

* Add models for OAuth2, Person, ServiceAccount and add missing endpoints

* Alias Group to GroupInfo to keep it retrocompatible

* Fixed issues from review

* adding oauth2rs_get_basic_secret

* adding oauth2rs_get_basic_secret

* Fixed mypy issues

* adding more error logs

* updating test scripts and configs

* fixing tests and validating things

* more errors

---------

Co-authored-by: Dogeek <simon.bordeyne@gmail.com>
2024-01-31 03:27:43 +00:00
James Hodgkinson 6f3e932f7f
pykanidm test code (#2202)
* Testing #1998 - validated response is JSON-parseable
* disable network tests in pytest
* fixing a type-handling thing in a test
2023-10-24 13:26:10 +10:00
James Hodgkinson def4420c4c
pykanidm updoots (#2019)
* fixing some derpitude in headers and auth, adding tests
* dox fox
* cleaning up typing
2023-08-23 13:55:08 +10:00
James Hodgkinson 8981478d76
fixing up pydantic things (#1885) 2023-07-24 00:09:43 -07:00
James Hodgkinson 90d4fe1d58
Sorting documentation builds (#1551)
* updating pykanidm to fix mypy issue
* removing mdbook-template requirement
2023-04-18 21:35:40 +10:00
James Hodgkinson 421344c347
less lint more bark, ruff ruff (#1341) 2023-01-23 19:56:49 +10:00
James Hodgkinson b8dcb47f93
Spell checking and stuff (#1314)
* codespell run and spelling fixes
* some clippying
* minor fmt fix
* making yamllint happy
* adding codespell github action
2023-01-10 13:50:53 +10:00
dependabot[bot] ae62f65dab
Bump certifi from 2022.9.24 to 2022.12.7 in /pykanidm (#1247)
* Bump certifi from 2022.9.24 to 2022.12.7 in /pykanidm
* fixes some broken tests due to a changed error message 

Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.9.24 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2022.09.24...2022.12.07)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump black from 22.10.0 to 22.12.0 in /pykanidm (#1256)

Bumps [black](https://github.com/psf/black) from 22.10.0 to 22.12.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.10.0...22.12.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* trying to fix tests

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Hodgkinson <james@terminaloutcomes.com>
2022-12-12 13:44:46 +10:00
James Hodgkinson 58155c613f
Fixing a python test (#1154)
* fixing a test, it now *should* fail, which is nice
* running `black` on code
2022-10-31 22:23:24 +10:00
Firstyear aa9af0705c
Fix issues with radius (#1084) 2022-10-02 11:28:58 +10:00
James Hodgkinson f0caec57a2
Python updoots (#1081) 2022-09-29 10:08:15 +10:00
Martin Weinelt 269d57b63c
Allow disabling networked tests in python client library (#994)
* Allow disabling networked tests in python client library

Distros often build packages in sandboxes, which will make tests that
access the network fail. Marking these tests with a network mark is a
good way to allow downstreams to disable just this subset of tests.

* adding some more flags

Co-authored-by: James Hodgkinson <james@terminaloutcomes.com>
2022-08-17 09:26:11 +10:00
James Hodgkinson 805ac2dd16
Python module and rewritten RADIUS integration (#826)
* added python kanidm module
* rewrote RADIUS integration
* updated the documentation
* updating github actions to run more often
* BLEEP BLOOP ASYNCIO IS GR8
* adding config to makefile to run pykanidm tests

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Firstyear <william@blackhats.net.au>
2022-06-20 20:16:55 +10:00