Commit Graph

42 Commits

Author SHA1 Message Date
Sacha Al Himdani
e1148f812e Replace implemented column with CMMI maturity level
Drop the boolean implemented/not-implemented state in favor of a
mandatory CMMI maturity level enum (NONE, INITIAL, MANAGED, DEFINED,
QUANTITATIVELY_MANAGED, OPTIMIZING) stored as a Postgres enum type.

The migration backfills existing rows (NOT_IMPLEMENTED → NONE,
IMPLEMENTED → INITIAL), makes the column NOT NULL, and drops the old
implemented column and its enum type.

- maturityLevel is required on CreateControlInput and non-nullable (!)
  in the GraphQL schema
- CLI displays human-readable CMMI labels instead of raw enum tokens
- SOA table and published document use a single Maturity column in
  place of the old Implemented + Maturity columns
- Remove ControlImplementationState type and all implemented references
  across backend, frontend, CLI, MCP, n8n, and E2E tests

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2026-04-21 11:06:36 +02:00
Alejandro Juan
da91afc2a7 Add CMMI maturity level to compliance controls
Adds an optional CMMI 0-5 maturity level field to Control to support
ISO 27001 clause 9.1 effectiveness measurement and HITRUST CSF maturity
requirements. The field is nullable, framework-agnostic, and exposed
across all four API surfaces (GraphQL, MCP, CLI, n8n) plus the
generated SoA document.

Signed-off-by: Alejandro Juan <alejandrojuan@alejandrojuan.com>
2026-04-21 11:06:36 +02:00
Sacha Al Himdani
851e585b9b Add ISC license headers to Go, TypeScript, and SQL files
Add ISC license headers to all .go, .ts, .tsx, and .sql files
using each file's git history to determine the correct copyright
year or year range. Trademarked icons (brand logos, vendor logos,
compliance framework logos) are excluded.

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2026-03-31 13:31:30 +02:00
Sacha Al Himdani
999171a626 Add document approval workflow
Introduce a complete approval system for document publishing. Document
versions can now require approval from selected reviewers before being
published, with automatic publishing once all approvers have approved.

- Add approval quorum and decision tables with backfill migration
- Implement request approval, approve, and reject flows with electronic
  signature support for approve decisions
- Add employee approvals page with dedicated tab and pending approvals view
- Add changelog field to publish and request approval flows
- Pre-select previous version's approvers in the publish dialog
- Show quorum approvers in document list with 100 approver hard limit
- Expose approval workflow through GraphQL, MCP, and CLI
- Remove legacy default approvers feature entirely
- Add comprehensive e2e test coverage for approval workflows

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2026-03-27 19:43:20 +01:00
Bryan Frimin
0e0539f1f3 Replace console frontend with unified findings pages
Add FindingsPage, FindingDetailsPage, and CreateFindingDialog
supporting all finding kinds (nonconformity, observation, exception)
with filtering, sorting, and audit linking.

Remove the separate nonconformity and continual improvement pages,
routes, and graph hooks. Update sidebar navigation, routes, and
components for nullable audit framework field.

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
2026-03-17 15:05:33 +01:00
Bryan Frimin
13ca50df68 Fix relay lint in components and pages
Remove unused GraphQL fields (createdAt, updatedAt, totalCount,
__id, sourceId, etc.) from queries and fragments across 50+ files.

Add TypeScript generics to useMutation, usePaginationFragment,
useRefetchableFragment, and useLazyLoadQuery calls to satisfy
relay/generated-typescript-types.

