Commit Graph

841 Commits

Author SHA1 Message Date
Daniele Teti
c72eab5423 Merge branch 'pluggable_mapper' of https://github.com/danieleteti/delphimvcframework into pluggable_mapper 2017-09-07 00:11:58 +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
0b9b8a01bf FIX https://github.com/danieleteti/delphimvcframework/issues/83 2017-08-29 11:54:29 +02:00
Daniele Teti
4309d3f0d0 Update CHANGES.TXT 2017-08-22 11:05:35 +02:00
Daniele Teti
910d0e847d Unit tests migrated from DUnit to DUnitX 2017-08-21 15:32:08 +02:00
Daniele Teti
07b6748f09 Merge pull request #97 from leogregianin/pluggable_mapper
Migrate from DUnit to DUnitX in pluggable_mapper branch
2017-08-21 12:20:45 +02:00
Leonardo Gregianin
efa7141139 Migrate from DUnit to DUnitX in pluggable_mapper branch 2017-08-19 20:36:22 -04:00
Daniele Teti
04dcce6298 Merge pull request #95 from leogregianin/master
Fix import to run in Delphi Starter Edition
2017-08-18 19:53:18 +02:00
leogregianin@gmail.com
2b5ccfe7d8 Fix import to run in Delphi Starter Edition 2017-08-18 13:13:13 -04:00
Daniele Teti
f24ccc5d69 Merge pull request #91 from fabriciocolombo/patch-1
Fixed broken link and modified others to use relative links.
2017-07-19 17:47:38 +02:00
Fabricio Colombo
014732ed15 Fixed broken link and changed others to relative links. 2017-07-18 21:45:05 -03:00
Daniele Teti
59b6208356 https://github.com/danieleteti/delphimvcframework/issues/90 2017-07-17 11:48:26 +02:00
Daniele Teti
c876916400 RC8 FIXED 2017-07-17 10:42:13 +02:00
Daniele Teti
b3e0bbdf91 RC8
ADDED new action in the renders.dproj sample to show how to render a list with metadata using a wrapper object
CHANGE Optimized some rtti searches in the MVCFramework.Serializer.Abstract.pas
ADDED Cache support for internal use
CHANGED Restored JWT aLoginURL Paramater
ADDED LiveValidityWindowInSeconds for JWT (check the new sample)
2017-07-16 19:39:03 +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
d3c2f7fda2 ADDED Integrated serializers unit tests running in the main build process 2017-07-12 13:15:13 +02:00
Daniele Teti
99d2951078 ADDED Support for enumeration also for JSONDataObject base serializer 2017-07-12 11:39:50 +02:00
Daniele Teti
8eb55556bc ADDED support for enumeration types in System.JSON based serializer 2017-07-12 01:02:59 +02:00
Daniele Teti
e52aacc391 ADDED LiveValidityWindowsInSeconds to the JWT classes. 2017-07-12 00:32:37 +02:00
Daniele Teti
23b8c3c1af 3.0.0 hydrogen RC7 2017-07-05 00:28:53 +02:00
Daniele Teti
f108357a92 FIX JWT (ported from 2.x branch (247f25e519)
SSE Sample updated
2017-07-05 00:19:38 +02:00
Daniele Teti
247f25e519 Merge pull request #85 from Fulgan/master
Fixed JWT encoding
2017-07-04 23:38:02 +02:00
Stephane Grobety
50666dfc6c TJWT.loadObject using correct decoding routine 2017-07-04 09:24:16 +02:00
Stephane Grobety
5516317dc1 Fix trimming of empty strings 2017-07-04 09:23:09 +02:00
Stephane Grobety
829f3d3821 re-integrated code from master 2017-07-03 17:07:56 +02:00
Stephane Grobety
d5dde06dc2 Fixed JWT encoding
JWT must use base64url encoding/decoding, not base64
2017-07-03 16:57:16 +02:00
Daniele Teti
3755aba55e Merge pull request #84 from Fulgan/patch-1
Changed HMACs to be extensible/replaceable
2017-07-02 23:07:12 +02:00
Fulgan
b45de0781d Changed HMACs to be extensible/replaceable
Used an interface for HMAC registration instead of hard-coding against Indy classes. Wrote a wrapper for Indy HMAC classes (interfaced class factory). This should allow for easy extension/replacement of HMAC implementations.
2017-06-28 09:15:22 +02:00
Daniele Teti
d6a04c89c2 3_0_0_hydrogen_RC6 2017-06-22 16:19:13 +02:00
spinettaro
183f6c3179 fixed session cookie expiration 2017-06-12 18:15:37 +02:00
Daniele Teti
d624535e85 ROUTER Optimization (50% faster) 2017-06-02 00:12:00 +02:00
Daniele Teti
85cbbd555d SAMPLE CustomLogger is Linux compatible 2017-06-01 14:46:24 +02:00
Daniele Teti
0f13035a7a Update README.md 2017-05-31 09:41:10 +02:00
Daniele Teti
7f9580a64e FIX now CORS + JWT middlewares works together 2017-05-31 08:49:03 +02:00
Daniele Teti
8e18ced5d7 3.0.0 hydrogen RC5 2017-05-25 20:27:08 +02:00
Daniele Teti
82ef760987 REMOVED ObjectsMappers.pas (finally!) 2017-05-25 16:58:07 +02:00
Daniele Teti
0d8e5f842a Added serversentevents sample
Handled AutoRefCount properties on ARC platform
2017-05-25 12:31:05 +02:00
Daniele Teti
7517df93c6 Merge pull request #80 from janidan/RolebasedAuthHandler
Attribute driven Rolebased Authorization Handler
2017-05-25 10:32:02 +02:00
Daniele Teti
a678421e06 Updated sample render
JsonDataObjects Serializer not produced compact json
2017-05-25 10:31:26 +02:00
Daniele Teti
f450598c13 ADDED IDE Splash Icon 2017-05-19 00:47:25 +02:00
Daniele Teti
e887e9a0b8 3.0.0 hydrogen RC4 2017-05-18 17:14:46 +02:00
janidan
cbd83751ee Added contribution message 2017-05-18 07:02:07 +02:00
Daniele Teti
ff1bc73949 ADDED an action which uses a custom serializer in sample "renders.dproj"
NEW the JsonDataObjects based serializer is the default serializer
FIX Rendering a nil value, will result in a "null" json (with the json serializers)
2017-05-18 00:38:19 +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
janidan
6d9e584926 Added functionality to allow the definition of OR connected Roles 2017-05-16 18:34:47 +02:00
janidan
256a629360 Added basic requires Authentication Attribute 2017-05-16 07:18:06 +02:00
janidan
ab519d45db Added feature to add dynamic roles that can resolve request parameters. e.g. [MVCRequiresRole('($branch):read:customers')] on a controller that supplies the GET /branch/EUROPE/customers resource. 2017-05-15 14:58:13 +02:00
janidan
3655618527 Removed old version of RoleBasedAuthHandler and minor cleanup in sample project 2017-05-15 10:35:37 +02:00
janidan
ccb0ec37d8 Implemented initial version of a role based auth handler. See sample for usage. 2017-05-12 12:48:44 +02:00
Daniele Teti
d2b024ff43 Updated Angular Project
FIX ErrorObj from TRESTClient
2017-05-12 00:26:29 +02:00