Daniele Teti
119238df9e
Merge branch 'master' of https://github.com/danieleteti/delphimvcframework
2016-11-07 12:24:40 +01:00
Daniele Teti
54c82554e6
ADD Cache support based on Redis
...
MVCFramework.Controllers.CacheController.pas
2016-11-07 12:24:13 +01:00
spinettaro
3f0eb0d040
added support to serialize json null value as nil in object property
...
added relative test TestJSONObjectToObjectWithNullInJSONString
2016-10-26 14:42:45 +02:00
Daniele Teti
160bb8d51e
ADDED
...
AllowedOriginURL: string = '*'
AllowsCredentials: Boolean = true
In CORS Middleware
2016-10-12 13:11:19 +02:00
danieleteti
bd10056c6f
https://github.com/danieleteti/delphimvcframework/issues/56
2016-10-11 11:39:57 +02:00
danieleteti
4d1427d859
-IDE Expert small bug fix
...
- ADDED Paremeter "ARewindStream" to procedure SendStream(AStream: TStream; AOwnStream: Boolean = true;
ARewindStream: Boolean = false); virtual;
2016-10-10 16:11:48 +02:00
danieleteti
78f635c720
Added Apache 2.4 for windows in the "apache module sample" folder.
2016-10-10 15:49:10 +02:00
danieleteti
dc690bf0e1
Merge branch 'master' of https://github.com/danieleteti/delphimvcframework
2016-10-05 23:32:31 +02:00
danieleteti
115e856d04
DelphiREDISClient changed a method name
2016-10-05 23:32:11 +02:00
spinettaro
afe014b331
added assert to check _DefaultLogger initialization
...
initialized description string for ControllerMethods retrieved by describeserver.info
2016-10-03 18:18:48 +02:00
danieleteti
ecc4947290
ADDED LoadViewFragment
...
ADDED TMVCMediaType.TEXT_CSV
2016-10-02 17:44:45 +02:00
danieleteti
3672a73b8d
Names refactoring
...
Added TMVCController.RenderWrappedList to renders heterogeneous lists
2016-09-30 11:44:30 +02:00
spinettaro
d689e92642
added support in TMVCController and ObjectsMappers to serialize a IWrappedList
...
added link to LoggerPro in tests projects
2016-09-29 18:17:26 +02:00
MPannier
07dcef7eab
added ReleaseGlobalLogger in MVCFramework.Logger.pas
...
added ParamsAsInt64 for TMVCWebRequest
added some "more Results" in TRTTIUtils.TValueAsString
2016-09-27 14:33:51 +02:00
MPannier
af0e4fdca7
removed Iocp.Logger.pas (no longer needed)
...
Delphi XE3 adjustments
added some missing consts to paramters (thanks to FixInsight; there are a lot more hints)
2016-09-27 14:22:17 +02:00
MPannier
751069cb07
Delphi XE3 adjustments
...
corrected search path in sample projects
2016-09-27 13:49:24 +02:00
danieleteti
9eaccd9a3e
FIX for DX10 Seattle
2016-09-25 22:31:44 +02:00
danieleteti
83f5b378ed
Possibile FIX for a RTL bug. IT works now on Berlin and Seattle.
2016-09-25 22:25:06 +02:00
danieleteti
ce80bb79fd
Refactoring
2016-09-25 16:17:48 +02:00
danieleteti
c443fffa44
FIX https://github.com/danieleteti/delphimvcframework/issues/48
2016-09-20 11:27:37 +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
0d3b591174
Added CopyRight info were not present
2016-09-18 19:19:43 +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
Ezequiel Juliano Müller
6e7db429ff
Merge branch 'master' of https://github.com/danieleteti/delphimvcframework into HEAD
...
# Conflicts:
# lib/dmustache
2016-09-06 11:02:14 -03:00
danieleteti
0f5f101802
Updated File CHANGES.TXT
2016-09-06 10:41:31 +02:00
danieleteti
6875ff3704
Added LoggerPro as git submodule
...
Updated MVCFramework.Logger.pas to use LoggerPro instead of the modified version of IOCPLogger
Added CustomLoggerSample.dproj
Removed IOCP dependencies
2016-09-06 10:33:09 +02:00
danieleteti
ef345debe5
FIX readded Pre XE7 support
2016-09-06 08:37:54 +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
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
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
06e75e148b
FIX a bug in /system/describeserver.info
2016-06-23 15:18:50 +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
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
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
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
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