Commit Graph

1773 Commits

Author SHA1 Message Date
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
Daniele Teti
12b058e860 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2021-06-12 18:10:29 +02:00
Daniele Teti
2bfacee319 Removed unused RTTI 2021-06-12 18:10:20 +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
a0dbbc272b [+] Improvements to the MVCAREntitiesGenerator 2021-04-30 19:41:23 +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
11c97997b5 [+] updated dmustache 2021-04-23 10:11:05 +02:00
Daniele Teti
c997d0647e [+] Added more tests for injected parameters 2021-04-22 00:13:46 +02:00
Daniele Teti
c0f4860009 [+] Added unit test for MVCFromQueryString and MVCFromHeader 2021-04-21 20:03:13 +02:00
Daniele Teti
e1ab073f10 Updated readme and tasks 2021-04-21 18:24:04 +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
Daniele Teti
36534057d5 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2021-04-12 22:32:02 +02:00
Daniele Teti
d8f24591a0 https://github.com/danieleteti/delphimvcframework/issues/495 2021-04-12 22:31:50 +02: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
37094397dd [+] Small demo changes 2021-04-08 23:04:11 +02: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
a344d96397 [+] Added new sample: swagger_primer 2021-04-07 23:57:05 +02:00
Daniele Teti
bc96a6866a [+] Improved some samples 2021-04-07 19:41: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
ea17335bcd [+] added two new samples (simple_api_using_datasets, simple_api_using_mvcactiverecord). Thiese sample are used in official trainings. 2021-04-06 19:23:30 +02:00
Daniele Teti
a850d2c31d [+] improved an old sample 2021-04-06 19:22:28 +02: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
Daniele Teti
51a15cfaa9 [+] Added connection support for unicode data 2021-04-05 18:45:55 +02:00
Daniele Teti
50b2983e30 [+] added Delphi 10.4.2 LSP files to the .gitignore 2021-04-04 18:16:27 +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