Daniele Teti
82ca77ab60
Renamed "Render(AErrorCode: Integer etc" in "RenderStatusMessage(etc..."
2022-10-26 19:31:54 +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
4a509b0eb0
- Improved nullable types Python generator
...
- Unit test refactoring
2022-08-01 19:11:42 +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
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
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
a8ce1bb25b
+ Updated copyright for 2022
2022-01-04 15:44:47 +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
444e085d4f
+ request content type are decoded only for mtPut, mtPost, mtPatch
...
+ added XMLDoc comment to rest client methods which directly maps HTTP VERBS
2021-08-13 17:06:15 +02:00
Daniele Teti
c997d0647e
[+] Added more tests for injected parameters
2021-04-22 00:13:46 +02:00
Daniele Teti
c0f4860009
[+] Added unit test for MVCFromQueryString and MVCFromHeader
2021-04-21 20:03:13 +02:00
Daniele Teti
244c70084e
[+] Improved ThreadSafeQueue
...
[+] Added MVCJSONRPCAllowGET attribute
2021-02-23 18:00:32 +01:00
Daniele Teti
2c79ff6c6a
[+] Unit test refactoring
2021-02-04 14:11:33 +01: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
de95bb19cf
Added postgres tests with a lite version of portgresql 13.1
2020-12-12 19:26:18 +01:00
João Antônio Duarte
972237a17a
Testing adjustments to work with the new RESTClient
2020-11-29 10:34:02 -03:00
João Antônio Duarte
181cf5aba9
Merge branch 'master' into feature_restclient
2020-11-27 14:14:41 -03:00
Daniele Teti
967a5322a1
https://github.com/danieleteti/delphimvcframework/issues/432
2020-11-27 15:13:17 +01:00
João Antônio Duarte
8ba8213a6e
Compatibility adjustments in the new RESTClient
2020-11-10 19:13:02 -03:00
João Antônio Duarte
9c43f85b33
Merge branch 'master' into feature_restclient
2020-11-09 07:55:06 -03:00
Daniele Teti
4a65b78fb5
https://github.com/danieleteti/delphimvcframework/issues/434
2020-11-04 19:06:54 +01:00
João Antônio Duarte
cf7c81520b
Added SessionId method to improve DMVC server session management. SetBasicAuthorization and SetBearerAuthorization methods changed to persist authorization for all requests.
2020-09-24 15:03:11 -03:00
João Antônio Duarte
a07043fe1a
Asynchronous methods added. Fixes unit tests.
2020-09-21 20:32:21 -03:00
João Antônio Duarte
e30e93f72d
Merge remote-tracking branch 'upstream/master' into feature_restclient
2020-09-21 19:31:26 -03:00
João Antônio Duarte
950c81cd28
Merge branch 'master' into feature_restclient
2020-09-21 19:06:01 -03:00
Daniele Teti
19fc11a16c
https://github.com/danieleteti/delphimvcframework/issues/421
2020-09-21 12:42:38 +02:00
Daniele Teti
e3f5210b6c
Small test refactoring
2020-09-18 09:44:01 +02:00
João Antônio Duarte
b21096b515
RESTClient improvements and LiveTest adjustments
2020-09-17 20:06:24 -03:00
João Antônio Duarte
a9aad4912f
Adjustments after the merge
2020-09-16 15:01:50 -03:00
João Antônio Duarte
152756cb03
Merge remote-tracking branch 'upstream/master' into feature_restclient
2020-09-16 14:50:42 -03:00
Daniele Teti
f63cc4469b
Improved StaticFilesMiddleware
2020-09-16 15:56:14 +02:00
Daniele Teti
2ae2068807
Improved TMVCStaticFilesMiddleware
2020-09-14 15:52:50 +02:00
João Antônio Duarte
a870bca81b
data decompression improvements
2020-09-11 22:24:38 -03:00
João Antônio Duarte
719883282e
Merge branch 'master' into feature_restclient
2020-09-11 18:05:46 -03:00
João Antônio Duarte
715a31c0f6
Improvements in the submission of the request body and corrections in handling the response.
2020-09-11 14:55:26 -03:00
Daniele Teti
b27db6122e
Improved EMVCException rendering, added unit tests (202 so far)
2020-09-08 15:25:44 +02:00
Daniele Teti
fe62799eee
Reverted all unit test as were before TMVCRESTClient
2020-09-06 15:38:25 +02:00