Commit Graph

154 Commits

Author SHA1 Message Date
Daniele Teti
d743333741 Updated dmustache to version 2 2024-04-29 15:40:45 +02:00
Francisco Zanini
f0bf273e0b
Check if the field is writeable when mapping value to param (#735)
* Return 401 instead 403 when authenticating an user

* Check if the field is writeable when mapping value to param

---------

Co-authored-by: Francisco Zanini <francisco@digifort.com.br>
2024-04-29 14:48:31 +02:00
Daniele Teti
9fe57246d4 foAutoGenerated is converted to [foDoNotInsert , foDoNotUpdate] 2024-04-09 17:05:22 +02:00
Daniele Teti
8c80ed7a3e Cleanup TransactionContext, better exception message for no data found. 2024-04-03 14:41:29 +02:00
Daniele Teti
e370718a34 Added EMVCActiveRecordTransactionContext 2024-04-03 09:59:53 +02:00
Daniele Teti
4349f20d95 TransactionContext (WIP) 2024-03-31 18:09:13 +02:00
Daniele Teti
17747dcf19 Completed new field options (foDoNot*) 2024-03-13 16:45:09 +01:00
Daniele Teti
ab92225d12 First implementation for foDoNotInsert and foDoNotUpdate 2024-03-13 13:00:11 +01:00
Daniele Teti
b9fcc04647 https://github.com/danieleteti/delphimvcframework/issues/728 2024-03-08 12:10:15 +01:00
Daniele Teti
d1b14eb24a Optimized pooling and cache of frequently used object in mustache and partitioning 2024-01-31 16:00:56 +01:00
Daniele Teti
90dcd3bdfe Copyright updated to 2010-2024 2024-01-02 17:04:27 +01:00
Daniele Teti
e0190b3fe8 foVersion (WIP + new sample) 2023-11-27 18:11:49 +01:00
Daniele Teti
3a748821ce Aligned for foVersion 2023-11-27 12:04:30 +01:00
Daniele Teti
d68b102d14 Added TMVCActiveRecord.GetCustomTableName which allows to overwrite the tablename defined in the MVCTableName attribute. Just overwrite the method in descendant classes and return the tablename to use for the current instance. 2023-11-23 22:58:07 +01:00
Daniele Teti
e1aa50dd86 Delphi12 compatibility 2023-11-06 12:37:33 +01:00
Daniele Teti
a2f190df44 New feature: ObjectVersioning for TMVCActiveRecord - see foVersion
- TMVCActiveRecord.TableName is now readonly
2023-11-02 17:36:19 +01:00
Daniele Teti
ed1697c616 MVCActiveRecord: Improved exception message for entity without MVCTable 2023-11-01 23:11:50 +01:00
Daniele Teti
7f6c3e2ea2 Added TMVCActiveRecord.TryGetSQLQuery<T> and TMVCActiveRecord.TryGetRQLQuery<T> 2023-10-17 18:07:09 +02:00
Daniele Teti
7cb33e8615 Cleanup 2023-10-06 10:42:49 +02:00
Daniele Teti
a92deebae9 New sample to explain how to use ADO connections in TMVCActiveRecord 2023-10-04 08:03:10 +02:00
Daniele Teti
9356cca93d Imrpovements over the Entity Generator 2023-10-03 11:11:01 +02:00
Daniele Teti
2e07107948 MVCActiveRecord - in case of "integer field types" specified in the MVCTableField attribute "DataFieldName", if the entity property is a boolean value, 1 and 0 are mapped as true and false. 2023-09-28 15:37:10 +02:00
Daniele Teti
42c58d92f7 https://github.com/danieleteti/delphimvcframework/issues/692 2023-09-14 16:35:49 +02:00
Daniele Teti
d30e3ea585 Added support for NamedQuery using ClassRef 2023-09-05 14:32:04 +02:00
Daniele Teti
36d7a938b6 Refactored MVCResponseBuilder 2023-09-05 12:29:38 +02:00
Daniele Teti
f21bb1144b https://github.com/danieleteti/delphimvcframework/issues/682 2023-08-30 16:34:36 +02:00
Daniele Teti
f5f9220f70 Improved CORS middleware 2023-08-30 11:58:50 +02:00
Daniele Teti
b59f8f6421 Added MVCNamedSQLQuery and MVCNamedRQLQuery (Named queries support is complete) 2023-08-09 10:55:34 +02:00
Daniele Teti
636341d822 NamedSQLQuery (WIP) 2023-08-09 01:23:24 +02:00
Daniele Teti
47c3003f15 Better organization of method between TMVCActiveRecord and TMVCActiveRecordHelper 2023-08-09 00:46:31 +02:00
Daniele Teti
0053885bc1 Better exception description and better recognize of boolean type when database doesn't know boolean field types 2023-08-08 18:54:44 +02:00
Daniele Teti
c201c916cb https://github.com/danieleteti/delphimvcframework/issues/675 2023-08-08 14:31:23 +02:00
Daniele Teti
69d9780b02 TMVCActiveRecord correnctly handle "DirectExecute" params in Exec* methods 2023-07-12 15:01:58 +02:00
Daniele Teti
2b65a1d503 In case of MVCPartitioning and DefaultFiltering are both present, DefaultFiltering wins.
While the partitioning in enforced at insert, the update doesn't enforce partitioning. This allows to implement proper OOP architecture (person -> employee -> manager)
2023-07-07 20:29:09 +02:00
Daniele Teti
2365be432b Wrong comparison in checks for ro/RW/PK fields 2023-06-16 00:59:51 +02:00
Daniele Teti
2e2d3a499e Added support for configuration; better handling for topics cleaning. 2023-06-15 23:42:07 +02:00
Francisco Zanini
317d97ce2e
Fixed wrong data type for NullableTGUID (#651)
Co-authored-by: Francisco Zanini <francisco@digifort.com.br>
2023-03-28 17:08:58 +02:00
Daniele Teti
3e36a3389b Preparing for 3.3.0-fluorine release 2023-03-24 17:16:03 +01:00
Daniele Teti
0023ebe32c https://github.com/danieleteti/delphimvcframework/issues/631 2023-01-29 17:29:24 +01:00
Daniele Teti
fc9fffb9e7 Updated copyright message, removing some warnings 2023-01-17 08:52:26 +01:00
Daniele Teti
9a85f19680 Added "DirectExecute" options in ExecSQL methods 2023-01-02 22:09:42 +01:00
Daniele Teti
cb6f0f0c8c https://github.com/danieleteti/delphimvcframework/issues/581 2022-11-24 11:07:34 +01:00
Daniele Teti
d419cc690f https://github.com/danieleteti/delphimvcframework/issues/594 2022-11-21 15:20:18 +01:00
Daniele Teti
8b7ec97819 Improved TMVCTableMapRepository lock 2022-11-17 23:53:32 +01:00
Daniele Teti
1b7e2ed742 + flyweight for TableMapInfo in TMVCActiveRecord (WIP) 2022-11-17 19:33:27 +01:00
Daniele Teti
d5cc48f7b0 - Removed foTransient from MVCTableField FieldOptions 2022-11-15 09:27:08 +01:00
Daniele Teti
b0080184d2 Improved Samples, mostrly ActiveRecord related 2022-11-10 18:30:11 +01:00
Daniele Teti
cf104c0a6f Async support for JSONRPCClient (Thanks to our sponsor ORION LAW) 2022-10-29 00:34:49 +02:00
Daniele Teti
53fc9e394e https://github.com/danieleteti/delphimvcframework/issues/585 2022-10-25 09:00:35 +02:00
Marcelo Jaloto
ade3263c25
Issue#583 - Fixes bugs 'Invalid class typecast' when using Active Record and Enumerated Type (#584)
* Issue #546 was missing from the merge.

* #583 - Fixes bugs 'Invalid class typecast' when using Active Record and Enumerated Type;
2022-10-21 23:08:20 +02:00