Commit Graph

67 Commits

Author SHA1 Message Date
Daniele Teti
e5310e626f https://github.com/danieleteti/delphimvcframework/issues/435 2020-10-19 19:41:16 +02:00
Daniele Teti
e0a1a0e950 Added "RaiseExceptionIfNotAvailable" params in TMVCActiverecordConnectionRegistry.GetCurrent 2020-10-17 23:19:05 +02:00
Daniele Teti
057519d550 https://github.com/danieleteti/delphimvcframework/issues/424 2020-09-30 11:16:10 +02:00
Daniele Teti
e9052d9950 Added overload on ExecuteRequest and ExecuteNotification for JSONRPCExecutor - added ClientIP in trace middleware added more checks in activerecord for forgotten attributes 2020-09-25 00:32:55 +02:00
Daniele Teti
761e778aa7 Fixed some package problems for Rio and Sydney 2020-08-30 08:52:21 +02:00
Daniele Teti
a258bae533 Added dynamic properties accessors to TMVCActiveRecord descendants. 2020-08-28 18:04:29 +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
0d7fa465fc TableName is no more serialized in ActiveRecord 2020-07-18 20:14:58 +02:00
Daniele Teti
fb87e9e1f4 https://github.com/danieleteti/delphimvcframework/issues/401 2020-07-02 23:19:36 +02:00
Daniele Teti
aaa34ca410 Added "TMVCActiveRecord.SelectOneByRQL", Removed "Context.Request.HeaderNames" 2020-06-22 15:24:20 +02:00
Daniele Teti
aae0105698 Added support for Count(RQL) for all SQLGenerators and all supported RDBMSes 2020-06-19 19:31:34 +02:00
Daniele Teti
92fbdf0043 Added RQL->SQL without order by and limit 2020-06-19 17:48:47 +02:00
Daniele Teti
2787250adb Added Children objects management in TMVCActiveRecord 2020-05-04 09:42:16 +02:00
Daniele Teti
3c2c7e600e Better exception messages for deserialization errors 2020-04-09 17:01:33 +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
f99590f50f https://github.com/danieleteti/delphimvcframework/issues/350 2020-04-02 19:26:04 +02:00
Daniele Teti
d577221a71 Now ActiveRecord PrimaryKey can be string, nullablestring, integer, nullableinteger, int64, nullableint64 2020-03-31 16:23:22 +02:00
Daniele Teti
1fd7740048 Added JSONRPC Hooks - Renamed RenderXXX Methods 2020-03-30 13:30:45 +02:00
Daniele Teti
99664f141b Refactoring of some internals structures of TMVCActiveRecord 2020-03-25 11:35:25 +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
406ee139fd Renamed "MVCEnumSerializationTypeAttribute" to "MVCEnumSerializationAttribute"
Added "DataTypeName" in MVCActiveRecord to better use specific RDBMS types (e.g. JSON / JSONP data type in PostgreSQL)
2020-03-12 20:37:48 +01:00
João Antônio Duarte
3218492a6c Correction when converting TField ftGUID to property TGUID in Delphi 10.1 Berlin
Removal of warnings in Delphi 10.1 Berlin
2020-02-21 16:14:15 -03:00
Daniele Teti
c36cd13988 3.2.0-boron-RC4 2020-02-05 23:46:38 +01:00
Daniele Teti
4a78322aef Improvement is Nullable primary keys. Added method "Store" 2020-02-03 13:19:55 +01:00
Daniele Teti
3388354743 Serialization support for all the types in MVCFramework.Nullables 2020-02-03 10:51:40 +01:00
Daniele Teti
4eb5444cb6 Added sequence support fo mvcactiverecord (required for interbase, optional for other dbms) 2020-01-08 15:30:10 +01:00
Daniele Teti
8144baf40c Nulls support in MVCActiveRecord (check activerecord_showcase sample) 2020-01-06 16:49:18 +01:00
Daniele Teti
b097121ee7 First working version of nullable support for mvcactiverecord 2020-01-04 12:54:38 +01:00
Daniele Teti
fdcb617801 Improved error messages for ActiveRecord 2019-12-17 17:34:23 +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
7552fb6c15 Added Map* methods to TMVCActiveRecord. Improved DataSet serialization for JsonDataObjects. 2019-11-27 19:04:06 +01:00
Daniele Teti
6297195a5f Fixed FirebirdSQL generator to work with transient fields with no name 2019-11-05 16:57:22 +01:00
Daniele Teti
7997391212 TDataSetHolder.Items -> data
Added new custom serializer for TDataSetHolder
2019-09-30 00:06:23 +02:00
Daniele Teti
44deb6ce83 Removed some hints for old version of Delphi 2019-08-05 12:55:57 +02:00
Daniele Teti
cc64a564a8 FIXED compatibility problems with XE7 2019-08-02 12:32:31 +02:00
Daniele Teti
53bdb8acc0 Improved MVCActiveRecord 2019-05-16 00:17:19 +02:00
Daniele Teti
6a664d608c 3.1.1-beryllium-RC5 2019-05-09 21:00:26 +02:00
Pedro
0a49f8e539 Merge branch 'master' of https://github.com/pedrooliveira01/delphimvcframework 2019-03-18 10:08:43 -03:00
Pedro
45119236cf Add event OnBeforeExecuteSQL (MVCFramework.ActiveRecord.pas)
- For modify SQL before execute

Remove warning in MapTValueToParam

Add Handle UpdateEntity (MVCFramework.ActiveRecordController.pas)
2019-03-18 10:08:34 -03:00
Pedro Oliveira
3afd30b595 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2019-03-17 13:30:10 -03:00
Daniele Teti
dc2328c89a Added Dict function to easily return a dictionary of strings.
Improved exceptions rendering.
2019-03-16 17:21:42 +01:00
Pedro
10359e9e62 Add into MapColumnToTValue ftFloat 2019-03-14 08:14:12 -03:00
Pedro
eb27bdabaf Fixed compatibility with linux (NEXTGEN) 2019-03-13 08:38:04 -03:00
Pedro
c6fa32bcb0 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2019-03-06 15:27:09 -03:00
Daniele Teti
9ebb33969a - New overloads for all the Log* calls. Now it is possibile to call LogD(lMyObject) to get logged lMyObject as JSON.
- Added new unit tests for
- Improved `MVCEntitiesGenerator`
2019-03-05 20:57:25 +01:00
Pedro
3878be7387 . 2019-02-25 08:48:36 -03:00
Daniele Teti
cfb4a3268c - Small fixes on ActiveRecordController and PostgreSQL SQLGenerator 2019-02-21 20:27:43 +01:00
Daniele Teti
a57cc3581f - New! TMVCActiveRecord.DeleteAll deletes all the records from a table
- New! `TMVCActiveRecord.DeleteRQL` deletes records using an `RQL` expression as `where` clause.
- New! Microsoft SQLServer Support in ActiveRecord and RQL (thanks to one of the biggest Delphi based company in Italy which heavily uses DMVCFramework)
- Improved! `ActiveRecordShowCase` sample is much better now.
2019-02-21 18:12:01 +01:00