Commit Graph

817 Commits

Author SHA1 Message Date
danieleteti
d8abc1590a FIX project file 2016-09-05 15:39:24 +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
Ezequiel Juliano Müller
bc425918b2 Add validation for JSON Null time field conversion. 2016-09-02 11:12:53 -03:00
danieleteti
b760489777 enabled for console unit test 2016-08-24 16:08:32 +02:00
danieleteti
75383cf0c3 Mapped parameters names can contein "_" (underscore) 2016-08-24 15:34:29 +02:00
danieleteti
617bfe47e6 Refactoring 2016-08-09 13:11:13 +02:00
danieleteti
6cbfffdb50 Disabled STOMP Extension. Need refactoring. 2016-08-09 13:08:33 +02:00
danieleteti
e6dc5e9370 Refactoring
Improved examples
2016-08-02 18:15:14 +02:00
danieleteti
f07463ea5a Fixes 2016-07-26 17:41:09 +02:00
danieleteti
4a715f66ee VirtualHosts 2016-07-26 11:21:20 +02:00
danieleteti
599054a8fb TUTORIAL 2016-07-12 17:17:10 +02:00
danieleteti
241d97fe0c Merge branch 'master' of https://github.com/danieleteti/delphistompclient 2016-06-28 15:22:14 +02:00
danieleteti
805c6ae050 BUG fixes + deprecations 2016-06-28 15:21:58 +02:00
danieleteti
5601767e04 - added method TWebContext.SessionStarted (check sample Sessions to see how it works)
- added method TWebContext.SessionID
- added unit test for TWebContext.SessionStarted
2016-06-28 13:44:09 +02:00
danieleteti
6ea5db6750 Updated the IDE expert to be compliant with the new action prototype. 2016-06-27 21:07:07 +02:00
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