Commit Graph

888 Commits

Author SHA1 Message Date
Daniele Teti
4986d9ba3f New! Added the new MVCOwned attribute which allows to auto-create nested objects in the deserialization phase. This will not change the current behavior, you ned to explocitly define a property (or a field) as MVCOwned to allows the serialization to create or destroy object for you. 2021-08-17 15:10:58 +02:00
Daniele Teti
6837182cc3 + updated copyright header 2021-08-15 18:39:55 +02:00
Daniele Teti
56c3732011 + TMVCJWTBlackListMiddleware has been moved in unit MVCFramework.Middleware.JWT and MVCFramework.Middleware.JWTBlackList has been removed 2021-08-15 16:01:20 +02:00
Daniele Teti
b5e255ffe0 + Not JWTBlackList middleware returns 204 instead of 200 when a token is blacklisted
+ Improved JWTBlackList sample
2021-08-15 15:55:18 +02:00
Daniele Teti
e8334bfdb9 + TMVCJWTBlackListMiddleware 2021-08-14 00:48:37 +02:00
Daniele Teti
9e07af91dc + Added new default parameter to TMVCActiveRecord.RemoveDefaultConnection and TMVCActiveRecord.RemoveConnection to avoid exceptions in case of not initialized connection. 2021-08-13 18:05:48 +02:00
Daniele Teti
c97e90077d Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2021-08-13 17:06:24 +02:00
Daniele Teti
444e085d4f + request content type are decoded only for mtPut, mtPost, mtPatch
+ added XMLDoc comment to rest client methods which directly maps HTTP VERBS
2021-08-13 17:06:15 +02:00
João Antônio Duarte
f5334c0e60 [+] Fix https://github.com/danieleteti/delphimvcframework/issues/512 2021-08-11 07:50:35 -03:00
Daniele Teti
cde2fb2d69 https://github.com/danieleteti/delphimvcframework/issues/511 2021-08-11 00:33:47 +02:00
Daniele Teti
c28c5f0832 https://github.com/danieleteti/delphimvcframework/issues/513 2021-08-11 00:21:04 +02:00
João Antônio Duarte
147bef3556 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2021-08-02 09:54:08 -03:00
João Antônio Duarte
1914c4c8e4 [+] Fix https://github.com/danieleteti/delphimvcframework/issues/501 2021-08-02 09:53:11 -03:00
Daniele Teti
33bad2c9ee Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2021-07-28 10:40:05 +02:00
Daniele Teti
c8e8a007f2 https://github.com/danieleteti/delphimvcframework/issues/509 2021-07-28 10:39:54 +02:00
Microcom-Bjarne
61204caa07
Introducing a way to handle poor column names, that conflicts with reserved words. (#499) 2021-07-27 15:02:49 +02:00
Daniele Teti
a408b8fe49 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2021-07-22 19:13:32 +02:00
Daniele Teti
0ac7cf2158 [+] All hooks methods in JWT Middleware are now virtual - it is useful to migrate to dmvcframework from other rest framework 2021-07-22 19:13:23 +02:00
João Antônio Duarte
9fc7a0111e [+] Fix for compatibility with delphi Berlin. 2021-07-16 18:55:33 -03:00
Daniele Teti
c7bb9858ef [+] Added Context.Request.Query method which returns the RawWebRequest property 2021-07-03 11:30:05 +02:00
Daniele Teti
ac2a03a804 [+] added RaiseIfNotFound parameter in TMVCActiveRecord.Update and TMVCActiveRecord.Delete 2021-06-27 15:14:37 +02:00
Daniele Teti
afc593fe4e MVCFromBody can inject raw body as string into actions parameter 2021-06-12 18:30:07 +02:00
João Antônio Duarte
d51e9f006b [+] Fixed Schema JSON Swagger generation for array and TList type fields.FieldName
Fix https://github.com/danieleteti/delphimvcframework/issues/502
2021-06-11 14:36:47 +02:00
João A. Duarte
c0baeb34a0
Serializer improvements (#486)
* Added support for custom serializers for lists

* Added custom serializer sample for Spring collections
2021-06-01 15:10:45 +02:00
João Antônio Duarte
832d71d436 [+] Fix https://github.com/danieleteti/delphimvcframework/issues/492 2021-05-19 16:17:47 -03:00
João Antônio Duarte
f4808734bc [+] Fix for compatibility with Delphi Tokyo 2021-05-18 12:05:29 -03:00
Daniele Teti
4938f08e8c Merge branch 'feature_activerecord_merge' 2021-05-14 18:27:50 +02:00
Daniele Teti
f1511b4109 https://github.com/danieleteti/delphimvcframework/issues/496 2021-05-14 18:26:46 +02:00
João Antônio Duarte
b4b217dc91 [+] Added support for the length of string fields in the Swagger JsonSchema definition 2021-05-12 10:26:55 -03:00
Daniele Teti
662d86e57a completed merge - working on the master_details sample 2021-05-03 19:29:01 +02:00
Daniele Teti
962bd6fbf3 Almost completed merge method for tmvcactiverecord 2021-04-29 22:52:28 +02:00
Daniele Teti
d9ebea3d0f [+] Almost complete work on MultiExecutor - we need an elegant and efficient way to handle primary keys of multiple types 2021-04-27 22:57:15 +02:00
Daniele Teti
13a6d1a6af [+] Introduced TMVCUnitOfWork - still doesn't work 2021-04-26 23:01:31 +02:00
Daniele Teti
57f9992bb4 First version of 'merge' method - used to create a UOW in case of updating a list of active records 2021-04-25 22:40:06 +02:00
Daniele Teti
0a3e0243ba [+] Now the injectable parameters can be defined with a default value 2021-04-21 18:19:51 +02:00
Daniele Teti
0f5587361f [+] Added MVCFromBodyAttribute, MVCFromQueryStringAttribute, MVCFromHeaderAttribute, MVCFromCookieAttribute] 2021-04-21 12:22:09 +02:00
João Antônio Duarte
0ca88bc02c [+] Fixed memory leaks 2021-04-14 10:53:02 -03:00
João Antônio Duarte
e7e5ce5cdf [+] Added ability to access or assign a serializer to the TMVCRESTClient 2021-04-11 17:37:14 -03:00
Daniele Teti
7a9aa77ed2 [+] Improved MVCAREntitiesGenerator 2021-04-08 00:33:27 +02:00
Daniele Teti
c5409443a0 [+] Added "Data" property to the TJWT class. This property is of type TObject but the JWTMiddleware injects TMVCWebRequest during the token generation. Is useful to affect the JWT generation considering some data coming from the client. 2021-04-08 00:00:08 +02:00
Daniele Teti
a478508850 [+] Added ability to show the entities managed by the TMVCActiveRecordController directly in the /system/describeserver.info 2021-04-07 23:58:02 +02:00
Daniele Teti
79f4dd1384 [+] Fixed a problem with parameter names when when fields contains spaces 2021-04-07 19:40:23 +02:00
Daniele Teti
f0c29801ea [+] All article CRUD samples in one project group 2021-04-07 19:14:12 +02:00
Daniele Teti
585207e8c5 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2021-04-07 09:16:45 +02:00
Daniele Teti
f736c72e5b [+] Regression for "with spaces". More work needed. 2021-04-07 09:16:28 +02:00
João Antônio Duarte
b0df0b1f5a [+] Improved SnakeCase conversion 2021-04-06 19:50:50 -03:00
Daniele Teti
3f4d006295 [+] added default parameter to StrToJSON* functions 2021-04-06 19:21:53 +02:00
Daniele Teti
5516b49345 no message 2021-04-05 19:35:46 +02:00
João Antônio Duarte
468229545d [+] Added constant for HTTP status code 429 2021-03-26 11:03:22 -03:00
Daniele Teti
8ec3d5dbad Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2021-03-24 11:01:04 +01:00