Commit Graph

468 Commits

Author SHA1 Message Date
Daniele Teti
5cdcdf8c92 Added delegates to service container service registration 2024-09-02 17:48:01 +02:00
Daniele Teti
96a1d543c5 Nullables unit doesn't requires MVCFramework.Serializers.Commons anymore 2024-08-15 21:58:20 +02:00
Daniele Teti
4371653072 Float values are "always" serialized with comma (always!) 2024-07-22 14:28:32 +02:00
Daniele Teti
07e16a339f Added MVCNameCaseDefault global config variable (with updated tests and wizard) 2024-06-08 23:05:46 +02:00
Daniele Teti
cb01d14729 Added specific test for ser/unser of objects decorated with Sqids 2024-05-16 17:15:59 +02:00
Daniele Teti
4c5441d5e4 Better visibility for WARNINGS in Console logger 2024-05-16 15:50:37 +02:00
Daniele Teti
d06d470e45 Added "MVCSerializeAsSqids" attribute. Added Sqids support in Wizard. Renamed ":sqid" converter to ":sqids". Added more tests. 2024-05-10 16:16:47 +02:00
Daniele Teti
7420015c5c Sqids support - base classes + converter mechanism. Added ":sqid" converter. 2024-05-09 23:50:01 +02:00
Daniele Teti
5bda685228 https://github.com/danieleteti/delphimvcframework/issues/749 2024-04-29 12:46:19 +02:00
Daniele Teti
d7bbd34d2a Updated RESTAdapter tests 2024-04-23 14:34:11 +02:00
Daniele Teti
d231ebf3cb Changed param order for RegisterType 2024-04-17 09:57:22 +02:00
Daniele Teti
6142c2d929 Container (WIP) - almost ready to be merged into master 2024-03-28 23:57:59 +01:00
Daniele Teti
4ed99ab32c injector (wip) 2024-03-21 19:03:35 +01:00
Daniele Teti
f69583373a Injector (WIP) 2024-03-21 18:57:41 +01:00
Daniele Teti
ec59eaee18 Updated tests after removing ViewDatasets 2024-03-08 16:20:12 +01:00
Daniele Teti
02c0ae0f37 Added TEXT serializer - Improved content type handling in case of errors and no_route_found cases. 2024-02-22 19:18:34 +01:00
Daniele Teti
cc5789d56e Now "NoRouteFound" error returns the correct content-type 2024-02-21 14:41:25 +01:00
Daniele Teti
f224ea7eeb Date and Time Conversion simple test 2024-02-14 18:03:01 +01:00
Daniele Teti
d7c9628cf1 404 doesn't raise exception anymore - it just returns 404 2024-02-05 16:40:50 +01:00
Daniele Teti
d4c7e449ae Tests don't log to the console. 2024-01-29 23:41:01 +01:00
Daniele Teti
7a11512347 Breaking Change! TMVCActiveRecordController uses (and requires) TMVCActiveRecordMiddleware - it doesn't require a TFDConnection on constructor 2024-01-20 10:36:45 +01:00
Daniele Teti
a2e19a7689 FIX some encoding problems introduced by VSCode replace-in-files >:| 2024-01-03 14:31:28 +01:00
Daniele Teti
90dcd3bdfe Copyright updated to 2010-2024 2024-01-02 17:04:27 +01:00
Daniele Teti
b761b9ac9a Improved encoding caching 2023-12-07 12:14:08 +01:00
Daniele Teti
d68b102d14 Added TMVCActiveRecord.GetCustomTableName which allows to overwrite the tablename defined in the MVCTableName attribute. Just overwrite the method in descendant classes and return the tablename to use for the current instance. 2023-11-23 22:58:07 +01:00
Daniele Teti
23e81ce47a Packages for Delphi12Athens 2023-11-07 23:18:03 +01:00
Daniele Teti
e1aa50dd86 Delphi12 compatibility 2023-11-06 12:37:33 +01:00
Daniele Teti
5d341655f9 Added openssl libs for win64 unit tests, removed unused fbclient.dll 2023-11-06 12:29:51 +01:00
Daniele Teti
e2bded0d58 Added postgresql binary files 2023-11-04 17:40:17 +01:00
Daniele Teti
7d23ba6ec7 Added missed binary files 2023-11-04 17:22:04 +01:00
Daniele Teti
a2f190df44 New feature: ObjectVersioning for TMVCActiveRecord - see foVersion
- TMVCActiveRecord.TableName is now readonly
2023-11-02 17:36:19 +01:00
Daniele Teti
7c7443d0b2 dotEnv compare filed used by unittests 2023-11-01 23:15:50 +01:00
Daniele Teti
840e5de71d New test for UseStrategy and SkipDefaultEnv 2023-11-01 23:11:02 +01:00
Daniele Teti
72fd459537 - dotEnv parser allows empty values
- dotEnv names adhere to [a-z,A-Z,_,\.][0-9,a-z,A-Z,_,\.]*
- better dotEnv error reporting
2023-10-21 23:46:12 +02:00
Daniele Teti
7f6c3e2ea2 Added TMVCActiveRecord.TryGetSQLQuery<T> and TMVCActiveRecord.TryGetRQLQuery<T> 2023-10-17 18:07:09 +02:00
Daniele Teti
d935c3fcc3 https://github.com/danieleteti/delphimvcframework/pull/699 2023-10-06 00:52:49 +02:00
Daniele Teti
b5261f60c2 HTMX sample 2023-09-26 19:29:03 +02:00
Daniele Teti
3d910bdfed New sample: HTMX_mustache, fix for some unit test, workaround for IdCustomHTTP strange behaviour in case of empty response and HTTP 200 OK. 2023-09-25 23:55:28 +02:00
Daniele Teti
0f35452954 https://github.com/danieleteti/delphimvcframework/issues/694 2023-09-22 09:43:35 +02:00
Daniele Teti
36d7a938b6 Refactored MVCResponseBuilder 2023-09-05 12:29:38 +02:00
Daniele Teti
3bcf2cca68 Removed unittests report from repo 2023-08-28 12:27:45 +02:00
Daniele Teti
b59f8f6421 Added MVCNamedSQLQuery and MVCNamedRQLQuery (Named queries support is complete) 2023-08-09 10:55:34 +02:00
Daniele Teti
4a27f8b64d - Updated unittest with the new TMVCResponse behavior 2023-08-04 14:34:42 +02:00
Daniele Teti
7bf4b82db7 More unit tests for functional actions 2023-07-19 14:35:25 +02:00
Daniele Teti
329aaa9190 Added more tests on "functional actions" 2023-07-19 12:29:16 +02:00
Daniele Teti
e6fc21dff9 Merge branch 'master' into feature_642_functions_as_action
# Conflicts:
#	packages/d113/dmvcframework_group.groupproj
#	sources/MVCFramework.Commons.pas
2023-07-18 13:44:14 +02:00
Daniele Teti
1bccc507f9 Refactored some tests 2023-06-21 12:20:46 +02:00
Daniele Teti
93ee4225f4 Small improvements on shutdown 2023-06-06 17:34:24 +02:00
Daniele Teti
23927c806c Merge branch 'master' into feature_642_functions_as_action 2023-05-30 12:52:10 +02:00
Daniele Teti
724c797cbf Improved some unit tests - fix some failing tests 2023-05-27 12:20:24 +02:00