Commit Graph

220 Commits

Author SHA1 Message Date
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
cae2e4e088 Fixed a unit test related to JWT 2023-04-17 23:55:48 +02: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
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
f79f4722d9 Improved enum and set parameters handling in JSONRPC API 2022-08-10 17:57:59 +02: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
Daniele Teti
6d0ef7d5a6 + Implemented unit test for GUID support (WIP) 2022-06-23 14:34:01 +02:00
Daniele Teti
af8a728acc + Merge https://github.com/danieleteti/delphimvcframework/pull/559
+ Small changes for MSSQL compatibility
2022-06-14 15:05:04 +02:00
Daniele Teti
0fac2dd2fa https://github.com/danieleteti/delphimvcframework/issues/550 2022-04-12 12:12:08 +02:00
Daniele Teti
ff9fe81426 https://github.com/danieleteti/delphimvcframework/issues/533 2022-04-05 17:17:35 +02:00
Daniele Teti
98fd21ac8f https://github.com/danieleteti/delphimvcframework/issues/530 2022-03-25 11:49:22 +01:00
Daniele Teti
c2d3cbc859 https://github.com/danieleteti/delphimvcframework/issues/542 2022-03-25 10:49:12 +01:00
Daniele Teti
07bd70c5ed + Improved TMVCActiveRecord Interbase support 2022-01-26 23:00:32 +01:00
Daniele Teti
cf3c3d8adf + Removed ViewJSON reference from Mustache View Engine 2022-01-21 18:33:00 +01:00
Daniele Teti
a8ce1bb25b + Updated copyright for 2022 2022-01-04 15:44:47 +01:00
Daniele Teti
02de5b11ea - Added default filtering for TMVCActiveRecord descendants (more info ASAP)
- Added partitioning for `TMVCActiveRecord descendants` (more info ASAP)

- After a big refactoring (*"I love to delete code" -- cit. Daniele Teti*), support a new SQLGenerator is just 2 (two) methods away!
2021-11-21 19:27:06 +01:00
Daniele Teti
3360dea516 + completed tests for default filtering and partitioning (just for PostgreSQL) (WIP for other RDBMSes) 2021-11-19 00:34:37 +01:00
Daniele Teti
c231e6540e + added test for default filtering 2021-11-18 17:52:06 +01:00
Daniele Teti
5550819fca + Fixed a bug in RQL' MaxRecordCount
+ Implemented Table Partitioning (WIP)
2021-11-18 00:49:12 +01:00
Daniele Teti
a5a147c91d https://github.com/danieleteti/delphimvcframework/issues/526 2021-11-02 12:03:22 +01:00
Daniele Teti
79407d71e1 - create include files to easily mantain aligned all the dpks
- still facing with this issue in Delphi 11 Alexandria (https://quality.embarcadero.com/browse/RSP-35516). Compression works, but the debugger catches an exception raised in "normal cases".
2021-09-29 19:30:14 +02:00
Daniele Teti
e3eb26e04a + added more unit test for TMVCActiveRecord.Merge method 2021-09-23 22:52:28 +02:00