Skip to content

Conversation

@damian-molinski
Copy link
Contributor

@damian-molinski damian-molinski commented Oct 28, 2025

Description

Align with Gateway 0.0.4 SignedDocs format and start using v2 endpoints

Related Issue(s)

Resolves #3362

Description of Changes

  • Updates SignedDocument model to align with 0.0.4 specs
  • Remove endpoint code generation in fav of manual dio implementation
  • Align with v2 endpoints from gateway
  • Dynamic templates ids

Demo

TODO

Please confirm the following checks

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream module

bstolinski and others added 7 commits October 22, 2025 18:19
* feat: Add Dio client

* fix format-check

* refactor

* Remove contentType header from "status" Dio client, update project.dic

* Disable cSpell for ComponentStatus enum clean up project.dic
…3550)

* feat: migrate to spec v004

* chore: cleanup

* chore: remove election ID, cleanup code

* refactor: use parameters instead of category ID

* feat: migrate to parameters

* feat: migrate from categoryId to document parameters

* feat: migrate json

* chore: add test for parameters migration

* feat: filter by proposals

* feat: handle DB and signed document migration

* chore: cleanup

* feat: cbor migration

* docs: move to readme

* feat: add tests

* chore: update documents

* chore: lints

* chore: cleanup

* feat: collabs migration

* chore: docs, cleanup

* style: formatting

* refactor: cleanup

* refactor: migrate collaborators to catalyst kid

* refactor: migrate section to SectionRef

* refactor: code review changes, add more custom types

* chore: rename categoryId => categoryRef

* refactor: make document type singular

* chore: cleanup

* chore: revert unit tests
…eview changes (#3577)

* feat: migrate to spec v004

* chore: cleanup

* chore: remove election ID, cleanup code

* refactor: use parameters instead of category ID

* feat: migrate to parameters

* feat: migrate from categoryId to document parameters

* feat: migrate json

* chore: add test for parameters migration

* feat: filter by proposals

* feat: handle DB and signed document migration

* chore: cleanup

* feat: cbor migration

* docs: move to readme

* feat: add tests

* chore: update documents

* chore: lints

* chore: cleanup

* feat: collabs migration

* chore: docs, cleanup

* style: formatting

* refactor: cleanup

* refactor: migrate collaborators to catalyst kid

* refactor: migrate section to SectionRef

* refactor: code review changes, add more custom types

* chore: rename categoryId => categoryRef

* refactor: make document type singular

* chore: cleanup

* chore: revert unit tests

* Revert "chore: revert unit tests"

This reverts commit e410530.

* chore: add cose content encoding and cose media type

* refactor: rename categoryId to categoryRef

* chore: clean spelling list
* feat: remove chopper and code generation scripts

* remove cat status OpenAPI json

* chore: clean up

* chore: back to previous catalyst_voices/README.md structure and remove just one line
* feat: Migrate document index to v2 endpoint

* Update catalyst_voices/packages/internal/catalyst_voices_repositories/lib/src/api/dio_cat_gateway_service.dart

Co-authored-by: Dominik Toton <[email protected]>

* Update catalyst_voices/packages/internal/catalyst_voices_repositories/lib/src/api/dio_cat_gateway_service.dart

Co-authored-by: Dominik Toton <[email protected]>

* chore: Simplify comments in API models

---------

Co-authored-by: Dominik Toton <[email protected]>
* feat: Migrate RBAC endpoint to v2

* feat: enhance RBAC DTOs and add PEM handling for X509 certificates

* chore: disable cspell in x509 certificate test

* refactor: Remove Json typedef and move CertificateType
@damian-molinski damian-molinski added the squad: face Frontend Catalyst Experience Team label Oct 28, 2025
@damian-molinski damian-molinski moved this from New to 🏗 In progress in Catalyst Oct 28, 2025
@damian-molinski damian-molinski added fyi: gatekeepers For information - Catalyst App Backend, System Development & Integration Team no-track Used to skip tracking in Swarmia analytics, etc. labels Oct 28, 2025
dt-iohk and others added 2 commits October 29, 2025 08:51
# Conflicts:
#	catalyst_voices/apps/voices/lib/widgets/modals/proposals/create_new_proposal_category_selection.dart
#	catalyst_voices/packages/internal/catalyst_voices_blocs/lib/src/category/category_detail_cubit.dart
…3609)

* feat: add content type

* refactor: remove signed document metadata in favor of document data metadata

* refactor: centralize parameters

* refactor: cleanup

* chore: add more test assertions

* chore: cleanup

* fix: migration test
@damian-molinski damian-molinski marked this pull request as ready for review November 10, 2025 13:40
@github-actions
Copy link
Contributor

📚 Docs Preview

The docs for this PR can be previewed at the following URL:

https://docs.dev.projectcatalyst.io/voices/feat/sync-with-gateway-v2-endpoints-3362

@damian-molinski damian-molinski marked this pull request as draft November 10, 2025 20:08
@damian-molinski damian-molinski removed the do not review yet Do not review yet label Nov 10, 2025
dt-iohk and others added 4 commits November 12, 2025 13:13
* chore: Upgrade dependencies

* remove build_runner log-performance

* add to melos flutter clean
* Add collaborators to DocumentDataMetadata and add mapper

* update DTO

* fix: failing tests

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

Labels

fyi: gatekeepers For information - Catalyst App Backend, System Development & Integration Team no-track Used to skip tracking in Swarmia analytics, etc. squad: face Frontend Catalyst Experience Team

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

Sync with Gateway v2 endpoints

4 participants