Commit Graph

423 Commits

Author SHA1 Message Date
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
Daniele Teti
1dea5bbd0e Updated copyright 2023-05-26 18:47:17 +02:00
Daniele Teti
3ddda59e33 Added support for dotEnv multiline keys - added dotEnv show case (WIP) 2023-05-25 00:48:03 +02:00
Daniele Teti
d892c21cc4 Support for .env (WIP) 2023-05-24 10:55:43 +02:00
Daniele Teti
bb30db152d Removed a potential memory leak when a JSONRPC with dinamically allocated parameters method raises exception. 2023-05-23 11:45:58 +02:00
Daniele Teti
d122bf300d (WIP) 2023-05-18 09:09:05 +02:00
Daniele Teti
2d5f4c5f36 Merge branch 'master' into feature_642_functions_as_action
# Conflicts:
#	README.md
2023-04-21 16:41:21 +02:00
Daniele Teti
cae2e4e088 Fixed a unit test related to JWT 2023-04-17 23:55:48 +02:00
Daniele Teti
19c9cd3df4 Added support for records and array of record in function/action return 2023-03-14 08:56:00 +01:00
Daniele Teti
357837a380 Supports Record and Array of Record (WIP) 2023-03-13 18:01:04 +01:00
Daniele Teti
92971f937e Merge branch 'master' into feature_642_functions_as_action
# Conflicts:
#	sources/dmvcframeworkbuildconsts.inc
#	unittests/general/UnitTestReports/dmvcframework_nunit_win64.xml
2023-03-13 15:46:41 +01:00
Daniele Teti
899444b0df https://github.com/danieleteti/delphimvcframework/issues/648 2023-03-13 15:43:46 +01:00
Daniele Teti
548ba455a1 https://github.com/danieleteti/delphimvcframework/issues/648 2023-03-13 15:42:21 +01:00
Daniele Teti
cae4396c18 Works: PODO, TObjectList<T>, TStream, string, enum, bool, nested objects 2023-02-05 00:36:01 +01:00
Daniele Teti
3a438493fb dmvcframework-3.2.3-radium 2023-02-02 19:14:34 +01:00
Daniele Teti
0023ebe32c https://github.com/danieleteti/delphimvcframework/issues/631 2023-01-29 17:29:24 +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
973a0c5514 https://github.com/danieleteti/delphimvcframework/issues/610 2022-12-25 19:17:52 +01:00
Daniele Teti
b1f838ece9 https://github.com/danieleteti/delphimvcframework/issues/595 2022-11-24 07:42:03 +01:00
Daniele Teti
1b7e2ed742 + flyweight for TableMapInfo in TMVCActiveRecord (WIP) 2022-11-17 19:33:27 +01:00
Daniele Teti
b0080184d2 Improved Samples, mostrly ActiveRecord related 2022-11-10 18:30:11 +01:00
Daniele Teti
cf104c0a6f Async support for JSONRPCClient (Thanks to our sponsor ORION LAW) 2022-10-29 00:34:49 +02: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
82ca77ab60 Renamed "Render(AErrorCode: Integer etc" in "RenderStatusMessage(etc..." 2022-10-26 19:31:54 +02:00
Daniele Teti
08d947d265 Added ObjectPool and InterfacedObjectPool donated by Vivaticket S.p.A. https://www.vivaticket.com/ - Original UnitTests have been merged in the standard DMVCFramework UnitTests 2022-10-26 00:11:32 +02:00
Daniele Teti
f54f74522c - Default error responses contains the official "reason string" associated to the HTTP status code (this can be a breaking change for some generic client which doesn't correctly interpret the http status code)
- Added static method `HTTP_STATUS.ReasonStringFor(HTTPStatusCode)` wich returns the standard `ReasonString` for a given HTTP status code.
- Improved handling of `TMVCErrorResponse` information
- mid-air-collision handling now uses SHA1 instead of MD5
- Added `MVCFramework.Commons.MVC_HTTP_STATUS_CODES` const array containing all the HTTP status codes wich its `ReasonString`
2022-10-09 15:45:59 +02:00
Daniele Teti
ee6075d6a2 Improved MVCARAntitiesGenerator (WIP), Improved TMVCActiveRecord.Merge method 2022-08-28 13:06:16 +02:00
Daniele Teti
3998c1288b While not strictly required nor defined, DMVCFramework supports sending body data for all HTTP VERBS - see https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET 2022-08-17 12:59:40 +02:00
Daniele Teti
d0098886a5 Improved Wizard adding more middlewares - updated projects 2022-08-13 10:35:53 +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
945f807598 https://github.com/danieleteti/delphimvcframework/issues/564 2022-08-02 23:57:09 +02:00
Daniele Teti
4a509b0eb0 - Improved nullable types Python generator
- Unit test refactoring
2022-08-01 19:11:42 +02:00
Daniele Teti
64a1bb22fa Merge branch 'feature_jsonrpc_records' 2022-07-25 15:42:37 +02:00
Daniele Teti
24dff99d7e Improved deserialization phase with more clear error message - added TJSONUtils static class 2022-07-25 15:32:31 +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
66211feb75 - JSON-RPC record support is almost done (WIP) 2022-07-10 23:30:00 +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
686c23cb33 + Added TMVCRecordUtils.JSONArrayToArrayOfRecord<T> with relative TESTS 2022-07-05 16:51:31 +02:00
Daniele Teti
08c3fca0b3 + jsonrpc-records - added initial unit tests 2022-07-05 16:18:03 +02:00
João Antônio Duarte
22dccb5e11 Added unit tests for serialization with MVCSerializeGuidWithoutBracesAttribute attribute and tests for deserialization of TGUIDs represented in the UUID pattern (no braces) 2022-06-24 14:52:42 -03:00
Daniele Teti
1038a1869f + Completed unit tests for GUID support 2022-06-23 15:14:48 +02:00