Commit Graph

366 Commits

Author SHA1 Message Date
Daniele Teti
07bd70c5ed + Improved TMVCActiveRecord Interbase support 2022-01-26 23:00:32 +01:00
Daniele Teti
cf3c3d8adf + Removed ViewJSON reference from Mustache View Engine 2022-01-21 18:33:00 +01:00
Daniele Teti
a8ce1bb25b + Updated copyright for 2022 2022-01-04 15:44:47 +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
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
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
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
96c733c618 +updated some defaults in unittests 2021-09-15 09:53:23 +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
7d35483ba3 + improved UTC related tests 2021-08-15 18:36:36 +02:00
Daniele Teti
07805a80ac https://github.com/danieleteti/delphimvcframework/issues/485 2021-08-15 16:39:41 +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
Daniele Teti
c28c5f0832 https://github.com/danieleteti/delphimvcframework/issues/513 2021-08-11 00:21:04 +02:00
Daniele Teti
ac2a03a804 [+] added RaiseIfNotFound parameter in TMVCActiveRecord.Update and TMVCActiveRecord.Delete 2021-06-27 15:14:37 +02:00
João Antônio Duarte
832d71d436 [+] Fix https://github.com/danieleteti/delphimvcframework/issues/492 2021-05-19 16:17:47 -03: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
João Antônio Duarte
b0df0b1f5a [+] Improved SnakeCase conversion 2021-04-06 19:50:50 -03:00
Daniele Teti
5516b49345 no message 2021-04-05 19:35:46 +02:00
Daniele Teti
50b2983e30 [+] added Delphi 10.4.2 LSP files to the .gitignore 2021-04-04 18:16:27 +02:00
Daniele Teti
7870b20907 [+] Improved built runner 2021-03-04 14:29:13 +01:00
Daniele Teti
244c70084e [+] Improved ThreadSafeQueue
[+] Added MVCJSONRPCAllowGET attribute
2021-02-23 18:00:32 +01:00
Daniele Teti
c55bfea9da [+] Small improvement in custom type serialisers 2021-02-15 18:28:45 +01:00
Daniele Teti
6b0b09b5bb [+] Added type aliases for generic types registered as custom type serializer 2021-02-15 18:17:39 +01:00
Daniele Teti
dbd46c8042 [+] More test for LRUCache 2021-02-12 18:44:43 +01:00
Daniele Teti
088b8b3240 [+] improved unit test architecture 2021-02-10 11:26:14 +01:00
Daniele Teti
2c79ff6c6a [+] Unit test refactoring 2021-02-04 14:11:33 +01:00
Daniele Teti
77ad5ecd10 [+] fix for nil objects in lists during serialization
[+] preparing for 3.2.2-nitrogen
2021-01-27 20:25:35 +01:00
João Antônio Duarte
166c8c669d Fixed property deserialization of type TMVCStringDictionary 2021-01-13 18:43:16 -03:00
Daniele Teti
d9b20d8ce4 Fix border case when using string and widestring params in TMVCActiveRecord 2020-12-18 14:41:01 +01:00
João Antônio Duarte
112bf48101 Added request hooks to TMVCRESTClient 2020-12-16 20:05:39 -03:00
Daniele Teti
d883f87fb5 Added unit test for time/date types in RQL query 2020-12-14 14:40:07 +01:00
Daniele Teti
4dd2c86bdf Removed some hints 2020-12-14 10:35:22 +01:00
Daniele Teti
5443509a97 Completed automated tests for PG 2020-12-13 00:36:55 +01:00
Daniele Teti
de95bb19cf Added postgres tests with a lite version of portgresql 13.1 2020-12-12 19:26:18 +01:00
Daniele Teti
afabd2fde6 Better internal unit test irganization for TMVCActiveRecord 2020-12-11 18:53:37 +01:00
João Antônio Duarte
972237a17a Testing adjustments to work with the new RESTClient 2020-11-29 10:34:02 -03:00
João Antônio Duarte
181cf5aba9 Merge branch 'master' into feature_restclient 2020-11-27 14:14:41 -03:00
Daniele Teti
967a5322a1 https://github.com/danieleteti/delphimvcframework/issues/432 2020-11-27 15:13:17 +01:00
João Antônio Duarte
8ba8213a6e Compatibility adjustments in the new RESTClient 2020-11-10 19:13:02 -03:00
João Antônio Duarte
9c43f85b33 Merge branch 'master' into feature_restclient 2020-11-09 07:55:06 -03:00