Skip to content

Allow to duplicate configuration#494

Draft
nilmerg wants to merge 15 commits into
mainfrom
feature/duplicate-configuration-158
Draft

Allow to duplicate configuration#494
nilmerg wants to merge 15 commits into
mainfrom
feature/duplicate-configuration-158

Conversation

@nilmerg

@nilmerg nilmerg commented Jun 10, 2026

Copy link
Copy Markdown
Member

resolves #158

@nilmerg nilmerg added this to the 1.0.0 milestone Jun 10, 2026
@nilmerg nilmerg self-assigned this Jun 10, 2026
@nilmerg nilmerg added the area/configuration Affects the configuration label Jun 10, 2026
@cla-bot cla-bot Bot added the cla/signed CLA is signed by all contributors of a PR label Jun 10, 2026
@nilmerg nilmerg force-pushed the feature/duplicate-configuration-158 branch 6 times, most recently from eba21b6 to e9356db Compare June 11, 2026 12:36
@nilmerg nilmerg force-pushed the feature/duplicate-configuration-158 branch from e9356db to ee331b7 Compare June 11, 2026 15:48
nilmerg and others added 4 commits June 18, 2026 08:53
Verify the statements the repository issues against a mocked database
connection, serving the ORM queries it builds internally by returning
SQLite-backed PDOStatements the ORM hydrates into models.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Verify the recurrence rules and shift durations produced for every mode
(24-7, partial, multi) and their option branches, plus unknown-mode
handling and JSON-encoded options.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copied over from `RotationConfigForm`
@nilmerg nilmerg force-pushed the feature/duplicate-configuration-158 branch from ee331b7 to 7ace1dd Compare June 18, 2026 08:01
nilmerg and others added 8 commits June 18, 2026 17:25
Verify that moving a rotation frees up its current priority, shifts the
in-between siblings in the right direction and finally places it at the
new priority. Also handles moving to the same priority.

The shared statement helper now defaults to `PDO::FETCH_OBJ` (as the
module's connection does), which `move()` relies on; the ORM paths
override it to `PDO::FETCH_ASSOC` themselves.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…e/duplicate

Verify the statements `ScheduleRepository` issues against a mocked
database connection, serving the ORM queries it builds internally by
returning SQLite-backed PDOStatements the ORM hydrates into models.
Rotation deletion/duplication is delegated to and covered by
`RotationRepositoryTest`.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@nilmerg nilmerg force-pushed the feature/duplicate-configuration-158 branch from 7ace1dd to 07ca7d3 Compare June 18, 2026 15:25
nilmerg and others added 3 commits June 22, 2026 13:07
Verify the statements `ContactRepository` issues against a mocked
database connection, serving the ORM queries it builds internally by
returning SQLite-backed PDOStatements the ORM hydrates into models.
Covers the differential address update and the escalation cleanup on
deletion; rotation handling is delegated to and covered by
`RotationRepositoryTest`.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@nilmerg nilmerg force-pushed the feature/duplicate-configuration-158 branch from 07ca7d3 to dbbefdd Compare June 22, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/configuration Affects the configuration cla/signed CLA is signed by all contributors of a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configuration: Duplicating entries and event rules must be possible

1 participant