Commit Graph

548 Commits

Author SHA1 Message Date
Daniele Teti
fd7f508c1b + Swagger for inherited controllers amost works 2021-12-31 18:00:54 +01:00
Daniele Teti
f119fb0a13 + added Lua4Delphi 2021-12-30 10:21:38 +01:00
Daniele Teti
f1fa322632 + CustomIntfObject support 2021-12-30 00:45:19 +01:00
Daniele Teti
810282b89e + added eLua server side view support. eLua views requires Lua dlls so the LuaViewEngine is not included in the core but in the sample folder 2021-12-30 00:36:35 +01:00
Daniele Teti
02de5b11ea - Added default filtering for TMVCActiveRecord descendants (more info ASAP)
- Added partitioning for `TMVCActiveRecord descendants` (more info ASAP)

- After a big refactoring (*"I love to delete code" -- cit. Daniele Teti*), support a new SQLGenerator is just 2 (two) methods away!
2021-11-21 19:27:06 +01:00
Daniele Teti
c231e6540e + added test for default filtering 2021-11-18 17:52:06 +01:00
Daniele Teti
5550819fca + Fixed a bug in RQL' MaxRecordCount
+ Implemented Table Partitioning (WIP)
2021-11-18 00:49:12 +01:00
Daniele Teti
49518a311b + table filtering (WIP) 2021-11-17 15:36:20 +01:00
Daniele Teti
07dc4d8569 + fixed fileuploaddemo 2021-11-05 09:53:01 +01:00
João Antônio Duarte
58e53dd9b0 + Added Host and BasePath parameters to the Swagger middleware to make it possible to define a custom BaseURL for the documentation 2021-10-21 20:18:49 -03:00
João Antônio Duarte
932a1a6ac5 Swagger UI updated to version 3.52.5 2021-10-21 20:15:10 -03:00
Daniele Teti
07e16c1e1f - added AddDefaultConnection overload
- added helper methods to IMVCRESTResponse
2021-10-20 11:29:49 +02:00
Daniele Teti
79407d71e1 - create include files to easily mantain aligned all the dpks
- still facing with this issue in Delphi 11 Alexandria (https://quality.embarcadero.com/browse/RSP-35516). Compression works, but the debugger catches an exception raised in "normal cases".
2021-09-29 19:30:14 +02:00
Daniele Teti
ddf1ba1aca - Improved lazy loading for Context.Data property 2021-09-26 18:17:13 +02:00
Daniele Teti
e3eb26e04a + added more unit test for TMVCActiveRecord.Merge method 2021-09-23 22:52:28 +02:00
Daniele Teti
c1220c8917 + renamed folder outputcompression to middleware_compression 2021-09-17 10:45:11 +02:00
Daniele Teti
624f474a16 + updated MVCFramework.ActiveRecordController render methods to use ObjectDict 2021-09-09 23:06:49 +02:00
Daniele Teti
04e687e1a0 https://github.com/danieleteti/delphimvcframework/issues/518 2021-08-30 10:51:20 +02:00
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
João Antônio Duarte
f5334c0e60 [+] Fix https://github.com/danieleteti/delphimvcframework/issues/512 2021-08-11 07:50:35 -03:00
Daniele Teti
c28c5f0832 https://github.com/danieleteti/delphimvcframework/issues/513 2021-08-11 00:21:04 +02:00
João Antônio Duarte
9fc7a0111e [+] Fix for compatibility with delphi Berlin. 2021-07-16 18:55:33 -03: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
Daniele Teti
4938f08e8c Merge branch 'feature_activerecord_merge' 2021-05-14 18:27:50 +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
Daniele Teti
d8f24591a0 https://github.com/danieleteti/delphimvcframework/issues/495 2021-04-12 22:31:50 +02: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
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
f0c29801ea [+] All article CRUD samples in one project group 2021-04-07 19:14:12 +02:00
Daniele Teti
f736c72e5b [+] Regression for "with spaces". More work needed. 2021-04-07 09:16:28 +02: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
5516b49345 no message 2021-04-05 19:35:46 +02:00