Commit Graph

2041 Commits

Author SHA1 Message Date
Daniele Teti
52a5840bd5 Updated sample to show TryGetNamedSQLQuery 2023-10-17 18:08:30 +02:00
Daniele Teti
7f6c3e2ea2 Added TMVCActiveRecord.TryGetSQLQuery<T> and TMVCActiveRecord.TryGetRQLQuery<T> 2023-10-17 18:07:09 +02:00
Daniele Teti
62a1344896 Renamed "TMVCURLEncodedDataSerializer" to "TMVCURLEncodedSerializer" 2023-10-17 18:06:21 +02:00
Daniele Teti
ef6edd5c58 ViewData[] is now a TValue dictionary 2023-10-14 12:26:05 +02:00
Daniele Teti
9175963c12 Added ObjectToJSONObject helper method 2023-10-13 17:37:14 +02:00
Daniele Teti
d26008fd8a Sanitized SSE data 2023-10-13 17:36:52 +02:00
Daniele Teti
9c70a6244c Added method Page, PageFragment, SetPagesCommonHeaders and SetPagesCommonFooters. Removed the old LoadViewFragment method. 2023-10-10 18:17:44 +02:00
Daniele Teti
7c3f301054 Renamed "HXIsHTMX" to "IsHTMX" because there is no confusion about the method scope in this case. 2023-10-10 18:16:24 +02:00
Daniele Teti
11550c0056 URLEncoded Serializer is able to deserialize data as JSONObject 2023-10-07 00:02:20 +02:00
Daniele Teti
5f88ef2713 https://github.com/danieleteti/delphimvcframework/issues/657 2023-10-06 12:40:53 +02:00
Daniele Teti
7baf93d73d https://github.com/danieleteti/delphimvcframework/issues/684 2023-10-06 12:30:40 +02:00
Daniele Teti
0c322d6eee https://github.com/danieleteti/delphimvcframework/issues/700 2023-10-06 10:46:14 +02:00
Daniele Teti
eb3d269188 https://github.com/danieleteti/delphimvcframework/issues/701 2023-10-06 10:45:42 +02:00
Daniele Teti
7cb33e8615 Cleanup 2023-10-06 10:42:49 +02:00
Daniele Teti
d935c3fcc3 https://github.com/danieleteti/delphimvcframework/pull/699 2023-10-06 00:52:49 +02:00
Daniele Teti
fa63a09d67 Merge branch 'fastbike-master' 2023-10-05 15:32:24 +02:00
David Moorhouse
21aa47328b Added Mustache Helpers to default Renderer. Added a virtual method to allow application writer to subclass the Mustache Renderer to add additional features such as new Mustache lambdas (callbacks) and Translation callbacks. 2023-10-05 18:03:23 +13:00
Daniele Teti
ff66bddc69 Wizard generates support for Profiler configured from .env 2023-10-04 23:13: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
d3caf7a8db FIX for include file in wizard for older Delphi versions 2023-10-03 14:34:38 +02:00
Daniele Teti
649e7a825f FIX for older versions 2023-10-03 13:01:59 +02:00
Daniele Teti
9356cca93d Imrpovements over the Entity Generator 2023-10-03 11:11:01 +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
88127a7b44 Improved HTML error page look&feel 2023-10-01 15:22:05 +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
e1a95bded7 Updated HTML exception rendering 2023-09-28 10:44:44 +02:00
Daniele Teti
af8f572a00 Improved console handling for MVCFramework.Console.pas 2023-09-27 15:10:13 +02:00
Daniele Teti
b5261f60c2 HTMX sample 2023-09-26 19:29:03 +02:00
Daniele Teti
a0cb8928ec Fix an error with hx-refresh response header 2023-09-26 19:28:42 +02:00
Daniele Teti
3d910bdfed New sample: HTMX_mustache, fix for some unit test, workaround for IdCustomHTTP strange behaviour in case of empty response and HTTP 200 OK. 2023-09-25 23:55:28 +02:00
Daniele Teti
4a931c13ad Sample data for HTMX demo 2023-09-25 23:17:37 +02:00
Daniele Teti
b8bb07b2c4 Added function TMVCController.GetRenderedView(const AViewNames: TArray<string>; const JSONModel: TJSONObject): string; 2023-09-23 00:22:52 +02:00
Daniele Teti
0f35452954 https://github.com/danieleteti/delphimvcframework/issues/694 2023-09-22 09:43:35 +02:00
Daniele Teti
ed9a0cbe0e Allows to run code like this: C:\Projects\Win32\Debug>set dmvc.server.port = 9999 & Project6.exe 2023-09-22 09:41:37 +02:00
Daniele Teti
f52c973e44 Improved reverse proxy headers handling 2023-09-15 10:16:21 +02:00
Daniele Teti
42c58d92f7 https://github.com/danieleteti/delphimvcframework/issues/692 2023-09-14 16:35:49 +02:00
Daniele Teti
a879d127a4 FIX for Tokyo. Removed absolute paths in dpk. 2023-09-13 10:11:17 +02:00
Daniele Teti
480463a6f9 FIX for Tokyo - thanks Mark Lobanov 2023-09-13 00:00:04 +02:00
Daniele Teti
0401fd6f42 Added dotEnv support files in older packages 2023-09-12 23:55:10 +02:00
Daniele Teti
ca3f874b38 Update build const 2023-09-07 19:22:03 +02:00
Daniele Teti
547fec74b9 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2023-09-07 18:13:39 +02:00
Daniele Teti
768ea72f12 Preparing sample to 3.4.0-neon 2023-09-07 18:13:23 +02:00
danieleteti
8169b5fbf7 chore(docs): update TOC 2023-09-07 14:09:37 +00:00
Daniele Teti
29c8bfc8ae README updated for 3.4.0-neon 2023-09-07 16:09:13 +02:00
Daniele Teti
05c72ff753 Updated social logo for 3.4.0-neon 2023-09-07 12:06:45 +02:00
Daniele Teti
7231d8189e TSalarySummary entity for a future sample 2023-09-05 15:27:05 +02:00
Daniele Teti
d30e3ea585 Added support for NamedQuery using ClassRef 2023-09-05 14:32:04 +02:00
Daniele Teti
a44dce6e69 Updated sample 2023-09-05 12:34:46 +02:00
Daniele Teti
36d7a938b6 Refactored MVCResponseBuilder 2023-09-05 12:29:38 +02:00
Daniele Teti
68aa8c8f1c Improved "MVCResponseBuilder" 2023-09-05 09:56:57 +02:00