Skip to content

refactor: organize enums in dedicated folder#6100

Merged
vitormattos merged 2 commits intomainfrom
refactor/organize-enums-in-dedicated-folder
Dec 11, 2025
Merged

refactor: organize enums in dedicated folder#6100
vitormattos merged 2 commits intomainfrom
refactor/organize-enums-in-dedicated-folder

Conversation

@vitormattos
Copy link
Copy Markdown
Member

No description provided.

Move SignRequestStatus from lib/Db/ to lib/Enum/ to follow project
convention of keeping all enums in a dedicated folder alongside
CRLStatus, CRLReason, CertificateType, and DocMdpLevel.

Updated namespace from OCA\Libresign\Db to OCA\Libresign\Enum and
adjusted all imports and references across:
- SignRequest entity (added import)
- ValidateHelper (updated FQN references)
- RequestSignatureService (updated FQN references)
- SequentialSigningService (updated import)
- SignFileService (updated FQN reference)

This improves code organization by consolidating all enum types in
one location.

Signed-off-by: Vitor Mattos <[email protected]>
@vitormattos vitormattos added this to the Next Major (33) milestone Dec 11, 2025
@vitormattos vitormattos self-assigned this Dec 11, 2025
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Dec 11, 2025
Move SignatureFlow from lib/Service/ to lib/Enum/ to centralize all
enum definitions in the same location following project structure
conventions.

Updated namespace from OCA\Libresign\Service to OCA\Libresign\Enum
and adjusted all imports and references across:
- AdminController (updated FQN references for from() and comparison)
- PageController (updated FQN reference)
- TemplateLoader (updated FQN reference)
- Settings/Admin (updated import statement)
- SequentialSigningService (added explicit import)

This completes the consolidation of enum types, making the codebase
more organized and easier to maintain.

Signed-off-by: Vitor Mattos <[email protected]>
@vitormattos vitormattos force-pushed the refactor/organize-enums-in-dedicated-folder branch from 159e100 to 3a55587 Compare December 11, 2025 14:46
@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable32

@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable31

@vitormattos vitormattos merged commit 1d97292 into main Dec 11, 2025
70 of 92 checks passed
@vitormattos vitormattos deleted the refactor/organize-enums-in-dedicated-folder branch December 11, 2025 14:54
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant