Commit Graph

59 Commits

Author SHA1 Message Date
Daniele Teti
8aa4ab5f7b ServiceContainer (WIP) - singleton is "singleton per webmodule" 2024-03-24 16:58:08 +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
36d7a938b6 Refactored MVCResponseBuilder 2023-09-05 12:29:38 +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
899444b0df https://github.com/danieleteti/delphimvcframework/issues/648 2023-03-13 15:43:46 +01:00
Daniele Teti
c03315077e https://github.com/danieleteti/delphimvcframework/issues/630 2023-01-28 23:31:00 +01:00
Daniele Teti
89f00fd81d Support for TObject descendants in JSONRPC APIs (not only for JSONObject and JSONArray) 2023-01-23 16:19:32 +01:00
Daniele Teti
fc9fffb9e7 Updated copyright message, removing some warnings 2023-01-17 08:52:26 +01:00
Daniele Teti
a2adf94e15 - New unit tests for Context.Request.BodyAs and BodyFor using RootNode 2022-10-28 09:23:31 +02:00
Daniele Teti
05ee1a45c1 Added Renders sample for enums and sets 2022-08-19 09:47:55 +02:00
Daniele Teti
f79f4722d9 Improved enum and set parameters handling in JSONRPC API 2022-08-10 17:57:59 +02:00
João Antônio Duarte
7c6eb51811 Added automatic deserialization to TMVCRESTClient.
Resolves #529
2022-08-03 14:28:01 -03:00
Daniele Teti
1ac7629aa5 Improved wizard 2022-07-25 10:36:30 +02:00
Daniele Teti
529e50954a More tests added 2022-07-23 16:36:20 +02:00
Daniele Teti
10dff93784 JSONRPC // all tests are green (WIP) 2022-07-23 01:21:52 +02:00
Daniele Teti
ffcaa49ec5 + jsonrpc, works also "EchoArrayOfRecords" method. 2022-07-20 00:27:55 +02:00
Daniele Teti
08bf440713 - Some cleanup, added first call to the sample project about the jsonrpc support for record types 2022-07-11 00:09:59 +02:00
Daniele Teti
fb00bc6dd1 + (WIP) JSON.RPC - Implented other tests. Currently nested array are not deserialized using the static version. 2022-07-07 15:09:31 +02:00
Daniele Teti
08c3fca0b3 + jsonrpc-records - added initial unit tests 2022-07-05 16:18:03 +02:00
Daniele Teti
6d0ef7d5a6 + Implemented unit test for GUID support (WIP) 2022-06-23 14:34:01 +02:00
Daniele Teti
a8ce1bb25b + Updated copyright for 2022 2022-01-04 15:44:47 +01:00
Daniele Teti
4986d9ba3f New! Added the new MVCOwned attribute which allows to auto-create nested objects in the deserialization phase. This will not change the current behavior, you ned to explocitly define a property (or a field) as MVCOwned to allows the serialization to create or destroy object for you. 2021-08-17 15:10:58 +02:00
Daniele Teti
6837182cc3 + updated copyright header 2021-08-15 18:39:55 +02:00
Daniele Teti
57f9992bb4 First version of 'merge' method - used to create a UOW in case of updating a list of active records 2021-04-25 22:40:06 +02:00
Daniele Teti
0f5587361f [+] Added MVCFromBodyAttribute, MVCFromQueryStringAttribute, MVCFromHeaderAttribute, MVCFromCookieAttribute] 2021-04-21 12:22:09 +02:00
Daniele Teti
77ad5ecd10 [+] fix for nil objects in lists during serialization
[+] preparing for 3.2.2-nitrogen
2021-01-27 20:25:35 +01:00
Daniele Teti
311be67323 New functionality explained in the jsonrpc samples (TMultiDataset) 2020-09-22 15:18:22 +02:00
Daniele Teti
a1c6d82198 https://github.com/danieleteti/delphimvcframework/issues/378 2020-05-06 10:49:08 +02:00
Daniele Teti
f853b362b3 https://github.com/danieleteti/delphimvcframework/issues/362 2020-04-18 23:32:24 +02:00
Daniele Teti
c36cd13988 3.2.0-boron-RC4 2020-02-05 23:46:38 +01:00
Daniele Teti
42cf51b595 All serialization/deserialization unittests pass for nullables!! :-) 2020-02-03 12:11:42 +01:00
Daniele Teti
3388354743 Serialization support for all the types in MVCFramework.Nullables 2020-02-03 10:51:40 +01:00
Daniele Teti
8144baf40c Nulls support in MVCActiveRecord (check activerecord_showcase sample) 2020-01-06 16:49:18 +01:00
Daniele Teti
23a108896c JSON properties can be de/serialized verbatim by the default json serializer 2019-11-05 14:40:39 +01:00
Daniele Teti
6bdf5547bc Added ToMVCList to wrap any object and try to use as list 2019-10-10 20:16:48 +02:00
Daniele Teti
241a07ee82 Added tools folder into the release zip. Preparing RC6 2019-09-04 19:37:11 +02:00
Daniele Teti
d554964260 Added optional serializers for TBitmap, TPNGImage and TJPEGImage. IDEExpert has been updated. 2019-06-25 17:33:02 +02:00
Daniele Teti
6a664d608c 3.1.1-beryllium-RC5 2019-05-09 21:00:26 +02:00
Daniele Teti
a05a599931 Simplified HATEOAS support 2019-05-08 09:11:08 +02:00
Daniele Teti
5da30ed243 Extended support for HATEOAS 2019-03-10 16:29:53 +01:00
Daniele Teti
8ed859b7d1 New build system based on pyinvoke 2019-01-08 12:48:53 +01:00
Daniele Teti
70c1e55e94 New MVCActiveRecord showcase samples
New Unit Tests for Compression in TRESTClient
Updated RQL Parser and compilers
New EntitiesGenerator (alpha)
Improved unittests
Updated landing page
2018-10-23 16:18:50 +02:00
Daniele Teti
b3e0bbdf91 RC8
ADDED new action in the renders.dproj sample to show how to render a list with metadata using a wrapper object
CHANGE Optimized some rtti searches in the MVCFramework.Serializer.Abstract.pas
ADDED Cache support for internal use
CHANGED Restored JWT aLoginURL Paramater
ADDED LiveValidityWindowInSeconds for JWT (check the new sample)
2017-07-16 19:39:03 +02:00
Daniele Teti
d6a04c89c2 3_0_0_hydrogen_RC6 2017-06-22 16:19:13 +02:00
Daniele Teti
82ef760987 REMOVED ObjectsMappers.pas (finally!) 2017-05-25 16:58:07 +02:00
Daniele Teti
9d0ab1cf45 FIX TRESTAdapter
FIX JSONDataObjects deserialization when some json value is null
Improved IDEExpert (now can generate CRUD methods and there is a more explicative sample method name)
REMOVED delphistompclient from submodules. It will be used as external library not required by the core.
2017-05-17 22:35:07 +02:00
Daniele Teti
4108b63405 FIXED a bug with ftAutoInc field type
Updated routingsample.dproj and renders.dproj
2017-04-20 23:49:37 +02:00
Ezequiel Juliano Müller
74f921cc76 Adding DataSets Serialization 2017-03-29 09:49:35 -03:00
Ezequiel Juliano Müller
611f297425 Changes in unit tests 2017-03-20 17:42:28 -03:00