Commit Graph

79 Commits

Author SHA1 Message Date
Daniele Teti
5c5e3f707b Removed TMVCRESTClient dependencies. (postponed) 2020-09-02 16:13:29 +02:00
João Antônio Duarte
8e0187a408 TMVCRESTClient compatibility fix 2020-08-28 18:21:27 -03:00
João Antônio Duarte
c12f0af6dc Change to pass the ContentType as a string instead of the enumerated type of RESTClient to decrease the clutter, if you want to implement TMVCRESTClient using another HTTP library 2020-08-27 14:32:09 -03:00
João Antônio Duarte
815547b852 Samples changed to use TMVCRESTClient 2020-08-26 17:13:18 -03:00
João Antônio Duarte
e701d8f83c RESTAdapter changed to use TMVCRESTClient 2020-08-26 09:05:12 -03:00
João Antônio Duarte
84bc484344 Various fixes and improvements after unit tests 2020-08-25 20:07:21 -03:00
João Antônio Duarte
ca65b88035 Compatibility improvements between delphi versions. Obtaining response cookies via RTTI for versions prior to Delphi 10.4 Sydney. 2020-08-21 11:22:23 -03:00
João Antônio Duarte
c92ec22fbe Added Cookies to response. Only available from delphi 10.4. See[ RSP-26497](https://quality.embarcadero.com/browse/RSP-26497) 2020-08-20 21:45:51 -03:00
João Antônio Duarte
8afceb53bb Added constants for occurrences of static strings 2020-08-20 19:00:54 -03:00
João Antônio Duarte
7e950800d4 Added asynchronous execution method 2020-08-20 18:35:28 -03:00
João Antônio Duarte
382e7e2715 Correction in function return 2020-08-20 15:38:32 -03:00
João Antônio Duarte
6736c3a662 Improvements in inserting the request body and header. Insertion of new RESTClient methods. 2020-08-20 15:08:41 -03:00
João Antônio Duarte
b5e2ee6f36 The new RESTClient was named TMVCRESTClient.
Added Alias for RESTClient classes based on Indy and marked as deprecated.
2020-08-18 18:19:17 -03:00
João Antônio Duarte
9525c695ec memory leaks removal 2020-08-13 19:43:25 -03:00
João Antônio Duarte
d65fd8fe5d All RESTClient methods implemented 2020-08-08 21:18:36 -03:00
João Antônio Duarte
7c2c10d554 Initial commit of the new base RESTClient in the delphi REST Library 2020-08-03 19:48:35 -03:00
Daniele Teti
6e1978791f First public version of TMVCAPIBinder 2020-03-20 23:08:45 +01:00
Daniele Teti
8144baf40c Nulls support in MVCActiveRecord (check activerecord_showcase sample) 2020-01-06 16:49:18 +01:00
Daniele Teti
f86cbcece0 TRESTClient.BasicAuthentication is enabled if UserName <> '' 2019-08-23 12:12:38 +02:00
Daniele Teti
cc64a564a8 FIXED compatibility problems with XE7 2019-08-02 12:32:31 +02:00
Daniele Teti
9470c85514 Some fixes after the merge of https://github.com/danieleteti/delphimvcframework/issues/241 2019-07-24 20:49:08 +02:00
Daniele Teti
d77c77758f https://github.com/danieleteti/delphimvcframework/issues/230 2019-07-08 19:26:45 +02:00
Pedro
b433abc9a3 Add FHTTP.Request.UserAgent when create FHTTP 2019-05-15 11:25:22 -03:00
Régys Borges da Silveira
15e9d11e7b - Fix to correct read the error message from server. 2019-03-08 10:27:47 -03:00
Daniele Teti
8ed859b7d1 New build system based on pyinvoke 2019-01-08 12:48:53 +01:00
Henrique Gottardi Werlang
8fd6004579 Criado uma propriedade para o usuário conseguir colocar a URL completa, e não em pedaços apenas. 2018-10-24 18:07:31 -03:00
Daniele Teti
70c1e55e94 New MVCActiveRecord showcase samples
New Unit Tests for Compression in TRESTClient
Updated RQL Parser and compilers
New EntitiesGenerator (alpha)
Improved unittests
Updated landing page
2018-10-23 16:18:50 +02:00
Daniele Teti
34bc5e0638 Added JSON-RPC Notification Support
Added IMVCJSONRPCExecutor for a simpler use of JSON-RPC servers
2018-05-16 19:46:35 +02:00
OneideLuizSchneider
f0b6c9a51d Add ProxyUsername and ProxyPassword 2018-03-10 19:51:11 -03:00
Daniele Teti
b49bc82d8b 3.0 RC12 hydrogen 2018-01-29 17:30:53 +01:00
Daniele Teti
ac654658f1 Improved JSON RPC 2.0 Client Sample 2017-10-09 16:17:34 +02:00
Daniele Teti
121b6359e1 - Removed ContentEncoding
FIX https://github.com/danieleteti/delphimvcframework/issues/105
2017-09-08 17:00:46 +02:00
Daniele Teti
fc72c8c49b Some minor fixes.
All protected serializers methods are now public so that is possible to use the low level serialization as was possibile with the old ObjectsMappers.
2017-09-07 00:11:25 +02:00
Daniele Teti
dcc27fa794 ADDED restored LoginURL parameter in the JWT Middleware to customize the login end-point for JWT
ADDED better error checking in the TRESTClient
2017-07-14 18:23:00 +02:00
Daniele Teti
82ef760987 REMOVED ObjectsMappers.pas (finally!) 2017-05-25 16:58:07 +02:00
Daniele Teti
9d0ab1cf45 FIX TRESTAdapter
FIX JSONDataObjects deserialization when some json value is null
Improved IDEExpert (now can generate CRUD methods and there is a more explicative sample method name)
REMOVED delphistompclient from submodules. It will be used as external library not required by the core.
2017-05-17 22:35:07 +02:00
Daniele Teti
980fcbfab8 FIX TRESTClient 2017-04-26 14:40:08 +02:00
Daniele Teti
52e15c4eca refactored some ObjectsMappers responsibilities
Client part of Unit test doesn't compile
2017-04-24 00:21:00 +02:00
Ezequiel Juliano Müller
372bf9bc13 Refactoring, standardizing names and removing unnecessary dependencies. 2017-03-23 14:51:25 -03:00
Daniele Teti
808e3902d1 Moved TMVCHTTPMethodType and TMVCHTTPMethods to MVCFramework.Commons.pas (You controllers may not compile animore without using this unit)
Better mobile support for RESTAdapter
Better IFDEFing
2017-01-18 21:54:16 +01:00
Daniele Teti
ccc8ee90ab FIX OnBeforeAction (Thank you to Marco Mottadelli)
More unit tests
Refactoring for XE6
Updated copyright to 2017
2017-01-05 12:45:51 +01:00
Daniele Teti
c8d176485f Fix with german chars 2016-12-12 14:37:32 +01:00
Daniele Teti
7c2acc9738 Encoding fixes
Preparation for output compression
More unit tests
2016-12-07 19:36:03 +01:00
danieleteti
9eaccd9a3e FIX for DX10 Seattle 2016-09-25 22:31:44 +02:00
danieleteti
6842f5efec IDE Expert: Load optimized configuration for the default generated project (MaxConnections and ListenQueue)
small optimization for body reading in the TWebContext
add sample for CustomAuth
2016-09-20 11:10:47 +02:00
danieleteti
f0670af618 Added custom authentication and authorization middleware 2016-09-16 23:55:11 +02:00
danieleteti
33d62713df Small FIX RESTClient 2016-09-13 19:10:34 +02:00
danieleteti
be7d5d7183 Send DocumentIndex if request route = '/' and index file exists
FIX Charset issue on static contents
2016-09-05 15:34:55 +02:00
danieleteti
f9df7124c1 - added "HasError" and "Error" properties to the IRESTResponse (thank you Mathias Pannier)
- added "Context.Request.QueryStringParams: TStrings"
2016-06-23 12:11:11 +02:00
danieleteti
a102909941 Completed JWT Middleware (Check jsonwebtoken sample to know how to use) 2016-06-23 11:43:15 +02:00