nextcloud/lib/public/AppFramework
Ferdinand Thiessen ee02e3246d
feat(AppFramework): Add full support for date / time / datetime columns
This adds support for all Doctrine supported types, for the column types only the immutable variants needed to be added.
But especially those types are the important ones, as our **Entity** class works by detecting changes through setters.
Meaning if it is mutable, changes like `$entity->date->modfiy()` can not be detected, so the immutable types make more sense here.

Similar the parameter types needed to be added.

`Enity` and `QBMapper` needed to be adjusted so they support (auto map) those types, required when insert or update an entity.

Also added more tests, especially to make sure the mapper really serializes the values correctly.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-17 18:31:42 +02:00
..
Bootstrap chore: Unify user related events to always provide a getUid method 2024-10-15 18:33:11 +02:00
Db feat(AppFramework): Add full support for date / time / datetime columns 2024-10-17 18:31:42 +02:00
Http chore: Add proper deprecation dates where missing 2024-09-20 00:46:03 +02:00
OCS chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Services chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Utility style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
ApiController.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
App.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
AuthPublicShareController.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Controller.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Http.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IAppContainer.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Middleware.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
OCSController.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
PublicShareController.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
QueryException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00