Commit Graph

2084 Commits

Author SHA1 Message Date
danieleteti
8a96b65242 Base64 Uses INDY encoder/decoder because the TnetEncoding class adds multilines which breaks token.
I've used indy also because TNetEncoding is available only since XE7 upward
2016-05-18 19:10:59 +02:00
danieleteti
2012285fd7 beta support for JSON Web Tokens 2016-05-18 18:21:46 +02:00
danieleteti
902732bcdf changed Body: TStringStream to Body: TStream 2016-05-13 17:20:11 +02:00
danieleteti
43c3881cc4 ADDED the followings method to TMVCController
-RenderJSONArrayAsProperty
-EnsureQueryParamExists
2016-05-11 10:40:12 +02:00
danieleteti
b96e9822c6 SAMPLE fix 2016-05-03 19:14:45 +02:00
danieleteti
d11111aa41 ADDED cookies support to the rest client
ADDED demo for cookies utilization
REFACTORED some samples
2016-04-24 19:08:25 +02:00
danieleteti
8d0e9dec45 ADDED support for ftLongWord in Mapper.DataSetToJSONObject and Mapper.JSONObjectToDataSet 2016-04-24 18:01:46 +02:00
danieleteti
84de767a15 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2016-04-22 09:46:42 +02:00
danieleteti
8f1d0ddf56 ADD Render(TTextWriter) 2016-04-22 09:46:28 +02:00
Daniele Teti
bbe136cb5f Update README.md 2016-04-20 11:04:08 +02:00
danieleteti
40fd543a60 Added "DocumentIndex" functionality 2016-04-20 11:02:28 +02:00
danieleteti
cacdabdbb7 Session refactoring
Now session is available also with Context.Session
2016-04-03 22:36:13 +02:00
danieleteti
ca0e79a27b Added VCLClient for AuthenticationAuthorization sample 2016-03-29 11:04:41 +02:00
danieleteti
06c9caa616 ADDED Mapper.LoadJSONObjectToObject
ADDED UnitTest for Mapper.LoadJSONObjectToObject
2016-03-24 15:30:18 +01:00
danieleteti
9d24461a24 https://github.com/danieleteti/delphimvcframework/issues/36 2016-03-23 15:25:05 +01:00
danieleteti
0d47d23534 pasdoc required file 2016-03-23 14:05:14 +01:00
danieleteti
34d44f1cfe fixed some border cases bug in samples/fileupload/FilesUploadDemo.dproj
removed unused variables in ObjectsMappers.pas
2016-03-23 10:13:35 +01:00
danieleteti
388ed31a0b FIX Basd64 Stream serialization
ADDED Unit test for Stream de/serialization
2016-03-23 00:29:58 +01:00
danieleteti
5a2e1788f6 Cleaner logger threads shutdown 2016-03-14 23:56:41 +01:00
danieleteti
12e44453a9 FIX mustache server side views encoding 2016-03-14 23:36:47 +01:00
Daniele Teti
9e902c24e2 Merge pull request #33 from MPannier/master
Delphi XE 3 compatibility / TRESTClient ProxyServer / small improvements
2016-03-04 22:55:38 +01:00
MPannier
b907db3143 removed double IsNull checking in Mapper.DataSetToJSONObject (IsNull is checked at the beginning of the for loop) 2016-03-03 17:20:23 +01:00
MPannier
9c824aaf45 added BasicDemoVCLClient (to test use of a proxy server)
added properties ProxyServer and ProxyPort to TRESTClient (e.g. to use Fiddler Web Debugger to trace http calls in a VCL Client)
2016-03-03 17:07:34 +01:00
MPannier
40d7220d5d removed Context.Response.SetCustomHeader('Content-Length' in TMVCStaticContents.SendFile; See comment 2016-03-03 16:50:55 +01:00
MPannier
fe387256ed Delphi XE 3 compatibility (dproj - files are now XE3 files)
search path adjusted (demos work without global search path)
added project group for all demos that could be compiled with XE 3
2016-03-03 16:32:50 +01:00
Mathias Pannier
a28258ccb5 Merge pull request #1 from danieleteti/master
sync my fork with the master
2016-03-02 07:43:17 +01:00
danieleteti
d39854a8b3 Integrated the path from Mathias Pannier regarding http://qc.embarcadero.com/wc/qcmain.aspx?d=67350 2016-03-01 22:50:32 +01:00
danieleteti
3db155ee16 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2016-02-29 14:55:34 +01:00
Daniele Teti
f8622dadc4 Merge pull request #30 from MPannier/master
Delphi XE3 compatibility
2016-02-29 14:55:12 +01:00
MPannier
0f15eb36e5 Delphi XE3 compatibility
Signed-off-by: danieleteti <d.teti@bittime.it>
2016-02-29 14:52:26 +01:00
Daniele Teti
9184a951db Merge pull request #31 from ezequieljuliano/master
Add constructor delegate to controllers
2016-02-29 14:32:51 +01:00
Ezequiel Juliano Müller
95427f674b Merge branch 'master' of https://github.com/danieleteti/delphimvcframework into HEAD
# Conflicts:
#	sources/MVCFramework.Server.pas
#	sources/MVCFramework.pas
#	unittests/Several/FrameworkTestsU.pas
2016-02-29 10:08:48 -03:00
Ezequiel Juliano Müller
756b7683a0 Add constructor delegate to controllers. This aims to integrate with frameworks to dependency injection. 2016-02-29 09:48:36 -03:00
MPannier
288bab755d Delphi XE3 compatibility 2016-02-29 13:03:52 +01:00
danieleteti
2c41c13fd4 Added ExposeServerSignature config key
Added ServerName config key (tristan)
Updated IDEEXPERT with ExposeServerSignature settings (default false)
Updated some sample
2016-02-28 19:06:05 +01:00
danieleteti
80be08f7fc FIX about session cookie 2016-02-28 18:35:50 +01:00
danieleteti
51feaf2f33 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2016-02-28 18:18:14 +01:00
Daniele Teti
263255e54e Merge pull request #29 from NickHodges/master
Two small fixes
2016-02-28 18:16:31 +01:00
Nick Hodges
bed89cd075 Fixed typo in DPR file. 2016-02-28 10:56:33 -05:00
danieleteti
07ede08700 ideexpert image 2016-02-27 10:52:27 +01:00
Daniele Teti
7975636546 Update README.md 2016-02-27 10:27:01 +01:00
danieleteti
62c373da31 removed Lua dependencies.
The sub-project now is available as separated project https://github.com/danieleteti/lua4delphi
2016-02-27 10:19:40 +01:00
danieleteti
58ee13c294 ref update 2016-02-27 10:09:36 +01:00
danieleteti
fc9b8ed78f Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2016-02-27 10:08:29 +01:00
danieleteti
51fe8bac94 MAPPER FIX about ISOStrToDateTime without seconds
MAPPER UnitTests Refactoring
2016-02-27 10:08:07 +01:00
danieleteti
462af4c68f Added TMVCController.GetRenderedView 2016-02-27 09:58:54 +01:00
Ezequiel Juliano Müller
89cfe605ab Merge branch 'master' of https://github.com/danieleteti/delphimvcframework into HEAD 2016-02-26 15:59:46 -03:00
danieleteti
b3eb242323 RENDERS Sample: Server Side View 2016-02-26 19:26:24 +01:00
danieleteti
472d387a83 sample renders: server view 2016-02-26 19:25:41 +01:00
danieleteti
6e286ee5c3 Render a server side view 2016-02-26 19:21:57 +01:00