Commit Graph

2392 Commits

Author SHA1 Message Date
Daniele Teti
c75eea7517 Updated TemplatePro
Some checks failed
TOC Generator / TOC Generator (push) Has been cancelled
2024-11-05 12:32:38 +01:00
Daniele Teti
70265984bb Improved support for Nullable types in URLEncoded serializer (very useful in case of SSV and HTMX) 2024-11-05 12:29:44 +01:00
Daniele Teti
8b256f787f Added ValueOrElse method to nullables. Works like ValueOrDefault but instead of default value for type, allows to return an "else" value in case the instance is null 2024-11-05 12:29:01 +01:00
Daniele Teti
1bb4d7f7ca TMVCActiveRecord // in WriteableFieldsCount is considered also a not-autogenerated primary key 2024-11-05 12:24:45 +01:00
Daniele Teti
2e706f483f Updated TemplatePro
Some checks failed
TOC Generator / TOC Generator (push) Has been cancelled
2024-11-03 22:48:04 +01:00
Daniele Teti
8503c77b41 Added HigherOrder.Map<T1,T2> with some overloads
Some checks are pending
TOC Generator / TOC Generator (push) Waiting to run
2024-11-03 17:21:58 +01:00
Daniele Teti
beef11fba9 Added ToFree<T> 2024-11-03 17:21:23 +01:00
Daniele Teti
b1c2a87200 Small improvements in id handling for jsonrpc requests
Some checks failed
TOC Generator / TOC Generator (push) Has been cancelled
2024-10-24 15:05:36 +02:00
Daniele Teti
7186f6aa6f Removed the long time deprecated support for "TMVCDataSetHolderSerializer" class in JSON default serializer. Switch to the modern ObjDict as the deprecation message says.
Some checks are pending
TOC Generator / TOC Generator (push) Waiting to run
2024-10-24 12:59:26 +02:00
Daniele Teti
8ccf93c517 Updated TemplatePro 2024-10-24 11:37:52 +02:00
Daniele Teti
99a521f354 Update TemplatePro and small samples fixes
Some checks failed
TOC Generator / TOC Generator (push) Has been cancelled
2024-10-22 22:41:02 +02:00
Daniele Teti
feadf973f2 Updated MSSQL Script for active_record_showcase demo 2024-10-22 22:39:55 +02:00
João Antônio Duarte
913b9cb3c2 Compatibility fix with Delphi Sydney when adding Streams to form-data in TMVCRESTClient
Some checks are pending
TOC Generator / TOC Generator (push) Waiting to run
2024-10-22 10:24:34 -03:00
Daniele Teti
53d8efd048 Fixed linux support for include and layout block in TemplatePro engine
Some checks are pending
TOC Generator / TOC Generator (push) Waiting to run
2024-10-21 19:12:36 +02:00
Marcelo Jaloto
acdec2fd44
Issue#789 (#790)
Some checks failed
TOC Generator / TOC Generator (push) Has been cancelled
* Issue #546 was missing from the merge.

* #581 - Fix error on removing default connection;

* #583 - Fixes bugs 'Invalid class typecast' when using Active Record and Enumerated Type;

* issue #789;

