Commit Graph

930 Commits

Author SHA1 Message Date
Daniele Teti
c1eee8f175 More work about https://github.com/danieleteti/delphimvcframework/issues/538 (thanks to https://github.com/fastbike) 2022-04-01 12:53:13 +02:00
Daniele Teti
594b3a36a9 https://github.com/danieleteti/delphimvcframework/issues/538 (WIP) 2022-03-31 16:43:32 +02:00
Daniele Teti
96bb67a29d + Samples are compilable with Delphi 10.2 Tokyo or better 2022-03-31 09:31:11 +02:00
Daniele Teti
98fd21ac8f https://github.com/danieleteti/delphimvcframework/issues/530 2022-03-25 11:49:22 +01:00
Daniele Teti
578a581f4b https://github.com/danieleteti/delphimvcframework/issues/539 2022-03-25 11:25:31 +01:00
Daniele Teti
78ef7c01a9 https://github.com/danieleteti/delphimvcframework/issues/544 2022-03-25 11:02:09 +01:00
Daniele Teti
c2d3cbc859 https://github.com/danieleteti/delphimvcframework/issues/542 2022-03-25 10:49:12 +01:00
Julio Senha
ec075cd2fe
Update MVCFramework.Router.pas (#543) 2022-03-22 12:38:57 +01:00
Daniele Teti
07bd70c5ed + Improved TMVCActiveRecord Interbase support 2022-01-26 23:00:32 +01:00
Daniele Teti
7a2b6458fd Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2022-01-21 18:33:14 +01:00
Daniele Teti
cf3c3d8adf + Removed ViewJSON reference from Mustache View Engine 2022-01-21 18:33:00 +01:00
João Antônio Duarte
762d983e5b + Improved adding Body of TStream type in RESTClient to allow adding Binary Streams 2022-01-18 11:58:39 -03:00
Daniele Teti
e698987a0e + Removed some HINTS/WARNINGS (thanks to the Compatibility Mantainer Mark Lobanov) 2022-01-12 11:16:49 +01:00
Daniele Teti
e7972048c8 + final version for the new SWAGGER engine (Sponsored by CENTRO SOFTWARE) 2022-01-11 15:30:40 +01:00
Daniele Teti
a8ce1bb25b + Updated copyright for 2022 2022-01-04 15:44:47 +01:00
Daniele Teti
4b635b9daf Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2021-12-31 18:06:42 +01:00
Daniele Teti
fd7f508c1b + Swagger for inherited controllers amost works 2021-12-31 18:00:54 +01:00
João Antônio Duarte
dbffee6ff6 [+] Fix https://github.com/danieleteti/delphimvcframework/issues/537 2021-12-30 17:34:52 -03: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
f3e8def287 + Added "LogException", fixed some IFDEFs to correctly compile on mobile platforms 2021-12-27 10:13:23 +01:00
Daniele Teti
17cc5d5eea + Compatibility fix for Delphi 10.2 Tokyo 2021-11-23 18:03:48 +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
3360dea516 + completed tests for default filtering and partitioning (just for PostgreSQL) (WIP for other RDBMSes) 2021-11-19 00:34:37 +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
eceefb2366 + removed inline var for older delphi versions still supported 2021-11-05 09:27:28 +01:00
Daniele Teti
a5a147c91d https://github.com/danieleteti/delphimvcframework/issues/526 2021-11-02 12:03:22 +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
Daniele Teti
07e16c1e1f - added AddDefaultConnection overload
- added helper methods to IMVCRESTResponse
2021-10-20 11:29:49 +02:00
Daniele Teti
d2157919fe + added overloaded constructors to all MVCFrom* attributes (allows to pass a default values as string, integer and boolean) 2021-10-07 10:08:53 +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
0927e3c449 + there is a bug in Delphi 11 Alexandria (https://quality.embarcadero.com/browse/RSP-35516) which forced us to disable GZip support in compression middleware. Now, in Alexandria, any GZip-only request is not compressed. Deflate still is supported. 2021-09-17 10:46:34 +02:00
Daniele Teti
c1220c8917 + renamed folder outputcompression to middleware_compression 2021-09-17 10:45:11 +02:00
Daniele Teti
27223a0a93 +added unit MVCFramework.Utils.pas which will contains all the 'simple functions' used in end user controllers 2021-09-15 14:24:39 +02:00
Daniele Teti
0bd8d5f4ea + Support for Delphi 11 Alexandria 2021-09-09 23:56:56 +02:00
Daniele Teti
624f474a16 + updated MVCFramework.ActiveRecordController render methods to use ObjectDict 2021-09-09 23:06:49 +02:00
Daniele Teti
d00b551c14 + improved messages rendering 2021-08-31 17:05:11 +02:00
Daniele Teti
14ff525c30 + first version of push/persist messages 2021-08-19 17:58:19 +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
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