Skip to content

Feature/four 26166 b#8802

Open
caleeli wants to merge 957 commits into
feature/FOUR-26166from
feature/FOUR-26166-b
Open

Feature/four 26166 b#8802
caleeli wants to merge 957 commits into
feature/FOUR-26166from
feature/FOUR-26166-b

Conversation

@caleeli
Copy link
Copy Markdown
Contributor

@caleeli caleeli commented Apr 28, 2026

Issue & Reproduction Steps

Describe the issue this ticket solves and describe how to reproduce the issue (please attach any fixtures used to reproduce the issue).

Solution

  • List the changes you've introduced to solve the issue.

How to Test

Describe how to test that this solution works.

Related Tickets & Packages

  • Link to any related FOUR tickets, PRDs, or packages

Code Review Checklist

  • I have pulled this code locally and tested it on my instance, along with any associated packages.
  • This code adheres to ProcessMaker Coding Guidelines.
  • This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
  • This solution fixes the bug reported in the original ticket.
  • This solution does not alter the expected output of a component in a way that would break existing Processes.
  • This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
  • This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
  • This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
  • This ticket conforms to the PRD associated with this part of ProcessMaker.

nolanpro and others added 30 commits March 12, 2026 13:09
FOUR-29250 End Event – External URL with Mustache Support
[46535] Rollback in Sub-Process Does Not Allow Parent Process to Continue (FAILING State)
FOUR-27394: Fix Case Title/Case # links in Requests table
FOUR-29116 | Add “Retention Policy” option under Admin > Logs
FOUR-29961: APPLICANT >> Improve Draft behavior
Add middleware to block authenticated users whose status is BLOCKED or INACTIVE. Introduces EnsureAccountAllowsAccess middleware (with blockingResponseForRequest and denyAccess helpers) that logs out the user, invalidates the session, and returns a JSON 401 for API requests or redirects to login with appropriate error messages for web requests. Wire the middleware into the HTTP kernel and update ProcessMakerAuthenticate to invoke the same blocking check after successful authentication so auth:api routes (core and packages) are also enforced.
- Added logic to prevent password reset for blocked users in ForgotPasswordController and ResetPasswordController.
- Updated response messages for blocked accounts in language files.
- Modified reset password view to retain email input value after validation errors.
task/FOUR-30041: Account Lock Fails to Invalidate Active Login Session
Account Lock Bypass via Password Reset Flow
Introduce CasesRetentionController with a logs() action to expose case retention policy logs. The endpoint supports text filtering, validated ordering (whitelisted columns), order direction, and paginated results (per_page default 10); when no valid order_by is provided it falls back to created_at descending. The controller uses DB::raw to transform dotted column notation into JSON extraction for ordering and returns results as an ApiCollection. Also registers the GET api/1.0/cases-retention/logs route under the existing authenticated API middleware group.
Treat case_ids as a native array across backend and frontend. Add a $casts entry on CaseRetentionPolicyLog and stop json-encoding case_ids in EvaluateProcessRetentionJob and the factory; update the unit test to assert the array value. On the UI side, introduce a dedicated CaseIdsTableCell Vue component (with preview + popover for overflow) and wire it into CasesRetentionLogs, replacing fake data with an API fetch and adjusting sorting/preview behavior.
Introduce applyLogsFilter to perform flexible searching across id, process_id, numeric columns (deleted_count, total_time_taken) and JSON case_ids, using driver-specific casting (ILIKE for pgsql, CAST(... AS CHAR) otherwise). Use request->filled('filter') and trim empty terms to avoid spurious queries. Replace the previous lowercase process_id-only filter with this broader implementation and remove unused imports (Response, DB, Log).
Connect Audit Logs UI to Case Retention API with Sorting, Search, and Overflow Handling
mcraeteisha and others added 29 commits May 18, 2026 17:38
Ensure the 'view-all_cases' permission row exists and register a Gate in tests so the can:view-all_cases middleware is enforceable. Update the existing forbidden test to define the permission and Gate, and add two new tests: one that confirms a user can view their own cases (scoped by userId) without the global permission, and another that verifies a user cannot view another user's cases without the permission and that granting it restores access. Creates test data via factories and asserts correct response codes and payload counts.
Epic/FOUR-25679: FlowGenie Agent Enhancements: MCP Server Tools
FOUR-27838: Add the case number to all screens in the applicant process
FOUR-30819 Sanitize screen template config
FOUR-31151 Fix issue when oauth client id is the same as the user id
Change the Processes I Manage saved search from IN PROGRESS to IN PROGRESS AND COMPLETED
[FOUR-31262] Trivial change: update release name
[FOUR-31263] Use .us Microsoft endpoints for Office365 OAuth
FOUR-31336 | Change on clients adding modal for plainSecret
FOUR-27623 | Users Can View All Cases Without “View All Cases” Permission
@processmaker-sonarqube
Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.