* issue #789;
2024-10-18 07:32:58 +02:00
Daniele Teti
a692a5a37e Updated book search sample
Some checks are pending
TOC Generator / TOC Generator (push) Waiting to run
2024-10-17 17:04:03 +02:00
Daniele Teti
6817fc1ce5 Updated TemplatePro
Some checks are pending
TOC Generator / TOC Generator (push) Waiting to run
2024-10-17 00:16:03 +02:00
Daniele Teti
f22656b6f6 Improved pagination info
Some checks are pending
TOC Generator / TOC Generator (push) Waiting to run
2024-10-16 08:40:16 +02:00
Daniele Teti
ac6011143c Loading of SQL generators refactored 2024-10-16 08:10:50 +02:00
Daniele Teti
2c4c10f60a Version 3.4.2-magnesium-rc4 2024-10-16 08:00:28 +02:00
Daniele Teti
a37e466d66 Link all SQL generators in MVCActiveRecord 2024-10-16 08:00:05 +02:00
Daniele Teti
179a50dcda New helper method: ObjectToJSONObjectStr to easily convert an object to a json string 2024-10-16 07:59:51 +02:00
Daniele Teti
8727e3a6b1 TemplatePro filter "query" become "fromquery" 2024-10-16 07:58:54 +02:00
Daniele Teti
6583f6b4ba Addes new ResponseMethod "StatusResponse" 2024-10-16 07:58:30 +02:00
Daniele Teti
816459f1f9
Update README.md
Some checks failed
TOC Generator / TOC Generator (push) Has been cancelled
2024-10-14 10:50:42 +02:00
Daniele Teti
787daee3b2 WebStencils support in IDE Wizard and code generator 2024-10-14 09:21:56 +02:00
Daniele Teti
92c4bf9f0c htmx_web_site using webstencils
Some checks failed
TOC Generator / TOC Generator (push) Has been cancelled
2024-10-11 18:12:02 +02:00
Daniele Teti
82312c6c49 Sample folders rename. First version of WebStencils SSV engine 2024-10-11 16:02:29 +02:00
Daniele Teti
7863944182 Small refactoring
Some checks are pending
TOC Generator / TOC Generator (push) Waiting to run
2024-10-10 17:36:54 +02:00
Daniele Teti
47a5d91b23 Improved error message in case of parameter count mismatch in JSONRPC APIs
Some checks are pending
TOC Generator / TOC Generator (push) Waiting to run
2024-10-10 09:18:15 +02:00
Daniele Teti
febe311d01 JSONRPC methods can use MVCInject attribute
Some checks are pending
TOC Generator / TOC Generator (push) Waiting to run
2024-10-10 01:26:34 +02:00
Daniele Teti
4e2cc963f4 Small refactoring to JSONRPC classes 2024-10-10 00:13:07 +02:00
Daniele Teti
bc065284f8 Renamed templatepro filter "query" to "fromquery"
Some checks failed
TOC Generator / TOC Generator (push) Has been cancelled
2024-10-07 16:53:02 +02:00
Daniele Teti
f9d5850914 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2024-10-05 14:23:07 +02:00
Daniele Teti
9c1d483c44 Updated sample (refactored to functional actions when possibile) 2024-10-05 14:22:15 +02:00
João Antônio Duarte
90a21043ed Removed custom serializers of old Spring4D nullable types (already removed in b422dc610e)
Some checks failed
TOC Generator / TOC Generator (push) Has been cancelled
2024-10-03 19:00:23 -03:00
João Antônio Duarte
05129d5566 Fix serialization of TimestampOffset fields 2024-10-03 18:38:50 -03:00
Daniele Teti
04acc09039 Update TemplatePro
Some checks failed
TOC Generator / TOC Generator (push) Has been cancelled
2024-10-01 18:00:48 +02:00
Daniele Teti
613347be1f Added SWAGGER support also for APIs generated by the TMVCActiveRecordController 2024-10-01 16:16:27 +02:00
Daniele Teti
082089f9a1 Updated sample projects to D12.2; New middleware TMVCShutdownMiddleware (useful to create a route which shutdown the server in automated testing environments)
Some checks are pending
TOC Generator / TOC Generator (push) Waiting to run
2024-10-01 09:46:54 +02:00
Daniele Teti
7c2a2b2079 Updated HTMX_WebSite sample to layout page
Some checks failed
TOC Generator / TOC Generator (push) Has been cancelled
2024-09-26 20:24:15 +02:00
Daniele Teti
dacdfe2ac3 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2024-09-26 20:23:15 +02:00
Daniele Teti
36b9e97513 FIX NameCase for Record serialization 2024-09-26 20:23:06 +02:00
John Smith
d3525deadc
Update MVCFramework.SSEClient.pas (#782)
Some checks are pending
TOC Generator / TOC Generator (push) Waiting to run
Since the format of SSE contains spaces between command and value, we have to trim the value part.
sample:
event: userconnect
data: {"username": "bobby", "time": "02:33:48"}
2024-09-25 21:27:53 +02:00
Daniele Teti
edbf90e8ee Updated TemplatePro 2024-09-24 19:29:52 +02:00
Daniele Teti
119c93a8a4 Updated TemplatePro 2024-09-24 19:12:23 +02:00
Daniele Teti
c2ed0343cc Updated instant_search_with_htmx sample with use of blocks layout of templatepro 0.7.0 2024-09-22 17:05:07 +02:00
Daniele Teti
34238a48ee Added rating and indicator in "instant_search_with_htmx" 2024-09-20 00:17:30 +02:00
Daniele Teti
4b8b89d4da MVCFramework.Functional.pas has been merged in MVCFramework.Utils.pas 2024-09-19 19:15:57 +02:00
Daniele Teti
41a6931e7f active_search_htmx sample now uses if expressions in template 2024-09-14 16:10:33 +02:00