Repository navigation
Releases: renuo/fripa
Releases · renuo/fripa
Release list
v0.2.0
Changed
- Network errors and timeouts (
Faraday::Error) now raiseFripa::ConnectionError. Responses that are not JSON also raiseFripa::ConnectionError. - The session cookie keeps only
name=valuepairs. Attributes likepath,httponlyandsecureare no longer sent back. - Login and API calls share one HTTP connection.
Fripa::Client#inspectandFripa::Authenticator#inspectno longer show the password or the session cookie.schemeis case-insensitive. An unknown scheme raisesArgumentErrorinstead of falling back to HTTP.
Added
config.raise_on_partial_failure(defaultfalse): whentrue, calls that report per-entry failures (e.g.group_add_memberwith an unknown user, or a user that is already a member) raiseFripa::PartialFailureError(aFripa::ResponseError). The fullfailedhash is in#data.- The client logs in again and retries once when the session expires (HTTP 401).
Fripa::Client#batchsends many commands in one HTTP request.- Configuration options:
timeout,open_timeout,api_versionandadapter(e.g.:net_http_persistentfor keep-alive). ipa_format:option forvault.archiveandvault.retrieve, to read and write vaults in the format of theipaCLI.users.passwdaccepts no current password, so admins can reset the password of another user.- RBS signatures in
sig/.
Fixed
vault.retrievereturnsnilfor an empty vault instead of raisingNoMethodError.- The vault resource fetches the KRA transport certificate once per client, not on every archive and retrieve.
v0.1.3
What's Changed
- Add ResponseError and integrate error handling by @bruno-costanzo in #1
New Contributors
- @bruno-costanzo made their first contribution in #1
Full Changelog: v0.1.2...v0.1.3
v0.1.2
Fixed
- Fixed
Fripa.configureblock syntax not working due to missing requiredhostparameter in Configuration initializer - Configuration validation now happens at usage time instead of initialization time
Full Changelog: v0.1.1...v0.1.2
v0.1.1
New Features
- Add configurable port support (optional, defaults to 443)
- Add configurable scheme support (http/https, defaults to https)
- Make host parameter required
What's Changed
This release adds flexibility for users running FreeIPA on non-standard ports or locally via HTTP.
Configuration Examples
Custom port:
Fripa.configure do |config|
config.host = 'ipa.example.com'
config.port = 8443
endLocal development with HTTP:
Fripa.configure do |config|
config.host = 'localhost'
config.port = 8080
config.scheme = 'http'
config.verify_ssl = false
endTechnical Details
- 100% line coverage, 96% branch coverage
- All 60 tests passing
- Backward compatible (port and scheme are optional)
v0.1.0
Full Changelog: https://github.com/renuo/fripa/commits/v0.1.0