GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — Release UserService v2.0.15 by Hassan9215 · Pull Request #1602 · OpenResilienceInitiative/ORISO-UserService Conversation
Collaborator
Release UserService v2.0.15 into main. Base version: v2.0.14. This PR merges the release branch Docker image: What's Changed (since v2.0.14)
Full Changelog: v2.0.14...v2.0.15 🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe tenant texts carry <p> tags; the facade test now also checks that the posted Erstantwort payload contains none, so a regression in the HTML-to-plain-text step is caught end to end. Co-Authored-By: Claude Opus 5.5 <[email protected]> …ntact (OBP 2.1 #117) GET /users/agencies/{agencyId}/admin-contacts returns the agency admins of a counselling centre the caller belongs to who can actually be invited into an internal chat (also an active counsellor of the centre, with a chat identity). Only id and internal display name are returned. A centre the caller is not a counsellor of answers 403, existing or not. The caller is never listed. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012oHuLwgsF18sXNLUVhMCvk …CI) The new controller dependency was missing from the WebMvc slice, so the context failed to load and all 134 UserControllerIT cases errored. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012oHuLwgsF18sXNLUVhMCvk …enquiry is accepted After counsellor A accepted an enquiry, every other counsellor kept the timeline entry "New client request - A new client request is waiting." (request.new, or waiting_room.client.joined for live chat). Opening it only led to a case that was no longer theirs. Accepting an enquiry (registered and anonymous path) now deletes those entries for every recipient except the accepting counsellor and nudges the affected clients to refresh their feed. Best-effort: a failure is logged and never blocks the acceptance. Refs OpenResilienceInitiative/ORISO-Frontend#1472 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RCxgreRKji9sqehVWhezC6 …action The cleanup joined the acceptance transaction, so a failing bulk delete could mark it rollback-only and undo the acceptance despite the best-effort catch. It now runs in afterCommit with REQUIRES_NEW and failures are caught outside the transactional proxy; on rollback nothing is retired. Refs OpenResilienceInitiative/ORISO-Frontend#1472 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RCxgreRKji9sqehVWhezC6 Validate session alias ownership and fresh tenant policy, preserving generated names and immutable login IDs. Guard email collection before registration, profile and mail-OTP side effects. Keep legacy ignored account and signup alias fields compatible. Verify anonymous session-data HTTP access, null owners, exact frontend pseudonym parity, removal and existing-address behavior. Local verification: 7269 unit tests, 2198 required integration tests, provider/consumer contracts and package pass. Integrated Dev acceptance remains pending. Refs #1494 and OpenResilienceInitiative/ORISO-Frontend#825. Co-Authored-By: Codex <[email protected]> Refs #201. Keep a validated full tenant snapshot for outage enforcement, preserve reason preferences and cleanup, and reject malformed live authority. Refs #1494. Only a missing stored tenant in configured single-tenant mode uses the fresh configured projection. Require its positive identity and settings; preserve exact matching for explicit tenants and refusal for missing multi-tenant, technical and negative identities. Regression tests first reproduced failures in registration, profile, alias updates and email OTP. All 7278 units, 185 affected integration tests, package and source-integrity checks pass. Independent review is clear. Refs #1171. Honor canonical requirements and centre recommendations without reapplying legacy V2 caps to explicit modern formats. Validate the actual agency and tenant before using their response, and refuse malformed live authority without changing the documented availability fallback. Both supported API routes use the same gate. Actual generated-client, controller, authorization and DPA regressions verify refusal before effects. Refs #201. Read and validate the authorized operation before its one fresh policy lookup, then repeat the guards under a short locked transaction. Semantic tenant, ownership and request stamps reject changes before effects. Existing no-effect replays and cleanup do not need a provider lookup. Validated live authority remains usable if optional cache persistence fails; only persistence exceptions are tolerated. Invalid policies and serialization errors remain visible, with the existing durable last-known-good contract. Real MariaDB tests at pool sizes one and two prove unlocked request and extension lookups, concurrent-state rejection and actual rollback-safe mail. All 7287 units, 62 relevant integration tests and package checks pass. …eker chats When an advice seeker's session was deleted (own account or this chat deleted, or the account deleted automatically) the counsellor lost the case without a trace and could not tell a deletion from a technical problem. Before the session is deleted, a row without personal data is stored (counsellor, counselling centre, former session id, deletion time) and one timeline entry "session.asker_deleted" is created. A counsellor who deletes the chat themselves gets none. GET /users/sessions/consultants/deleted-askers returns the caller's placeholders from the last 30 days; the nightly retention run purges older ones. Recording runs in its own transaction and never blocks a deletion. Refs OpenResilienceInitiative/ORISO-Frontend#1159 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RCxgreRKji9sqehVWhezC6 Product decision (29 Oct): the assigned counsellor keeps the "deleted
advice seeker" placeholder whoever deletes the chat, including a colleague
or the counsellor themselves via DELETE /users/sessions/{id}.
Refs OpenResilienceInitiative/ORISO-Frontend#1159
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RCxgreRKji9sqehVWhezC6
…letion committed Review follow-up on the placeholder (ORISO-Frontend#1159): - capture the placeholder while the session exists, record it only after the deletion succeeded and its transaction committed, so a rolled-back deletion never leaves a placeholder next to a live chat; - save the placeholder and the timeline entry each in its own transaction, so neither failure rolls back the other or reaches the deletion; - run the placeholder purge even when the notification purge fails; - skip the changeset when the table was created by hand (repo convention); - assert the purge cutoff in the test. Refs OpenResilienceInitiative/ORISO-Frontend#1159 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RCxgreRKji9sqehVWhezC6 …-blockers-ync2mf feat(users): counsellor can list the admins of their own centre (Frontend#1915) Liquibase: lineage changeset runs after dev's 1477/1475/1476/1487. GroupCounsellingMatrixReturnIT: keep the PR's fixture split; move dev's room-state stub and matrixMemberBanned into the fixture and keep the banned-member test. ImportRecordCreationInputAdapter inherited the interface defaults (false), so imported counsellors got neither a second factor nor a forced password change. Override both to true, mirroring CreateConsultantDTOCreationInputAdapter, and flip the tests that pinned the old behaviour. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012oHuLwgsF18sXNLUVhMCvk Every new staff account must set up 2FA. waive(...) now always throws BadRequestException and writes nothing. The endpoint, DTO fields and the WAIVED status stay, so existing waived rows remain readable and clients get a clear 400 instead of a 404. The two waive race tests are removed (nothing writes any more); the access-gate test now uses an ACTIVE factor. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012oHuLwgsF18sXNLUVhMCvk identity.otp-allowed-for-{consultants,single-tenant-admins,tenant-super-admins,
restricted-agency-admins} now default to true. While false, 2FA enrolment
answers 409 and the per-user requirement is not announced, so staff could not
comply with the mandatory 2FA. Advice-seeker flag (otp-allowed-for-users)
stays false. A test pins the shipped defaults.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012oHuLwgsF18sXNLUVhMCvk
prepareResend copied twoFactorStatus, so a pending invite waived before this change would hand WAIVED to its replacement and the new account would pass the gate without 2FA. Use the role default instead. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012oHuLwgsF18sXNLUVhMCvk …ing-group-avv fix: enforce AVV entry and continuation across recurring groups …-blockers-ync2mf fix(2fa): new staff accounts cannot skip 2FA (waiver, import, OTP defaults) Ids, role/type labels and outcome only; written in its own transaction. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012oHuLwgsF18sXNLUVhMCvk Counsellor: SCHEDULED when marked, EXECUTED (actor SYSTEM) on hard delete. Agency/tenant admin: EXECUTED at once (no safeguarding window). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012oHuLwgsF18sXNLUVhMCvk GET /service/users/deletion-audit-logs, same access rule as the inactive-account audit. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012oHuLwgsF18sXNLUVhMCvk …ction commits (#1262) The entry was written immediately in its own transaction, so a deletion whose own transaction rolled back still left a SCHEDULED/EXECUTED entry. Inside a caller transaction the write now runs in afterCommit. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012oHuLwgsF18sXNLUVhMCvk …aborator (#1262) Its narrow context imports ConsultantAdminService and DeleteDatabaseConsultantAction, which now depend on DeletionAuditService. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012oHuLwgsF18sXNLUVhMCvk …potent changeset (#1262) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012oHuLwgsF18sXNLUVhMCvk …applied migration (#1262) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012oHuLwgsF18sXNLUVhMCvk …te-avatar-name-suggestion feat(invites): inviting admin can suggest an avatar and display name Co-Authored-By: Claude Opus 5.5 <[email protected]> …oys its room Ending a recurring group answered 409 and left it broken. The next room is reserved in its own transaction, but MariaDB's REPEATABLE READ hides that row from the stop's outer transaction, so recording the rotation inserted it again: duplicate key, rollback, 409. By then the old Matrix room was already purged, so the chat stayed active on a room that no longer exists. Members read as 0, join answered 502 and every later stop failed. - Read the room provenance with a locking read, which sees the latest commit. - Let a repeated stop continue with the reserved room when Synapse confirms the old room is gone. Everyone was carried over before that purge. Stuck groups recover through this path. - Move the group's session to the new room, because the case list pairs session and chat by room id. Co-Authored-By: Claude Opus 5.5 <[email protected]> …trix-retry-after Preserve the Matrix browser login retry delay …group-membership-stop fix(group-chat): stopping a recurring self-help group no longer destroys its room Consultants see one queue per topic, but the arrival-order check also filtered by consulting type and agency. A later guest could be accepted ahead of an earlier guest on the same topic, and the guest's position missed that earlier guest. No-topic lookups keep their existing scope. Co-Authored-By: Claude Opus 5.5 <[email protected]> …chat-queue Enforce arrival order in the anonymous Live Chat queue …ct-reserved-room-cleanup fix(group chat): protect reserved rooms from cleanup retries A leaver is removed from an already prepared next room before the leave, and the transfer makes the next room match the current one: it evicts whoever is no longer there and re-reads the current room until it has stopped changing, so native Matrix joins and leaves are picked up. The room alias is journaled before Matrix creates the room. After a grace period the cleanup worker resolves the alias and hands a room that was never recorded to the guarded room purge. Refs #1596 Co-Authored-By: Claude Fable 5.1 <[email protected]> …uled-group-stop fix(group chat): advance recurring groups after their scheduled stop # Conflicts: # src/main/resources/db/changelog/userservice-master.xml …ted-asker-placeholder feat(sessions): leave counsellors a placeholder for deleted advice-seeker chats
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |