Commit Graph

1858 Commits

Author SHA1 Message Date
João Antônio Duarte
ff5565b5ac Fix warnings 2022-08-23 12:14:12 -03:00
Daniele Teti
81b175033c Entities Generator 2.0 (WIP) 2022-08-20 17:12:15 +02:00
Daniele Teti
9212aecb40 Improved MVCEntitiesGenerator (WIP) 2022-08-19 10:50:45 +02:00
Daniele Teti
eead8deeeb Updated serversideview samples (Lua and dmustache) 2022-08-19 10:20:13 +02:00
Daniele Teti
ff385631a8 Updated DMustache ext lib 2022-08-19 10:19:22 +02:00
Daniele Teti
05ee1a45c1 Added Renders sample for enums and sets 2022-08-19 09:47:55 +02:00
Daniele Teti
0f3bae84b9 Automated support to avoid "mid-air collisions". New methods SetETag and CheckIfMatch allows a better security without adding complexity to the controller code - check avoid_mid_air_collisions_sample.dproj sample and see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag#avoiding_mid-air_collisions for more info about mid-air collisions. 2022-08-18 01:45:49 +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
fec5b1e0b5 Added persistent for last config in MVCEntitiesGenerator 2022-08-15 12:35:48 +02:00
Daniele Teti
81aa206b85 More work on Wizard (WIP), added ActiveRecord middleware 2022-08-13 16:10:19 +02:00
Daniele Teti
06ab7af8c8 Improved ActiveRecord middleware (better connections handling in case of huge traffic). New sample "middleware_activerecord" 2022-08-13 15:01:15 +02:00
Daniele Teti
d0098886a5 Improved Wizard adding more middlewares - updated projects 2022-08-13 10:35:53 +02:00
Daniele Teti
821180ea75 Updated LoggerPro, improved Wizard, general code cleaning 2022-08-13 00:21:00 +02:00
Daniele Teti
f8501a8db5 https://github.com/danieleteti/delphimvcframework/issues/553 2022-08-12 10:50:46 +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
de6e7960d7 Improved HTTP schema insertion when not defined in MVCRESTClient 2022-08-09 08:29:39 -03:00
Daniele Teti
31dee93a3e https://github.com/danieleteti/delphimvcframework/issues/565 2022-08-09 13:02:29 +02:00
Daniele Teti
2e91fb631e https://github.com/danieleteti/delphimvcframework/issues/570#issuecomment-1208823039 2022-08-09 12:20:50 +02:00
Daniele Teti
d5c8b8ebb7 https://github.com/danieleteti/delphimvcframework/issues/570 2022-08-08 17:51:21 +02:00
Daniele Teti
d179575108 In case of multiple MVCPath, Swagger consider only the first one (Thanks V.Ferri) 2022-08-05 12:20:20 +02:00
Daniele Teti
552426094c From now on the repo version is marked as "beta" 2022-08-05 12:03:21 +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
b109c6fed8 https://github.com/danieleteti/delphimvcframework/issues/335 2022-08-02 17:07:14 +02:00
Daniele Teti
4a509b0eb0 - Improved nullable types Python generator
- Unit test refactoring
2022-08-01 19:11:42 +02:00
Daniele Teti
40f1f21381 https://github.com/danieleteti/delphimvcframework/issues/485 2022-08-01 11:18:46 +02:00
Daniele Teti
8a6bd1c308 Delphi 10.2 Tokyo Compatibility 2022-07-28 08:58:27 +02:00
Daniele Teti
b89b2727a9 Cleaning some hints 2022-07-26 17:04:39 +02:00
Daniele Teti
5e1e535268 Delphi 10.2 Tokyo Compatibility 2022-07-26 13:56:43 +02:00
Daniele Teti
3a58f036f7 Missed file 2022-07-26 09:31:55 +02:00
Daniele Teti
3405c63544 Compatibility fix for Delphi 10.2 Tokyo (thanks Mark Lobanov) 2022-07-26 09:31:26 +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
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
321e80e403 Improved handling of array of simple types (string, integers, boolean, TDate, TTime, TTimeStamp) 2022-07-22 19:55:27 +02:00
Daniele Teti
ffcaa49ec5 + jsonrpc, works also "EchoArrayOfRecords" method. 2022-07-20 00:27:55 +02:00
Daniele Teti
efadb389c7 + added feature in jsonrpc sample about record parameters for jsonrpc 2022-07-18 19:04:15 +02:00
Daniele Teti
8ed42ee797 + Added example for serialize single record in controller 2022-07-18 18:04:36 +02:00
João Antônio Duarte
140b70ba33 + Adjustments for Delphi Seattle/Berlin compatibility 2022-07-15 15:42:29 -03:00
João Antônio Duarte
9b0f4eae20 + Added methods to allow inserting and manipulating client certificates in MVCRESTClient 2022-07-15 10:00:35 -03: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
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
Daniele Teti
0ff8110640 + jsonrpc can serialize complex record as responses (nestd record with dynamic arrays) 2022-07-05 14:42:41 +02:00
Daniele Teti
6567dc8d19 + Simple echo-call with nested record works correctly (jsonrpc) 2022-07-05 13:20:09 +02:00
Daniele Teti
5684e3b697 - Some IPO when rendering record responses 2022-07-05 12:26:35 +02:00