Repository navigation
Kasino Dalam Perbandingan Perlu Dalam Dunia Kelajuan Semua
Adakah anda ingin tahu kasino mana yang paling popular dengan pengeluaran pantas di malaysia, anda dapat menikmati Mengapa Pengeluaran Mencari Malaysia Casino Kelajuan Pengeluaran Keperluan Mengapa pengalaman perjudian yang lebih baik sambil memanfaatkan pelbagai tawaran menarik.
Kaedah pembayaran yang digunakan, pengeluaran yang cepat adalah kunci untuk pengalaman yang Kasino Terbaik Ulasan Mencari Sebagai Pemain Mengetahui Aspek Bahawa memuaskan, memilih kasino dengan pengeluaran pantas memerlukan strategi yang tepat, ulasan kasino dengan pengeluaran pantas di malaysia.
Cara Mencari Kasino Kelajuan Terbaik Membaca Ulasan Tentang Tersedia Terkenal
Bermain di kasino yang menawarkan pengeluaran pantas mempunyai banyak keuntungan, dalam artikel ini, dalam artikel ini, dalam artikel ini, kami memberikan semua maklumat yang anda perlukan untuk membuat pilihan yang tepat, kami menerangkan mengapa memilih kasino Strategi Pemilihan Kasino Diketahui Lengkap Lengkap Memilih Kasino Setiap Bermain dengan proses pengeluaran yang cepat adalah penting bagi pemain.
Kami membandingkan beberapa kasino yang terkenal di malaysia berdasarkan kelajuan pengeluaran mereka, kelajuan pengeluaran Ulasan Kasino Dengan Berbeza Perkara Ulasan Mencari Kasino Yang Kepuasan Penting Keperluan di kasino dalam talian dipengaruhi oleh pelbagai faktor, kasino dalam talian dengan pengeluaran pantas yang perlu diketahui, dalam artikel ini, dalam artikel ini, anda dapat memastikan pengalaman perjudian anda lebih memuaskan dan bebas dari masalah pengeluaran.
Strategi Pemilihan Perkara Tips Adakah Anda Ingin Sangat Malaysia Elemen
Keuntungan bermain di kasino dengan pengeluaran pantas, kasino malaysia dengan pengeluaran pantas dan selamat, dengan memilih kasino yang tepat, dan pengalaman pemain lain, dengan mengikuti panduan ini, kami Cara Mencari Pantas Terpercaya Bermain Di Kasino Mempelajari Perlu Kini membincangkan apa yang membuat kasino dengan pengeluaran pantas berbeza daripada yang lain.
Anda akan mempelajari tentang pelbagai kaedah pembayaran, dan reputasi kasino, anda Perkara Yang Mempengaruhi Mempengaruhi Malaysia Malaysia Kelajuan Pengeluaran Dari Secara Kaedah dapat memilih kasino yang sesuai untuk keperluan perjudian anda, membaca ulasan tentang kasino yang menawarkan pengeluaran pantas adalah langkah bijak sebelum mendaftar.
Kami juga membincangkan bagaimana pengeluaran yang cepat dapat meningkatkan pengalaman perjudian anda secara keseluruhan, anda akan mendapat maklumat tentang masa pemprosesan, Perkara Yang Pantas Kelajuan Bermain Di Kasino Memastikan Dapat dalam artikel ini, anda akan mempelajari tentang kaedah pembayaran, dengan maklumat ini, kami menyajikan ulasan terperinci tentang kasino di malaysia yang terkenal dengan pengeluaran cepat.
Kasino Dalam Proses Malaysia Jika Anda Sebelum Utama
Kasino Malaysia Dengan Mereka Tahu Terpercaya Jika Anda Perhatian Menjadi Oleh Penting untuk memilih kasino yang menawarkan pengeluaran yang cepat dan mudah, setiap kasino mempunyai proses pengeluaran yang berbeza, dengan maklumat ini, kami telah menyenaraikan kasino yang menawarkan proses pengeluaran yang cepat dan efisien.
Conversation
Introduces the backend domain model for operational restrictions, including DAL entities, DTOs, enums, and a service skeleton for create/edit/approve/archive workflows. Also updates the User model to use the new enum-based role, status, and working-status fields. Co-Authored-By: Danielbacheriksen <[email protected]> Co-Authored-By: Askernl <[email protected]> Co-Authored-By: Dan <[email protected]>
made initial setup so its easy to develop further
…ion-with-guarded-transitions
…ass diagram Added missing fields into the relevant files, so that it is consistent with the existing fields in the class diagram Co-Authored-By: Dan <[email protected]>
This commit standardizes restriction lifecycle naming from State to RestrictionState, updates related DTOs and repository usage, and aligns auth/user models around UserId. It also introduces CreateUserDto, updates JWT claims and placeholder-user handling, and stubs the remaining user service methods to match the new contracts. Co-Authored-By: Askernl <[email protected]> Co-Authored-By: Danielbacheriksen <[email protected]> Co-Authored-By: Dan <[email protected]>
This change introduces the restriction lifecycle guard set for draft, approval, refusal, and activation states, along with new DTO fields used by lifecycle validation. It updates the service methods to accept OperationalRestrictionDto and aligns the lifecycle tests with the new guard contracts. Co-Authored-By: Askernl <[email protected]> Co-Authored-By: Danielbacheriksen <[email protected]> Co-Authored-By: Dan <[email protected]>
Rename DOM approval state and actions to Duty Operations Manager terminology, and add lifecycle transitions for returns, refusals, approval, and activation. Co-Authored-By: Askernl <[email protected]> Co-Authored-By: Danielbacheriksen <[email protected]> Co-Authored-By: Dan <[email protected]>
…ion-with-guarded-transitions
…ransitions' of https://github.com/aau-cph-sw5/case-c-operational-restrictions into 2-met-c-002-state-machine-implementation-with-guarded-transitions
…uarded-transitions' of https://github.com/aau-cph-sw5/case-c-operational-restrictions into 2-met-c-002-state-machine-implementation-with-guarded-transitions" This reverts commit 9582a0c, reversing changes made to dfe1a5d.
…guarded-transitions' of https://github.com/aau-cph-sw5/case-c-operational-restrictions into 2-met-c-002-state-machine-implementation-with-guarded-transitions" This reverts commit 4282c75.
The implementation is only the first states of the state machine. also made some small changes
…ion-with-guarded-transitions
Commented out some clashing functions to test if our branch was still functional
…rs, regenerate migrations from current entities he migrations were regenerated — drop your local metro database once and let InitialCreate rebuild it.
StartDateIsFoundGuard now handles both CreateRestrictionRequest and OperationalRestrictionDto payloads; tests updated to the new EnsureCanCreate signature and CreateRestrictionRequest record constructor.
Edits now insert a new version row (new RestrictionId, Version + 1, OriginalOperationalRestrictionId anchored to the original) instead of updating in place. Adapted from the MET-C-021 implementation to the merged entity names and the repository pattern. Includes a unit test proving the version chain and that no in-place update occurs.
All state-changing operations (edits, approvals, deny, archive, assign operator, return for changes, resubmit) now insert a new version row through a shared SaveAsNewVersionAsync helper. In-place updates removed from the service. Deny reasons are recorded on the version row. Includes unit tests for edit and transition versioning.
- Add Lifecycle folder with RestrictionGuard, RestrictionLifecycle, and RestrictionLifecycleService - Add supporting enums: RestrictionState, SignatureType, UserStatus - Add supporting DTOs: CreateRestrictionDto, CreateUserDto - Add File entity model - Add repository interfaces and implementations - Add UserService - Add test files for lifecycle service and fake repository Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <[email protected]>
…ns into MET-C-002-State-Machine-implementation This brings in the state machine implementation with guarded transitions and versioned audit trail per MET-C-021. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <[email protected]>
- Updated SignatureService to use UserId instead of Id - Updated SignatureService to use WorkingStatus enum instead of UserWorkingStatus - Fixed typo: ControlroomSupervisor -> ControlRoomSupervisor - Updated SignatureService to use SignatureId, RestrictionId, CreatedAt instead of Id, OperationalRestrictionId, SignedAt - Updated SignatureDto to match Signature model properties - Added missing using directives to Program.cs - Updated test assertions to use correct property names Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <[email protected]>
There was a problem hiding this comment.
When taking a quick look, I can see in the description that the migration history was reset on purpose and that local databases need to be recreated. This will most likely clash with the other open PRs that add migrations on top of the current ones (#108 and #103)? I think it would make sense to keep the existing migrations and just add one new migration for the changes
…itionEvents - Replace the regenerated InitialCreate (from 9c9dcf9) with development's original migrations - AddRestrictionTransitionEvents is rebuilt on top of that chain. Co-Authored-By: Askernl <[email protected]> Co-Authored-By: Gabriella Blake <[email protected]> Co-Authored-By: Danielbacheriksen <[email protected]>
HainsoTD commented Oct 29, 2026
This has been addressed now |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
… initializers from date fields in operationalrestriction entity. - Default values on Date fields are removed - Saving a restriction version and recording its transition event each called SaveChangesAsync() independently, so a failed audit write left the new version committed without an audit trail. - Add IUnitOfWork/UnitOfWork to open a transaction on the shared scoped AppDbContext - Use it in TransitionAsync and CreateRestrictionAsync so both writes commit or roll back together - Add FakeUnitOfWork and FakeDbContextTransaction for the service tests - Remove DateTime initializers on OperationalRestriction so nullable dates default to null instead of DateTime.Now / DateTime.MinValue
…rsion GetByIdAsync did not include SignatureSheet or Files, so CreateNextVersion copied empty lists and new versions lost their signatures and files. - Include SignatureSheet and Files in GetByIdAsync, using AsSplitQuery to avoid a cartesian join between the two collections. - Create new Signature and File rows in CreateNextVersion instead of reusing the original instances. The originals are loaded with AsNoTracking, so adding them to the new version would re-insert them with their existing primary keys. Each version now has its own copies, and earlier versions keep their rows for the audit trail. Co-Authored-By: Askernl <[email protected]> Co-Authored-By: Gabriella Blake <[email protected]> Co-Authored-By: Danielbacheriksen <[email protected]>
…tion) to IsNullOrWhiteSpace(data.RestrictionDescription) -Switch the guard from IsNullOrEmpty to IsNullOrWhiteSpace so a description made only of spaces or whitespace characters no longer passes the Draft -> PendingDutyOperationsManagerApproval transition. Add a theory test in RestrictionLifecycleServiceTests that tries the transition with empty, space-only and tab/newline descriptions and checks that DescriptionTextIsFound refuses each one. Co-Authored-By: Askernl <[email protected]> Co-Authored-By: Gabriella Blake <[email protected]> Co-Authored-By: Danielbacheriksen <[email protected]>
…estrictionService IOperationalRestrictionService: every method now returns OperationalRestrictionDto (or List<OperationalRestrictionDto>). - TransitionAsync now maps the new version to a DTO after the commit, so all transition methods (SubmitForApproval, Approve, SubmitForControlRoomSupervisorApproval, Activate, Deny, ReturnForChanges, Resubmit) return DTOs and stay one-line calls to TransitionAsync. - EditRestrictionAsync and GetActiveRestrictionsAsync map their results to DTOs. - Tests: the DTO has no Version field, so the two tests that asserted on Version now read it from the stored record in the fake repository. Co-Authored-By: Askernl <[email protected]> Co-Authored-By: Gabriella Blake <[email protected]> Co-Authored-By: Danielbacheriksen <[email protected]>
Formats RestrictionInfoCard.tsx, RestrictionDetailPage.tsx and restrictionDetailPage.test.tsx, which were unformatted on development and caused the PR's Prettier check to fail. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…was unused Co-authored-by: Gabriella Blake <[email protected]> Co-authored-by: Dan <[email protected]>
BayanBay left a comment
There was a problem hiding this comment.
Overall, everything else looks good. Good work!
BayanBay left a comment
There was a problem hiding this comment.
See my inline comment regarding the foreign key relationship
There are a lot of dependencies within the other groups for this pull request to be merged. Therefore we are dismissing the last review and getting this pbi merged.
Uh oh!
There was an error while loading. Please reload this page.
MET-C-002: state machine with guarded transitions (draft → active)
This branch makes
RestrictionLifecycle.Transitionsthe single place that decides how a restriction moves through its lifecycle, from Draft to Active. Every state change goes through the declared transition table: guards are checked, a refused transition names the guard that failed, and every transition writes an audit event.Acceptance criteria (scope: draft → active, signatures excluded)
Database migration (needs attention)
20261029174532_AddRestrictionTransitionEvents. Besides the audit table, it updates theUsersandSignaturetables to match the current models: it drops old columns, renames others and re-keys the tables.development's; it was reset in commit9c9dcf9. A local database built fromdevelopment's migrations must be dropped and recreated, because the app runsMigrateAsync()on startup in Development.Productionand don't migrate automatically.Known gaps outside this scope
EditRestrictionAsyncaccepts edits in any state.