Commit Graph

1146 Commits

Author SHA1 Message Date
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
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
a92deebae9 New sample to explain how to use ADO connections in TMVCActiveRecord 2023-10-04 08:03:10 +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
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
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
ca3f874b38 Update build const 2023-09-07 19:22:03 +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
68aa8c8f1c Improved "MVCResponseBuilder" 2023-09-05 09:56:57 +02:00
Daniele Teti
d57c79480d Improved rendering of TMVCErrorResponse. Clean-up of functional_actions_sample. 2023-09-04 17:09:41 +02:00
Daniele Teti
7ebb0681d5 no message 2023-09-04 11:29:05 +02:00
David Moorhouse
ac94f2d070 Added HTMK helpers for MVCWebRequest/Respons
Added sample application
2023-09-04 12:56:16 +12:00
Daniele Teti
7b828d78f2 Code clean up in the samples 2023-09-01 12:49:10 +02:00
Daniele Teti
0775315682 Improved "renders" sample - added sensible defaults for MVCResponseBuilder 2023-08-30 17:38:14 +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
56573899d3 TMVCResponseBuilder and IMVCResponseBuilder (WIP) 2023-08-29 23:51:08 +02:00
Daniele Teti
be3f8c8290 Removed HINT 2023-08-18 20:36:12 +02:00
Daniele Teti
1af61e82d7 https://github.com/danieleteti/delphimvcframework/issues/681 2023-08-16 17:15:11 +02:00
Daniele Teti
ec799cf573 https://github.com/danieleteti/delphimvcframework/issues/679 2023-08-16 11:40:36 +02:00
Daniele Teti
dfe3943d86 https://github.com/danieleteti/delphimvcframework/issues/679 2023-08-15 21:25:46 +02:00
Daniele Teti
e93f9e5ae7 https://github.com/danieleteti/delphimvcframework/issues/679
(WIP)
2023-08-15 18:24:17 +02:00
Daniele Teti
376e3ea9c2 https://github.com/danieleteti/delphimvcframework/issues/680 2023-08-15 11:43:47 +02:00
Daniele Teti
85eef8920f Added server side session with file persistence 2023-08-12 01:24:10 +02:00
Daniele Teti
cbdb7b684f Improved ISAPI sample 2023-08-09 15:57:28 +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
8631a155ff - Added IMVCResponse with related helper methods "MVCResponse(...)"
- IMVCObjectDictionary can be serialized as attribute and not only as root object (required to serialize IMVCObjectDictionary from TMVCResponse)
2023-08-04 13:09:05 +02:00
Daniele Teti
7e451ae1d6 Added specific rendering case for TMVCResponse and its child classes 2023-08-03 17:04:28 +02:00
João Antônio Duarte
1d50399b4f Fixed data decompression in TMVCRestClient. On MACOS/iOS clients the decompression is automatic. 2023-07-25 15:42:08 -03:00
Daniele Teti
49ed5c7824 Fixed a default initialization for JWT (thanks to Flavio Basile) 2023-07-20 16:47:48 +02:00
Daniele Teti
34bddfc8fd Improved TMVCResponse to better suit the new functional actions 2023-07-20 16:40:39 +02:00
Daniele Teti
329aaa9190 Added more tests on "functional actions" 2023-07-19 12:29:16 +02:00