Daniele Teti
9314784e96
Merge pull request #44 from necs-entree/update-dmustache
...
Updated dmustache submodule to include fixes for building with Delphi 10.1 Berlin.
2016-06-27 21:05:28 +02:00
Michael Hubbard
e890748e1c
Updated dmustache to include fixes for building with Delphi 10.1 Berlin.
2016-06-27 10:17:11 -04:00
danieleteti
a7b16623ee
Merge branch 'master' of https://github.com/danieleteti/delphimvcframework
2016-06-23 15:19:06 +02:00
danieleteti
06e75e148b
FIX a bug in /system/describeserver.info
2016-06-23 15:18:50 +02:00
Daniele Teti
475be469cb
Update README.md
2016-06-23 12:40:12 +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
danieleteti
1ef246a589
- Added strongly typed actions
...
- TWebContext param in the actions is optional
- In case of "action not found", the server dont returns NEVER the document index
- Refactoring
- More unit tests
- BasicDemo updated with typed actions
- Copyright updated (just formatting)
2016-06-22 17:50:31 +02:00
danieleteti
422792c92d
Removed some old Lua files
2016-06-19 13:16:38 +02:00
Daniele Teti
9ba40dc86d
Merge pull request #42 from ezequieljuliano/master
...
Refactoring and new features
2016-06-19 13:03:04 +02:00
Ezequiel Juliano Müller
a5c1d5423b
Update Licence
2016-06-16 17:18:18 -03:00
Ezequiel Juliano Müller
04b83cc0f5
Refactoring to:
...
* Enable working with listeners in a DI context.
* Class Changes to provide a better understanding of the functionality;
* Removal singletons variables (not the framework that must manage it);
* README update;
2016-06-16 17:13:35 -03:00
danieleteti
0d0d2d7aad
JWT Middleware sample
2016-05-23 17:26:05 +02:00
danieleteti
c8f22d830c
First version of JWT Middleware.
...
Based on work of "Nie Mand"
2016-05-23 17:23:10 +02:00
Daniele Teti
dd8865ca3f
Update README.md
2016-05-21 22:15:35 +02:00
danieleteti
e1225fdcbe
ADDED JWT Checks for: NotBefore, ExpirationTime, IssuedAt
...
Updated JWT sample
Added more unit tests
2016-05-21 21:56:29 +02:00
danieleteti
214d378cdc
BETA SUPPORT FOR JWT
...
JWT sample jsonwebtokenplain
2016-05-19 12:07:41 +02:00
danieleteti
e2e5d79f30
removed dmvcframework.inc
...
added unittest for JWT
2016-05-19 11:22:58 +02:00
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