Commit Graph

315 Commits

Author SHA1 Message Date
Daniele Teti
347c5fb2fd + Added support for API versioning in Swagger UI
+ Added Swagger API Versioning Sample (swagger_api_versioning_primer)
2022-04-01 16:49:29 +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
Daniele Teti
d6942d5fbd Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2022-02-07 14:21:53 +01:00
Daniele Teti
6a1104cb2c
Update README.md 2022-02-03 00:12:37 +01:00
Daniele Teti
f8178e250c Improved MVCAREntitiesGenerator project - now it can better handle border cases, field names which collide with Delphi keywords and a big number of tables. 2022-01-27 01:06:40 +01:00
Daniele Teti
8affcab0e8
Update README.md 2022-01-12 11:46:32 +01:00
Daniele Teti
3bde059f5e + Updated sponsors section 2022-01-12 11:44:29 +01:00
danieleteti
d1dcbb5adb chore(docs): update TOC 2022-01-04 14:45:18 +00:00
Daniele Teti
a8ce1bb25b + Updated copyright for 2022 2022-01-04 15:44:47 +01:00
Daniele Teti
f1fa322632 + CustomIntfObject support 2021-12-30 00:45:19 +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
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
5550819fca + Fixed a bug in RQL' MaxRecordCount
+ Implemented Table Partitioning (WIP)
2021-11-18 00:49:12 +01:00
Daniele Teti
6e01425ebc + updated readme 2021-11-05 11:29:28 +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
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
d1d38d626c update readme 2021-09-16 12:15:03 +02:00
Daniele Teti
b9adae1f6a
Update README.md 2021-09-16 09:43:11 +02:00
Daniele Teti
1eb5298718
Update README.md 2021-09-16 09:41:24 +02:00
Daniele Teti
0bd8d5f4ea + Support for Delphi 11 Alexandria 2021-09-09 23:56:56 +02:00
Daniele Teti
04e687e1a0 https://github.com/danieleteti/delphimvcframework/issues/518 2021-08-30 10:51:20 +02:00
danieleteti
a45cb1383e chore(docs): update TOC 2021-08-17 13:11:28 +00: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
07805a80ac https://github.com/danieleteti/delphimvcframework/issues/485 2021-08-15 16:39:41 +02:00
Daniele Teti
fe5c92f069 + updated readme to mention the new TMVCJWTBlackListMiddleware 2021-08-15 16:08:57 +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
ac2a03a804 [+] added RaiseIfNotFound parameter in TMVCActiveRecord.Update and TMVCActiveRecord.Delete 2021-06-27 15:14:37 +02:00
Daniele Teti
e1ab073f10 Updated readme and tasks 2021-04-21 18:24:04 +02:00
Daniele Teti
0f5587361f [+] Added MVCFromBodyAttribute, MVCFromQueryStringAttribute, MVCFromHeaderAttribute, MVCFromCookieAttribute] 2021-04-21 12:22:09 +02:00
Daniele Teti
5516b49345 no message 2021-04-05 19:35:46 +02:00
Daniele Teti
5a83991991 [+] Added XML support in TMVCActiveRecord for backend PostgreSQL 2021-03-20 00:30:20 +01:00
Daniele Teti
2db238918e [+] Improved proxy generation routes for JSONRPC 2021-03-02 18:03:08 +01:00
danieleteti
59b5109461 chore(docs): update TOC 2021-02-23 17:11:43 +00:00
Daniele Teti
3544142ab5 [+] updated readme 2021-02-23 18:11:07 +01:00
Daniele Teti
7093035347 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2021-02-23 17:30:24 +01:00
Daniele Teti
12a075e74e [+] updated readme 2021-02-23 17:30:13 +01:00
danieleteti
5468b1781c chore(docs): update TOC 2021-02-23 16:26:59 +00:00
Daniele Teti
a168ecde20 [+] updated readme 2021-02-23 17:26:25 +01:00
Daniele Teti
e36604044c Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2021-02-23 14:47:57 +01:00
Daniele Teti
5ca1bebdfd [+] Added TOC on the readme using github actions 2021-02-23 14:47:44 +01:00
danieleteti
ce5fa37d31 chore(docs): update TOC 2021-02-23 12:43:54 +00:00
Daniele Teti
2c79ff6c6a [+] Unit test refactoring 2021-02-04 14:11:33 +01:00
Daniele Teti
616ec814a0 update readme 2020-11-27 15:44:04 +01:00
Daniele Teti
9cca9e9983 overview of 3.2.1-carbon 2020-11-27 15:42:45 +01:00
Daniele Teti
967a5322a1 https://github.com/danieleteti/delphimvcframework/issues/432 2020-11-27 15:13:17 +01:00
Daniele Teti
ce3f0ec13e https://github.com/danieleteti/delphimvcframework/issues/444 2020-11-27 12:10:46 +01:00
Daniele Teti
6ea08357d3 https://github.com/danieleteti/delphimvcframework/issues/430 2020-11-13 09:31:20 +01:00
Daniele Teti
2db27be2f4 updated readme 2020-11-05 17:26:39 +01:00
Daniele Teti
7a41d6c7f7 Improved ServerSideView Sample 2020-11-05 17:14:39 +01:00
Daniele Teti
4a65b78fb5 https://github.com/danieleteti/delphimvcframework/issues/434 2020-11-04 19:06:54 +01:00
Daniele Teti
e5310e626f https://github.com/danieleteti/delphimvcframework/issues/435 2020-10-19 19:41:16 +02:00
Daniele Teti
5f21c12b0e https://github.com/danieleteti/delphimvcframework/issues/438 2020-10-19 19:30:20 +02:00
Daniele Teti
d8254a736a Added ncSnakeCase in documentation 2020-10-17 13:12:30 +02:00
Daniele Teti
02f9fc50c6 Added dmvcframework guide translations 2020-10-10 14:10:29 +02:00
Daniele Teti
7d1ab3d787 Updated SwagDoc 2020-09-30 11:24:03 +02:00
Daniele Teti
8eaaeac230 Added mechanism to describe dataset metadata (TDatasetHelper) and to initialize a TFDMemTable with such metadata (TFireDACUtils.CreateDataSetFromMeta). Added a new sample to show the mechanism. 2020-09-23 23:33:30 +02:00
Daniele Teti
311be67323 New functionality explained in the jsonrpc samples (TMultiDataset) 2020-09-22 15:18:22 +02:00
Daniele Teti
f63cc4469b Improved StaticFilesMiddleware 2020-09-16 15:56:14 +02:00
Daniele Teti
2ae2068807 Improved TMVCStaticFilesMiddleware 2020-09-14 15:52:50 +02:00
Daniele Teti
bee7777f6e Serialization layer refactoring 2020-09-11 13:37:45 +02:00
João Antônio Duarte
f636009f6f Update Readme 2020-09-04 17:55:19 -03:00
Daniele Teti
a258bae533 Added dynamic properties accessors to TMVCActiveRecord descendants. 2020-08-28 18:04:29 +02:00
Daniele Teti
bebe54221b readme 2020-08-22 15:59:32 +02:00
Daniele Teti
1324dd9187 readme 2020-08-22 15:53:32 +02:00
Daniele Teti
6a07229419 update readme 2020-08-22 15:52:18 +02:00
Daniele Teti
ae1eda03e1 Added GetFrameworkType method 2020-08-22 15:37:08 +02:00
Daniele Teti
c04506010f Added react demo to readme 2020-08-15 09:54:06 +02:00
Daniele Teti
7576ab8bf8 Added the ability to deserialize an object starting from an arbitrary node in the JSON (or other format) present in the request body.
Improved the primary key type handling for manual handling in MVCActiveRecord.
Improved activerecord_showcase sample.
2020-08-13 17:40:02 +02:00
Daniele Teti
a690bea612 Added foReadonly and foWriteOnly os MVCActiveRecord Field Options 2020-08-11 00:54:42 +02:00
Daniele Teti
c05cbfffb7 Improved JSON-RPC Hooks 2020-08-06 17:40:56 +02:00
Daniele Teti
a9bdb0291a added badges 2020-08-01 01:27:50 +02:00
Daniele Teti
311f392505 v3.2.0-boron 2020-07-22 15:01:37 +02:00
Daniele Teti
4bebea287c Added ActiveRecord unittests for Firebird (using firebird embedded). Now unit tests automatically tests sqlite and firebird. All the other RDBMS are tested manually using activerecord_showcase sample. 2020-07-13 17:05:22 +02:00
Daniele Teti
fb87e9e1f4 https://github.com/danieleteti/delphimvcframework/issues/401 2020-07-02 23:19:36 +02:00
Daniele Teti
e6a7c80ef6 Improved caching and add X-Powered-By optional header 2020-06-29 19:11:41 +02:00
Daniele Teti
aaa34ca410 Added "TMVCActiveRecord.SelectOneByRQL", Removed "Context.Request.HeaderNames" 2020-06-22 15:24:20 +02:00
Daniele Teti
af91c92563 Added Context.Request.HeaderNames: TArray<String> 2020-06-20 19:41:12 +02:00
Daniele Teti
25a677bb40 Added count parameter in GET /($entity) and POST /($entity)/searches 2020-06-19 16:01:07 +02:00
Daniele Teti
66c9a0f75d Added RQL support description in README.md 2020-06-19 10:04:41 +02:00
Daniele Teti
e76ece994e Small FIXES for ActiveRecordController 2020-06-18 14:49:06 +02:00
Daniele Teti
ad23c85469 https://github.com/danieleteti/delphimvcframework/issues/386 2020-05-28 22:42:16 +02:00
Daniele Teti
516101ebb8 https://github.com/danieleteti/delphimvcframework/issues/388 2020-05-28 22:35:45 +02:00
Daniele Teti
3468373f60 help star 2020-05-17 11:18:02 +02:00
Daniele Teti
530084271b Improved SPA support 2020-05-14 17:41:20 +02:00
Daniele Teti
028089969a TMVCEngine.Config property is now read-only. Can be changed only in the anonymous method injected in the constructor. (All the samples have been updated - from an idea of @Spinettato a.k.a. Danielino) 2020-05-11 23:39:43 +02:00
Daniele Teti
a1c6d82198 https://github.com/danieleteti/delphimvcframework/issues/378 2020-05-06 10:49:08 +02:00
Daniele Teti
4cd30b5946 readme updated 2020-05-05 23:51:37 +02:00
Daniele Teti
e0e14be6e5 Added MVCDoNotDeSerializeAttribute (if marked with this attribute, a property is not deserialized) 2020-05-04 12:39:54 +02:00
Daniele Teti
f0bbcb86d7 Children object lifecycle management in MVCActiveRecord 2020-05-04 09:48:51 +02:00
Daniele Teti
ccae07d704 updated artworks 2020-05-03 12:45:39 +02:00
Daniele Teti
ddc5f4d97d JSON-RPC named parameters support 2020-05-02 16:39:32 +02:00
Daniele Teti
89d723fbde Added new sample to show hot to use StaticFilesMiddleware in SPA web applications. Added ability to don't load system controller using Config[TMVCConfigKey.LoadSystemControllers] := 'false'; in the configuration block. 2020-04-29 17:53:29 +02:00
Daniele Teti
6e26525251 Updated LoggerPro 2020-04-27 23:24:12 +02:00
Daniele Teti
1e4d374101 Comepleted ObjectDict support - fixed ncCamelCase mangling 2020-04-24 16:36:18 +02:00
Daniele Teti
08f01e6633 https://github.com/danieleteti/delphimvcframework/issues/366 2020-04-19 12:23:55 +02:00
Daniele Teti
f853b362b3 https://github.com/danieleteti/delphimvcframework/issues/362 2020-04-18 23:32:24 +02:00
Daniele Teti
fc525e9d97 https://github.com/danieleteti/delphimvcframework/issues/363 2020-04-18 15:04:27 +02:00
Daniele Teti
26b82080d9 https://github.com/danieleteti/delphimvcframework/issues/330 2020-04-13 16:22:15 +02:00
Daniele Teti
e437d33434 https://github.com/danieleteti/delphimvcframework/issues/355 2020-04-12 12:38:00 +02:00
Daniele Teti
e56fb272a9 https://github.com/danieleteti/delphimvcframework/issues/348
Just for PostgreSQL
2020-04-08 18:04:45 +02:00
Daniele Teti
36ca9d43dc https://github.com/danieleteti/delphimvcframework/issues/337 2020-04-03 11:56:14 +02:00
Daniele Teti
841edeb114 https://github.com/danieleteti/delphimvcframework/issues/349
https://github.com/danieleteti/delphimvcframework/issues/38
2020-03-31 00:47:35 +02:00
Daniele Teti
5fb572ca63 Support for non autogenerated primary keys 2020-03-27 00:37:28 +01:00
Daniele Teti
f4e27a2179 Added JSONRPC HOOKS 2020-03-24 17:55:25 +01:00
Daniele Teti
71b6108149 Improved deserialization in cases of derived properties 2020-03-23 18:51:57 +01:00
Daniele Teti
469d83d35e Track in README.MD some fixed issues 2020-03-22 00:02:53 +01:00
Daniele Teti
bcac1008a8 readme file 2020-03-12 20:38:07 +01:00
Daniele Teti
ac9f3bc7f6 FIX https://github.com/danieleteti/delphimvcframework/issues/334 2020-03-05 18:34:00 +01:00
Daniele Teti
70a5b2c306 Updated README.md 2020-02-26 13:25:00 +01:00
Daniele Teti
92dcbd8b40 FIXED a Vulnerability bug which affects some deployment configurations. 2020-02-13 23:33:30 +01:00
Daniele Teti
c36cd13988 3.2.0-boron-RC4 2020-02-05 23:46:38 +01:00
Daniele Teti
3388354743 Serialization support for all the types in MVCFramework.Nullables 2020-02-03 10:51:40 +01:00
Daniele Teti
9027d0e192 3.2.0-boron-RC3 2020-01-06 16:51:54 +01:00
Daniele Teti
b097121ee7 First working version of nullable support for mvcactiverecord 2020-01-04 12:54:38 +01:00
Daniele Teti
7c89df545d Middleware Trace 2019-12-23 18:37:28 +01:00
Daniele Teti
ab3ef05550 Updated roadmap and readme page 2019-12-23 17:51:44 +01:00
Daniele Teti
3793a42b5d Improved router ACCEPT resolution - Improved MSSQLServer support for nvarchar(max) data type 2019-12-17 14:52:11 +01:00
Daniele Teti
57da1259d8 MVCAREntitiesGenerator can optionally register all the generated entities also in the ActiveRecordMappingRegistry (Thanks to [Fabrizio Bitti](https://twitter.com/fabriziobitti) from [bit Time Software](http://www.bittime.it)) 2019-11-28 19:04:26 +01:00
Daniele Teti
7552fb6c15 Added Map* methods to TMVCActiveRecord. Improved DataSet serialization for JsonDataObjects. 2019-11-27 19:04:06 +01:00
Daniele Teti
23a108896c JSON properties can be de/serialized verbatim by the default json serializer 2019-11-05 14:40:39 +01:00
Daniele Teti
bedc034e6d Added SwaggerUI webserver 2019-11-04 13:01:18 +01:00
Daniele Teti
7ce87edb51 dmvcframework 3.2.0-boron 2019-11-03 16:18:24 +01:00
Daniele Teti
ead05b8d5d dmvcframework 3.2.0-RC0-boron 2019-10-15 12:51:35 +02:00
Daniele Teti
1a0ae44b6b Improved README.md 2019-10-15 09:43:37 +02:00
Daniele Teti
6bdf5547bc Added ToMVCList to wrap any object and try to use as list 2019-10-10 20:16:48 +02:00
Daniele Teti
8b3d0ee384 Improved windowsservice sample 2019-10-10 00:20:03 +02:00
Daniele Teti
510453576f Added credits to the readme
Fixed https://github.com/danieleteti/delphimvcframework/issues/278
2019-10-09 23:47:07 +02:00
Daniele Teti
0d93ace653 v3.2 (boron) RC1 2019-10-09 23:24:08 +02:00
Daniele Teti
7997391212 TDataSetHolder.Items -> data
Added new custom serializer for TDataSetHolder
2019-09-30 00:06:23 +02:00
Daniele Teti
701418e994 Added SerializationCallback to TMVCJsonDataObjectSerializer 2019-09-25 09:14:09 +02:00
Abduraimov Muminjon
e2c8f7e51e
Just typos 2019-09-12 19:36:51 +05:00
Daniele Teti
698f34354c Added ResponseCreated, ResponseNoContent, ResponseAccepted 2019-09-01 20:36:36 +02:00
Daniele Teti
9470c85514 Some fixes after the merge of https://github.com/danieleteti/delphimvcframework/issues/241 2019-07-24 20:49:08 +02:00
Daniele Teti
56476d449e https://github.com/danieleteti/delphimvcframework/issues/229 2019-07-19 17:23:19 +02:00
Daniele Teti
7363304ba8 Added support for SQLite in MVCActiveRecord 2019-06-24 21:00:17 +02:00
Daniele Teti
174b12942a Updated README.md 2019-05-19 15:01:27 +02:00
Daniele Teti
efd170d9ba Merge branch 'master' of https://github.com/pedrooliveira01/delphimvcframework
All conflicts have been fixed
2019-05-19 14:36:17 +02:00
Daniele Teti
7b39d94537 Support for X-HTTP-Method-Override to work behind corporate firewalls. 2019-05-10 00:47:18 +02:00
Daniele Teti
fc28b3ba5e Removed strings indexing 2019-05-02 17:39:17 +02:00
Daniele Teti
77e78b24f3 ISSUE https://github.com/danieleteti/delphimvcframework/issues/205 2019-04-16 23:12:56 +02:00
Daniele Teti
d20ef3fe41 Added '/describe' to json-rpc
Added 'MVCInheritable' attribute
2019-04-03 09:45:31 +02:00
Daniele Teti
e86d004808 Compatibility Issues Fixed 2019-03-19 12:06:25 +01:00
Daniele Teti
7b8c2e805f Fix LoggerPro package or Seattle (added some IFDEFs) 2019-03-12 01:12:26 +01:00
Daniele Teti
84d3969b90
Update README.md 2019-03-10 16:35:19 +01:00