Add justified eslint-disable comments for fields needed by Relay
cache normalization (id) or consumed by sibling components through
fragment spreads.

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
2026-03-15 13:32:43 +01:00
Émile Ré
c36156c18a Disable all inputs with disabled form prop
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-02-19 16:13:04 +04:00
Sacha Al Himdani
33dfcd26c2 Fix approvers ui
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2026-02-17 10:48:44 +01:00
Émile Ré
6b4185aa9b Make console buildable by removing people related GQL queries
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-02-12 16:21:10 +04:00
Émile Ré
e143477d66 Remove extensions from import paths
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-23 12:42:34 +04:00
Émile Ré
3b4f77c5e8 Change folder aliases
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 21:14:37 +04:00
Émile Ré
7d690c546b Fix type imports
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 20:41:19 +04:00
Émile Ré
c168be6de0 Add import order sorting rules
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 20:38:37 +04:00
Émile Ré
aa5696b5d3 Add eslint-plugin-import
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 19:57:10 +04:00
Émile Ré
dd23449cc0 Fix apps/console lint issues
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 12:51:43 +04:00
Émile Ré
6b2864e160 Move console to a relay multi project config
Signed-off-by: Émile Ré <nemile.re@gmail.com>
2026-01-17 11:02:51 -08:00
Sacha Al Himdani
4ed3f5a067 Change state of applicability
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2026-01-16 22:56:00 +01:00
Sacha Al Himdani
3c2be844e4 Remove mandatory task from measure
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2026-01-15 18:15:45 +01:00
Sacha Al Himdani
91b42c6cd1 Add new gdpr registries
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-12-19 18:11:25 +01:00
Sacha Al Himdani
3169fa3c0a Fix audit and framework deletion
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-12-09 17:34:50 +01:00
Émile Ré
9265ad69eb Fix eslint issues
Signed-off-by: Émile Ré <nemile.re@gmail.com>
2025-12-04 17:27:47 +04:00
Émile Ré
f3d45623bd Fix some react hook form based prop types
Signed-off-by: Émile Ré <nemile.re@gmail.com>
2025-12-04 17:27:47 +04:00
Bryan Frimin
0dd5a20f75 Fix compile errors
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
2025-12-02 11:20:12 +01:00
Jonathan
94684e56ff Ref EditableCell signature
Signed-off-by: Jonathan <contact@grafikart.fr>
2025-12-01 18:23:11 +04:00
Jonathan
3953a05cf3 DataTable component
Signed-off-by: Jonathan <contact@grafikart.fr>
2025-12-01 18:23:11 +04:00
Antoine Bouchardy
139f5984e2 Add meeting and meeting summary objects
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
2025-11-12 23:55:49 +01:00
Bryan Frimin
f9216d30b2 Add validator lib
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
2025-11-06 13:13:17 +01:00
Sacha Al Himdani
5902ef512d Fix reload of measure input
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-10-23 18:49:09 +02:00
Sacha Al Himdani
1fb678a0df Fix measure input in new task
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-10-23 18:23:21 +02:00
Bryan Frimin
c7cabf23de Add document classification
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
2025-10-22 17:02:39 +02:00
Sacha Al Himdani
b014d93603 Fix vendor page
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-10-14 14:59:51 +02:00
Sacha Al Himdani
a2dc85f853 Add countries and category to vendors
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-09-15 18:42:16 +02:00
Sacha Al Himdani
d9001215f6 Rename registries
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-09-09 12:53:26 +02:00
Sacha Al Himdani
781026d3e7 Use network only for selector queries
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-09-03 12:11:14 +02:00
Sacha Al Himdani
6716b1e615 Fix non mandatory fields on vendor
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-09-01 19:01:12 +02:00
Sacha Al Himdani
199de3bdb0 Add processing activity registries
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-08-28 12:48:18 +02:00
Sacha Al Himdani
e12d04c947 Add snapshots
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-08-26 11:48:01 +02:00
Sacha Al Himdani
00c6b9fde6 Add nonconformity registries
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-08-18 12:27:38 +02:00
Sacha Al Himdani
d65bc5f7e2 Enhance people
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-08-12 18:41:37 +02:00
Sacha Al Himdani
1766896b90 Allow edition of some document fields
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-08-05 19:02:26 +02:00
Jonathan
f709eda08c Add loading state for select dropdown 2025-06-13 14:45:40 -07:00
Sacha Al Himdani
d6ba8e1072 Remove old frontend
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-06-13 14:01:04 -07:00