-
Notifications
You must be signed in to change notification settings - Fork 2
Cleanup keycloak logger #982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
emplate exceptions
…xceptionService get exception name in zmscitizenapi
WalkthroughThis pull request standardizes module identifiers across multiple components. In various configuration and application files for modules such as zmsadmin, zmsapi, zmscalldisplay, zmscitizenapi, zmsdb, zmsmessaging, zmsstatistic, and zmsticketprinter, constant values are updated so that identifiers default to Changes
Sequence Diagram(s)sequenceDiagram
participant KC as KeycloakInstance
participant Log as App::$log
KC->>Log: Log OIDC login failure
KC->>Log: Log token validation error
Possibly related PRs
Poem
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🔭 Outside diff range comments (1)
zmsslim/src/Slim/Bootstrap.php (1)
209-211
:⚠️ Potential issueReplace error_log() with proper logging mechanism.
According to the project coding guidelines,
error_log()
should be replaced with a proper logging framework.Replace this:
- error_log("Could not write Router-Cache-File: $cacheFile"); + App::$log->error("Could not write Router-Cache-File", ['file' => $cacheFile]);This ensures consistent logging across the application and follows the PSR-3 LoggerInterface pattern used elsewhere.
🧹 Nitpick comments (1)
zmsdb/config.example.php (1)
41-45
: Consider updating the constant naming for consistency.The first constant follows a shorter naming convention (IDENTIFIER) while the second one (ZMS_MODULE_NAME) uses the same name as the global constant. For better consistency, consider renaming to either:
const IDENTIFIER = ZMS_IDENTIFIER; -const ZMS_MODULE_NAME = ZMS_MODULE_NAME; +const MODULE_NAME = ZMS_MODULE_NAME;Or:
-const IDENTIFIER = ZMS_IDENTIFIER; -const ZMS_MODULE_NAME = ZMS_MODULE_NAME; +const ZMS_IDENTIFIER = ZMS_IDENTIFIER; +const ZMS_MODULE_NAME = ZMS_MODULE_NAME;
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (20)
zmsadmin/config.example.php
(2 hunks)zmsadmin/src/Zmsadmin/Application.php
(1 hunks)zmsapi/config.example.php
(2 hunks)zmsapi/src/Zmsapi/Application.php
(1 hunks)zmscalldisplay/config.example.php
(1 hunks)zmscalldisplay/src/Zmscalldisplay/Application.php
(1 hunks)zmscitizenapi/config.example.php
(2 hunks)zmscitizenapi/src/Zmscitizenapi/Application.php
(1 hunks)zmsdb/config.example.php
(2 hunks)zmsmessaging/config.example.php
(2 hunks)zmsmessaging/src/Zmsmessaging/Application.php
(1 hunks)zmsslim/src/Slim/Application.php
(1 hunks)zmsslim/src/Slim/Bootstrap.php
(1 hunks)zmsslim/src/Slim/Middleware/OAuth/KeycloakInstance.php
(8 hunks)zmsstatistic/.gitignore
(1 hunks)zmsstatistic/config.example.php
(2 hunks)zmsstatistic/config.php
(0 hunks)zmsstatistic/src/Zmsstatistic/Application.php
(1 hunks)zmsticketprinter/config.example.php
(1 hunks)zmsticketprinter/src/Zmsticketprinter/Application.php
(1 hunks)
💤 Files with no reviewable changes (1)
- zmsstatistic/config.php
🧰 Additional context used
📓 Path-based instructions (1)
`**/*.php`: Flag any usage of error_log() as it should be replaced with proper logging mechanisms: 1. For error handling: Use a proper logging framework with error levels (PSR-3 Lo...
**/*.php
: Flag any usage of error_log() as it should be replaced with proper logging mechanisms:
- For error handling: Use a proper logging framework with error levels (PSR-3 LoggerInterface)
- For debugging: Use a dedicated debug logger or remove debug statements
- For CLI output: Use a CLI output handler or symfony/console
- For application events: Use structured logging with proper log levels
Example replacement:
// Instead of: error_log("Import failed - " . $e->getMessage()); // Use: $logger->error("Import failed", ['error' => $e->getMessage()]);
zmsslim/src/Slim/Application.php
zmsstatistic/src/Zmsstatistic/Application.php
zmsslim/src/Slim/Bootstrap.php
zmsmessaging/src/Zmsmessaging/Application.php
zmsticketprinter/src/Zmsticketprinter/Application.php
zmscitizenapi/src/Zmscitizenapi/Application.php
zmsticketprinter/config.example.php
zmsstatistic/config.example.php
zmscitizenapi/config.example.php
zmsslim/src/Slim/Middleware/OAuth/KeycloakInstance.php
zmscalldisplay/config.example.php
zmsdb/config.example.php
zmsadmin/config.example.php
zmscalldisplay/src/Zmscalldisplay/Application.php
zmsmessaging/config.example.php
zmsapi/config.example.php
zmsapi/src/Zmsapi/Application.php
zmsadmin/src/Zmsadmin/Application.php
🧬 Code Definitions (4)
zmsslim/src/Slim/Bootstrap.php (8)
zmscitizenapi/config.example.php (1)
App
(7-28)zmsadmin/config.example.php (1)
App
(9-31)zmscalldisplay/config.example.php (1)
App
(9-28)zmsapi/config.example.php (1)
App
(51-90)zmsdb/config.example.php (1)
App
(40-47)zmsmessaging/config.example.php (1)
App
(25-68)zmsstatistic/config.example.php (1)
App
(9-31)zmsticketprinter/config.example.php (1)
App
(9-28)
zmsticketprinter/config.example.php (6)
zmsadmin/config.example.php (1)
App
(9-31)zmscalldisplay/config.example.php (1)
App
(9-28)zmsapi/config.example.php (1)
App
(51-90)zmscitizenapi/config.example.php (1)
App
(7-28)zmsdb/config.example.php (1)
App
(40-47)zmsstatistic/config.example.php (1)
App
(9-31)
zmscalldisplay/config.example.php (6)
zmsadmin/config.example.php (1)
App
(9-31)zmsapi/config.example.php (1)
App
(51-90)zmscitizenapi/config.example.php (1)
App
(7-28)zmsdb/config.example.php (1)
App
(40-47)zmsstatistic/config.example.php (1)
App
(9-31)zmsticketprinter/config.example.php (1)
App
(9-28)
zmsapi/config.example.php (6)
zmsadmin/config.example.php (1)
App
(9-31)zmscalldisplay/config.example.php (1)
App
(9-28)zmscitizenapi/config.example.php (1)
App
(7-28)zmsdb/config.example.php (1)
App
(40-47)zmsstatistic/config.example.php (1)
App
(9-31)zmsticketprinter/config.example.php (1)
App
(9-28)
🔇 Additional comments (38)
zmsslim/src/Slim/Application.php (1)
16-17
: Clean addition of module identification constant.Adding the
MODULE_NAME
constant provides a clear way to identify modules across the application, which aligns with the standardization efforts seen in other files of this PR.zmsadmin/src/Zmsadmin/Application.php (1)
27-29
: Standardization of application identifiers.Good change that establishes consistency across the codebase by:
- Changing
IDENTIFIER
to the standardized 'zms' value- Adding a
MODULE_NAME
constant to specifically identify this module as 'zmsadmin'This aligns with similar changes across other application modules.
zmsslim/src/Slim/Middleware/OAuth/KeycloakInstance.php (10)
57-61
: Standardized logging mechanism correctly implemented.Using the static logger reference
\App::$log
instead of an instance variable provides consistent logging across the application.
106-110
: Consistent error logging for token validation failures.The update properly uses the application-wide logging reference.
114-118
: Appropriate logging standardization for missing payload errors.The change follows the same pattern of using the static logger reference.
122-126
: Uniform logging implementation for signature validation failures.Consistent with other logging changes in this file.
140-145
: Standardized error logging for JSON parsing errors.The change maintains consistency with other logging updates.
150-156
: Proper error logging for resource access validation.The standardized approach provides detailed context for troubleshooting.
161-167
: Consistent logging for app identifier validation.The update correctly includes the application identifier in the log context.
175-181
: Standardized error logging for roles validation.The update follows the established pattern for consistent logging.
190-196
: Proper error logging for required role validation.The standardized approach includes helpful context about the missing required role.
229-234
: Consistent error logging for access token retrieval failures.The change maintains the pattern of using the static logger reference.
zmsslim/src/Slim/Bootstrap.php (1)
91-93
: Improved log structure with separate application and module identifiers.This change:
- Standardizes the application identifier to use 'zms' as default
- Adds a new 'module' field to distinguish between different modules
- Supports the overall standardization effort across the codebase
This enhances log readability and consistency across different components.
zmsapi/src/Zmsapi/Application.php (1)
15-17
: LGTM! The standardization of identifiers improves consistency.The change from module-specific identifiers to a standardized 'zms' identifier with an additional MODULE_NAME constant for module-specific identification is a good practice. This approach simplifies cross-module communication while preserving module-specific identification where needed.
zmscitizenapi/src/Zmscitizenapi/Application.php (1)
18-19
: LGTM! Consistent with the identifier standardization pattern.The change to use 'zms' as the standard identifier while adding a module-specific MODULE_NAME constant follows the same pattern applied across other modules, ensuring system-wide consistency.
zmsstatistic/.gitignore (1)
22-37
: Improved .gitignore organization and coverage.The additions to the .gitignore file follow best practices by organizing ignored files by category and ensuring common development artifacts (composer files, IDE configurations, cache files, and logs) aren't committed to the repository.
Note: There appears to be some duplication between line 20 (
.idea
) and line 29 (.idea/
), but this doesn't cause functional issues in .gitignore files.zmsmessaging/config.example.php (2)
12-13
: LGTM! Consistent module identification approach.The added constants follow the standardized approach implemented across other modules, setting ZMS_IDENTIFIER with a default of 'zms' and defining the module-specific name.
37-41
: LGTM! Properly implements the identifier constants in the App class.The implementation of IDENTIFIER and MODULE_NAME in the App class correctly references the defined constants and includes appropriate documentation.
zmsdb/config.example.php (1)
9-10
: Standardization of module identifiers looks good.Adding these constants provides a consistent way to identify and configure the module across the codebase.
zmsmessaging/src/Zmsmessaging/Application.php (1)
19-20
: Module identifier standardization looks good.The changes standardize the IDENTIFIER constant to 'zms' across all modules while preserving the specific module identity in the new MODULE_NAME constant. This approach improves consistency throughout the codebase.
zmsticketprinter/src/Zmsticketprinter/Application.php (1)
17-19
: Module identifier standardization looks good.Updating the IDENTIFIER constant to 'zms' and adding the MODULE_NAME constant is consistent with the standardization pattern applied across all modules in this PR.
zmsstatistic/src/Zmsstatistic/Application.php (1)
23-25
: Module identifier standardization looks good.Changing the IDENTIFIER constant to 'zms' and adding the MODULE_NAME constant for the specific module name improves consistency across the codebase.
zmsstatistic/config.example.php (2)
6-7
: LGTM! Good standardization of identifiers.Standardizing identifiers to 'zms' and adding a dedicated module name constant improves consistency across the codebase.
21-25
: Good addition of module name constant.Adding the MODULE_NAME constant in the App class provides a proper reference point for module identification.
zmsadmin/config.example.php (2)
6-7
: LGTM! Consistent identifier standardization.This follows the same pattern applied to other modules, standardizing identifiers to 'zms' and adding a specific module name constant.
21-25
: Good MODULE_NAME constant addition.Adding this constant creates consistency across modules and provides a clear reference point for module identification.
zmscalldisplay/src/Zmscalldisplay/Application.php (1)
17-18
: LGTM! Standardizing application identifiers.Changing the IDENTIFIER constant to 'zms' and adding a dedicated MODULE_NAME constant maintains consistency with other modules while preserving the ability to identify this specific module.
zmscitizenapi/config.example.php (2)
4-5
: LGTM! Consistent identifier standardization.Following the pattern applied across other modules by standardizing identifiers to 'zms' and adding a specific module name constant.
24-27
: Good MODULE_NAME constant addition.Adding this constant creates consistency with other modules and provides a clear reference point for module identification.
zmscalldisplay/config.example.php (3)
6-7
: LGTM - New constants for module identificationThe addition of
ZMS_IDENTIFIER
andZMS_MODULE_NAME
constants improves configurability by allowing the identifier to be set via environment variables while providing a default fallback value. This is consistent with the standardization pattern applied across other modules.
11-11
: LGTM - Updated identifier referenceUpdating
IDENTIFIER
to use the newZMS_IDENTIFIER
constant improves consistency across modules while maintaining configurability through environment variables.
17-20
: LGTM - Added module name constantAdding the
MODULE_NAME
constant with proper documentation provides a clear way to identify the module throughout the application. This follows the standardization pattern implemented across other modules.zmsticketprinter/config.example.php (3)
6-7
: LGTM - New constants for module identificationThe addition of
ZMS_IDENTIFIER
andZMS_MODULE_NAME
constants improves configurability by allowing the identifier to be set via environment variables while providing a default fallback value. This is consistent with the standardization pattern applied across other modules.
11-11
: LGTM - Updated identifier referenceUpdating
IDENTIFIER
to use the newZMS_IDENTIFIER
constant improves consistency across modules while maintaining configurability through environment variables.
17-20
: LGTM - Added module name constantAdding the
MODULE_NAME
constant with proper documentation provides a clear way to identify the module throughout the application. This follows the standardization pattern implemented across other modules.zmsapi/config.example.php (3)
48-49
: LGTM - New constants for module identificationThe addition of
ZMS_IDENTIFIER
andZMS_MODULE_NAME
constants improves configurability by allowing the identifier to be set via environment variables while providing a default fallback value. This is consistent with the standardization pattern applied across other modules.
54-54
: LGTM - Updated identifier referenceUpdating
IDENTIFIER
to use the newZMS_IDENTIFIER
constant improves consistency across modules while maintaining configurability through environment variables.
83-86
: LGTM - Added module name constantAdding the
MODULE_NAME
constant with proper documentation provides a clear way to identify the module throughout the application. This follows the standardization pattern implemented across other modules.
* feature(zmskvr-150):setup button * feat(zmskvr-150) added switch case to accordion * Revert "Revert "Feature zmskvr 145 wartezeit statistik"" * feat(ZMSKVR-71): berechtigungen statistik (#958) * feat(ZMSKVR-71) Useraccount.php neue Berichtigung rights__departmentStats * feat(ZMSKVR-71) Access.php readDepartment prüft ob ich die Berichtigung departmentStats habe, und lädt dann department * fix(ZMSKVR-71): fix unit tests --------- Co-authored-by: Fabinatix97 <[email protected]> * feat(zmskvr-150) added legend below tabel * Update dependency vite to v5.4.15 [SECURITY] (#919) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * set loadProcess to false for loadClientNext * chore(deps): update dependency phpunit/phpunit to v9.6.22 (#614) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency twig/twig to v3.11.2 [security] (#608) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @babel/types to v7.27.0 (#934) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(ZMSKVR-318): zmscitizenapi error message available days and appointments and enable security headers (#966) * fix(ZMSKVR-03378): set no available days status to 200 instead of 404 * fix(ZMSKVR-03378): set no available appointments status to 200 instead of 404 * fix(ZMSKVR-03378): enable cors tests and enable security headers middleware for zmscitizenapi * fix(ZMSKVR-318): fix available days CalendarWithoutScopes exception 520 unknown error (#968) * fix(ZMSKVR-03378): set no available days status to 200 instead of 404 * fix(ZMSKVR-03378): set no available appointments status to 200 instead of 404 * fix(ZMSKVR-03378): enable cors tests and enable security headers middleware for zmscitizenapi * fix(ZMSKVR-318): fix available days CalendarWithoutScopes exception 520 error * feat(zmskvr-150) adjust accordion to show color when exception is applied * chore(deps): update dependency core-js to v3.41.0 (#932) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency focus-trap-react to v11 (#905) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v22.14.0 (#964) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @vitejs/plugin-vue to v5.2.3 (#967) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update it-at-m/lhm_actions action to v1.0.7 (#971) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency php-http/curl-client to v2.3.3 (#618) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update registry.access.redhat.com/ubi9/nginx-124 docker tag to v9.5-1742982237 (#972) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency vite to v5.4.17 (#970) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency python to 3.13 (#978) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint-plugin-vue to v9.33.0 (#977) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(ZMSKVR-318): error message missing email template in zmscitizenapi (#975) * fix(ZMSKVR-318): catch exception for missing mail template in zmscitizenapi * fix(ZMSKVR-318): catch zmsclient and missing mail t emplate exceptions * fix(ZMSKVR-318): zmsslim application logging identifier context and ExceptionService get exception name in zmscitizenapi * fix(ZMSKVR-318): add zmscitizenapi email check templates todos * feat(zmskvr-150) added if condiction to show color only when expection is present * clean(ZMSKVR): application and module identification in logs (#981) * fix(ZMSKVR-318): catch exception for missing mail template in zmscitizenapi * fix(ZMSKVR-318): catch zmsclient and missing mail t emplate exceptions * fix(ZMSKVR-318): zmsslim application logging identifier context and ExceptionService get exception name in zmscitizenapi * fix(ZMSKVR-318): add zmscitizenapi email check templates todos * feat: add ZMS_MODULE_NAME constant to all modules for better log identification * chore: remove zmsstatistic/config.php * chore: add config.php to zmsstatistic gitignore * clean(ZMSKVR): add config.php to zmsstatistic gitignore * Cleanup keycloak logger (#982) * fix(ZMSKVR-318): catch exception for missing mail template in zmscitizenapi * fix(ZMSKVR-318): catch zmsclient and missing mail t emplate exceptions * fix(ZMSKVR-318): zmsslim application logging identifier context and ExceptionService get exception name in zmscitizenapi * fix(ZMSKVR-318): add zmscitizenapi email check templates todos * feat: add ZMS_MODULE_NAME constant to all modules for better log identification * chore: remove zmsstatistic/config.php * chore: add config.php to zmsstatistic gitignore * clean(ZMSKVR): add config.php to zmsstatistic gitignore * feat: cleanup keycloak logger implementation * feat(zmskvr-150) added color in table * chore(deps): update dependency @vue/eslint-config-prettier to v10.2.0 (#973) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint to v9.24.0 (#976) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency typescript to v5.8.3 (#987) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency vue-i18n to v10.0.7 (#988) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(zmskvr-150) removed comments * feat(zmskvr-150) adjust if statements to else-if statements * feat(zmskvr-150) corrected color for normal opening hour * feat(ZMSKVR-310): take into account if service is public for specific provider * feat(ZMSKVR-310): fix tests * feat(ZMSKVR-310): fix tests * feat(ZMSKVR-310): fix tests * feat(ZMSKVR-310): fix tests; refactoring * chore(ZMSKVR-169) Integrate solution10 into zmsdb codebase in prep for php upgrade (#986) * chore(ZMSKVR-169): Integrate Solution10 as Query/Builder into zmsdb codebase * chore(ZMSKVR-169): Update lock files * chore(ZMSKVR-169): Update lock files * chore(ZMSKVR-169): remove unused variable * chore(ZMSKVR-169): remove unused variable * chore(ZMSKVR-169): remove unused variable * chore(ZMSKVR-169): fix test namespace --------- Co-authored-by: Thomas Fink <[email protected]> * chore(zmskvr-304): update libphonenumber to version 8.13.55 (#994) Co-authored-by: Thomas Fink <[email protected]> * feat(zmskvr-150) adjust if statement * chore(zms-3235): replace json guard dependency with opis json-schema (#792) * chore(zms-3235): initial refactoring * chore(zms-3235): update validation * chore(zms-3235): further refactoring * chore(ZMS-3235): It's working but schemas need to be fixed * chore(ZMS-3235): Fixed some schema tests * chore(zms-3235): fixed some schemas * Revert "chore(ZMS-3235): Fixed some schema tests" This reverts commit d50a84b. * chore(ZMS-3235): some more json schema fixes * chore(zms-3235): fix schemas * chore(ZMS-3235): fix more schemas and unit tests * chore(ZMS-3235): fixed unit tests and related classes * chore(ZMS-3235): update composer.lock * chore(ZMS-3235): update scope.json and ticketprinter fixtures * chore(ZMS-3235): fix composer.lock * chore(ZMS-3235): fix code quality check warnings within zmsentities * chore(ZMS-3235): fix code quality check warnings within zmsticketprinter * chore(ZMS-3235): fix composer.lock files * chore(ZMS-3235): added logging * chore(ZMS-3235): fix composer.lock * chore(ZMS-3235): add more logging * Debugging ls command in ci * Debugging ls command in ci * chore(ZMS-3235): update schemaPath * chore(ZMS-3235): fix zmsapi fixtures * chore(ZMS-3235): adjust more zmsapi fixtures * chore(ZMS-3235): fix zmsapi unit tests * chore(ZMS-3235): fix some entities and schemas * chore(ZMS-3235): fix process default * chore(ZMS-3235): test id anyOf * chore(ZMS-3235): fix entities and schemas * chore(ZMS-3235): fix composer lock files * chore(ZMS-3235): update schemaPath * chore(ZMS-3235): fix citizenapi unit tests * chore(ZMS-3235): adjust zmsapi schemas and fixtures * chore(ZMS-3235): update zmsapi schemas * chore(ZMS-3235): update schemas * chore(ZMS-3235): add coerce type mechanism * chore(ZMS-3235): remove coercion * chore(ZMS-3235): adjust zmsapi fixture * chore(ZMS-3235): fix schema * chore(ZMS-3235): update import path * chore(ZMS-3235): update schema path * chore(ZMS-3235): fix schema path * chore(ZMS-3235): remove CoerceType extension * chore(ZMS-3235): remove SameValues extension * chore(ZMS-3235): add opis json-schema to zmsapi * chore(ZMS-3235): fix zmsapi unit tests * chore(ZMS-3235): fix unit tests, fixtures and schemas * chore(ZMS-3235): adjust zmscitizenapi unit tests * chore(ZMS-3235): fix some unit tests * chore(ZMS-3235): some more fixing * chore(ZMS-3235): adjust schemas and use oneOf * chore(ZMS-3235): update composer.lock files * chore(ZMS-3235): remove yuloh/json-guard-cli from composer.lock * chore(ZMS-3235): remove debugging and fix schema * chore(ZMS-3235): refactoring * chore(zms-3235): remove debugging * chore(ZMS-3235): clean-up * chore(zms-3235): clean-up schemas * chore(ZMS-3235): clean-up * chore(ZMS-3235): fix unit test * chore(ZMS-3235): fix composer-lock * chore(ZMS-3235): revert queue status * chore(ZMS-3235): remove unit test to align with schema * chore(ZMS-3235): clean-up validator * chore(ZMS-3235): fix php code quality error * docs(ZMS-3235): add instructions for zmsapi and zmsdb test data import to README.md * chore(ZMS-3235): revert changes in dereferenced schemas * chore(ZMS-3235): adjust queue schema * chore(ZMS-3235): update queue schema * chore(ZMS-3235): fix wayTime in queue schema --------- Co-authored-by: Thomas Fink <[email protected]> Co-authored-by: DDEV User <[email protected]> * chore(deps): update dependency sass to v1.86.3 (#980) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(ZMSKVR-310): fix parameter public * chore(deps): update dependency eslint-plugin-react to v7.37.5 (#979) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(ZMSKVR-310): fix typo * feat(ZMSKVR-310): fix schema * add title to icons * fix(ZMS): Update maven-node-build.yaml * chore(ZMS): trigger image build on push to next branch * fix(ZMS): Update maven-node-build.yaml * Update maven-node-build.yaml * fix: correct paths to custom actions in GitHub workflow * update actions * tag zmscitizenview packages to branch name * chore(deps): update dependency vite to v5.4.18 (#996) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(ZMSKVR): regenerate composer.lock for zmsstatistic * fix(ZMSKVR): workstation select zmsstatistic * clean(ZMSKVR): remove comment * chore(ZMS-3235): fix schema and add error message (#999) * chore(zms-3235): initial refactoring * chore(zms-3235): update validation * chore(zms-3235): further refactoring * chore(ZMS-3235): It's working but schemas need to be fixed * chore(ZMS-3235): Fixed some schema tests * chore(zms-3235): fixed some schemas * Revert "chore(ZMS-3235): Fixed some schema tests" This reverts commit d50a84b. * chore(ZMS-3235): some more json schema fixes * chore(zms-3235): fix schemas * chore(ZMS-3235): fix more schemas and unit tests * chore(ZMS-3235): fixed unit tests and related classes * chore(ZMS-3235): update composer.lock * chore(ZMS-3235): update scope.json and ticketprinter fixtures * chore(ZMS-3235): fix composer.lock * chore(ZMS-3235): fix code quality check warnings within zmsentities * chore(ZMS-3235): fix code quality check warnings within zmsticketprinter * chore(ZMS-3235): fix composer.lock files * chore(ZMS-3235): added logging * chore(ZMS-3235): fix composer.lock * chore(ZMS-3235): add more logging * Debugging ls command in ci * Debugging ls command in ci * chore(ZMS-3235): update schemaPath * chore(ZMS-3235): fix zmsapi fixtures * chore(ZMS-3235): adjust more zmsapi fixtures * chore(ZMS-3235): fix zmsapi unit tests * chore(ZMS-3235): fix some entities and schemas * chore(ZMS-3235): fix process default * chore(ZMS-3235): test id anyOf * chore(ZMS-3235): fix entities and schemas * chore(ZMS-3235): fix composer lock files * chore(ZMS-3235): update schemaPath * chore(ZMS-3235): fix citizenapi unit tests * chore(ZMS-3235): adjust zmsapi schemas and fixtures * chore(ZMS-3235): update zmsapi schemas * chore(ZMS-3235): update schemas * chore(ZMS-3235): add coerce type mechanism * chore(ZMS-3235): remove coercion * chore(ZMS-3235): adjust zmsapi fixture * chore(ZMS-3235): fix schema * chore(ZMS-3235): update import path * chore(ZMS-3235): update schema path * chore(ZMS-3235): fix schema path * chore(ZMS-3235): remove CoerceType extension * chore(ZMS-3235): remove SameValues extension * chore(ZMS-3235): add opis json-schema to zmsapi * chore(ZMS-3235): fix zmsapi unit tests * chore(ZMS-3235): fix unit tests, fixtures and schemas * chore(ZMS-3235): adjust zmscitizenapi unit tests * chore(ZMS-3235): fix some unit tests * chore(ZMS-3235): some more fixing * chore(ZMS-3235): adjust schemas and use oneOf * chore(ZMS-3235): update composer.lock files * chore(ZMS-3235): remove yuloh/json-guard-cli from composer.lock * chore(ZMS-3235): remove debugging and fix schema * chore(ZMS-3235): refactoring * chore(zms-3235): remove debugging * chore(ZMS-3235): clean-up * chore(zms-3235): clean-up schemas * chore(ZMS-3235): clean-up * chore(ZMS-3235): fix unit test * chore(ZMS-3235): fix composer-lock * chore(ZMS-3235): revert queue status * chore(ZMS-3235): remove unit test to align with schema * chore(ZMS-3235): clean-up validator * chore(ZMS-3235): fix php code quality error * docs(ZMS-3235): add instructions for zmsapi and zmsdb test data import to README.md * chore(ZMS-3235): revert changes in dereferenced schemas * chore(ZMS-3235): adjust queue schema * chore(ZMS-3235): update queue schema * chore(ZMS-3235): fix wayTime in queue schema * chore(zms-3235): fix schema and add error message * chore(ZMS-3235): add localized error messages for invalid schema validation --------- Co-authored-by: Thomas Fink <[email protected]> Co-authored-by: DDEV User <[email protected]> * feat(zmskvr-150) fixed wrong color (#1000) * feat(ZMSKVR-310): fix insert * chore(ZMS-3235): Load schemas only once for each process PR (#1001) * chore(zms-3235): initial refactoring * chore(zms-3235): update validation * chore(zms-3235): further refactoring * chore(ZMS-3235): It's working but schemas need to be fixed * chore(ZMS-3235): Fixed some schema tests * chore(zms-3235): fixed some schemas * Revert "chore(ZMS-3235): Fixed some schema tests" This reverts commit d50a84b. * chore(ZMS-3235): some more json schema fixes * chore(zms-3235): fix schemas * chore(ZMS-3235): fix more schemas and unit tests * chore(ZMS-3235): fixed unit tests and related classes * chore(ZMS-3235): update composer.lock * chore(ZMS-3235): update scope.json and ticketprinter fixtures * chore(ZMS-3235): fix composer.lock * chore(ZMS-3235): fix code quality check warnings within zmsentities * chore(ZMS-3235): fix code quality check warnings within zmsticketprinter * chore(ZMS-3235): fix composer.lock files * chore(ZMS-3235): added logging * chore(ZMS-3235): fix composer.lock * chore(ZMS-3235): add more logging * Debugging ls command in ci * Debugging ls command in ci * chore(ZMS-3235): update schemaPath * chore(ZMS-3235): fix zmsapi fixtures * chore(ZMS-3235): adjust more zmsapi fixtures * chore(ZMS-3235): fix zmsapi unit tests * chore(ZMS-3235): fix some entities and schemas * chore(ZMS-3235): fix process default * chore(ZMS-3235): test id anyOf * chore(ZMS-3235): fix entities and schemas * chore(ZMS-3235): fix composer lock files * chore(ZMS-3235): update schemaPath * chore(ZMS-3235): fix citizenapi unit tests * chore(ZMS-3235): adjust zmsapi schemas and fixtures * chore(ZMS-3235): update zmsapi schemas * chore(ZMS-3235): update schemas * chore(ZMS-3235): add coerce type mechanism * chore(ZMS-3235): remove coercion * chore(ZMS-3235): adjust zmsapi fixture * chore(ZMS-3235): fix schema * chore(ZMS-3235): update import path * chore(ZMS-3235): update schema path * chore(ZMS-3235): fix schema path * chore(ZMS-3235): remove CoerceType extension * chore(ZMS-3235): remove SameValues extension * chore(ZMS-3235): add opis json-schema to zmsapi * chore(ZMS-3235): fix zmsapi unit tests * chore(ZMS-3235): fix unit tests, fixtures and schemas * chore(ZMS-3235): adjust zmscitizenapi unit tests * chore(ZMS-3235): fix some unit tests * chore(ZMS-3235): some more fixing * chore(ZMS-3235): adjust schemas and use oneOf * chore(ZMS-3235): update composer.lock files * chore(ZMS-3235): remove yuloh/json-guard-cli from composer.lock * chore(ZMS-3235): remove debugging and fix schema * chore(ZMS-3235): refactoring * chore(zms-3235): remove debugging * chore(ZMS-3235): clean-up * chore(zms-3235): clean-up schemas * chore(ZMS-3235): clean-up * chore(ZMS-3235): fix unit test * chore(ZMS-3235): fix composer-lock * chore(ZMS-3235): revert queue status * chore(ZMS-3235): remove unit test to align with schema * chore(ZMS-3235): clean-up validator * chore(ZMS-3235): fix php code quality error * docs(ZMS-3235): add instructions for zmsapi and zmsdb test data import to README.md * chore(ZMS-3235): revert changes in dereferenced schemas * chore(ZMS-3235): adjust queue schema * chore(ZMS-3235): update queue schema * chore(ZMS-3235): fix wayTime in queue schema * chore(zms-3235): fix schema and add error message * chore(ZMS-3235): add localized error messages for invalid schema validation * chore(ZMS-3235): remove unnecessary json encoding * fix(ZMS-3235): read schemas only once per process * clean(ZMS-3235): code quality checks --------- Co-authored-by: Thomas Fink <[email protected]> Co-authored-by: DDEV User <[email protected]> Co-authored-by: ThomasAFink <[email protected]> * feat(ZMSKVR-310): fix types * chore(ZMSKVR): Disable CORS until apigateway is no longer in use * fix(ZMSKVR-345): fix closure schemas and defaults (#1003) * fix(ZMSKVR-345): fix closure schemas and defaults * fix(ZMSKVR-345): adjust closure type --------- Co-authored-by: Fabian Breitling <[email protected]> Co-authored-by: MoDaae <[email protected]> Co-authored-by: Fabinatix97 <[email protected]> Co-authored-by: Thomas Fink <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: matthias1996 <[email protected]> Co-authored-by: Igor Manjencic <[email protected]> Co-authored-by: Thomas Fink <[email protected]> Co-authored-by: Fabian Weiß <[email protected]> Co-authored-by: Thomas Fink <[email protected]> Co-authored-by: DDEV User <[email protected]> Co-authored-by: ThomasAFink <[email protected]>
* feature(zmskvr-150):setup button * feat(zmskvr-150) added switch case to accordion * Revert "Revert "Feature zmskvr 145 wartezeit statistik"" * feat(ZMSKVR-71): berechtigungen statistik (#958) * feat(ZMSKVR-71) Useraccount.php neue Berichtigung rights__departmentStats * feat(ZMSKVR-71) Access.php readDepartment prüft ob ich die Berichtigung departmentStats habe, und lädt dann department * fix(ZMSKVR-71): fix unit tests --------- Co-authored-by: Fabinatix97 <[email protected]> * feat(zmskvr-150) added legend below tabel * Update dependency vite to v5.4.15 [SECURITY] (#919) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * set loadProcess to false for loadClientNext * chore(deps): update dependency phpunit/phpunit to v9.6.22 (#614) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency twig/twig to v3.11.2 [security] (#608) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @babel/types to v7.27.0 (#934) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(ZMSKVR-318): zmscitizenapi error message available days and appointments and enable security headers (#966) * fix(ZMSKVR-03378): set no available days status to 200 instead of 404 * fix(ZMSKVR-03378): set no available appointments status to 200 instead of 404 * fix(ZMSKVR-03378): enable cors tests and enable security headers middleware for zmscitizenapi * fix(ZMSKVR-318): fix available days CalendarWithoutScopes exception 520 unknown error (#968) * fix(ZMSKVR-03378): set no available days status to 200 instead of 404 * fix(ZMSKVR-03378): set no available appointments status to 200 instead of 404 * fix(ZMSKVR-03378): enable cors tests and enable security headers middleware for zmscitizenapi * fix(ZMSKVR-318): fix available days CalendarWithoutScopes exception 520 error * feat(zmskvr-150) adjust accordion to show color when exception is applied * chore(deps): update dependency core-js to v3.41.0 (#932) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency focus-trap-react to v11 (#905) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v22.14.0 (#964) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @vitejs/plugin-vue to v5.2.3 (#967) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update it-at-m/lhm_actions action to v1.0.7 (#971) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency php-http/curl-client to v2.3.3 (#618) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update registry.access.redhat.com/ubi9/nginx-124 docker tag to v9.5-1742982237 (#972) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency vite to v5.4.17 (#970) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency python to 3.13 (#978) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint-plugin-vue to v9.33.0 (#977) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(ZMSKVR-318): error message missing email template in zmscitizenapi (#975) * fix(ZMSKVR-318): catch exception for missing mail template in zmscitizenapi * fix(ZMSKVR-318): catch zmsclient and missing mail t emplate exceptions * fix(ZMSKVR-318): zmsslim application logging identifier context and ExceptionService get exception name in zmscitizenapi * fix(ZMSKVR-318): add zmscitizenapi email check templates todos * feat(zmskvr-150) added if condiction to show color only when expection is present * clean(ZMSKVR): application and module identification in logs (#981) * fix(ZMSKVR-318): catch exception for missing mail template in zmscitizenapi * fix(ZMSKVR-318): catch zmsclient and missing mail t emplate exceptions * fix(ZMSKVR-318): zmsslim application logging identifier context and ExceptionService get exception name in zmscitizenapi * fix(ZMSKVR-318): add zmscitizenapi email check templates todos * feat: add ZMS_MODULE_NAME constant to all modules for better log identification * chore: remove zmsstatistic/config.php * chore: add config.php to zmsstatistic gitignore * clean(ZMSKVR): add config.php to zmsstatistic gitignore * Cleanup keycloak logger (#982) * fix(ZMSKVR-318): catch exception for missing mail template in zmscitizenapi * fix(ZMSKVR-318): catch zmsclient and missing mail t emplate exceptions * fix(ZMSKVR-318): zmsslim application logging identifier context and ExceptionService get exception name in zmscitizenapi * fix(ZMSKVR-318): add zmscitizenapi email check templates todos * feat: add ZMS_MODULE_NAME constant to all modules for better log identification * chore: remove zmsstatistic/config.php * chore: add config.php to zmsstatistic gitignore * clean(ZMSKVR): add config.php to zmsstatistic gitignore * feat: cleanup keycloak logger implementation * feat(zmskvr-150) added color in table * chore(deps): update dependency @vue/eslint-config-prettier to v10.2.0 (#973) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency eslint to v9.24.0 (#976) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency typescript to v5.8.3 (#987) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency vue-i18n to v10.0.7 (#988) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(zmskvr-150) removed comments * feat(zmskvr-150) adjust if statements to else-if statements * feat(zmskvr-150) corrected color for normal opening hour * feat(ZMSKVR-310): take into account if service is public for specific provider * feat(ZMSKVR-310): fix tests * feat(ZMSKVR-310): fix tests * feat(ZMSKVR-310): fix tests * feat(ZMSKVR-310): fix tests; refactoring * chore(ZMSKVR-169) Integrate solution10 into zmsdb codebase in prep for php upgrade (#986) * chore(ZMSKVR-169): Integrate Solution10 as Query/Builder into zmsdb codebase * chore(ZMSKVR-169): Update lock files * chore(ZMSKVR-169): Update lock files * chore(ZMSKVR-169): remove unused variable * chore(ZMSKVR-169): remove unused variable * chore(ZMSKVR-169): remove unused variable * chore(ZMSKVR-169): fix test namespace --------- Co-authored-by: Thomas Fink <[email protected]> * chore(zmskvr-304): update libphonenumber to version 8.13.55 (#994) Co-authored-by: Thomas Fink <[email protected]> * feat(zmskvr-150) adjust if statement * chore(zms-3235): replace json guard dependency with opis json-schema (#792) * chore(zms-3235): initial refactoring * chore(zms-3235): update validation * chore(zms-3235): further refactoring * chore(ZMS-3235): It's working but schemas need to be fixed * chore(ZMS-3235): Fixed some schema tests * chore(zms-3235): fixed some schemas * Revert "chore(ZMS-3235): Fixed some schema tests" This reverts commit d50a84b. * chore(ZMS-3235): some more json schema fixes * chore(zms-3235): fix schemas * chore(ZMS-3235): fix more schemas and unit tests * chore(ZMS-3235): fixed unit tests and related classes * chore(ZMS-3235): update composer.lock * chore(ZMS-3235): update scope.json and ticketprinter fixtures * chore(ZMS-3235): fix composer.lock * chore(ZMS-3235): fix code quality check warnings within zmsentities * chore(ZMS-3235): fix code quality check warnings within zmsticketprinter * chore(ZMS-3235): fix composer.lock files * chore(ZMS-3235): added logging * chore(ZMS-3235): fix composer.lock * chore(ZMS-3235): add more logging * Debugging ls command in ci * Debugging ls command in ci * chore(ZMS-3235): update schemaPath * chore(ZMS-3235): fix zmsapi fixtures * chore(ZMS-3235): adjust more zmsapi fixtures * chore(ZMS-3235): fix zmsapi unit tests * chore(ZMS-3235): fix some entities and schemas * chore(ZMS-3235): fix process default * chore(ZMS-3235): test id anyOf * chore(ZMS-3235): fix entities and schemas * chore(ZMS-3235): fix composer lock files * chore(ZMS-3235): update schemaPath * chore(ZMS-3235): fix citizenapi unit tests * chore(ZMS-3235): adjust zmsapi schemas and fixtures * chore(ZMS-3235): update zmsapi schemas * chore(ZMS-3235): update schemas * chore(ZMS-3235): add coerce type mechanism * chore(ZMS-3235): remove coercion * chore(ZMS-3235): adjust zmsapi fixture * chore(ZMS-3235): fix schema * chore(ZMS-3235): update import path * chore(ZMS-3235): update schema path * chore(ZMS-3235): fix schema path * chore(ZMS-3235): remove CoerceType extension * chore(ZMS-3235): remove SameValues extension * chore(ZMS-3235): add opis json-schema to zmsapi * chore(ZMS-3235): fix zmsapi unit tests * chore(ZMS-3235): fix unit tests, fixtures and schemas * chore(ZMS-3235): adjust zmscitizenapi unit tests * chore(ZMS-3235): fix some unit tests * chore(ZMS-3235): some more fixing * chore(ZMS-3235): adjust schemas and use oneOf * chore(ZMS-3235): update composer.lock files * chore(ZMS-3235): remove yuloh/json-guard-cli from composer.lock * chore(ZMS-3235): remove debugging and fix schema * chore(ZMS-3235): refactoring * chore(zms-3235): remove debugging * chore(ZMS-3235): clean-up * chore(zms-3235): clean-up schemas * chore(ZMS-3235): clean-up * chore(ZMS-3235): fix unit test * chore(ZMS-3235): fix composer-lock * chore(ZMS-3235): revert queue status * chore(ZMS-3235): remove unit test to align with schema * chore(ZMS-3235): clean-up validator * chore(ZMS-3235): fix php code quality error * docs(ZMS-3235): add instructions for zmsapi and zmsdb test data import to README.md * chore(ZMS-3235): revert changes in dereferenced schemas * chore(ZMS-3235): adjust queue schema * chore(ZMS-3235): update queue schema * chore(ZMS-3235): fix wayTime in queue schema --------- Co-authored-by: Thomas Fink <[email protected]> Co-authored-by: DDEV User <[email protected]> * chore(deps): update dependency sass to v1.86.3 (#980) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(ZMSKVR-310): fix parameter public * chore(deps): update dependency eslint-plugin-react to v7.37.5 (#979) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(ZMSKVR-310): fix typo * feat(ZMSKVR-310): fix schema * add title to icons * fix(ZMS): Update maven-node-build.yaml * chore(ZMS): trigger image build on push to next branch * fix(ZMS): Update maven-node-build.yaml * Update maven-node-build.yaml * fix: correct paths to custom actions in GitHub workflow * update actions * tag zmscitizenview packages to branch name * chore(deps): update dependency vite to v5.4.18 (#996) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(ZMSKVR): regenerate composer.lock for zmsstatistic * fix(ZMSKVR): workstation select zmsstatistic * clean(ZMSKVR): remove comment * chore(ZMS-3235): fix schema and add error message (#999) * chore(zms-3235): initial refactoring * chore(zms-3235): update validation * chore(zms-3235): further refactoring * chore(ZMS-3235): It's working but schemas need to be fixed * chore(ZMS-3235): Fixed some schema tests * chore(zms-3235): fixed some schemas * Revert "chore(ZMS-3235): Fixed some schema tests" This reverts commit d50a84b. * chore(ZMS-3235): some more json schema fixes * chore(zms-3235): fix schemas * chore(ZMS-3235): fix more schemas and unit tests * chore(ZMS-3235): fixed unit tests and related classes * chore(ZMS-3235): update composer.lock * chore(ZMS-3235): update scope.json and ticketprinter fixtures * chore(ZMS-3235): fix composer.lock * chore(ZMS-3235): fix code quality check warnings within zmsentities * chore(ZMS-3235): fix code quality check warnings within zmsticketprinter * chore(ZMS-3235): fix composer.lock files * chore(ZMS-3235): added logging * chore(ZMS-3235): fix composer.lock * chore(ZMS-3235): add more logging * Debugging ls command in ci * Debugging ls command in ci * chore(ZMS-3235): update schemaPath * chore(ZMS-3235): fix zmsapi fixtures * chore(ZMS-3235): adjust more zmsapi fixtures * chore(ZMS-3235): fix zmsapi unit tests * chore(ZMS-3235): fix some entities and schemas * chore(ZMS-3235): fix process default * chore(ZMS-3235): test id anyOf * chore(ZMS-3235): fix entities and schemas * chore(ZMS-3235): fix composer lock files * chore(ZMS-3235): update schemaPath * chore(ZMS-3235): fix citizenapi unit tests * chore(ZMS-3235): adjust zmsapi schemas and fixtures * chore(ZMS-3235): update zmsapi schemas * chore(ZMS-3235): update schemas * chore(ZMS-3235): add coerce type mechanism * chore(ZMS-3235): remove coercion * chore(ZMS-3235): adjust zmsapi fixture * chore(ZMS-3235): fix schema * chore(ZMS-3235): update import path * chore(ZMS-3235): update schema path * chore(ZMS-3235): fix schema path * chore(ZMS-3235): remove CoerceType extension * chore(ZMS-3235): remove SameValues extension * chore(ZMS-3235): add opis json-schema to zmsapi * chore(ZMS-3235): fix zmsapi unit tests * chore(ZMS-3235): fix unit tests, fixtures and schemas * chore(ZMS-3235): adjust zmscitizenapi unit tests * chore(ZMS-3235): fix some unit tests * chore(ZMS-3235): some more fixing * chore(ZMS-3235): adjust schemas and use oneOf * chore(ZMS-3235): update composer.lock files * chore(ZMS-3235): remove yuloh/json-guard-cli from composer.lock * chore(ZMS-3235): remove debugging and fix schema * chore(ZMS-3235): refactoring * chore(zms-3235): remove debugging * chore(ZMS-3235): clean-up * chore(zms-3235): clean-up schemas * chore(ZMS-3235): clean-up * chore(ZMS-3235): fix unit test * chore(ZMS-3235): fix composer-lock * chore(ZMS-3235): revert queue status * chore(ZMS-3235): remove unit test to align with schema * chore(ZMS-3235): clean-up validator * chore(ZMS-3235): fix php code quality error * docs(ZMS-3235): add instructions for zmsapi and zmsdb test data import to README.md * chore(ZMS-3235): revert changes in dereferenced schemas * chore(ZMS-3235): adjust queue schema * chore(ZMS-3235): update queue schema * chore(ZMS-3235): fix wayTime in queue schema * chore(zms-3235): fix schema and add error message * chore(ZMS-3235): add localized error messages for invalid schema validation --------- Co-authored-by: Thomas Fink <[email protected]> Co-authored-by: DDEV User <[email protected]> * feat(zmskvr-150) fixed wrong color (#1000) * feat(ZMSKVR-310): fix insert * chore(ZMS-3235): Load schemas only once for each process PR (#1001) * chore(zms-3235): initial refactoring * chore(zms-3235): update validation * chore(zms-3235): further refactoring * chore(ZMS-3235): It's working but schemas need to be fixed * chore(ZMS-3235): Fixed some schema tests * chore(zms-3235): fixed some schemas * Revert "chore(ZMS-3235): Fixed some schema tests" This reverts commit d50a84b. * chore(ZMS-3235): some more json schema fixes * chore(zms-3235): fix schemas * chore(ZMS-3235): fix more schemas and unit tests * chore(ZMS-3235): fixed unit tests and related classes * chore(ZMS-3235): update composer.lock * chore(ZMS-3235): update scope.json and ticketprinter fixtures * chore(ZMS-3235): fix composer.lock * chore(ZMS-3235): fix code quality check warnings within zmsentities * chore(ZMS-3235): fix code quality check warnings within zmsticketprinter * chore(ZMS-3235): fix composer.lock files * chore(ZMS-3235): added logging * chore(ZMS-3235): fix composer.lock * chore(ZMS-3235): add more logging * Debugging ls command in ci * Debugging ls command in ci * chore(ZMS-3235): update schemaPath * chore(ZMS-3235): fix zmsapi fixtures * chore(ZMS-3235): adjust more zmsapi fixtures * chore(ZMS-3235): fix zmsapi unit tests * chore(ZMS-3235): fix some entities and schemas * chore(ZMS-3235): fix process default * chore(ZMS-3235): test id anyOf * chore(ZMS-3235): fix entities and schemas * chore(ZMS-3235): fix composer lock files * chore(ZMS-3235): update schemaPath * chore(ZMS-3235): fix citizenapi unit tests * chore(ZMS-3235): adjust zmsapi schemas and fixtures * chore(ZMS-3235): update zmsapi schemas * chore(ZMS-3235): update schemas * chore(ZMS-3235): add coerce type mechanism * chore(ZMS-3235): remove coercion * chore(ZMS-3235): adjust zmsapi fixture * chore(ZMS-3235): fix schema * chore(ZMS-3235): update import path * chore(ZMS-3235): update schema path * chore(ZMS-3235): fix schema path * chore(ZMS-3235): remove CoerceType extension * chore(ZMS-3235): remove SameValues extension * chore(ZMS-3235): add opis json-schema to zmsapi * chore(ZMS-3235): fix zmsapi unit tests * chore(ZMS-3235): fix unit tests, fixtures and schemas * chore(ZMS-3235): adjust zmscitizenapi unit tests * chore(ZMS-3235): fix some unit tests * chore(ZMS-3235): some more fixing * chore(ZMS-3235): adjust schemas and use oneOf * chore(ZMS-3235): update composer.lock files * chore(ZMS-3235): remove yuloh/json-guard-cli from composer.lock * chore(ZMS-3235): remove debugging and fix schema * chore(ZMS-3235): refactoring * chore(zms-3235): remove debugging * chore(ZMS-3235): clean-up * chore(zms-3235): clean-up schemas * chore(ZMS-3235): clean-up * chore(ZMS-3235): fix unit test * chore(ZMS-3235): fix composer-lock * chore(ZMS-3235): revert queue status * chore(ZMS-3235): remove unit test to align with schema * chore(ZMS-3235): clean-up validator * chore(ZMS-3235): fix php code quality error * docs(ZMS-3235): add instructions for zmsapi and zmsdb test data import to README.md * chore(ZMS-3235): revert changes in dereferenced schemas * chore(ZMS-3235): adjust queue schema * chore(ZMS-3235): update queue schema * chore(ZMS-3235): fix wayTime in queue schema * chore(zms-3235): fix schema and add error message * chore(ZMS-3235): add localized error messages for invalid schema validation * chore(ZMS-3235): remove unnecessary json encoding * fix(ZMS-3235): read schemas only once per process * clean(ZMS-3235): code quality checks --------- Co-authored-by: Thomas Fink <[email protected]> Co-authored-by: DDEV User <[email protected]> Co-authored-by: ThomasAFink <[email protected]> * feat(ZMSKVR-310): fix types * chore(ZMSKVR): Disable CORS until apigateway is no longer in use * fix(ZMSKVR-345): fix closure schemas and defaults (#1003) * fix(ZMSKVR-345): fix closure schemas and defaults * fix(ZMSKVR-345): adjust closure type --------- Co-authored-by: Fabian Breitling <[email protected]> Co-authored-by: MoDaae <[email protected]> Co-authored-by: Fabinatix97 <[email protected]> Co-authored-by: Thomas Fink <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: matthias1996 <[email protected]> Co-authored-by: Igor Manjencic <[email protected]> Co-authored-by: Thomas Fink <[email protected]> Co-authored-by: Fabian Weiß <[email protected]> Co-authored-by: Thomas Fink <[email protected]> Co-authored-by: DDEV User <[email protected]> Co-authored-by: ThomasAFink <[email protected]>
Pull Request Checklist (Feature Branch to
next
):next
Branch in meinen Feature-Branch gemergt.Summary by CodeRabbit
Refactor
Chore