Commit Graph

180 Commits

Author SHA1 Message Date
Daniele Teti
fea6b0c273 Added support for TSQLTimeStampOffset in dataset derialization and deserialization 2024-03-19 16:05:17 +01:00
Daniele Teti
b2ce859b4e https://github.com/danieleteti/delphimvcframework/issues/730 2024-02-12 18:11:48 +01:00
Daniele Teti
90dcd3bdfe Copyright updated to 2010-2024 2024-01-02 17:04:27 +01:00
Daniele Teti
e1aa50dd86 Delphi12 compatibility 2023-11-06 12:37:33 +01:00
Daniele Teti
329aaa9190 Added more tests on "functional actions" 2023-07-19 12:29:16 +02:00
Daniele Teti
61d021b92a Improved dataset handling for functional actions. 2023-07-19 11:10:21 +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
17d9afc58e https://github.com/danieleteti/delphimvcframework/issues/667 2023-06-21 12:56:21 +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
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
fc9fffb9e7 Updated copyright message, removing some warnings 2023-01-17 08:52:26 +01:00
Daniele Teti
4a25c05811 https://github.com/danieleteti/delphimvcframework/issues/590 2022-11-24 08:53:27 +01:00
Daniele Teti
071f3fb58f https://github.com/danieleteti/delphimvcframework/issues/589 2022-11-07 21:35:04 +01:00
Daniele Teti
d2a9bf34dd https://github.com/danieleteti/delphimvcframework/issues/591 2022-11-07 19:22:25 +01: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
5f3672a36a Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2022-08-28 13:06:26 +02:00
Daniele Teti
ee6075d6a2 Improved MVCARAntitiesGenerator (WIP), Improved TMVCActiveRecord.Merge method 2022-08-28 13:06:16 +02:00
João Antônio Duarte
ff5565b5ac Fix warnings 2022-08-23 12:14:12 -03: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
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
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
b89b2727a9 Cleaning some hints 2022-07-26 17:04:39 +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
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
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
João Antônio Duarte
bfcaca045d Improved support of new MVCSerializeGuidWithoutBracesAttribute attribute for TGUID and NullableTGUID types 2022-06-24 14:50:23 -03:00
Daniele Teti
7ea0b3c921 + JSONRPC works with simple record not nested 2022-06-23 20:24:57 +02:00
Daniele Teti
8c67718407 Merge branch 'master' into feature_jsonrpc_records
# Conflicts:
#	sources/MVCFramework.JSONRPC.pas
2022-06-23 15:58:25 +02: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
63cc2aa4c6 + First changes to allow records as JSONRPC parameters 2022-05-25 15:13:49 +02:00
Daniele Teti
ff9fe81426 https://github.com/danieleteti/delphimvcframework/issues/533 2022-04-05 17:17:35 +02:00