Commit Graph

106 Commits

Author SHA1 Message Date
Daniele Teti
36b9e97513 FIX NameCase for Record serialization 2024-09-26 20:23:06 +02:00
Daniele Teti
113fada45a Delphi 10.2 Tokyo Compatibility Fix (Thanks Mark Lobanov) 2024-06-25 12:02:47 +02:00
Daniele Teti
636ad27a83 Added Wizard support for MVCNameCaseDefault 2024-06-09 23:53:25 +02:00
Francisco Zanini
6e07eb8b4f
Fixes serialization of enumerations from dataset (#755)
Co-authored-by: Francisco Zanini <francisco@digifort.com.br>
2024-06-09 18:46:01 +02:00
Daniele Teti
07e16a339f Added MVCNameCaseDefault global config variable (with updated tests and wizard) 2024-06-08 23:05:46 +02:00
Daniele Teti
d06d470e45 Added "MVCSerializeAsSqids" attribute. Added Sqids support in Wizard. Renamed ":sqid" converter to ":sqids". Added more tests. 2024-05-10 16:16:47 +02:00
Daniele Teti
833195243e Added proper handling of TimeStampWithOffset 2024-02-23 00:30:04 +01:00
Daniele Teti
02c0ae0f37 Added TEXT serializer - Improved content type handling in case of errors and no_route_found cases. 2024-02-22 19:18:34 +01:00
Daniele Teti
90dcd3bdfe Copyright updated to 2010-2024 2024-01-02 17:04:27 +01:00
Daniele Teti
3a748821ce Aligned for foVersion 2023-11-27 12:04:30 +01:00
Daniele Teti
5f88ef2713 https://github.com/danieleteti/delphimvcframework/issues/657 2023-10-06 12:40:53 +02:00
Daniele Teti
ec9140f2a7 Added MVCActiveRecord feature which allows to map a boolean object attribute to integer field on the actual table. 2023-10-01 15:22:43 +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
fc9fffb9e7 Updated copyright message, removing some warnings 2023-01-17 08:52:26 +01:00
Daniele Teti
ab13c307d7 Added WarningThreshold in Profiler 2022-12-06 16:10:55 +01:00
Daniele Teti
4c7e4861d2 https://github.com/danieleteti/delphimvcframework/issues/490 2022-11-24 11:57:00 +01: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
Daniele Teti
ee6075d6a2 Improved MVCARAntitiesGenerator (WIP), Improved TMVCActiveRecord.Merge method 2022-08-28 13:06:16 +02:00
Daniele Teti
f79f4722d9 Improved enum and set parameters handling in JSONRPC API 2022-08-10 17:57:59 +02:00
Daniele Teti
64a1bb22fa Merge branch 'feature_jsonrpc_records' 2022-07-25 15:42:37 +02:00
Daniele Teti
10dff93784 JSONRPC // all tests are green (WIP) 2022-07-23 01:21:52 +02:00
João Antônio Duarte
140b70ba33 + Adjustments for Delphi Seattle/Berlin compatibility 2022-07-15 15:42:29 -03:00
Daniele Teti
08c3fca0b3 + jsonrpc-records - added initial unit tests 2022-07-05 16:18:03 +02:00
Daniele Teti
6567dc8d19 + Simple echo-call with nested record works correctly (jsonrpc) 2022-07-05 13:20:09 +02:00
João Antônio Duarte
bfcaca045d Improved support of new MVCSerializeGuidWithoutBracesAttribute attribute for TGUID and NullableTGUID types 2022-06-24 14:50:23 -03:00
Daniele Teti
6d0ef7d5a6 + Implemented unit test for GUID support (WIP) 2022-06-23 14:34:01 +02:00
Daniele Teti
dfbcadb8fa + First merge with "GUID support for Primary Keys" 2022-06-16 14:05:01 +02:00
Daniele Teti
eea09f1d94 Merge branch 'master' of https://github.com/marcelojaloto/delphimvcframework into marcelojaloto-master 2022-06-15 17:01:42 +02:00
Marcelo Jaloto
88f42572f7 Adds new custom attribute, MVCSerializeGuidWithoutBracesAttribute, in the model class to define a field of type TGuid if at the time of attribute serialization the value of the guid field will be obtained without braces; 2022-05-13 12:19:59 -03:00
Daniele Teti
0fac2dd2fa https://github.com/danieleteti/delphimvcframework/issues/550 2022-04-12 12:12:08 +02:00
Daniele Teti
a8ce1bb25b + Updated copyright for 2022 2022-01-04 15:44:47 +01: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
f1511b4109 https://github.com/danieleteti/delphimvcframework/issues/496 2021-05-14 18:26:46 +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
b845afc7af [+] Improved folder detect in static files middleware 2021-03-03 23:16:55 +01:00
Daniele Teti
244c70084e [+] Improved ThreadSafeQueue
[+] Added MVCJSONRPCAllowGET attribute
2021-02-23 18:00:32 +01:00
João Antônio Duarte
46104f0158 Added comment about the use of the gLocalTimeStampAsUTC variable 2021-01-11 15:29:31 -03:00
João Antônio Duarte
ccd144e485 Add parameter to set local time as UTC 2021-01-11 14:35:44 -03:00
Daniele Teti
4a65b78fb5 https://github.com/danieleteti/delphimvcframework/issues/434 2020-11-04 19:06:54 +01:00
João Antônio Duarte
6b2e1c1a1b Added serialization support with snake_case case 2020-10-15 21:37:55 -03:00
Daniele Teti
1437d22b9c Improved serialization with recursion 2020-09-11 13:01:56 +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
9b61fe8653 SQLite and Interbase fix for date and time types 2020-06-25 22:54:57 +02:00
Daniele Teti
57ded55b9e Support for Currency type in MapDataSetFieldToRTTIField 2020-05-13 14:26:58 +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
1e4d374101 Comepleted ObjectDict support - fixed ncCamelCase mangling 2020-04-24 16:36:18 +02:00